This is a bug fix release over 0.4.0:
Bug Fixes:
- #73/#80:
Rolling an update to the day of month field could cause setting an invalid date, which will eventually return
aNoneresult from thenext/prevmethods. This case is now handled and will propagate a carry over value to
the month field whenever it happens.
Changes:
- #81: The signature for the
setmethod in theIsDateTimetypeclass
has been changed to capture errors when setting the values. - #78: Upgrading the Scala version to 2.12.2 means that case classes
do not support anymore having implicit parameter lists. This means that all node class implementations under package
cron4s.exprhave been rewritten using normal Scala classes instead of case classes. This means that they can not
be used anymore in pattern matching and that binary compatibility in their case has been broken.
Version Upgrades:
- Scala: 2.11.11 / 2.12.2
- ScalaJS: 0.6.18
- Scala Java Time: 2.0.0-M12
Please, check migration document for instructions on how to migrate your code to the last version:
Migration to 0.4.1