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 - 5.7.0-dev.2

Published by Hexagon over 1 year ago

  • chore: Refactor croner.js
croner - 5.7.0-dev.1

Published by Hexagon over 1 year ago

Prerelease

  • docs: Various improvements
croner - 5.7.0-dev.0

Published by Hexagon over 1 year ago

Prerelese

  • docs: Refactor of documentation
  • feature: Over-run protection

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

croner - 5.6.4

Published by Hexagon over 1 year ago

Changes

  • fix: Minor fix for option utcOffset
  • tests: More tests for option utcOffset

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

croner - 5.6.3

Published by Hexagon over 1 year ago

Changes

  • Minor fixes, added tests and documentation

Full Changelog: https://github.com/Hexagon/croner/compare/5.6.2...5.6.3

croner - 5.6.2

Published by Hexagon over 1 year ago

Changes

  • feature: Add the option utcOffset, which makes the cron pattern match time with a offset from UTC. utcOffset is specified as a negative or positive number in minutes.

Full Changelog: https://github.com/Hexagon/croner/compare/5.6.1...5.6.2

croner - 5.6.1

Published by Hexagon over 1 year ago

Changes

  • feature: Add the option "unref," which unreferences the internal timers and allows the process to exit if nothing else is keeping the event loop alive.

Full Changelog: https://github.com/Hexagon/croner/compare/5.6.0...5.6.1

croner - 5.6.0

Published by Hexagon over 1 year ago

Changes

  • fix(gc): Only store named jobs in library-wide array scheduledJobs. See #162 for more information. '
  • fix(bug): Prevent creation of multiple jobs with the same name.
  • Tests for above
  • Bump minor from 5.5 to 5.6

Full Changelog: https://github.com/Hexagon/croner/compare/5.5.1...5.6.0

croner - 5.5.1

Published by Hexagon over 1 year ago

Changes

  • bug: Fixes #156 , triggered function is incorrectly awaited when using option catch:
  • chore: Dev dependency update

Full Changelog: https://github.com/Hexagon/croner/compare/5.5.0...5.5.1

croner - 5.5.0

Published by Hexagon over 1 year ago

Changes

New Contributors

Full Changelog: https://github.com/Hexagon/croner/compare/5.4.2...5.5.0

croner - 5.4.2

Published by Hexagon over 1 year ago

Changes

  • fix: #156 , Awaits triggered function when it shouldn't - made Croner miss runs if the function is still running on next trigger.

Full Changelog: https://github.com/Hexagon/croner/compare/5.4.1...5.4.2

croner - 5.4.1

Published by Hexagon over 1 year ago

Changes

  • bugfix: Fix msToNext() reporting negative number until next run after job has been paused. #155
  • bugfix: Fix types for #154
  • chore: Update docs

Full Changelog: https://github.com/Hexagon/croner/compare/5.4.0...5.4.1

croner - 5.4.0

Published by Hexagon over 1 year ago

Changes

  • fix: Merge upstream fix from minitz for Node 19.1
  • feature: Allow passing callback function to option catch, fixes #154.
  • support: Drop Node < 7.6, support >= 7.6 (ES2017 required for async/await features)
  • chore: Update dependencies
  • chore: Bump minor to 5.4

Full Changelog: https://github.com/Hexagon/croner/compare/5.3.5...5.4.0

croner - 5.3.5

Published by Hexagon almost 2 years ago

Changes

  • bugfix: Apply workaround for bug in Node.js 19.1
  • chore: Update CI pipelines
  • chore: Add Node 19.1 to CI

Full Changelog: https://github.com/Hexagon/croner/compare/5.3.4...5.3.5

croner - 5.3.4

Published by Hexagon almost 2 years ago

Changes

  • feature: Official bun support
  • chore: Update CI pipelines to latest versions
  • chore: Add bun CI
  • docs: Add bun docs
  • tests: Add bun tests

Full Changelog: https://github.com/Hexagon/croner/compare/5.3.3...5.3.4

croner - 5.3.3

Published by Hexagon almost 2 years ago

Changes

  • bugfix: Closes #147, Got Invalid date with timezone on JSC

Full Changelog: https://github.com/Hexagon/croner/compare/5.3.2...5.3.3

croner - 5.3.2

Published by Hexagon almost 2 years ago

Changes

Full Changelog: https://github.com/Hexagon/croner/compare/5.3.1...5.3.2

croner - 5.3.1

Published by Hexagon almost 2 years ago

Changes

  • chore: Code cleanup
  • chore: Documentation update

Full Changelog: https://github.com/Hexagon/croner/compare/5.3.0...5.3.1

croner - 5.3.0

Published by Hexagon about 2 years ago

Changes

  • perf: Complete rewrite of next-run computation, which gives way better performance
  • perf: Optimize pattern parsing
  • perf: Update Deno benchmark
  • chore: Add croner.png to npm

Full Changelog: https://github.com/Hexagon/croner/compare/5.2.2...5.3.0

croner - 5.2.2

Published by Hexagon about 2 years ago

Changes

  • perf: Increase performance by avoiding unnecessary checks
  • chore: Code cleanup
  • docs: Add benchmarks to comparison table
  • docs: Add more features to comparison table

Full Changelog: https://github.com/Hexagon/croner/compare/5.2.1...5.2.2