Skip to content

Releases: doorgan/sourceror

v0.11

03 Apr 20:07
Compare
Choose a tag to compare

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

06 Feb 23:06
Compare
Choose a tag to compare

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

04 Dec 17:36
Compare
Choose a tag to compare

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

04 Dec 13:41
Compare
Choose a tag to compare

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

02 Dec 16:05
Compare
Choose a tag to compare

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

27 Nov 04:42
Compare
Choose a tag to compare

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

23 Oct 17:22
Compare
Choose a tag to compare

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

23 Oct 14:48
Compare
Choose a tag to compare

Changelog for Sourceror v0.8 (2021-10-23)

1. Bug fixes

  • [Sourceror] Fixed an issue that caused comments in pipelines to be misplaced.

v0.8.5

02 Oct 01:59
Compare
Choose a tag to compare

Changelog for Sourceror v0.8.5

1. Bug fixes

  • [Sourceror] Fixed issue that prevented keyword lists from preserving their
    original format in tuples.

v0.8.4

15 Sep 02:06
Compare
Choose a tag to compare

Changelog for Sourceror v0.8.4

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.