All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Minimum Node.js 14 required (previously had no explicit requirement)
- Package type changed to ESM - may affect some bundler configurations or Node.js module resolution
- Stricter package exports - only documented import paths are now supported (improves tree-shaking but may break undocumented imports)
- Native Node ESM support via
package.jsonexports and patched ESM internal imports - Enhanced browser support with Web Crypto API preference
- Explicit Node.js version requirement in
enginesfield - CI caching for npm to speed up installs
- API remains 100% compatible - all functions (
uuid58,encode,decode,valid,uuidV4NoDash) work identically - CommonJS consumers continue to work unchanged (
require('uuid-base58')) - Broader environment compatibility for RNG: prefers Web Crypto in browsers, falls back to Node
crypto - Tooling modernization: ESLint replaces deprecated TSLint, updated TypeScript/Jest/Prettier versions
- exposed the 'uuidV4NoDash' function
- added ESM so both ESM and CommonJS are provided
- localized the creation of v4 RNG UUIDs
- Initial Release