Skip to content

Releases: mtdowling/cron-expression

1.2.0

23 Jan 04:32
Compare
Choose a tag to compare

Added

  • Added IDE, CodeSniffer, and StyleCI.IO support

Changed

  • Switched to PSR-4 Autoloading

Fixed

  • 0 step expressions are handled better
  • Fixed DayOfMonth validation to be more strict
  • Typos

1.1.0

23 Jan 04:20
Compare
Choose a tag to compare

Added

  • Support for non-hourly offset timezones
  • Checks for valid expressions

Changed

  • Max Iterations no longer hardcoded for getRunDate()
  • Supports DateTimeImmutable for newer PHP verions

Fixed

  • Fixed looping bug for PHP 7 when determining the last specified weekday of a month

1.0.4

11 Jan 23:31
Compare
Choose a tag to compare
  • Avoid infinity loop & division by zero #67
  • Fix getRunDate() shouldn't modify currentTime parameter #57
  • Missing anchors in regexp #63
  • Avoid annotation parsing by Doctrine #62
  • Optimization #52
  • Fixed #20 Weekday-Hash for Saturday and Sunday doesn't seem to work #53
  • Different timezone support #48
  • Fixed regexp for day of week #49
  • Set $currentTime as 'now' #36
  • Allowing multiple values for day of week field.

1.0.3

23 Nov 19:49
Compare
Choose a tag to compare
  • Only set default timezone if the given $currentTime is not a DateTime instance (#34)
  • Fixes issue #28 where PHP increments of ranges were failing due to PHP casting hyphens to 0
  • Now supports expressions with any number of extra spaces, tabs, or newlines
  • Using static instead of self in CronExpression::factory