Tags: bpsm/edn-java
Tags
edn-java release 0.7.0 - Drop support for Java 7 (Require at least Java 8.) - 59: Accept \uXXXX style unicode escapes in string literals - 60: Support \uXXXX style 16-bit unicode character literals - 62: Accept names (of keywords and symbols) which contain #
Release 0.5.0 47: parse namespaced maps as per CLJ-1910 ----------------------------------------- http://dev.clojure.org/jira/browse/CLJ-1910 Maps written thus parse as below ----------------- -------------- #:foo { { :a 1, :foo/a 1, b 2, foo/b 2, _/c 3, c 3, :_/d 4, :d 4, bar/e 5, bar/e 5, :bar/f 6 :bar/f 6 } } Symbols or keywords appearing as keys in the map without a namespace receive as a namespace the symbol following #: preceding the map. In this example that symbol is 'foo'. (see the keys :a and b). Maps so prefixed would lose the ability to contain keys with no namespace unless they provided some mechanism to opt out of this feature. Within namespaced maps the namespace prefix _ will cause the keyword or symbol to be parsed as being without a namespace. (see the keys _/c and :_/d) Symbols or keywords which already have a namespace (other than _ as mentioned above) are parsed as they are just as if the map containing them had not been namespaced. Compatibility note: Clients that use Scanner directly should be aware that the enum Token has gained a new value: Token.DEFAULT_NAMESPACE_FOLLOWS This is emitted by Scanner when "#:" is parsed. It will be followed by a bare symbol naming the default namespace provided the input being scanned is syntactically correct. 49: detect duplicate keys (elements) in maps (sets) --------------------------------------------------- #49 When we detect duplicate keys (elements) in maps (sets) during parsing an EdnSyntaxException will be thrown. This is accomplished by teaching CollectionBuilder.add() implementations used by default for Maps and Sets to check for duplicates. Third-party implementations of CollectionBuilder will probably want to implement this check in their own add method as well.
release 0.4.6, resolving issue43 Merge branch 'release/0.4.6' * release/0.4.6: ready pom.xml and README.md for release 0.4.6 43: Keyword is now Serializable 43: TaggedValue is now Serializable 43: Tag is now Serializable 43: Symbol is now Serializable 43: DelegatingList is now Serializable 43: add failing unit test for Serializability build as develop-SNAPSHOT improve javadoc comments to placate javadoc 8
PreviousNext