What kcl-lang/kcl shipped
Written by FoxPlug from the repository's own releases; not affiliated with Kcl-lang. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/kcl-lang/kcl; Kcl-lang did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of November 2, 2026
What shipped
- Added an opt-in eval-once mode to kcl test that evaluates the package once; the default behavior is unchanged. Pull request #2256
- Evaluator now checks typed list and dict values before copying them, avoiding repeated copying and type-checking on every call. Pull request #2253
- The export subcommand can now target TypeScript, exporting the Domain Model including data transfer objects, entities and validations. Pull request #2262
- The export subcommand can now target Java, exporting the Domain Model including data transfer objects, entities and validations. Pull request #2261
- The export subcommand can now target Golang, exporting the Domain Model including data transfer objects, entities and validations. Pull request #2259
- Str.split() and str.rsplit() without a separator now split on Unicode whitespace, so strings containing a no-break space split correctly. Pull request #2258
Why it matters
This week brings export targets for three languages, letting users take the Domain Model from KCL into TypeScript, Java and Go. It also includes two performance changes and a Unicode whitespace fix for string splitting. Together these improve both the output options and the day-to-day behavior of the evaluator and test command.
Changelog entry
- Kcl test: added an opt-in eval-once mode that evaluates the package once. Pull request #2256
- Evaluator: typed list and dict values are checked before copying, avoiding repeated copies. Pull request #2253
- Export subcommand: added TypeScript target for the Domain Model. Pull request #2262
- Export subcommand: added Java target for the Domain Model. Pull request #2261
- Export subcommand: added Golang target for the Domain Model. Pull request #2259
- Str.split() and str.rsplit() without a separator now split on Unicode whitespace. Pull request #2258
This week: export subcommand now targets TypeScript, Java and Golang, exporting the Domain Model with data transfer objects, entities and validations. Also an opt-in eval-once mode for kcl test, fewer copies for typed list and dict values, and Unicode whitespace splitting.
This week in the repository: the export subcommand gained TypeScript, Java and Golang targets, each exporting the Domain Model including data transfer objects, entities and validations. kcl test has an opt-in eval-once mode that evaluates the package once, with default behavior unchanged. The evaluator now checks typed list and dict values before copying them, avoiding repeated copying and type-checking. Finally, str.split() and str.rsplit() without a separator now split on Unicode whitespace, so strings with a no-break space split into the expected items.
Week of October 5, 2026
What shipped
- Released v0.13.1 with fixes to LockDependency filename generation, panic-to-Result error handling in sema, and builtin registration in the API. Release
- Fixed a regression where a plain config key could shadow an enclosing schema attribute, causing later sibling entries to resolve as Undefined. Pull request #2213
- Fixed blank source locations in arcanist and sarif error output so diagnostics now carry file and position information. Pull request #2217
- Fixed the musl target install step in the release pipeline, allowing the v0.13.1 release to publish. Pull request #2215
- Bumped the workspace version to 0.13.1 across all crates. Pull request #2214
Why it matters
This week brings a new release, v0.13.1, along with fixes that make error reporting more useful and prevent a config resolution bug from silently producing Undefined values. The release pipeline fix also ensures the version is actually published for users on musl targets.
Changelog entry
- Release: v0.13.1 Release
- Fix(sema): a plain config key must not shadow an enclosing schema attr Pull request #2213
- Fix(error): populate source locations in arcanist/sarif output Pull request #2217
- Ci(release): fix musl target install failing the cargo-zigbuild step Pull request #2215
- Chore(release): bump workspace version to 0.13.1 Pull request #2214
KCL v0.13.1 is out. Includes a fix for config keys shadowing enclosing schema attributes, source locations now populated in arcanist/sarif error output, and a release pipeline fix for musl targets.
KCL v0.13.1 has been released. This version fixes a regression where a plain config key could shadow an enclosing schema attribute, causing sibling entries to resolve as Undefined. Error diagnostics in arcanist and sarif formats now include source file and position information. The release pipeline was also fixed for musl targets so the version can be published. A workspace version bump to 0.13.1 is included.
Week of September 28, 2026
What shipped
- LoadPackageResult now includes imports field showing per-file direct import graphs and file metadata for bindings instead of ListDep* RPCs. Pull request #2209
- KclService API extended with LoadPackage info fields, FormatTestReport RPC, and code generation RPCs for runtime support. Pull request #2210
- Parser now correctly resolves external and internal packages through WASI preopens on wasm32 targets. Pull request #2206
- Plugin invocation on wasm32-unknown-unknown no longer requires host-linked stub, becoming self-contained. Pull request #2208
- Language server adds wasm32 shim for file:// URI handling, enabling LSP diagnostics on wasm32-unknown-unknown. Pull request #2207
- Fixed GetSchemaTypeMappingUnderPath to properly forward
work_dirfromexec_argsaftergen_schemarefactor. Pull request #2211 - New DirectiveResult and ModuleInfo fields expose directive scopes and module source locations in LoadPackageResult. Pull request #2209
Why it matters
This week strengthens KCL's WebAssembly support with improved package resolution, self-contained plugin stubs, and LSP compatibility on wasm32 targets. The API service gains critical new fields and RPCs for package introspection and code generation that enable higher-level libraries to function correctly.
Changelog entry
- Api: LoadPackageResult now includes imports field with per-file import graphs and module metadata Pull request #2209
- Api: New FormatTestReport and code generation RPCs added to KclService Pull request #2210
- Parser: Fixed package resolution on wasm32-wasip1 through correct WASI preopens handling Pull request #2206
- Runtime: Plugin stub on wasm32-unknown-unknown now self-contained without host linking requirement Pull request #2208
- Lsp: Added wasm32 shim for Url file path conversion enabling diagnostics on wasm32-unknown-unknown Pull request #2207
- Api: Fixed GetSchemaTypeMappingUnderPath to forward
work_dirfromexec_argsPull request #2211
KCL now has better WebAssembly support: self-contained plugins, correct package resolution via WASI, and LSP on wasm32. API service adds package metadata and code generation RPCs.
This week's KCL updates focus on WebAssembly robustness and API completeness. Package resolution now works correctly with WASI preopens on wasm32 targets, plugin invocation became self-contained without host stubs, and the language server works on wasm32-unknown-unknown. The KclService API expanded with LoadPackage metadata fields and new code generation RPCs, enabling better tooling integration.
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_outputto 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_outputto 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.