Skip to content

Releases: codemodsquad/astx

v1.2.0

10 Apr 02:33
Compare
Choose a tag to compare

1.2.0 (2021-04-10)

Features

  • cli: colorize captures in find output (0510285)

v1.1.0

10 Apr 02:19
Compare
Choose a tag to compare

1.1.0 (2021-04-10)

Bug Fixes

  • runTransformOnFile: pick prettier typescript parser based upon filename (3d37817)

Features

  • add init command, find-only cli output (2f43744)

v1.0.0

09 Apr 22:50
Compare
Choose a tag to compare

1.0.0 (2021-04-09)

Bug Fixes

  • drop support for jscodeshift-style transforms, smart-restart mode (c0b299a)
  • enable replacing statements with an expression (978e0ff)
  • implement template literal string capture replacement (e3559de)
  • minor runner fix, and document CLI (9d4f71f)
  • object pattern, test more things (0492957)
  • potential single-node capture and replace issues (531ca6d)
  • remove console.log statements (693d0e5)
  • remove obsolete type exports (0129034)
  • use babel-parse-wild-code instead of jscodeshift-choose-parser (4112063)
  • cli: make exports.find/exports.replace apply prettier if available (fb3eaf9)
  • find: ignore extra field (6e6fa52)
  • runner: use new Astx API (a9887d0)
  • runTransform: improve globbing and file resolution (f712466)
  • template: handle errors properly with flow parser (38fcadb)
  • code parsing and object matching tests (6a365c0)
  • drop requirement for tailing $ in object spread captures, document object matching (a6989d2)
  • issues with literals, flow parser (0a9379b)
  • lodash dependency, and precompile matcher, it will be needed for fast object matching (5becffd)
  • multiple replacement bug (3240481)
  • replace print-diff with better output (117da7e)
  • safe find statements order (8ca6ebe)
  • workaround ast-types bugs (c2b7f2f)
  • cli: check that prettier API is as expected (321fa1e)
  • compileMatcher: performance improvements (a32346e)
  • replace: statement replacement logic (ba811af)
  • sortFlags: memoize to improve performance (f39f971)

Features

  • implement string matching (ca6184c)
  • cli: --find, --replace, --watch, --parser options (10794e9)
  • add CLI (f4e0783)
  • add where option to find and replace, fix quoting in replace (64eb000)
  • create more convenient API, start working on README (df756a1)
  • implement backreferences (37b6abc)
  • implement list matching for some node types (ea7c016)
  • implement multi-statement replacement (234a6bb)
  • implement object rest spread capture [WIP] (e97c8d5)
  • initial commit (5a6fa31)
  • initial commit (c62c8c4)
  • make replacement work for new list matching use cases (6782a1b)
  • support array matching on function types, object types, variable declarations (78ee78d)
  • support finding array of statements [WIP] (e2d6a72)
  • support list matching in object expressions and classes (0a417dd)
  • support list matching on import specifiers, JSX attributes/children (c8bb893)
  • Astx: allow replace function to return a string (99cd30f)
  • cli: support exports.astx = and glob dirs (811edf4)