Montrose v0.12.0 Release Notes
Release Date: 2021-02-02 // almost 4 years ago-
✨ enhancements
- Adds
Montrose.covering
to disambiguateMontrose.between
behavior#covering
provides recurrence masking behavior, i.e., only recurrences within the given range will be emitted - Added support for ActiveSupport 6 and Ruby 2.7
- Adds
Montrose#infinite?
and ensuresMontrose.finite?
returns a boolean
- Adds
🐛 bug fixes
- Fixes
Recurrence#include?
behavior for infinite recurrences with intervals > 1
- Fixes
💥 breaking changes
Montrose.between
no longer provides masking behavior, which is now provided byMontrose.covering
. A global option can be usedMontrose.enable_deprecated_between_masking = true
to retain the legacy behavior forMontrose.between
. This option will be removed in v1.0.- Dropped official support for EOL'd rubies and ActiveSupport < 5.2
miscellaneous
- switched from Travis to CircleCi for builds
- switched default branch to
main
#
Previous changes from v0.11.0
-
- ✨ enhancements
- Adds
Recurrence#during
to support recurrences within time-of-day ranges, e.g.Montrose.every(20.minutes).during("9am-5pm")
- Adds
- ✨ enhancements