Repository navigation
v2.0.4
v2.0.4 Release Notes
π Highlights
CLI 2.0 β Brand New Command-Line Architecture
This release introduces a major architectural overhaul of the dashscope CLI, bringing a modern, extensible command-line experience:
- Unified Entry Point: The
dashscopecommand now serves as the primary entry point for both the new 2.0 CLI and the legacy 1.x functionality (accessible viadashscope1for backward compatibility). This eliminates confusion and simplifies the user experience. - Full Command Coverage: The v2 CLI now includes a comprehensive set of commands including
chat,models, and more, providing a rich interactive experience directly from the terminal. - Architectural Foundation: Built on a clean, modular architecture designed for extensibility and maintainability.
β οΈ Note: CLI 2.0 is actively under development. While it is already feature-rich, we are continuing to iterate on the design and add more capabilities. Feedback and contributions are welcome!
π Bug Fixes
- Top-level auth shortcuts: Fixed authentication shortcuts to work correctly from the top-level CLI.
- Typer compatibility: Resolved an issue where exceptions from the typer compatibility layer were being misclassified, improving error handling and debugging.
- Click 8.2 compatibility: Added compatibility with click 8.2
CliRunnerparameter changes, ensuring smooth operation with the latest click versions. - ANSI code stripping: Fixed an issue in
test_package_layoutwhere ANSI escape codes were not being stripped before assertions, improving test reliability.
π§ Improvements
- User-Agent token: Renamed the default User-Agent product token for better clarity and consistency.
- Code style: Unified code formatting with consistent trailing commas across the codebase.
ποΈ CI/CD
- Python 3.9 CI: Pinned the Python 3.9 test leg to
ubuntu-24.04for stability and reproducibility.
π¦ Installation
pip install --upgrade dashscopeπ₯ Contributors
Thanks to all the contributors who made this release possible: