@@ -7,6 +7,8 @@ first stable `1.0.0` tag; pre-1.0 `alpha` / `rc` tags may still change surfaces.
77
88## [ Unreleased]
99
10+ ## [ 1.15.0] - 2026-10-13
11+
1012### Added
1113
1214- ** deps.edn Maven source JAR resolution.** ` :mvn/version ` loads ` .clj ` , ` .cljc `
@@ -29,8 +31,62 @@ first stable `1.0.0` tag; pre-1.0 `alpha` / `rc` tags may still change surfaces.
2931 (` -Dffi=false ` drops it); absent on wasm. Example:
3032 ` docs/examples/ffi/hive_call.clj ` drives the hive C ABI.
3133
34+ - ** ` java.lang.Number ` instance methods on every number.** Long, Double,
35+ BigInt, Ratio and BigDecimal answer ` .intValue ` , ` .longValue ` ,
36+ ` .shortValue ` , ` .byteValue ` , ` .doubleValue ` and ` .floatValue ` ; Long, Double,
37+ BigInt and Ratio also answer the class-gated ` .compareTo ` , ` .equals ` and
38+ ` .hashCode ` with their JVM semantics (not clj ` = ` / ` hash ` ), and a Double
39+ answers ` .isNaN ` and ` .isInfinite ` . Narrowing follows the JLS: an integer
40+ keeps its low bits, a Double truncates toward zero and saturates, NaN gives
41+ 0 . ` .floatValue ` answers the double, as ` (float x) ` does (AD-004).
42+
43+ - ** Ratio literals wider than a Long.** ` 24691357802469135781/2 ` reads as a
44+ Ratio in source, ` read-string ` and ` clojure.edn/read-string ` , and a literal
45+ that divides evenly collapses to a Long or BigInt exactly as ` / ` does. Such
46+ ratios compare, ` max ` /` min ` and truncate (` bigint ` , ` biginteger ` ) by exact
47+ value, never through doubles; ` long ` and ` int ` still reject one past their
48+ range.
49+
50+ - ** ` clojure.lang.RT/nextID ` .** Returns the next value of the per-runtime
51+ gensym counter, so ids are monotonic and never collide with gensym
52+ suffixes. core.logic mints logic-variable ids with it.
53+
54+ - ** ` clojure.lang.IRecord ` and ` clojure.lang.Fn ` as interfaces.** Every
55+ defrecord is an ` (instance? clojure.lang.IRecord r) ` , and ` extend-type ` /
56+ ` extend-protocol ` onto ` IRecord ` reaches every record (after the record's
57+ own impls, before an ` Object ` default). ` clojure.lang.Fn ` names fns,
58+ builtins and protocol fns, but not a MultiFn or an invocable keyword or
59+ collection, as in clj. ` (. Class member) ` and ` (. Class (member args)) ` on
60+ a class symbol are static access, for fields as well as methods.
61+
62+ - ** A ` deftype ` or ` reify ` can implement ` java.util.Map$Entry ` .** Declaring
63+ ` java.util.Map$Entry ` or ` clojure.lang.IMapEntry ` with ` getKey ` /
64+ ` getValue ` makes ` key ` , ` val ` and ` map-entry? ` answer the instance, and the
65+ methods stay dot-callable. core.logic's ` Pair ` loads.
66+
3267### Changed
3368
69+ - ** ` cljw script.clj a b ` passes ` a b ` to the script.** Every token after
70+ the script path is bound to ` *command-line-args* ` , as `clojure script.clj
71+ a b` does; cljw used to open ` a` as another source file. A ` -cp` /
72+ ` --classpath <dirs> ` directly after the script path is still the classpath
73+ option (` cljw app.clj -cp lib ` ); the first other token starts the script
74+ arguments, and everything from there on is an argument.
75+
76+ - ** Large collection literals build at any size.** A vector, map or set
77+ literal of constants folds into one constant, and one with evaluated
78+ elements is built in bounded steps, so ` [1 1 1 … 40000 elements] ` no longer
79+ ends the process with an uncatchable operand stack overflow (D-346). Code
80+ past a compiler limit raises the catchable ` form_too_large ` , and a full
81+ operand arena the catchable ` stack_overflow ` . ` cljw build ` writes bytecode
82+ format v12.
83+
84+ - ** Regex patterns take up to 1024 capturing groups** (was 7). The 8th group
85+ used to be reported as an unsupported feature; emmy.complex's number
86+ pattern has 8. More than 1024 raises a catchable "too many capturing
87+ groups" error, and a backreference is still unsupported but now named as
88+ such.
89+
3490- ** ` wasm/run ` compiles a module once and reuses it.** The first `(wasm/run
3591 path …)` validates and JIT-compiles the module; later runs of the same file
3692 only instantiate and run it, each with its own ` :args ` , ` :stdin ` , ` :env ` ,
@@ -77,6 +133,77 @@ first stable `1.0.0` tag; pre-1.0 `alpha` / `rc` tags may still change surfaces.
77133 array, hash and sorted maps and sets and transient sets, as in clj. A
78134 transient map's ` find ` keeps the probe key, as ` ATransientMap.entryAt ` does.
79135
136+ - ** Ratio and BigDecimal convert to double as clj's ` doubleValue ` .** A Ratio
137+ rounds through a DECIMAL64 quotient and a BigDecimal rounds once to the
138+ nearest double, in ` double ` , float contagion, mixed comparison, ` format `
139+ and ` .doubleValue ` alike: ` (double 2/3) ` is ` 0.6666666666666667 ` , `(double
140+ 0.3M)` is ` 0.3` and ` (== 2/3 0.6666666666666667)` is true, where cljw gave
141+ ` 0.6666666666666666 ` , ` 0.30000000000000004 ` and false. ` (double 1e400M) ` is
142+ ` ##Inf ` , not NaN. ` (/ Long/MIN_VALUE 1) ` is a BigInt, as in clj.
143+
144+ - ** ` Long/valueOf ` raises IllegalArgumentException on an unmatched
145+ overload.** A BigInt or a Double argument used to raise a type error no
146+ ` catch IllegalArgumentException ` caught; ` nil ` raises
147+ NumberFormatException, as in clj.
148+
149+ - ** Equal Date and java.time values hash alike.** ` Date ` , ` Timestamp ` ,
150+ ` Instant ` , ` Duration ` , ` LocalDate ` , ` LocalDateTime ` and ` LocalTime ` hash by
151+ their JDK ` hashCode ` , so ` hash-set ` , map lookup, ` distinct ` , ` frequencies `
152+ and ` group-by ` no longer split equal instances. ` compare ` orders two
153+ ` java.sql.Timestamp ` s (millis, then nanos); a Timestamp against a Date still
154+ raises.
155+
156+ - ** Collection predicates answer a ` deftype ` or ` reify ` from its declared
157+ interfaces.** ` seq? ` , ` coll? ` , ` counted? ` , ` sequential? ` , ` associative? ` ,
158+ ` vector? ` , ` map? ` , ` set? ` , ` sorted? ` , ` ifn? ` , ` indexed? ` , ` reversible? ` and
159+ ` seqable? ` follow the type's interfaces and clj's superinterface closure.
160+ A map entry and the three transients are ` ifn? ` , as in clj.
161+
162+ - ** clojure.string and the regex fns accept any CharSequence.** ` trim ` ,
163+ ` blank? ` , ` split ` , ` split-lines ` , ` escape ` , ` reverse ` , ` re-find ` ,
164+ ` re-matches ` , ` re-seq ` and the rest read a ` StringBuilder ` or a
165+ CharSequence ` deftype ` as its text, and ` seq ` , ` count ` and ` nth ` treat a
166+ ` StringBuilder ` as a CharSequence. A non-CharSequence is still refused.
167+
168+ - ** Macros may return Class objects and ` clojure.core ` -qualified special
169+ heads.** A class inside a macro expansion, as in `(defmacro m [ ]
170+ [ String] )`, is re-read as the class symbol that names it (an anonymous
171+ ` reify ` class raises a named error), and ` (clojure.core/defmacro …) ` ,
172+ ` (clojure.core/binding …) ` and ` (clojure.core/ns …) ` analyze like their
173+ bare heads. Emmy's ` defgeneric ` and sci-macro output load.
174+
175+ - ** A destructured ` deftype ` / ` defrecord ` method parameter shadows a field
176+ of the same name.** ` (f [_ {:keys [a]}] a) ` answers the argument's ` a ` , not
177+ the field's, as on the JVM.
178+
179+ - ** ` (import '[java.util.concurrent Semaphore]) ` ** accepts the vector prefix
180+ spelling, as the ns ` :import ` clause already did.
181+
182+ - ** NaN-keyed maps keep their values.** ` reduce-kv ` , ` update-keys ` ,
183+ ` update-vals ` and printing walk entries, so a key that is not ` = ` to itself
184+ (` ##NaN ` , or a list holding it) no longer loses its value or prints a
185+ phantom ` k nil ` entry.
186+
187+ - ** ` (.getStackTrace (Thread/currentThread)) ` ** answers an empty array, so
188+ test.check's clojure.test reporter shows a failing property's shrunk
189+ counterexample instead of raising a missing-member error.
190+
191+ - ** ` wasm/component-invoke ` accepts a ` wasm/load-component ` handle** instead
192+ of refusing it as a non-string path, and dropping a resource of a
193+ single-module component names the missing resource table instead of
194+ reporting a guest trap.
195+
196+ - ** ` cljw.json/write-str ` and ` read-str ` ** call clojure.data.json at call
197+ time, so ` with-redefs ` of the data.json var reaches them, and both carry a
198+ docstring and arglists.
199+
200+ - ** ` java.io.File ` ` .list ` , ` .listFiles ` , ` listRoots ` and the constructor
201+ survive a collection mid-build** , where a GC during the call could return a
202+ short or empty result.
203+
204+ - ** A ` defmacro ` name with reader metadata** no longer risks a ReleaseSafe
205+ panic during analysis.
206+
80207## [ 1.14.12] - 2026-10-01
81208
82209### Added
0 commit comments