croner

Trigger functions or evaluate cron expressions in JavaScript or TypeScript. No dependencies. Most features. Node. Deno. Bun. Browser.

MIT License

Downloads
7M
Stars
1.9K
Committers
14

Bot releases are hidden (Show)

croner - 6.0.6

Published by Hexagon over 1 year ago

Changes

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.5...6.0.6

croner - 6.0.6-dev.0

Published by Hexagon over 1 year ago

Changes

  • Proposed fix for #194

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.5...6.0.6-dev.0

croner - 6.0.5

Published by Hexagon over 1 year ago

Changes

Maintenance and documentation release.

New Contributors

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.4...6.0.5

croner - 6.0.5-dev.0

Published by Hexagon over 1 year ago

Changes

  • Start development of next version

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.4...6.0.5-dev.0

croner - 6.0.4

Published by Hexagon over 1 year ago

Maintenance release

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.3...6.0.4

croner - 6.0.3

Published by Hexagon over 1 year ago

Changes

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.2...6.0.3

croner - 6.0.3-dev.0

Published by Hexagon over 1 year ago

Changes

  • Proposed fix for minitz bug #19
  • Add a test related to promises

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.2...6.0.3-dev.0

croner - 6.0.2

Published by Hexagon over 1 year ago

Changes

  • bugfix: Fixes #172, job got scheduled before throwing on duplicated job name.
  • bugfix: Remove job from scheduledJobs on .stop(), as the job is no longer operational after a stop.
  • feature: Add method .isStopped()
  • chore: Update documentation.
  • chore: Improve compability with fake timers, for third party tests.
  • chore: Update development dependencies.

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.1...6.0.2

croner - 6.0.2-dev.2

Published by Hexagon over 1 year ago

Changes

  • Improve compatibility with fake timers.

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.2-dev.1...6.0.2-dev.2

croner - 6.0.2-dev.1

Published by Hexagon over 1 year ago

Changes

  • Improve compatibility with fake timers.

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.0...6.0.2-dev.1

croner - 6.0.2-dev.0

Published by Hexagon over 1 year ago

Changes

  • feat: New method .isStopped() showing if a job is permanently stopped
  • fix: Remove named jobs from scheduledJobs on .stop(), as stopped jobs are no longer scheduled or operational. This also enables the job to be garbage collected.

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.1...6.0.2-dev.0

croner - 6.0.1

Published by Hexagon over 1 year ago

Changes

  • fix: #173 Protect option not working in 6.0.0
  • fix: #172 Handling of named jobs

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.0...6.0.1

croner - 6.0.0

Published by Hexagon over 1 year ago

Breaking changes

  • Refactor of method names: next() -> nextRun() etc.
  • Separate CommonJS (CJS) from Universal Module Definition (UMD) build.
  • Major internal code refactor.

More information on upgrading from a previous version can be found here.

New features

  • Adds pattern feature L for the last weekday of the month. Closes #169.
  • Adds separate typings for CJS: croner.d.ts to support node-next module resolution. Fixes #168.
  • Adds new method .trigger() to manually trigger a run. Closes #164.

Other changes

  • Moved generated documentation out of the repository and added an action to build and deploy it on the fly.
  • Repository cleanup.

Full Changelog: https://github.com/Hexagon/croner/compare/5.7.0...6.0.0

croner - 6.0.0-dev.2

Published by Hexagon over 1 year ago

Changes

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.0-dev.1...6.0.0-dev.2

croner - 6.0.0-dev.1

Published by Hexagon over 1 year ago

Changes

  • Fix package.json npm issue

Full Changelog: https://github.com/Hexagon/croner/compare/6.0.0-dev.0...6.0.0-dev.1

croner - 6.0.0-dev.0

Published by Hexagon over 1 year ago

Changes

  • Feature: L for last weekday of month
  • Separate CJS and UMD builds. Remove minified versions of cjs and esm
  • Internal refactor

Full Changelog: https://github.com/Hexagon/croner/compare/5.7.0...6.0.0-dev.0

croner - 5.7.1-dev.0

Published by Hexagon over 1 year ago

Changes

  • feature: Method to trigger events manually .trigger()

Full Changelog: https://github.com/Hexagon/croner/compare/5.7.0...5.7.1-dev.0

croner - 5.7.0

Published by Hexagon over 1 year ago

Changes

  • feature: Add option protect, which enables overrun protection (Closes #150).
  • feature: Add function which indicates if a job is currently working - .busy().
  • feature: Add a function that returns when the current trigger started, .started(). This function changes the value before triggering, while .previous() changes after the current call.
  • tests: Add tests for new features, and additional test for option utcOffset.
  • chore: Refactors of croner.js.
  • docs: Refactors of documentation.

Full Changelog: https://github.com/Hexagon/croner/compare/5.6.4...5.7.0

croner - 5.7.0-dev.4

Published by Hexagon over 1 year ago

Changes

  • fix: Fix regression bug on .previous()
croner - 5.7.0-dev.3

Published by Hexagon over 1 year ago

Changes

  • tests: Add tests for invalid values for option utcOffset
  • fix: Minor bugfix
  • change: Rename working() to busy()