Skip to content

Commit 891f2b3

Browse files
brody-0125claude
andauthored
docs: prepare v1.3.2 release - CHANGELOG, README, and pubspec updates (#22)
Add v1.3.2 CHANGELOG entry covering CI pipeline (#9, #19), code quality improvements (dart format/analyze), and proto spec documentation (#20). Update pubspec version to 1.3.2, add CI badge, and update test counts in README. https://claude.ai/code/session_01U2kHmQb1riHPcZbPNFopVP Co-authored-by: Claude <noreply@anthropic.com>
1 parent 416a68d commit 891f2b3

3 files changed

Lines changed: 23 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.3.2] - 2026-04-07
9+
10+
### Added
11+
12+
- **GitHub Actions CI Pipeline** (#9, #19)
13+
- `analyze` job - `dart format --set-exit-if-changed` and `dart analyze --fatal-infos`
14+
- `test` job - Matrix testing across Dart stable and 3.10.7 (minimum supported version)
15+
- Minimal permissions (`contents: read`) and concurrency group to cancel stale runs
16+
17+
### Changed
18+
19+
- Applied `dart format` to 23 files for consistent code style
20+
- Resolved all `dart analyze --fatal-infos` issues
21+
- Removed deprecated `avoid_returning_null_for_future` lint rule
22+
- Added curly braces to if statements, `const` constructors, `final` local variables
23+
- Added documentation comments clarifying `google/sentencepiece` proto spec compliance for default token IDs (`unkId=0, bosId=1, eosId=2, padId=-1`) (#20)
24+
825
## [1.3.1] - 2026-04-03
926

1027
### Added

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# dart_sentencepiece_tokenizer
22

3+
![CI](https://github.com/brody-0125/dart_sentencepiece_tokenizer/actions/workflows/ci.yml/badge.svg)
34
![Dart](https://img.shields.io/badge/Dart-3.10.7+-0175C2.svg?logo=dart)
45
![License](https://img.shields.io/badge/License-MIT-yellow.svg)
56
![Hugging Face](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Compatible-FF6600)
@@ -17,13 +18,14 @@ A lightweight, pure Dart implementation of SentencePiece tokenizer. Supports BPE
1718
- **Streaming API** - HuggingFace TextStreamer compatible for real-time LLM output
1819
- **HuggingFace Compatible** - JSON serialization, dynamic token addition, tokenize() API
1920
- **HuggingFace tokenizer.json** - Load tokenizers directly from HuggingFace `tokenizer.json` format
20-
- **Well Tested** - 274+ tests with 100% pass rate
21+
- **CI/CD** - GitHub Actions with format check, lint, and multi-version testing
22+
- **Well Tested** - 302+ tests with 100% pass rate
2123

2224
## Installation
2325

2426
```yaml
2527
dependencies:
26-
dart_sentencepiece_tokenizer: ^1.3.1
28+
dart_sentencepiece_tokenizer: ^1.3.2
2729
```
2830
2931
## Quick Start
@@ -509,7 +511,7 @@ Download SentencePiece models from HuggingFace:
509511
## Testing
510512

511513
```bash
512-
# Run all tests (274 tests)
514+
# Run all tests (302+ tests)
513515
dart test
514516

515517
# Run specific test file

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: dart_sentencepiece_tokenizer
22
description: A lightweight, pure Dart implementation of SentencePiece tokenizer. Supports BPE (Gemma) and Unigram (Llama) algorithms.
3-
version: 1.3.1
3+
version: 1.3.2
44
repository: https://github.com/brody-0125/dart_sentencepiece_tokenizer
55
issue_tracker: https://github.com/brody-0125/dart_sentencepiece_tokenizer/issues
66
topics:

0 commit comments

Comments
 (0)