Releases: clj-commons/rewrite-clj
Clojars Release 0.4.2
Breaking Changes
None.
Bugfixes
- assert s-expression count without creating the s-expressions.
:fnnodes now behave correctly.
Artifact Coordinates
[rewrite-clj "0.4.2"]Clojars Release 0.4.1
Breaking Changes
None.
Bugfixes
This fixes an infinite loop the parser could run into when attempting to read an EDN character.
Artifact Coordinates
[rewrite-clj "0.4.1"]Clojars Release 0.4.0
Breaking Changes
- this release introduces a type/protocol based node structure, meaning that the parser no longer produces nested vectors.
- the namespace
rewrite-clj.zip.indent(whilst never part of any public API) is no longer usable. - node creation/edit has stronger preconditions (for example, exactly two non-whitespace forms are now required in
meta nodes).
These changes mean that direct manipulation of tree nodes is no longer possible, as well as that the order of certain edit operations has to be adjusted (e.g. to splice a reader macro form without the macro part you now have to first splice, then remove; before, you could first remove, then splice because the :reader-macro node did not care about its contents).
Features
- adds
rewrite-clj.node/child-sexprs. - adds node constructor functions.
edit/replaceallow for pre-constructed nodes to be inserted.
Bugfixes
- certain forms now allow for spaces between prefix and value, e.g.
#' xequals#'x. (see #7) - radix support is now working, i.e.
0x1no longer gets replaced by1. (see #13)
Artifact Coordinates
[rewrite-clj "0.4.0"]Clojars Release 0.3.12
Breaking Changes
None.
Bugfixes
- fix
assocon empty map. (see #16)
Artifact Coordinates
[rewrite-clj "0.3.12"]Clojars Release 0.3.11
Breaking Changes
- drops tests against Clojure 1.4.0.
Bugfixes
- fixes
leftmostbehaviour (see #15).
Artifact Coordinates
[rewrite-clj "0.3.11"]Clojars Release 0.3.10
Bugfixes
- fixes behaviour of
end?andnext.
Features
- adds
:row/:colto node metadata.
Artifact Coordinates
[rewrite-clj "0.3.10"]Clojars Release 0.3.9
Bugfixes
- access to children of quoted forms wasn't possible. (see #6)
rewrite-clj.zip/nextwhile at an empty vector moved to the non-existent first child of the vector. (see #5)rewrite-clj.zip/nextshould return itself if no next element available.
Features
rewrite-clj.zip/end?to decide whether the zipper has reached the last non-whitespace node.
Coordinates
[rewrite-clj "0.3.9"]Clojars Release 0.3.8
This release adds handling of the "do not evaluate" reader macro #_. The nodes have the :uneval node type.
[rewrite-clj "0.3.8"]Clojars Release 0.3.6
This release upgrades rewrite-clj's dependencies and fixes issues with parsing files containing UTF-8 characters (see xsc/lein-ancient#24).
Clojars Release 0.3.5
This release cleans up the dependency chain and upgrades org.clojure/tools.reader.