What's New
GitHub Actions CI Pipeline (#19)
Automated continuous integration is now configured for the project:
- Analyze job — Enforces
dart formatconsistency anddart analyze --fatal-infoswith zero tolerance for warnings. - Test job — Runs the full test suite across a matrix of Dart stable and Dart 3.10.7 (minimum supported SDK version).
- Minimal permissions (
contents: read) and concurrency groups to cancel stale runs.
Improvements
- Code formatting — Applied
dart formatto 23 source files for consistent code style across the codebase. - Static analysis cleanup — Resolved all
dart analyze --fatal-infosissues:- Removed deprecated
avoid_returning_null_for_futurelint rule. - Added curly braces to
ifstatements,constconstructors, andfinallocal variables where required.
- Removed deprecated
- Documentation (#21) — Added inline comments clarifying
google/sentencepieceproto spec compliance for default token IDs (unkId=0,bosId=1,eosId=2,padId=-1).
Notes
This is a maintenance release with no API changes or breaking changes. Focus: CI infrastructure, code hygiene, and documentation clarity.
Full Changelog: v1.3.1...v1.3.2