28 July 2017
Rather than delay further, we’ve decided to push out a release candidate containing all of the features we have announced so far and a number of features we simply haven’t had time to cover in depth. To summarize the highlights:
Whether you prefer npm or yarn,
ClojureScript can now consume dependencies from
node_modules directly. There will
be cases that don’t work, but there will be many cases that do. We’re
particularly interested in feedback around this new capability. We expect to
widen the scope of libraries the ClojureScript compiler can consume gradually over time.
ClojureScript can now check array operations. This feature encourages users to write idiomatic code while paving the way for further alignment with Clojure semantics.
ClojureScript now ships with overhauled code-splitting functionality that eliminates the need for manual optimization. This feature is also coupled with a standard mechanism for loading code splits.
This feature has not yet received a post, but foreign libraries can now declare
what they export. This means that foreign libraries can be treated as regular
namespaces with all of the usual features (
:rename, etc.). This
enhancement also provides a smoother transition path from
CLJSJS dependencies to npm
Webpack, this feature makes consuming these foreign builds
considerably more idiomatic.
Thanks to the efforts of the ClojureScript community, this release contains a large number of fixes, changes, and enhancements. For a full list look here.