bump specta to 2.0.0-rc.25 + specta-typescript to 0.0.12#9
Merged
Conversation
specta rc.25 reshapes `NamedDataType::init_with_sentinel`: - `sentinel` moves from arg position 5 to arg 1 - new `has_const_param: bool` and `passthrough: bool` (replaces `inline`) - splits the old single `build_ndt` closure into two: `build_ndt` (now sets `name`/`module_path` via direct field assignment, since the setters were removed) and `build_ty` (returns the alias body separately) Rewrite `specta_compat::JsonValue::definition` against the new signature. Behavior is unchanged.
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
Bumps the specta + specta-typescript pins to the rc.25 / 0.0.12 line. Required to unblock the cascading bump in fltsci's main repo (which currently can't move past rc.24 because this fork's exact-version pin holds it back).
API rewrite
specta rc.25 reshapes
NamedDataType::init_with_sentinel:sentinelmoves from arg position 5 to arg 1has_const_param: boolandpassthrough: bool(replacesinline)build_ndtclosure into two:build_ndt(now setsname/module_pathvia direct field assignment, since the setters were removed) andbuild_ty(returns the alias body separately)specta_compat::JsonValue::definitionis rewritten against the new signature. Behavior is unchanged -- emits the same recursiveJsonValueTS alias.Test plan
cargo build --all-featurescargo test --all-features --no-fail-fast(37 / 37 passing, 11 ignored as before)cargo clippy --all-features --all-targets -- -D warningscargo fmt --all -- --check