Skip to content

docs(sdk): bump the pinned install versions from 4.0.5 to 5.4.0 - #1334

Merged
hogan-yuan merged 1 commit into
mainfrom
docs/sdk-install-versions-5-4-0
Nov 18, 2026
Merged

hogan-yuan merged 1 commit into
mainfrom
docs/sdk-install-versions-5-4-0

Conversation

@hogan-yuan

Copy link
Copy Markdown
Member

The Rust, Java and C++ install snippets pinned 4.0.5 — two major versions behind what the registries actually serve. Anyone following the getting-started page installed an SDK whose API does not match the documentation around it.

This is the first complaint in #1224 ("官网文档的 4.0.5 版本…实际接口与官网文档不一致"), and it is still true today, so that issue stays open until this lands.

Changes

18 occurrences across 6 files — sdk.mdx and docs/getting-started.mdx in each of zh-CN, zh-HK and en:

language before after
Rust (Cargo.toml) longbridge = "4.0.5" longbridge = "5.4.0"
Java (pom.xml) <version>4.0.5</version> <version>5.4.0</version>
C++ (download link) openapi-cpp-sdk-4.0.5.tar.gz openapi-cpp-sdk-5.4.0.tar.gz

Python, JavaScript and Go install unpinned (pip3 install longbridge, yarn add longbridge, go get …) and were already current — no change needed.

Verified

Every target was checked to exist before pointing at it, including the C++ tarball, which is on a static host rather than a package registry:

crates.io  longbridge                       -> 5.4.0
maven      io.github.longbridge:openapi-sdk -> 5.4.0
static     openapi-cpp-sdk-5.4.0.tar.gz     -> HTTP 200

Note on finding these

The two occurrences on the getting-started page were the reported ones; sdk.mdx had four more per locale, including the C++ download link. Worth a follow-up: these numbers have no automated check, so they will drift again after the next release.

🤖 Generated with Claude Code

The Rust, Java and C++ install snippets pinned 4.0.5, two major versions
behind what the registries serve, so anyone following the getting-started
page landed on an SDK whose API does not match the documentation around it.
That mismatch is what #1224 reported, and it is still
true today.

Only Rust, Java and C++ were affected; the Python, JavaScript and Go
snippets install unpinned and were already current.

Every replacement target was verified to exist:

  crates.io  longbridge                      -> 5.4.0
  maven      io.github.longbridge:openapi-sdk -> 5.4.0
  static     openapi-cpp-sdk-5.4.0.tar.gz     -> HTTP 200

Refs #1224
@hogan-yuan
hogan-yuan merged commit 61b67a5 into main Nov 18, 2026
2 checks passed
@hogan-yuan
hogan-yuan deleted the docs/sdk-install-versions-5-4-0 branch November 18, 2026 10:18
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