|
| 1 | += 1.11.51 Release |
| 2 | +ClojureScript Team |
| 3 | +2022-05-13 17:00:00 |
| 4 | +:jbake-type: post |
| 5 | + |
| 6 | +ifdef::env-github,env-browser[:outfilesuffix: .adoc] |
| 7 | + |
| 8 | +We're happy to announce a new release of ClojureScript. If you're an existing |
| 9 | +user of ClojureScript please read over the following release notes carefully. |
| 10 | + |
| 11 | +## Clojure 1.11 parity |
| 12 | + |
| 13 | +This release includes support for `:as-alias`. It adds `update-vals` and |
| 14 | +`update-keys`. It introduces the `cljs.math` namespace, providing portability |
| 15 | +for code using `clojure.math`. `iteration`,`NaN?`, `parse-long`, `parse-double`, |
| 16 | +`parse-boolean`, and `parse-uuid` have also been added. |
| 17 | + |
| 18 | +This release also ports CLJ-2608, which adds support for trailing, conj-able |
| 19 | +element in map-destructuring support for seqs. |
| 20 | + |
| 21 | +## Vendorization of tools.reader, data.json, and transit-clj |
| 22 | + |
| 23 | +ClojureScript is one of the largest libraries in the Clojure ecosystem. Having to |
| 24 | +compile some 20,000+ lines of Clojure code every time is a significant hit to |
| 25 | +REPL start times and other typical tasks. Thus ClojureScript is ahead-of-time (AOT) |
| 26 | +compiled. |
| 27 | + |
| 28 | +However, due to some subtle aspects of AOT this can lead to unresolveable |
| 29 | +dependency conflicts. Users have hit this issue with nearly all of the declared |
| 30 | +dependencies: transit-clj, data.json, and tools.reader. |
| 31 | + |
| 32 | +After conferring with the Clojure Team, we decided to vendorize all these |
| 33 | +dependencies. This way we can AOT everything and be confident that we won't |
| 34 | +create a conflict that can't easily be fixed via normal dependency management. |
| 35 | +ClojureScript no longer depends on transit-clj, only transit-java. The dependance |
| 36 | +on data.json has been removed. ClojureScript dependance on tools.reader is |
| 37 | +for a less common use case - bootstrapping the compiler to JavaScript. |
| 38 | + |
| 39 | +Some care was taken to ensure backwards compatibility, and we are particularly |
| 40 | +interested in any issues that people may encounter. |
| 41 | + |
| 42 | +## Other Changes |
| 43 | + |
| 44 | +The minimum Clojure version for ClojureScript is now 1.10. Google Closure |
| 45 | +Compiler has been updated to the May release. |
| 46 | + |
| 47 | +For a complete list of updates in ClojureScript 1.11.51 see |
| 48 | +https://github.com/clojure/clojurescript/blob/master/changes.md#1.11.51[here] |
| 49 | + |
| 50 | +## Contributors |
| 51 | + |
| 52 | +Thanks to all of the community members who contributed to ClojureScript 1.11.51: |
| 53 | + |
| 54 | +* Tom Connors |
| 55 | +* Roland Thiolliere |
| 56 | +* David Frese |
| 57 | +* Paula Gearon |
| 58 | +* Matthew Huebert |
| 59 | +* Hyun-woo Nam |
| 60 | +* Timothy Pratley |
0 commit comments