Skip to content

chore(deps): update dependency croner to v10 - #92

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/croner-10.x
Open

chore(deps): update dependency croner to v10#92
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/croner-10.x

Conversation

@renovate

@renovate renovate Bot commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change OpenSSF
croner (source) dependencies major ^8.0.0^10.0.0 OpenSSF Scorecard

Release Notes

hexagon/croner (croner)

v10.0.1

Compare Source

Fixed
  • Bundle TypeScript declarations into single file to match 9.1.0 dist structure

v10.0.0

Compare Source

Added
  • OCPS 1.2 Compliance: Year field support for 7-field patterns (range 1-9999) (#​288)
  • OCPS 1.3 Compliance: W (weekday) modifier for nearest weekday scheduling (#​288)
  • OCPS 1.4 Compliance: + (AND logic) modifier for explicit day matching (#​288)
  • OCPS 1.4 Compliance: @​midnight and @​reboot pattern nicknames (#​288)
  • previousRuns() method to enumerate past scheduled execution times (#​315)
  • match() method to check if a date matches a cron pattern (#​317)
  • getOnce() method to return original run-once date for date-based jobs (#​332)
  • dayOffset option for scheduling before/after pattern matches (#​308)
  • mode option for cron pattern precision control with enforcement and flexible modes (#​294)
  • alternativeWeekdays option for Quartz-style weekday numbering (1=Sunday...7=Saturday) (#​312)
  • domAndDow option to replace deprecated legacyMode (no breaking change) (#​309)
  • sloppyRanges option to allow relaxed, backward-compatible non-standard range/stepping syntax (#​327)
  • Support for leading/trailing whitespace and consecutive whitespace in patterns
  • Case-insensitive L and W modifiers in cron patterns (#​328)
  • Comprehensive edge case tests for year stepping, nth weekday, W modifier, Quartz mode, and boundary conditions (#​329)
Changed
  • BREAKING: ? character now acts as wildcard alias (same as *) per OCPS 1.4, instead of substituting current time values (#​293)
  • BREAKING: Minimum Deno version increased from 1.16 to 2.0
  • Renamed legacyMode option to domAndDow (backward compatible, legacyMode still works) (#​309)
  • Improved error messages for timezone/date conversion failures (#​307)
  • Unified implementations of nextRuns/previousRuns and findNext/findPrevious (#​319)
  • Refactored to extract duplicate code patterns into helper methods (#​322)
  • Consolidated duplicate tests across OCPS compliance and legacy test suites (#​320)
Fixed
  • DST bugs causing rapid-fire execution during timezone transitions (Issue #​286) (#​285)
  • DST bug with UTC timezone causing hour skipping during local DST transitions (Issue #​284) (#​285)
  • Cron job stopping when catch callback throws with protect enabled (#​337)
  • L modifier bug and documented W modifier edge cases (#​306)
  • getPattern() returning wrong value for date-based jobs (#​331)
  • Node.js timezone test failures caused by hour 24 midnight formatting (#​291)
  • Unclear error messages for timezone/date conversion failures (#​307)
Documentation
  • Complete OCPS 1.0-1.4 compliance documentation (#​292)
  • Migration guide for v9.x to v10.0 upgrade path (#​310)
  • Documented zero dependencies advantage over Luxon-dependent alternatives (#​318)
  • Updated year field in README ASCII pattern diagram (#​311)
  • Documented getOnce() and previousRuns() features (#​333)

v9.1.0

Compare Source

Added
  • Generic context typing support
  • Improved timeout adaptations in tests
Changed
  • Updated documentation and readme
  • Allow leading/trailing whitespace in patterns
Fixed
  • Various bug fixes and improvements

For older releases, see GitHub Releases.

v9.0.0

Compare Source

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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge February 1, 2026 20:43
@what-the-diff

what-the-diff Bot commented Feb 1, 2026

Copy link
Copy Markdown

PR Summary

  • Updated 'croner' Package Version
    The version of the 'croner' package in our software has been updated. This may mean additional features, bug fixes, or improved performance.

  • Changes to a Binary File
    A binary file, specifically 'bun.lockb', has experienced updates or modifications. Since this is a binary file, no specific details about what's altered are provided. However, changes of this nature typically imply essential updates in the software.

@renovate
renovate Bot force-pushed the renovate/croner-10.x branch from abe14dc to a902ac6 Compare February 2, 2026 00:31
@renovate
renovate Bot force-pushed the renovate/croner-10.x branch from a902ac6 to 6e911c3 Compare May 18, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants