Repository navigation
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 beforemvn testruns, 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.tiktokenis 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-testandreleaseworkflows 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.
- Since 2.23.7 (#293),
- Bump SDK version to 2.23.8 (#298): updates
pom.xmlandVersion.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_VOCABenvironment variable or placeqwen.tiktokenon 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: