Releases: 18F/us-federal-holidays
Releases · 18F/us-federal-holidays
v4.0.0
⚙️ Maintenance
🚨 Breaking changes
- drop support for Node 12
- drop support for Node 14
- bump minimum Node version to 16
v3.0.2
v3.0.2
- Fixes an issue where using the
customParseFormat
plugin could result in this library returning invalid dates due to stricter processing (#43; thanks @keithpops!)
3.0.1
Breaking
- Drops support for Node 10, due to a dependency update. But 10 isn't support anymore so that seems okay. I mean, even 12 isn't supported anymore.
Chores
- Updated dependencies.
- Added Node.js 18 to the testing matrix
2.1.1
Bug fixes
- Brand new
alsoObservedAs
property wasn't actually being attached to holiday objects. Now it is.
2.1.0
Non-breaking changes
- Adds
alsoObservedAs
property to holidays for those with other popular names. This value is undefined
for holidays where the official and popular names are the same.
2.0.2
Behind the scenes
- Use day.js to handle timezones more thoroughly
2.0.1
Bug fixes
- TypeScript parameter type for arguments to
allForYear
was incorrect (#27)
2.0.0
Bug fixes
- Does not include Juneteenth in the list of holidays prior to 2021
Breaking
- Drops support for Node versions lower than 10
Behind the scenes
- No longer builds into older-style Javascript
- Updates how date objects are built to be more standards-compliant (#20)
- Expands tests to check default value handling
- Sets up prettier code formatting