Releases: Hexagon/croner
9.0.1-dev.2
Changes
- Add "new" keyword to examples by @vladshcherbin in #265
- fix(types): improve type-safety for cron callback functions by @renejfc in #26
9.0.1-dev.1
- chore: Repo/Dist cleanup
- chore: Dev dependency updates
9.0.0
Croner 9.0.0
This major release brings significant changes to Croner, improving consistency, fixing bugs, and modernizing the codebase.
Changes
-
Bug Fixes:
-
API Changes:
- The
new
keyword is now mandatory when instantiating Croner (e.g.,new Cron(/* ... */)
). - The default export has been removed. You now need to use
import { Cron } from 'croner';
orconst { Cron } = require('croner');
.
- The
-
File Structure Changes (relevant for direct file access):
- All files in the
/dist
directory are now minified.croner.min.js
has been renamed tocroner.js
. - Typings have been moved from
/types
to/dist
. - Only the
/src
directory is exposed in the jsr module jsr.io/@hexagon/croner.
- All files in the
-
Codebase Modernization:
- The entire codebase has been migrated from JavaScript with JSDoc to TypeScript.
- Deno is now used for formatting, type checking, and linting, resulting in a cleaner and more maintainable repository. Esbuild is used to build the npm module and typings.
Upgrade Notice:
Due to the API and file structure changes, upgrading from 8.x to 9.x may require modifications to your existing code. Please review the above changes carefully before migrating.
9.0.0-dev.12
- Test new release workflow
8.1.2
What's Changed
Maintenance release, there have been no changes in the code.
- fix(docs): Fix typos in Readme
- chore(docs): Remove Codacy badge, add jsr badge
- chore(deps): Full (dev) dependency update
- chore(ci): Update Node.js and Deno CI
Full Changelog: 8.1.1...8.1.2
8.1.1
8.1.1-dev.0
Changes
- fix(pattern): Fix issue #254, nextRuns returning wrong values when using 4th day of the Month
Full Changelog: 8.1.0...8.1.1-dev.0
8.1.0
8.1.0
- fix(core): Fixes issue #247 (interval setting does seem to ignore startAt) reported by @CommanderStorm through pull requests #248. #249 and #250 by @buzzinJohnnyBoi
- Dev dependency updates
The minor version is bumped to reflect a change more substantial than a typical patch, as the behavior when using the startAt
option in combination with interval
has been changed (corrected).
Full Changelog: 8.0.2...8.1.0
8.0.3-dev.2
What's Changed
- Fix problem caused by #248 and #249 by @buzzinJohnnyBoi in #250
Full Changelog: 8.0.3-dev.1...8.0.3-dev.2
8.0.3-dev.1
What's Changed
- Fix problem caused by PR #248 - startAt set in future with interval by @buzzinJohnnyBoi in #249
Full Changelog: 8.0.3-dev.0...8.0.3-dev.1