首页›Clojure News›文章

Clojure 1.12.1

2025年6月2日

AI 摘要 AI 生成,可能有误

Clojure 1.12.1 现已发布,下载和使用信息可在下载页面获取。此补丁版本修复了多个问题,包括:撤销了当字段与方法同名时对限定符号语义的更改;修复了对同时也是 IFn 的对象进行不必要的 FunctionalInterface 转换;为新的数组类符号语法添加了 gen-class 支持;以及为 1.12 的函数补充了缺失的 :added 元数据。此外,add-libs 现在仅将 procurer 键传递给工具调用。

Clojure 1.12.1 is now available! Find download and usage information on the Downloads page.

CLJ-2899 - Revert change in semantics of qualified symbol in invocation position if field and method of same name

CLJ-2898 - Objects that are both IFn and FunctionalInterface unnecessarily get converted to FI

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Clojure News

Clojure 1.12.8

AI 摘要Clojure 1.12.8 is now available, replacing the 1.12.7 change related to a serialization vulnerability (GHSA-x4c4-68gp-vrhc) where Clojure function classes could be exploited when reading serialized Java data from untrusted streams. Function serialization is now always allowed, while deserialization is controlled by the new system property clojure.deserialize.code and the dynamic var *deserialize-code*, which can allow it, block it with an IOException, or throw a RuntimeException when set to :unknown to alert developers of unprotected code paths.

Clojure 1.12.7

AI 摘要Clojure 1.12.7 has been released, addressing a security vulnerability (GHSA-x4c4-68gp-vrhc) where Clojure function classes could be exploited alongside standard JDK classes to execute arbitrary code during deserialization of untrusted serialized Java data. As of this version, Clojure functions throw exceptions on serialization and deserialization by default, with the system property -Dclojure.serializable.fns=true available to explicitly allow these operations in known-safe contexts.

State of Clojure 2026 Survey

AI 摘要The annual State of Clojure 2026 Survey is now open, inviting users of Clojure, ClojureScript, or other Clojure dialects to participate. Running since 2010, the survey is the main barometer of the Clojure community's views and daily practices, takes only a few minutes, and closes on November 30, with results to be released toward the end of the year.

Clojure 1.13.0-alpha11

AI 摘要Clojure 1.13.0-alpha11 has been released, with download and usage information available on the Downloads page. This version fixes CLJ-2990, a bug where :req! on a nested map with :missing binds an internal Object. Users can try it by adding the version to their deps.edn or starting a REPL with the Clojure CLI.

Clojure 1.13.0-alpha10

AI 摘要Clojure 1.13.0-alpha10 has been released, featuring destructuring changes such as a new :req! directive to make top-level bindings required and :namespaced/keys directives that now qualify unqualified keywords (a potentially breaking change). The release also includes inliner updates enabling conditional inlining that can return nil, inlining of get-in with literal key vectors, and preservation of type hint metadata on macro invocations. Users can try it by updating their deps.edn dependencies or starting a REPL with the Clojure CLI.