Changelog
All notable changes to this project will be documented in this file.
[1.3.3] - 2026-03-06
Fixed
[1.3.2] - 2026-03-06
Fixed
- Corrected data in 2010, 2011, 2012
[1.3.1] - 2026-03-06
Fixed
- Corrected 2013 Spring Festival data
- Corrected 2015 Mid-Autumn Festival data
Added
- Added 2015 V-Day (70th anniversary) holiday data
- Added regression checks for 2013 and 2015 data
[1.3.0] - 2025-11-04
Added
- CN: Added holiday data for 2026 (
data/CN/2026.json)
Changed
- Updated CN region range in
data/index.json (endYear: 2026)
- Updated tests to assert CN endYear = 2026
- Updated documentation examples
[1.2.0] - 2025-09-09
Added
- Add holiday data for China (2000-2001)
[1.1.6] - 2025-02-22
Added
- Added
isWorkday method to check if a date is a workday
- Added
isHoliday method to check if a date is a holiday
Changed
- Optimized documentation structure
- Added new method examples to README
[1.1.4] - 2025-02-16
Changed
- Generated index file before minifying JSON files
- Support to test CDN json data
[1.1.3] - 2025-01-21
Fixed
- Updated the holiday dates of CN for 2020
[1.1.2] - 2025-01-18
Changed
[1.1.1] - 2025-01-18
Changed
- Updated documentation to reflect API changes
[1.1.0] - 2025-01-18
Changed
- Breaking: Renamed method
getHolidays to getDates for better API consistency
- Updated data structure: renamed ‘holidays’ field to ‘dates’
- Improved test coverage with specific date assertions
- Added support for custom data loaders
[1.0.5] - 2025-01-18
Changed
- Updated data structure: renamed ‘holidays’ field to ‘dates’
- Improved test coverage with specific date assertions
[1.0.4] - 2025-01-18
Changed
- Improved documentation with official data sources and links
- Optimized README.md structure and content
[1.0.3] - 2025-01-17
Changed
- Updated default baseUrl to use unpkg CDN
[1.0.2] - 2025-01-17
Changed
- Updated CN region data format: ‘name’ field now uses Chinese text (same as name_cn)
[1.0.1] - 2025-01-17
Changed
- Optimized package size by adding .min.js and .min.json files
- Updated documentation with CDN examples
[1.0.0] - 2025-01-16
Added
- Initial release
- Added GitHub/Gitee mirror repositories
- Added documentation (README.md, CONTRIBUTING.md)
- Added data format specification
- Added multi-language support (English/Chinese)
- Added China date data for 2002-2025
- Added Japan date data for 2000-2026
- Added jsDelivr CDN support