Releases: kang8/chinese-holidays
Releases · kang8/chinese-holidays
Release list
v1.0.1
What's Changed
✨ Features
- Embed holiday data at build time - Replace runtime JSON file reading with a build-time data generation approach. This removes the
fsdependency and simplifies distribution by embedding compact holiday data directly into the TypeScript source.
Benefits
- No more runtime file system access required
- Simplified package distribution
- Works seamlessly in all JavaScript environments (Node.js, bundlers, etc.)
- Smaller runtime footprint
Full Changelog: 1.0.0...v1.0.1
v1.0.0
🎉 First Stable Release
This release marks the first stable version of @kang8/chinese-holidays.
✨ Highlights
- 2026 holiday data - Full support for 2026 Chinese public holidays
- Improved architecture - Refactored data storage using
Mapfor better performance and type safety - Stricter TypeScript - Enhanced TypeScript configuration with stricter type-checking
- Better npm publishing - Improved package.json configuration for npm compatibility
🔧 Internal Improvements
- Configured Prettier for consistent code formatting
- Added comprehensive test coverage
- Enhanced README with modern documentation
- Added CI pipeline for automated testing
- Integrated Renovate for dependency management
📦 Dependency Updates
- Upgraded to Vitest v4, Vite v7, pnpm v10
- Node.js v22/v24 support