github Effect-TS/effect effect@3.21.5

latest releases: @effect/workflow@0.19.0, @effect/vitest@0.30.0, @effect/sql-pg@0.53.0...
10 hours ago

Patch Changes

  • #6302 307d54a Thanks @fubhy! - Allow cron fields like 5/15 to expand from the starting value through the field maximum.

  • #6303 d95868a Thanks @fubhy! - Fix Schedule.cron when the test clock is adjusted to infinity.

  • #6285 95c7d2e Thanks @chatman-media! - Fix Cron.next skipping earlier matching days when the upcoming day-of-month does not exist in the current month. For an expression like 0 0 1,16,31 * *, advancing from a date past the 16th selected day 31; in a month without 31 days this overflowed into the following month and landed on a later matching day (e.g. the 16th), silently skipping the 1st. Cron.next now wraps to the first matching day of the next month in that case, matching the behaviour of Cron.prev and other cron implementations.

  • #6305 d24511f Thanks @fubhy! - Fix cron parsing and scheduling edge cases for whitespace, Sunday 7, strict numeric tokens, explicit full day ranges, and month-constrained day-of-month / weekday matching.

Don't miss a new effect release

NewReleases is sending notifications on new releases.