Packages
sourceror
0.6.1
1.12.2
1.12.1
1.12.0
1.11.0
1.10.1
1.10.0
1.9.0
1.8.2
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.1
1.2.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.14.1
0.14.0
0.13.0
0.12.3
0.12.2
0.12.1
0.12.0
0.11.2
0.11.1
0.11.0
0.10.0
0.9.0
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.2
Utilities to work with Elixir source code.
Current section
Files
Jump to
Current section
Files
CHANGELOG.md
# Changelog for Sourceror v0.6
This release introduces some **breaking changes**, as the way comments are
handled by the library has been fundamentally changed.
## v0.6.1
### 1. Bug fixes
* [Sourceror] - `to_string` no longer escape the escaped sequences twice.
* [Sourceror] - Backported a bugfix in the Elixir normalizer related to
parenthesis in calls with do blocks.
## v0.6.0
### 1. Enhancements
* [Sourceror] - `to_string` no longer requires line number corrections to
produce properly formatted code.
* [Sourceror] - Added `prewalk/2` and `prewalk/3`.
* [Sourceror] - `parse_string` won't warn on unnecesary quotes.
* [Sourceror.TraversalState] - `Sourceror.PostwalkState` was renamed to
`Sourceror.TraversalState` to make it more generic for other kinds of
traversals.
### 2. Removals
* [Sourceror] - `get_line_span` was removed in favor of using `get_range` and
calculating the difference from the range start and end lines.
* [Sourceror.TraversalState] - `line_correction` field was removed as it is no
longer needed.
### 3. Bug fixes
* [Sourceror] - `get_range` now properly returns ranges that map a node to
it's actual start and end positions in the original source code.
## v0.5.0
The changelog for v0.5 releases can be found [in the v0.5.0
tag](https://github.com/doorgan/sourceror/blob/v0.5.0/CHANGELOG.md).