Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Releases: 18F/us-federal-holidays

v4.0.0

21 Apr 21:30
b921f0c
Compare
Choose a tag to compare

⚙️ Maintenance

  • add Node 20 to tests

🚨 Breaking changes

  • drop support for Node 12
  • drop support for Node 14
  • bump minimum Node version to 16

v3.0.2

05 Apr 19:28
b61d5e3
Compare
Choose a tag to compare

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

26 Sep 21:05
fbc1de1
Compare
Choose a tag to compare

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

17 Sep 22:51
91eecc0
Compare
Choose a tag to compare

Bug fixes

  • Brand new alsoObservedAs property wasn't actually being attached to holiday objects. Now it is.

2.1.0

17 Sep 22:50
5bf1c4b
Compare
Choose a tag to compare

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

20 Aug 18:19
90c529e
Compare
Choose a tag to compare

Behind the scenes

  • Use day.js to handle timezones more thoroughly

2.0.1

06 Aug 20:29
11d32a9
Compare
Choose a tag to compare

Bug fixes

  • TypeScript parameter type for arguments to allForYear was incorrect (#27)

2.0.0

06 Aug 20:26
c81dc6a
Compare
Choose a tag to compare

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