Releases: holidayapi/holidayapi-node
v8.0.1
v8.0.0
Updated dependencies and added builds against Node.js 24. This deprecated EOL Node.js versions
v7.1.0
Just a bunch of chore updates.
v7.0.0
- Updated supported Node.js versions
Dropped support for 14 and 16 in favor of the current LTS versions 18
and 20.
- Updated Node.js dependencies
Bumped nearly all dependencies to the latest. The exception being
node-fetch which made the jump to using ESM which is still causing
folks a lot of grief.
- Shored code coverage back up to 100%
Had some remnants from when this library did sanity checks pre-flight to
the API that required additional tests to cover them, or just adjusting
the argument defaults.
- Removed the "build" badge from the README
Seems there were some gotchas with that badge that makes it kind of a
pain, as it has to be hard coded a certain way. I messed with it and
couldn't get it working, seems like more trouble than it's worth.
Further details: badges/shields#8671
- Added .nvmrc file
Pretty self explanatory.
- Bumped version number
Lucky number 7, y'all!
v6.0.0: feat: get previous workday
This started as a feature request for our upstream API (closes #33) that led to a bit of rework to help make the library a bit more flexible in terms of not needing modification when something on the API changes. This update also includes your typical round of dependency updates and a bit of preemptive planning by way of dropping support for Node.js as we're on the cusp of it being out of maintenance and the release of Node.js v18.
v5.1.0
chore(deps): bump packages with security issues
v5.0.0: feat: add workdays endpoint
Added support for our new workdays endpoint that allows you to pull the number of working days that occur between two dates. In addition to the new endpoint: * chore: upgraded dependencies. * ci: dropped Node.js 10 because it past EOL. * ci: swapped Node.js 15 for 16 now that it's out. * docs: added example of new endpoint.
v4.1.0: feat: add workday endpoint
Added support for our latest endpoint, which calculates the workday a given number of business days into the future from the given date for the given country. Also: * perf: updated dependencies * ci: pinned eslint to 7.2.x due to airbnb incompatibility with 7.3.x. * ci: tweaked / improved eslint rules a bit. * refactor: updated types to use `;` and include weekday response. * docs: added example for new endpoint.
v4.0.0: test: drop end of life Node.js version
* test: Dropped Node v13.x since it's now past it's expiration. * test: Migrated from Travis CI to GitHub Actions. * test: Migrated from Coveralls to CodeCov. * docs: Dropped over 1.x stuff from the read me. * perf: Updated dependencies and rebuilt against latest TypeScript. * feat: Bumped major version number due to Node.js support changing.
v3.3.0: test: add Node.js v14.x to test suite
* test: Added Node.js v14.x to the test suite. * perf: Updated dependencies. * docs: Drop blurb about migration from v2 as it will be covered in release notes. * chore: Bumped minor version since compatibility has increased.