Packages
sourceror
0.5.0
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.5.0
## v0.5.0
### 1. Enhancements
* [Sourceror] - Add `Sourceror.prepend_comments/2` and `Sourceror.append_comments/2`.
## v0.4.0
### 1. Enhancements
* [Sourceror] - Add `Sourceror.get_meta/1`, `Sourceror.get_args/1`,
`Sourceror.get_line/2`, `Sourceror.get_column/2` and
`Sourceror.get_end_line/2`.
* [Sourceror] - Add `Sourceror.update_args/2`.
* [Sourceror] - Add `Sourceror.get_start_position/2`,
`Sourceror.get_end_position/2`, `Sourceror.get_range/1` and
`Sourceror.get_line_span`.
* [Sourceror] - Add `Sourceror.compare_positions/2`.
* [Sourceror] - `Sourceror.correct_lines/3` now corrects comments line
numbers, preserving the relative numbers from the associated node.
* [Sourceror.Comments] - `Sourceror.Comments.extract_comments/1` now preserves
the comments line numbers.
### 2. Bug Fixes
* [Sourceror] - Now `Sourceror.postwalk/3` correctly propagates line
corrections to parent nodes.
* [Sourceror] - Now `Sourceror.postwalk/3` corrects end line numbers(`end`,
`closing`, `end_of_expression`) appropiately.