v1.1.0
Changes in v1.1.0
Added
- Justfile for task automation with commands for setup, testing, analysis, formatting, benchmarks, quality checks, and CI workflows
- Token efficiency benchmark suite comparing TOON vs JSON vs XML across 4 datasets (GitHub repos, analytics data, e-commerce orders, employee records)
- Support for Anthropic API token counting or estimation fallback in benchmarks
- PHPDoc documentation for Toon::encode() method
- Extended test coverage with 3 new test files
Changed
- Benchmark output formatting simplified to use clean, minimal text instead of decorative boxes
- README enhanced with additional examples
Benchmark Results
Token savings compared to other formats:
- GitHub Repositories: 46.7% vs JSON, 61.4% vs XML
- Analytics Data: 68.0% vs JSON, 81.4% vs XML
- E-Commerce Orders: 29.6% vs JSON, 54.3% vs XML
- Employee Records: 56.7% vs JSON, 70.6% vs XML
Full changelog: https://github.com/HelgeSverre/toon-php/blob/main/CHANGELOG.md#110---2025-10-28