Skip to content

Releases: clj-commons/rewrite-clj

v1.0.594-alpha

20 Mar 14:33
Compare
Choose a tag to compare
Release v1.0.594-alpha

v1.0.591-alpha

16 Mar 21:44
Compare
Choose a tag to compare
Release v1.0.591-alpha

v1.0.579-alpha

11 Mar 21:39
Compare
Choose a tag to compare
Release v1.0.579-alpha

Increase Compatibility with Clojure 1.9 (v0.6.1)

01 Sep 09:35
@xsc xsc
v0.6.1
Compare
Choose a tag to compare

Breaking Changes

None.

Bugfixes

  • Multiple metadata nodes' data is merged when calling sexpr (see #57)
  • Fix compatibility with tools.reader ≥ 1.0 (see #63, thanks @plexus!)
  • Improves compatibility with namespaced maps (see #54, thanks @stathissideris!)

Development

  • Moves from midje to clojure.test, as the foundation of a CLJS version.

Artifact Coordinates

[rewrite-clj "0.6.1"]

Regex Nodes and Nil Coercion (v0.6.0)

02 Nov 21:01
@xsc xsc
Compare
Choose a tag to compare

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)

31 Aug 21:51
@xsc xsc
Compare
Choose a tag to compare

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)

31 Aug 21:49
@xsc xsc
Compare
Choose a tag to compare

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

03 Apr 10:43
@xsc xsc
Compare
Choose a tag to compare

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

02 Apr 11:13
@xsc xsc
Compare
Choose a tag to compare

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

15 Feb 12:52
@xsc xsc
Compare
Choose a tag to compare

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"]