Clojure 1.7.0-RC2 is now available.
Try it via
- Leiningen: [org.clojure/clojure "1.7.0-RC2"]
1.7.0-RC2 has the following changes since 1.7.0-RC1:
1) CLJ-1735 - Throwable->map was missing docstring
2) CLJ-1237 - reduce gives a StackOverflow for seqs that switch back and forth between chunked and unchunked many times
This was an old problem that was amplified in 1.7, but has now been fixed.
3) CLJ-1738 - Seqs over Java iterators that return the same mutating object on every next() call
Seqs are fundamentally incompatible with Java iterators that return the same mutating object on every call to next(). Some Clojure libraries incorrectly rely on calling seq on such iterators. In 1.7, iterator-seqs are chunked, which will cause many of these incorrect usages to return incorrect results immediately. The `seq` and `iterator-seq` docstrings have been updated to include an explicit warning. Libraries that incorrectly use `seq` and `iterator-seq` will need to be fixed before running against 1.7.
4) CLJ-1745 - Exceptions thrown from macros wrapped in additional CompilerException
This was a regression from CLJ-1169 and most of that change has been rolled back.
Please give it a try and let us know if things are working (or not). The more and quicker feedback we get, the sooner we can release 1.7.0 final!
- Alex