Skip to content

Releases: Hexagon/croner

9.0.1-dev.2

16 Nov 09:25
5208508
Compare
Choose a tag to compare
9.0.1-dev.2 Pre-release
Pre-release

Changes

9.0.1-dev.1

28 Oct 22:50
Compare
Choose a tag to compare
9.0.1-dev.1 Pre-release
Pre-release
  • chore: Repo/Dist cleanup
  • chore: Dev dependency updates

9.0.0

15 Oct 19:46
244a439
Compare
Choose a tag to compare

Croner 9.0.0

This major release brings significant changes to Croner, improving consistency, fixing bugs, and modernizing the codebase.

Changes

  • Bug Fixes:

    • Fixed an issue where "every X seconds" crons would fail with a "maximum call stack exceeded" error (#260).
    • Fixed an issue where types were not supported when using ES module via jsr.io (#258).
  • 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'; or const { Cron } = require('croner');.
  • File Structure Changes (relevant for direct file access):

    • All files in the /dist directory are now minified. croner.min.js has been renamed to croner.js.
    • Typings have been moved from /types to /dist.
    • Only the /src directory is exposed in the jsr module jsr.io/@hexagon/croner.
  • 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

15 Oct 19:31
4847b7d
Compare
Choose a tag to compare
9.0.0-dev.12 Pre-release
Pre-release
  • Test new release workflow

8.1.2

27 Sep 22:54
Compare
Choose a tag to compare

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

03 Aug 20:06
c08926e
Compare
Choose a tag to compare

Changes

  • fix(pattern): Fixes issue #254, nextRuns returning wrong values when using 4th day of the Month

Full Changelog: 8.1.0...8.1.1

8.1.1-dev.0

02 Aug 20:27
Compare
Choose a tag to compare
8.1.1-dev.0 Pre-release
Pre-release

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

08 Jul 19:49
Compare
Choose a tag to compare

8.1.0

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

03 Jun 19:07
Compare
Choose a tag to compare
8.0.3-dev.2 Pre-release
Pre-release

What's Changed

Full Changelog: 8.0.3-dev.1...8.0.3-dev.2

8.0.3-dev.1

18 May 18:36
Compare
Choose a tag to compare
8.0.3-dev.1 Pre-release
Pre-release

What's Changed

Full Changelog: 8.0.3-dev.0...8.0.3-dev.1