-
Notifications
You must be signed in to change notification settings - Fork 23
chore: bump openjd crate versions #357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,8 +13,8 @@ crate-type = ["cdylib", "rlib"] | |
|
|
||
| [dependencies] | ||
| openjd-expr = "0.6.0" | ||
| openjd-model = "0.6.0" | ||
| openjd-sessions = "0.5.5" | ||
| openjd-model = "0.6.1" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Running There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This bump pulls in a model-layer validation change that the pure-Python v0 reference does not have, so it silently creates a v0/v1 divergence.
The v0 model still accepts it. So the same template now validates under Note the contrast with the other half of this bump: openjd-rs#364 (EXPR type-name case gating) was ported to Python first, in #350 -- which is this PR's base commit. #360 appears to have no Python counterpart, so the bump lands the Rust half unaccompanied. Worth deciding which way to close it before merge: port the NUL rejection to the v0 model (matching what #350 did for the case fix), or add an xfail in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The v1 parity tests for the EXPR type-name-case rule belong in this PR, and are missing.
The base commit (#350) landed the matching Python change plus 447 lines of v0 tests:
There is no v1 counterpart for any of them. Grepping That matters more than usual here because the two implementations were wrong in opposite directions on different parameter kinds, and #364 also tightened the fold from Mirroring the three v0 classes into |
||
| openjd-sessions = "0.5.6" | ||
| tokio = { version = "1", features = ["rt-multi-thread"] } | ||
| uuid = { version = "1", features = ["v4"] } | ||
| serde_json = "1" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The regenerated file drops two license sections that have nothing to do with this version bump:
** wasi; version 0.11.1+wasi-snapshot-preview1under the Apache-2.0 WITH LLVM-exception text (old lines 819–1049) — the--- LLVM Exceptions to the Apache 2.0 License ----block is now gone from the file entirely.** encoding_rs; version 0.8.35under the BSD-3-Clause text that was harvested from the crate’s source file (the//-commented variant with theGB18030_2022_OVERRIDE_PUAtable, old lines 2639–2699).Neither crate changed: both are still in
Cargo.lockat the same versions (encoding_rs 0.8.35viaencoding_rs_io←serde-saphyr,wasi 0.11.1viagetrandom 0.2.17/mio), and this diff only touches theopenjd-model/openjd-sessionsentries. Attribution is not lost (wasistill appears in the plain Apache-2.0 group,encoding_rsin the Apache-2.0 and clean BSD-3-Clause groups), so this looks likecargo aboutpicking a different license variant / license-file source than it did for the committed baseline — i.e. acargo-aboutversion difference on the machine that ran--update, not a dependency change.That matters because nothing pins the tool:
scripts/check_third_party_licenses.shjust requirescargo-aboutonPATH, and.github/workflows/rust_quality.yml:204runscargo install cargo-about --locked --features cli, which resolves to whatever the latest published version is at job time.--lockedpins cargo-about’s own dependencies, not cargo-about itself, so the generated output can drift between the contributor’s machine and CI, and between CI runs over time — producing spuriousTHIRD-PARTY-LICENSES checkfailures on diffs that never touched dependencies.Two things worth confirming before merge:
wasiis also offered under plain Apache-2.0.cargo install cargo-about --locked --features cli --version X.Y.Z) in both the workflow and the script’s doc comment so regeneration is reproducible.