diff --git a/CHANGELOG.md b/CHANGELOG.md index 67ef3a93..7038bdf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ For a list of breaking changes, check [here](#breaking-changes). +## 0.7.0 (2021-12-10) + +- Add compatibility with `clojure.spec.alpha`. See [babashka/spec.alpha](https://github.com/babashka/spec.alpha). +- Add `to-array-2d`, `aclone`, `areduce` and `amap` ([@MrEbbinghaus](https://github.com/MrEbbinghaus)) +- Add `inst-ms` +- Add `java.util.StringTokenizer` +- `clojure.core/read` can read with `PushbackReader` that is not `LineNumberingPushbackReader` +- Allow macroexpand on `for` and `doseq` ([@erdos](https://github.com/erdos)) +- Add `clojure.instant/read-instant-date` +- Add `StackTraceElement->vec` +- Add `memfn` +- Implement Java field access (for `clojure.spec.alpha`) +- Warn on requiring `clojure.spec.alpha`, suggesting to use [babashka/spec.alpha](https://github.com/babashka/spec.alpha) +- Warn on requiring `clojure.core.specs.alpha`, suggesting to explicitly add it to deps +- Deprecate `$` in babashka.process (still available, but no longer recommended) + ## 0.6.8 (2021-12-02) - Add `reader-conditional?`, `test` diff --git a/resources/BABASHKA_VERSION b/resources/BABASHKA_VERSION index ed29e4fb..faef31a4 100644 --- a/resources/BABASHKA_VERSION +++ b/resources/BABASHKA_VERSION @@ -1 +1 @@ -0.6.9-SNAPSHOT \ No newline at end of file +0.7.0 diff --git a/sci b/sci index 13cc8d33..573ee0e2 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit 13cc8d33a8f8bc586825168f992cd486d436cbeb +Subproject commit 573ee0e2f2ecdfc30f9f4b0d306626cacd6d3f06 diff --git a/src/babashka/impl/classes.clj b/src/babashka/impl/classes.clj index 17c54be4..f0e69096 100644 --- a/src/babashka/impl/classes.clj +++ b/src/babashka/impl/classes.clj @@ -89,7 +89,9 @@ {:fields [{:name "dispatchFn"}] :methods [{:name "getMethod"}]} clojure.lang.RT - {:methods [{:name "aget"}]}}) + {:methods [{:name "aget"} + {:name "aset"} + {:name "aclone"}]}}) (def custom-map (cond-> @@ -371,6 +373,7 @@ ~(symbol "[B") ~(symbol "[I") ~(symbol "[Ljava.lang.Object;") + ~(symbol "[Ljava.lang.Double;") ~@(when features/yaml? '[org.yaml.snakeyaml.error.YAMLException]) ~@(when features/hsqldb? '[org.hsqldb.jdbcDriver])] :constructors [clojure.lang.Delay