r/Clojure • u/alexdmiller • Jan 13 '22
Clojure 1.11.0-alpha4
https://clojure.org/releases/devchangelog#v1.11.0-alpha424
u/didibus Jan 14 '22
I love a good "bug fix" release. Especially since it's been a while now since I've thought... Damn there are missing features in Clojure. Most things have good libraries to fill their gap (good job community and core adjacent stuff like tools.deps). So I like seeing work done to just make everything work better, more reliable, performant and portable.
As always, thanks for all the work!
9
u/Significant_Beyond50 Jan 14 '22
How is the status and placement of spec in the future, especially considering competitive libs like malli
-3
u/therealdivs1210 Jan 14 '22
I think spec is dead and the team will introduce some shiny new thing in the future.
5
u/seancorfield Jan 14 '22
Alex has indicated that Spec 2 (which has existed in prerelease form since 2018 I think) will likely get worked on this year. So it's definitely not "dead".
3
u/dustingetz Jan 14 '22
I don't think it's dead since iirc there was discovery work done on syntax to define function specs immediate/inline with defn arg lists
29
u/alexdmiller Jan 13 '22
CLJ-2673 Add abs, and update min and max to use Math impls when possible
CLJ-2555 Add iteration generator function
CLJ-2621 Fix unnecessary boxing of unused return in statement context for instance method expr
CLJ-2663 Fix vector = not terminating when called with infinite sequence
CLJ-2679 Fix hash collisions in case expressions on symbols
CLJ-2670 Use Math.exact… methods for checked long math ops for performance
CLJ-2680 Fix type hinting a primitive local with matching type hint to not error
CLJ-2234 Fix multimethod preferences using only global hierarchy
CLJ-2556 Fix into completion so halt-when works
CLJ-2665 Fix require with :as and :as-alias to load
CLJ-2677 clojure.math - fix method reflection in bodies and inlines, fix docstrings, renamed
CLJ-1379 clojure.test - Fix quoting of :actual form in :pass maps
CLJ-2493 clojure.java.browse - Fix browse-url hanging on call to xdg-open
CLJ-2611 clojure.xml - Stop processing XXE expansions by default
CLJ-2684 Update contrib deps to latest (spec.alpha, test.check, test.generative)