Skip to content

Releases: doorgan/sourceror

v0.11.2

16 Aug 01:25
Compare
Choose a tag to compare

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

08 Apr 01:16
Compare
Choose a tag to compare

1. Bug fixes

  • [Sourceror.Zipper] Zipper functions to work with ended zippers (Thanks to @NickNeck)

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.