ANN: ClojureScript 0.0-2411

246 views
Skip to first unread message

David Nolen

unread,
Dec 5, 2014, 3:03:25 PM12/5/14
to clojure, clojur...@googlegroups.com
ClojureScript, the Clojure compiler that emits JavaScript source code.

README and source code: https://github.com/clojure/clojurescript

New release version: 0.0-2411

Leiningen dependency information:

[org.clojure/clojurescript "0.0-2411"]

Feedback welcome!

### Enhancements
* forcing source maps to load for dynamic js reloads
* All ISeqable types are now ES6 iterable
* CLJS-863: Invalid arity error when calling 0-arity multimethod
* CLJS-622: better error reporting for zero arity protocol methods
* CLJS-506: expose more Closure minification knobs

### Changes
* CLJS-807: Emitter cannot emit BigInt or BigDecimal
* CLJS-749: Ignore .repl-* given that CLJS version is appended by default.
* CLJS-749: Append CLJS version to browser repl-env
* CLJS-749: *clojurescript-version* is unbound return empty string
* implement INamed for multi-method
* revert CLJS-801
* CLJS-888: Omit redundant {} around emitted recur
* CLJS-888: Better placement of newlines in emitter
* Join preambles with newline line to catch cases with files without newlines.
* add js-in interop macro
* Add nthrest
* CLJS-510: Throw error when :output-wrapper and :optimizations
:whitespace combined
* CLJS-875: bump tools.reader dep to 0.8.10
* CLJS-879: add `update` from Clojure 1.7
* CLJS-857: change deftype*/defrecord* special forms to include their
inline methods decls

### Fixes
* CLJS-885: relax type inference around numbers
* fix var resolution bug pointed out by Brandon Bloom
* CLJS-853: propagate read-time metadata on fn and reify forms at runtime
* CLJS-716: support hashing of JavaScript dates
* CLJS-814: clojure.string/reverse breaks surrogate pairs
* Recursively check IEncodeClojure in js->clj
* CLJS-873: non-higher-order calls to array-map should return PAMs
* CLJS-881: check for duplicate keys in array-map
* select-keys did not preserve metadata

David James

unread,
Dec 5, 2014, 10:57:14 PM12/5/14
to clojur...@googlegroups.com, clo...@googlegroups.com
I'm getting the following warnings from `lein cljsbuild auto`. Anybody else?

WARNING: Use of undeclared Var cljs.core.async/do-alts at line 62 file:/Users/david/.m2/repository/org/clojure/core.async/0.1.338.0-5c5012-alpha/core.async-0.1.338.0-5c5012-alpha.jar!/cljs/core/async/impl/ioc_helpers.cljs
WARNING: Bad method signature in protocol implementation, impl/Handler does not declare method called lock-id at line 719 file:/Users/david/.m2/repository/org/clojure/core.async/0.1.338.0-5c5012-alpha/core.async-0.1.338.0-5c5012-alpha.jar!/cljs/core/async.cljs
WARNING: Use of undeclared Var cljs.core.async.impl.protocols/lock-id at line 722 file:/Users/david/.m2/repository/org/clojure/core.async/0.1.338.0-5c5012-alpha/core.async-0.1.338.0-5c5012-alpha.jar!/cljs/core/async.cljs
WARNING: Bad method signature in protocol implementation, impl/Handler does not declare method called lock-id at line 719 /Users/david/dev/hft/target/cljsbuild-compiler-0/cljs/core/async.cljs
WARNING: Use of undeclared Var cljs.core.async.impl.protocols/lock-id at line 722 /Users/david/dev/hft/target/cljsbuild-compiler-0/cljs/core/async.cljs

David Nolen

unread,
Dec 6, 2014, 5:34:53 AM12/6/14
to clojur...@googlegroups.com, clo...@googlegroups.com
That's an issue with core.async. Make sure you have the latest. If you do, please file an issue for core.async.
--
Note that posts from new members are moderated - please be patient with your first post.
---
You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

David James

unread,
Dec 7, 2014, 3:42:54 PM12/7/14
to clojur...@googlegroups.com, clo...@googlegroups.com
Thanks. Problem solved.

Shaun LeBron

unread,
Dec 7, 2014, 7:01:07 PM12/7/14
to clojur...@googlegroups.com, clo...@googlegroups.com
might need to update the readme with this latest version

David Nolen

unread,
Dec 8, 2014, 10:00:09 AM12/8/14
to clojur...@googlegroups.com, clojure
Thanks, fixed!

David
Reply all
Reply to author
Forward
0 new messages