Repository navigation
docs(sdk): bump the pinned install versions from 4.0.5 to 5.4.0 - #1334
Merged
Merged
Conversation
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
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.
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.mdxanddocs/getting-started.mdxin each ofzh-CN,zh-HKanden:Cargo.toml)longbridge = "4.0.5"longbridge = "5.4.0"pom.xml)<version>4.0.5</version><version>5.4.0</version>openapi-cpp-sdk-4.0.5.tar.gzopenapi-cpp-sdk-5.4.0.tar.gzPython, 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:
Note on finding these
The two occurrences on the getting-started page were the reported ones;
sdk.mdxhad 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