Packages
sourceror
0.8.8
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.8
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.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 like `a -> 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 uses `nil` 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 to `Sourceror.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](https://github.com/doorgan/sourceror/blob/v0.7/CHANGELOG.md).