What kcl-lang/kcl shipped
Written by FoxPlug from public releases; not affiliated with Kcl-lang. An automatic summary of the public release, pull request and commit data of github.com/kcl-lang/kcl. Kcl-lang did not write it and does not use or endorse FoxPlug. Every line links to the public change it describes.
Week of September 21, 2026
What shipped
- v0.13.0 released with fixes for Linux arm64 artifacts, IP address type tests, and OCI distribution updates. Release
- ExecProgramArgs now supports sourcemap_output to request Source Map v3 documents from cross-language callers. Pull request #2204
- New duration system package with constructors, parsing, arithmetic and datetime helpers using Go-style duration strings. Pull request #2192
- file.read and file.readbase64 now support path:ref syntax to pin assets to specific git revisions. Pull request #2196
- File operations (file.read, file.write, file.glob, file.cp) are now scoped to the module root to prevent directory traversal attacks. Pull request #2189
- Top-level declarations prefixed with underscore are now enforced as module-private at type-check time. Pull request #2193
- Language server now walks up the filesystem to discover kcl.mod, kcl.yaml, or kcl.work workspace roots instead of only checking parent directories. Pull request #2185
- Language server automatically updates missing or outdated third-party dependencies through the kcl mod toolchain on package load. Pull request #2183
- ValidateCode, Rename and UpdateDependencies now work on WASI/wasm32 builds by returning errors instead of aborting. Pull request #2203
- kcl-language-server is now built with zigbuild to link against older glibc for compatibility with older Linux distributions. Pull request #2202
Why it matters
v0.13.0 brings security improvements by scoping file operations to module boundaries, adds new runtime capabilities like duration support and git-pinned asset references, and improves the language server's workspace discovery and dependency management. The release also fixes WASI compatibility and glibc portability issues.
Changelog entry
- v0.13.0 released Release
- feat(api): add sourcemap_output to ExecProgramArgs for Source Map v3 requests Pull request #2204
- feat(runtime): add duration system package with constructors, parsing, and datetime helpers Pull request #2192
- feat(runtime): add path:ref syntax to file.read and file.readbase64 for git-pinned asset resolution Pull request #2196
- fix(runtime): scope file.* builtin operations to the current module root Pull request #2189
- feat(sema): enforce _-prefixed top-level declarations as module-private Pull request #2193
- feat(lsp): walk up filesystem to find kcl.mod/kcl.yaml/kcl.work workspace Pull request #2185
- feat(lsp): auto-update dependencies through kcl mod toolchain Pull request #2183
- fix(api): make ValidateCode, Rename and UpdateDependencies work on WASI/wasm32 Pull request #2203
- ci(release): zigbuild kcl-language-server for older glibc compatibility Pull request #2202
- fix(api): use single service method registry for BuiltinService.ListMethod Pull request #2205
- feat(api): register Ping and ListMethod builtins; drop unused ListDepFiles RPC Pull request #2201
- feat(api): declare GetSchemaTypeMappingUnderPath rpc in spec.proto Pull request #2184
- refactor(sema): convert panic/expect sites to Result for graceful error handling Pull request #2191
- fix(config): sanitize hyphens in LockDependency::gen_filename Pull request #2188
- refactor(LSP): extend insta snapshot macro to document_symbol, semantic_token, formatting Pull request #2190
KCL v0.13.0 is out. Source Map v3 support for cross-language callers, duration system module, git-pinned asset references, improved workspace discovery in LSP, and security fixes for file operations.
KCL v0.13.0 released with significant improvements across the board. New duration system module for time calculations. Source Map v3 support for cross-language API callers. File operations now safely scoped to module boundaries. Language server auto-updates dependencies and discovers workspaces more reliably. Plus WASI compatibility fixes and better Linux distribution support.