Skip to content

Releases: codemodsquad/astx

v2.0.0-beta.22

29 Sep 05:47
Compare
Choose a tag to compare
v2.0.0-beta.22 Pre-release
Pre-release

2.0.0-beta.22 (2022-09-29)

Bug Fixes

  • formatMatches: get all node locations properly via backend (3afb40f)

v2.0.0-beta.21

28 Sep 16:53
Compare
Choose a tag to compare
v2.0.0-beta.21 Pre-release
Pre-release

2.0.0-beta.21 (2022-09-28)

Bug Fixes

  • CodeFrameError: fix missing type declaration error (053cce7)
  • runTransform: catch and handle aborted errors (0e63f07)

v2.0.0-beta.20

28 Sep 06:24
Compare
Choose a tag to compare
v2.0.0-beta.20 Pre-release
Pre-release

2.0.0-beta.20 (2022-09-28)

Features

  • cli: implement sweet spinner and progress (9c2d74f)
  • implement parallel runner (f83180b)

BREAKING CHANGES

  • move runTransform/runTransformOnFile to:
    import { runTransform, runTransformOnFile } from 'astx/node'

v2.0.0-beta.19

27 Sep 22:08
Compare
Choose a tag to compare
v2.0.0-beta.19 Pre-release
Pre-release

2.0.0-beta.19 (2022-09-27)

Features

  • support config files and improve globbing (1f502c6)

BREAKING CHANGES

  • the signatures for runTransform and runTransformOnFile have changed.
  • the babel and recast/babel parsers now use fixed parser options, and
    the new babel/auto and recast/babel/auto parsers load parser options from your babel
    config. However, the default parser behavior (now babel/auto) behaves the same as
    before.

v2.0.0-beta.18

10 Sep 21:27
Compare
Choose a tag to compare
v2.0.0-beta.18 Pre-release
Pre-release

2.0.0-beta.18 (2022-09-10)

Features

  • parse: support extracting node between two empty comments (02b9fdd)

v2.0.0-beta.17

10 Sep 17:11
Compare
Choose a tag to compare
v2.0.0-beta.17 Pre-release
Pre-release

2.0.0-beta.17 (2022-09-10)

Bug Fixes

  • match capture positions like class /**/ { } (279fa97)

Features

  • make Astx.backend public, provide node location method (4727e87)

BREAKING CHANGES

  • Backend.sourceRange has been renamed to Backend.location and the return type
    has changed

v2.0.0-beta.16

09 Sep 22:25
Compare
Choose a tag to compare
v2.0.0-beta.16 Pre-release
Pre-release

2.0.0-beta.16 (2022-09-09)

Bug Fixes

  • change Astx API (0961160)
  • TS errors when @types/debug isn't installed as peer dep (d8b5b10)

BREAKING CHANGES

  • Astx.size, Astx.matches, Astx.match, Astx.paths, and Astx.nodes
    are now getters. Astx.length has been removed, and Astx is now an Iterable.
    Various array properties and parameters are now readonly.

v2.0.0-beta.15

02 Sep 02:50
Compare
Choose a tag to compare
v2.0.0-beta.15 Pre-release
Pre-release

2.0.0-beta.15 (2022-09-02)

Bug Fixes

  • babelAstTypes: tolerate babel node fields without a validate property (5ba012c)

v2.0.0-beta.14

02 Sep 02:37
Compare
Choose a tag to compare
v2.0.0-beta.14 Pre-release
Pre-release

2.0.0-beta.14 (2022-09-02)

Bug Fixes

  • memoize babelAstTypes, make backend properties readonly (9ada03b)

v2.0.0-beta.13

01 Sep 23:16
Compare
Choose a tag to compare
v2.0.0-beta.13 Pre-release
Pre-release

2.0.0-beta.13 (2022-09-01)

Features

  • implement $Ordered/$Unordered flags (e70e2b3)

BREAKING CHANGES

  • some list types are now matched unordered by default. These types are now listed in the README.
    To force an ordered match you can place the $Ordered capture variable inside the list pattern. You can also
    force an unordered match when the default is ordered by placing the $Unordered capture variable inside the list
    pattern.