Skip to content

v2.23.8

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 10:11
40acf4c

Release Notes

🚀 Highlights

  • Stable, network-free tokenizer tests in CI: the Qwen tokenizer vocabulary (qwen.tiktoken) is now pre-downloaded into a SHA256-verified local cache before mvn test runs, eliminating flaky test failures caused by on-demand ModelScope downloads from overseas runners (#297).
  • Maintenance release: no runtime/API changes compared to 2.23.7 — upgrading is safe and requires no code changes.

🔧 CI & Chore

  • Pre-download Qwen tokenizer vocab before tests (#297):
    • Since 2.23.7 (#293), qwen.tiktoken is no longer bundled in the jars and is fetched from ModelScope on first use. That on-demand download proved flaky from overseas CI runners and could fail unit tests for reasons unrelated to the code under test.
    • Both the build-and-test and release workflows now download the vocab up front into ~/.cache/dashscope/tokenizers/qwen.tiktoken, verify it against its expected SHA256 checksum, and retry up to 3 attempts (with curl-level retries and timeouts) before failing the job with a clear error.
    • As a result, tokenizer tests never touch the network during mvn test: they resolve the vocab from the verified local cache, making per-PR CI and tag-triggered release runs deterministic.
  • Bump SDK version to 2.23.8 (#298): updates pom.xml and Version.java.

⚠️ Breaking Changes

  • None. This release only touches CI workflows and version metadata; the SDK's runtime behavior is identical to 2.23.7. The offline-vocab guidance from 2.23.7 still applies: in air-gapped environments, provide the vocab via the DASHSCOPE_QWEN_VOCAB environment variable or place qwen.tiktoken on the classpath.

📦 Installation

Maven:

<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>dashscope-sdk-java</artifactId>
    <version>2.23.8</version>
</dependency>

Gradle:

implementation 'com.alibaba:dashscope-sdk-java:2.23.8'

👥 Contributors

Thanks to all the contributors who made this release possible:

📝 Full Changelog

v2.23.7...v2.23.8