v1.1.0
Changed
-
Package Rename - Migrated from
@ason-format/ason- Updated package name to reflect organization scope
- Updated all documentation and examples with new package name
- Updated repository URLs to
https://github.com/ason-format/ason
-
Token Estimation - Removed external dependency for browser compatibility
- Removed
gpt-tokenizerdependency from package - Implemented lightweight approximation:
Math.ceil(text.length / 4) - Reduced package size and improved browser compatibility
- Updated all documentation to reflect token approximation method
- Removed
-
Documentation Improvements
- Fixed indentation documentation (valid values: 1, 2, or 4 spaces - not 0)
- Updated all code examples to use
indent: 1instead ofindent: 0 - Corrected performance metrics throughout docs (up to 23% vs previous claims)
- Improved clarity in all README files
-
Benchmarks Page Redesign
- Redesigned
/docs/benchmarks.htmlwith Vercel/GitHub-style color palette - Changed from bright colors to subtle emerald-600/rose-600 scheme
- Added clean table layout showing Dataset | JSON | ASON | Toon | Winner | Comparisons
- Improved readability with
font-monofor numbers and better visual hierarchy - Added proper badges and SVG icons for key findings
- Redesigned
Added
- Automated Documentation Build -
npm run buildnow auto-generates docs- Added
build:docsscript that copiesdist/index.jstodocs/js/ason.js - Eliminated code duplication between source and documentation
- Ensures docs always use latest built version
- Added
Fixed
-
CI/CD Pipeline - GitHub Actions now properly build before testing
- Added
npm run buildstep intest.ymlworkflow - Added
npm run buildstep innpm-publish.ymlworkflow - Prevents test failures due to missing dist files
- Added
-
Browser Compatibility - Fixed web visualizer errors
- Removed Node.js-specific dependencies from browser builds
- Fixed "Cannot read properties of undefined" errors
- Fixed "Failed to resolve module specifier" errors in console