Repository navigation
chore: upgrade dependencies and prepare 0.9.0-beta - #345
Merged
Merged
Conversation
reqwest 0.13 (query moved behind a crate feature; tls now rustls + system trust store), base64 0.23 with explicit alloc, mockall 0.15 and zino 0.46 (dev-only), and nacos-macro on syn 3 / darling 0.24, which also fixes standalone nacos-macro builds that previously relied on syn2 `full` being unified in from darling. Co-authored-by: Qoder <noreply@qoder.com>
- nacos-sdk 0.9.0-alpha -> 0.9.0-beta, nacos-macro 0.4.0-alpha -> 0.4.0-beta - retarget the macro dependency and move the changelog section to 0.9.0-beta Co-authored-by: Qoder <noreply@qoder.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
Two reviewable commits: dependency wave +
0.9.0-betarelease prep.1. Dependency upgrades to latest majors
.query()moved behind a crate feature, sofeatures = ["query"]is required (used by theauth-by-httplogin). Behavioral note: with thetlsfeature, reqwest'sdefault-tlsis now rustls (aws-lc-rs) +rustls-platform-verifierinstead of native-tls; tonic keepstls-ring. Verified live: HTTPS handshake and query escaping behave as before with SDK-identical features; the dual rustls providers coexist without conflict.auth-by-aliyun):Engine/prelude::BASE64_STANDARDunchanged, padding semantics byte-identical. Also added theallocfeature explicitly —Engine::encodeis alloc-gated and previously compiled only because reqwest happened to unify it in.cargo build -p nacos-macro(syn2fullwas no longer unified in). The macro's syn surface (ItemStruct,Field::parse_named,parse_quote) ports to syn 3 with zero code changes; both crates are bumped together so no duplicate syn tree is compiled inside the macro.axum = "0.8"stays unified).2. Release prep: 0.9.0-beta
0.9.0-alpha→0.9.0-beta; nacos-macro0.4.0-alpha→0.4.0-beta(manifest + dependency requirement)0.9.0-alphasection retitled to0.9.0-beta(includes the dependency wave entry: TLS backend switch and the effective MSRV rise to 1.88 via darling)nacos-macro-v0.4.0-betafirst, thenv0.9.0-beta(the two publish jobs are tag-gated and run independently)Verification
cargo test --lib --bins --all-features: 272 passed / 2 ignored (baseline parity, before and after the version bump)cargo clippy --all-features -- -D warnings,cargo clippy -p nacos-macro -- -D warnings,cargo fmt --check: cleancargo check --all-features --all-targetsandcargo build --features "default,tls": greencargo test -p nacos-macro(standalone): compiles and passes with syn 3test_register_persistent_instancedue to a local container whose IP changed while its persisted jraft conf kept the old address ("did not find the Leader node"); the same failure reproduces on the pre-upgrade baseline viagit stash, so it is an environment issue, not a regression.Notes
rust-versionis declared in the manifests; the effective floor after this wave is 1.88 (proc-macro path via darling; reqwest needs 1.85). Happy to declare it explicitly in a follow-up if desired.stable, so no impact today.Co-authored-by: Qoder noreply@qoder.com