Skip to content

chore: release 5.5.0 - #631

Merged
hogan-yuan merged 1 commit into
mainfrom
chore/release-5.5.0
Nov 20, 2026
Merged

hogan-yuan merged 1 commit into
mainfrom
chore/release-5.5.0

Conversation

@hogan-yuan

Copy link
Copy Markdown
Member

Moves ## [Unreleased] to ## [5.5.0] - 2026-11-20 and bumps the version. Nine lines; no code changes.

Why this is needed now

Cargo.toml says 5.4.0, and 5.4.0 is already published on crates.io. A release from main as 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:

The change

Cargo.toml 8 version strings: the workspace version and the 7 internal dependency requirements
CHANGELOG.md 1 heading

The internal requirements have to move with the workspace version — longbridge-geo, -wscli, -httpcli, -proto, -candlesticks, -oauth and longbridge itself all carry version = "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:

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

5c8f5f6  fix(tls): trust the OS certificate store in addition to the bundled roots (#628)
9b76c73  fix(trade): paginate history_orders and accept zero-padded HK symbols (#627)
19e7edf  fix(oauth): include error_description in authorization callback errors (#626)
c573bc6  feat(trade): add risk_assessment API (all layers) (#625)

Seven changelog entries, two of them marked (security) — the OAuth callback page now HTML-escapes the error text, and state is checked on error redirects too.

Verified

cargo check resolves the whole workspace at the new version; cargo test -p longbridge passes (88 + 57).

After merge

The release runs off a push to the release branch. 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) to release, which then succeeded. The retry worked because each crate's publish step is guarded by if: 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

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.
@hogan-yuan
hogan-yuan merged commit 4fddc66 into main Nov 20, 2026
56 checks passed
@hogan-yuan
hogan-yuan deleted the chore/release-5.5.0 branch November 20, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant