chore: bump version to 0.12.4 - #297
Merged
Merged
Conversation
Contributor
Author
|
Pushed fix commit
Verified locally:
🤖 Generated with Claude Code |
- Bump workspace version to 0.12.4 across all language SDKs (Cargo.toml, package.json, pom.xml, .csproj, .rockspec, CMakeLists.txt, .zon) - Update kcl-lang/kcl git dependency references to 0.12.4 - Rename lua/kcl_lib-0.12.3-1.rockspec -> lua/kcl_lib-0.12.4-1.rockspec - Update github workflow nupkg reference - Refresh native libraries from kcl-lang/kcl CI artifacts (commit 93f7a4fb) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Peefy <xpf6677@163.com>
CI fixes after bumping to 0.12.4 with PR #2108 (dry-run formatting) and PR #2110 (workspace version bump): - Adapt test expectations: remove trailing blank line that the new formatter no longer emits (Go, .NET, Java, Kotlin) - Provide `dry_run: false` in nodejs `FormatPathArgs` to match the new upstream kcl-api struct shape (added in PR #2108) - Migrate zig build.zig from removed `lib.linkLibC()` method to `lib.root_module.link_libc = true` (Zig 0.17 API change) - Refresh Cargo.lock commit pinning to bebe245b (the actual 0.12.4 tag) Signed-off-by: Peefy <xpf6677@163.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Peefy <xpf6677@163.com>
Zig 0.17 removed both `linkLibC` and `linkLibCpp` methods in favor of setting `link_libc` / `link_libcpp` on the root_module. Apply the same migration as the previous link_libc fix. Signed-off-by: Peefy <xpf6677@163.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Peefy <xpf6677@163.com>
Peefy
force-pushed
the
chore/bump-version-0.12.4
branch
from
July 26, 2026 07:21
ed49f71 to
20721d7
Compare
The upstream kcl-api crate (PR #2108) added a required `dry_run: bool` field to `FormatPathArgs`. The cpp crate's `build_format_path_args` was constructing this struct without it. Default to `false` to preserve the non-dry-run behavior. The nodejs SDK already had this fix. Signed-off-by: Peefy <xpf6677@163.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Peefy <xpf6677@163.com>
…7 module API - Add `dry_run` field to FormatPathArgs in spec.proto to match upstream kcl-api 0.12.4 - Migrate zig addLibraryPath/linkSystemLibrary/linkFramework to root_module API for Zig 0.17 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Peefy <xpf6677@163.com>
Regenerated using protoc v33.1 and protoc-gen-go v1.36.10 to expose the new dry_run field added to FormatPathArgs in upstream kcl-api 0.12.4. Regenerated bindings: - go/api/spec.pb.go - python/kcl_lib/api/spec_pb2.py - python/kcl_lib/api/spec_pb2.pyi - java/src/main/java/com/kcl/api/Spec.java - kotlin/src/main/java/com/kcl/api/Spec.java - kotlin/src/main/kotlin/com/kcl/api/FormatPathArgsKt.kt - dotnet/KclLib/api/Spec.cs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Peefy <xpf6677@163.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
93f7a4fb, PR #2108)lua/kcl_lib-0.12.3-1.rockspec->lua/kcl_lib-0.12.4-1.rockspecUpdated files
Cargo.toml(root) and all sub-crateCargo.tomlspackage.jsonfor npm, all platform-specific nodejs/npm packagespom.xmlfor Java/KotlinKclLib.csproj/exec-program.csprojfor .NETCMakeLists.txtand zigbuild.zig.zonKclLib.0.12.4.nupkg)go/install/install.go(KCL_VERSION = "v0.12.4")Native libraries refreshed
libkcl.dyliblibkcl.solibkcl.akcl.dll+kcl.libWindows-arm64 falls back to the windows CI artifact (no separate arm64 runner upstream).
Notes
The upstream
kcl-lang/kclrepository was also bumped to 0.12.4 in its[workspace.package]version on branchfix/evaluator-assign-by-value(commit850280a7). This PR alignskcl-lang/libwith that change.🤖 Generated with Claude Code