Skip to content

Releases: clj-commons/rewrite-clj

Regex Nodes and Nil Coercion (v0.6.0)

Choose a tag to compare

@xsc xsc released this 02 Nov 21:01

Breaking Changes

Regular Expressions now parse into a dedicated node (:regex) instead of token nodes (see #49, thanks to @ChrisBlom).

Features

nil can now be used with rewrite-clj.node/coerce (see #53, thanks to @jespera).

Artifact Coordinates

[rewrite-clj "0.6.0"]

Fix Splicing Reader Conditionals (v0.5.2)

Choose a tag to compare

@xsc xsc released this 31 Aug 21:51

Breaking Changes

None.

Bugfixes

  • fixes parsing of splicing reader conditionals #?@... (see #46, #48; thanks to @arrdem!)

Artifact Coordinates

[rewrite-clj "0.5.2"]

Fix Multi-Line Regular Expressions (v0.5.1)

Choose a tag to compare

@xsc xsc released this 31 Aug 21:49

Breaking Changes

None.

Bugfixes

  • fixes parsing of multi-line regular expressions. (see #50, #51; thanks to @brian-dawn!)

Artifact Coordinates

[rewrite-clj "0.5.1"]

Clojars Release 0.5.0

Choose a tag to compare

@xsc xsc released this 03 Apr 10:43

This release's MVP is clearly @eraserhd. Thanks!

Breaking Changes

  • #44: commas will no longer be parsed into :whitespace but :comma nodes. (@arrdem)
  • #45: position will throw if called on non-position-tracking zipper.
  • drops testing against JDK6.

Deprecations

  • append-space
  • prepend-space
  • append-newline
  • prepend-newline

Bugfixes

  • #33, #34: fix insert-left/inser-right when superfluous whitespace is present. (@eraserhd)
  • #37: fix serialization of integer-node. (@eraserhd)
  • #43: fix parsing of Unicode whitespace (e.g. \u2028).

Features

  • adds insert-space-right, insert-space-left
  • adds insert-newline-right, insert-newline-left
  • adds insert-right*, insert-left*
  • #41: adds position-tracking zipper implementation. (@eraserhd)
  • #44: adds :comma nodes. (@arrdem)
  • #45: position-tracking zipper is activated by supplying :track-position? to edn, edn*, of-string and of-file.

Testing

Artifact Coordinates

[rewrite-clj "0.5.0"]

Clojars Release 0.4.13

Choose a tag to compare

@xsc xsc released this 02 Apr 11:13

Breaking Changes

  • drops testing against JDK6 and Clojure 1.5.1.

Bugfixes

  • fixes an issue when running mranderson on a project containing both rewrite-clj and potemkin.

Licensing

  • switched to MIT License.

Artifact Coordinates

[rewrite-clj "0.4.13"]

Clojars Release 0.4.12

Choose a tag to compare

@xsc xsc released this 15 Feb 12:52

Breaking Changes

None.

Dependencies

  • fast-zip was replaced by clojure.zip,
  • potemkin's import-vars and defprotocol+ were directly included.

Both changes were made to avoid downstream dependency conflicts (see #26).

Artifact Coordinates

[rewrite-clj "0.4.12"]

Clojars Release 0.4.11

Choose a tag to compare

@xsc xsc released this 05 Feb 07:19

Breaking Changes

None.

Bugfixes

  • fix handling of symbols with boundary characters inside, e.g. sym:sym and sym'sym. (see #25)

Artifact Coordinates

[rewrite-clj "0.4.11"]

Clojars Release 0.4.10

Choose a tag to compare

@xsc xsc released this 04 Feb 18:56

Breaking Changes

None.

Bugfixes

  • fix handling of symbols with trailing quote, e.g. +'. (see #24)

Artifact Coordinates

[rewrite-clj "0.4.10"]

Clojars Release 0.4.9

Choose a tag to compare

@xsc xsc released this 31 Jan 12:28

Breaking Changes

None.

Bugfixes

  • fix :uneval node editting. (see #23)

Features

  • add postwalk zipper function. (see #22)

Artifact Coordinates

[rewrite-clj "0.4.9"]

Clojars Release 0.4.8

Choose a tag to compare

@xsc xsc released this 29 Jan 18:43

Breaking Changes

None.

Bugfixes

  • allow parsing of aliased keywords like ::ns/foo. (see #21)

Artifact Coordinates

[rewrite-clj "0.4.8"]