diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bb9fe8..91c9d27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## v1.1.0 (2024-05-09) + +### 1. Bug fixes +- [Sourceror] Fix trailing comments being misplaced + ## v1.0.3 (2024-04-12) ### 1. Bug fixes diff --git a/README.md b/README.md index 2e513cd..b41bb3f 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Add `:sourceror` as a dependency to your project's `mix.exs`: ```elixir defp deps do [ - {:sourceror, "~> 1.0"} + {:sourceror, "~> 1.1"} ] end ``` @@ -164,6 +164,7 @@ replacement. Using patches, we could do the same as above, but produce a patch instead of modifying the AST. As a result, only the parts that need to be changed will be affected, and the rest of the code keeps the original formatting: + ```elixir test "patches the source code" do source = diff --git a/mix.exs b/mix.exs index 8226c7b..9f0a372 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule Sourceror.MixProject do use Mix.Project @repo_url "https://github.com/doorgan/sourceror" - @version "1.0.3" + @version "1.1.0" def project do [