- The package is now ESM-only. ESM can finally be loaded from common.js on node v20.19+
- Node v20.19 is now the minimum required version
- Package imports now work correctly in bundler-less environments, such as browsers
- Reduces npm package size (traffic consumed): 26.1KB => 24.5KB
- Reduces unpacked npm size (on-disk space): 165KB => 102KB
- Make bundle sizes smaller, compared to v1.x
- Upgrade typescript compilation env to ts5.9 and es2022
Full Changelog: 1.2.6...2.0.0