Releases: doorgan/sourceror
Releases · doorgan/sourceror
v0.11.2
1. Bug fixes
- [Sourceror]
Sourceror.parse
now handles files with only comments (Thanks
to @NickNeck)
- [Sourceror] Fixed warnings about missing modules in compatibility mode
modules (Thanks to @NickNeck)
v0.11.1
1. Bug fixes
- [Sourceror.Zipper] Zipper functions to work with ended zippers (Thanks to @NickNeck)
v0.11
1. Enhancements
- [Sourceror.Zipper] Added
skip
(Thanks to @NickNeck)
- [Sourceror.Zipper] Added a
direction
to zip
(Thanks to @NickNeck)
2. Bug fixes
- [Sourceror] Comments are no longer misplaced for
:__block__
nodes
with trailing comments
- [Sourceror] Blocks with trailing comments are no longer force-formatted with
parenthesis.
v0.10
1. Enhancements
- [Sourceror.Zipper] Added
traverse_while
(Thanks to @NickNeck)
- [Sourceror.Zipper]
traverse
now traverses subtrees if given a non top
zipper (Thanks to @NickNeck)
v0.9.0
v0.9.0 (2021-12-04)
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
v0.8.10
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
v0.8.9
v0.8.9 (2021-12-02)
Enhancements
- [Sourceror] Updated internal normalizer to match latest Elixir 1.13 version
1. Bug fixes
- [Sourceror] Fixed an issue that caused comments in lists to be misplaced
v0.8.8
Changelog for Sourceror v0.8.8
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
Changelog for Sourceror v0.8.7 (2021-10-23)
1. Bug fixes
- [Sourceror] Fixed an issue that caused newlines to be wrongly removed.
v0.8.6
Changelog for Sourceror v0.8 (2021-10-23)
1. Bug fixes
- [Sourceror] Fixed an issue that caused comments in pipelines to be misplaced.