Repository navigation
chore: release 5.5.0 - #631
Merged
Merged
Conversation
Minor bump. 5.4.0 is already published on crates.io, so a release from main as it stands would be rejected; this is what unblocks it. The workspace version and the seven internal dependency requirements move together -- bumping only the workspace version leaves the internal crates resolving to the previous release at publish time. Contents, all already on main: risk_assessment across every SDK layer (#625), history_orders pagination and zero-padded HK symbols (#627), trusting the OS certificate store with the WebSocket connector and OAuth token client built once (#628), and the OAuth error_description and two callback security fixes (#626). Nothing is removed or renamed; the one behaviour change a matcher could notice -- the authorization flow no longer returning CsrfTokenMismatch -- leaves the variant in place, so it does not break compilation. Same shape as the 5.3.0 release commit: eight version strings in Cargo.toml and one CHANGELOG heading, nothing else.
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.
Moves
## [Unreleased]to## [5.5.0] - 2026-11-20and bumps the version. Nine lines; no code changes.Why this is needed now
Cargo.tomlsays5.4.0, and 5.4.0 is already published on crates.io. A release frommainas it stands would be rejected at the publish step, so nothing in[Unreleased]can ship until this lands.That matters beyond the usual, because two things are waiting on it:
longbridge = "5.3"). Their own HTTP clients are fixed; everything that goes through the SDK keeps the old root set until a release carrying fix(tls): trust the OS certificate store in addition to the bundled roots #628 exists. Merging those three did not fix the reporter's problem; this does.risk_assessmentis live on the gateway but absent from every published SDK.The change
Cargo.tomlCHANGELOG.mdThe internal requirements have to move with the workspace version —
longbridge-geo,-wscli,-httpcli,-proto,-candlesticks,-oauthandlongbridgeitself all carryversion = "5.4.0", and bumping only the workspace version would leave them resolving to the previous release at publish time.This is the same shape as the 5.3.0 release commit (
Cargo.toml | 16 ++++----,CHANGELOG.md | 2 +-), which is how I checked nothing was missed: 8 occurrences found, 8 changed, 0 left.Why 5.5.0 and not 5.4.1
New API surface, nothing removed or renamed:
TradeContext.risk_assessment()across all six SDK layers (feat(trade): add risk_assessment API (all layers) #625)OAuth.revoke()/OAuth.clear()and typed OAuth error codes (fix(oauth): include error_description in authorization callback errors #626)The one behaviour change a caller could notice is that the authorization flow no longer returns
CsrfTokenMismatch. The variant still exists, so code matching on it still compiles — it is a behaviour change, not a compile break, and it is already described in the changelog.What ships in it
Seven changelog entries, two of them marked
(security)— the OAuth callback page now HTML-escapes the error text, andstateis checked on error redirects too.Verified
cargo checkresolves the whole workspace at the new version;cargo test -p longbridgepasses (88 + 57).After merge
The release runs off a push to the
releasebranch. I have not pushed anything there — that is for you to do.One operational note from the 5.4.0 release, which is worth knowing before you start it: that run failed on the Node.js aarch64 cross build and was retried by pushing the fix (
782861d98) torelease, which then succeeded. The retry worked because each crate's publish step is guarded byif: env.PACKAGE_VERSION != env.PUBLISHED_VERSION, so crates already on crates.io are skipped rather than re-published. If this run fails partway, re-running it is safe for the same reason — but between the failure and the retry, some crates are published and others are not.🤖 Generated with Claude Code