Changelog for Sourceror v0.8
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.8.10 (2021-12-04)
1. Bug fixes
- [Sourceror] Fixed comment spacing on binary operators
- [Sourceror] Take comment end of line counts into account to preserve spacing
v0.8.9 (2021-12-02)
1. Enhancements
- [Sourceror] Updated internal normalizer to match latest Elixir 1.13 version
2. Bug fixes
- [Sourceror] Fixed an issue that caused comments in lists to be misplaced
v0.8.8 (2021-11-27)
1. Bug fixes
- [Sourceror] Fixed issues that caused comments to be misplaced.
- [Sourceror] Updated internal normalizer to match latest Elixir 1.13 version.
v0.8.7 (2021-10-23)
1. Bug fixes
- [Sourceror] Fixed an issue that caused newlines to be wrongly removed.
v0.8.6 (2021-10-23)
1. Bug fixes
- [Sourceror] Fixed an issue that caused comments in pipelines to be misplaced.
v0.8.5 (2021-10-1)
1. Bug fixes
- [Sourceror] Fixed issue that prevented keyword lists from preserving their original format in tuples.
v0.8.4 (2021-09-15)
1. Bug fixes
- [Sourceror]
get_range/1
now properly handles naked AST lists, like the ones coming from partial keyword lists, or stabs likea -> b
.
v0.8.3 (2021-09-13)
1. Bug fixes
- [Sourceror]
get_range/1
now handles partial keyword list syntax instead of crashing.
v0.8.2 (2021-08-12)
1. Bug fixes
- [Sourceror.Zipper]
down/1
now correctly usesnil
as the right siblings if the branch node has a single child.
v0.8.1 (2021-07-03)
1. Bug fixes
- [Sourceror]
Sourceror.get_range/1
now correctly calculates the range when there is a comment in the same line as the node.
v0.8.0 (2021-06-24)
1. Enhancements
- [Sourceror] Added
Sourceror.patch_string/2
- [Sourceror] Added the
format: :splicing
option toSourceror.to_string/2
2. Bug fixes
- [Sourceror] Now
Sourceror.to_string/2
won't produce invalid Elixir code when a keyword list element is at the beginning of a non-keyword list. - [Sourceror] Now
Sourceror.get_range/1
will take the leading comments into account when calculating the range.
v0.7.0 (2021-06-12)
The changelog for v0.7 releases can be found in the v0.7 branch.