diff --git a/CHANGELOG.md b/CHANGELOG.md index 5aca7aa..f4445eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,19 @@ -# Changelog for Sourceror v0.9 +# Changelog for Sourceror v0.10 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). -## v0.9.0 (2021-12-04) +## v0.10.0 (2022-02-06) ### 1. Enhancements -- [Sourceror] `to_string/2` now supports options for `Code.quoted_to_algebra`, like `locals_without_parens` -- [Sourceror] `get_range/2` no longer considers comments when calculating the range. This can be enabled by passing the `include_comments: true` option -- [Sourceror.Patch] Introduced `Sourceror.Patch` with utilities to generate patches for the most common rewriting operations -- [Sourceror.Identifier] `Sourceror.Identifier` is now public - +- [Sourceror.Zipper] Added `traverse_while` (Thanks to @NickNeck) +- [Sourceror.Zipper] `traverse` now traverses subtrees if given a non `top` + zipper (Thanks to @NickNeck) -## v0.8.0 (2021-06-24) +## v0.9.0 (2021-12-04) -The changelog for v0.8 releases can be found [in the v0.8 -branch](https://github.com/doorgan/sourceror/blob/v0.8/CHANGELOG.md). +The changelog for v0.9 releases can be found [in the v0.9 +branch](https://github.com/doorgan/sourceror/blob/v0.9/CHANGELOG.md). diff --git a/README.md b/README.md index 605e2bc..4d76325 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Add `:sourceror` as a dependency to your project's `mix.exs`: ```elixir defp deps do [ - {:sourceror, "~> 0.9"} + {:sourceror, "~> 0.10"} ] end ``` diff --git a/mix.exs b/mix.exs index 7d9cab5..4ea7bb6 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 "0.9.0" + @version "0.10.0" def project do [