Repository navigation
DashScope Java SDK v2.23.8 Released: CI Reliability Maintenance (No Runtime Changes) #302
luk384090-cloud
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🔧 DashScope Java SDK v2.23.8 — maintenance release
v2.23.8 is a small maintenance release focused on CI reliability. There are no runtime or API changes compared to v2.23.7: upgrading is safe, requires no code changes, and staying on v2.23.7 remains fine for production use.
What changed
🧪 Deterministic, network-free tokenizer tests in CI (#297)
Since v2.23.7,
qwen.tiktokenis no longer bundled in the jars and is downloaded from ModelScope on first use. That on-demand fetch proved flaky from overseas CI runners and occasionally failed unit tests for reasons unrelated to the code under test.Both the
build-and-testandreleaseworkflows now:~/.cache/dashscope/tokenizers/qwen.tiktokenbeforemvn testAs a result, tokenizer tests never touch the network during
mvn test, making per-PR CI and tag-triggered release runs deterministic.📌 Version bump (#298)
pom.xmlandVersion.javaare bumped to 2.23.8.This release only touches CI workflows and version metadata; runtime behavior is identical to v2.23.7. The offline guidance from v2.23.7 still applies: in air-gapped environments, provide the vocab via
DASHSCOPE_QWEN_VOCABor placeqwen.tiktokenon the classpath.📦 Upgrade (optional)
Maven
Gradle
implementation 'com.alibaba:dashscope-sdk-java:2.23.8'🔗 Links
Thanks to @lzsweb and @luk384090-cloud. Questions or feedback? Reply below.
All reactions