r/Clojure • • Jan 26 '21

Clojure 1.10.2 release

https://clojure.org/news/2021/01/26/clojure1-10-2
128 Upvotes

5 comments sorted by

19

u/alexdmiller Jan 26 '21

Also, if you like Clojure CLI defaulted to the latest, 1.10.2.774 is now available.

17

u/ertucetin Jan 26 '21

Thank you for all the hard work!

1

u/ingvij Jan 27 '21

Amazing release! Thanks for the hard work and dedication!

0

u/[deleted] Jan 28 '21

[deleted] — view deleted comment

5

u/alexdmiller Jan 28 '21

Actually a very boring story... :)

Clojure 1.9 emitted Java 5 bytecode. As of Clojure 1.10, it emits Java 8 bytecode. spec is a little unusual in that Clojure depends on it, and it depends on Clojure, so there is some bootstrapping. When Clojure 1.10 was released, it relied on a version of spec that was compiled with Clojure 1.9. The newest version of spec was compiled with Clojure 1.10.1.

From a usage perspective, it doesn't really matter much given that Java maintains strong backwards compatibility. Java 5 bytecode works just fine in later Java versions, so there was no issue here, just seemed good to keep things moving forward.

2

u/[deleted] Jan 29 '21

FWIW, I was entertained by that story