All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- widen intl dependency to >=0.17.0 <0.20.0 (
28b09bc
)
- prevent
IntegerDivisionByZeroException
withbySetPositions
(#67), closes: #44. Thanks to @DrBu7cher! - out-of-range
bySetPositions
not handled correctly (#69), closes: #68. Thanks to @DrBu7cher!
- when calculating instances for recurrence rules without a count, skip directly to
after
(if set) instead of calculating all instances until then (#66). Thanks to @DrBu7cher! - when applying
bySetPositions
, reuse date lists (e47a0a8
)
- upgrade to Dart 3.0.0 (
ce0678e
)
- fix string serialization with intl set to non-latin locale (#60), closes: #59. Thanks to @absar!
- fix recurrence calculation if start has microseconds, closes: #62
RecurrenceRule
s will no longer skip the first instance if the start time contains milliseconds/microseconds (#47), closes: #46. Thanks to @plammens!
- support
List<dynamic>
when decoding JSON (#32), closes: #31. Thanks to @nshoura! - Add simple normalization before encoding to text (
204085d
), closes: #13 - Update count even if not between after and before (
a01e5dd
), closes: #25
- add README section about jCal/JSON support (
2130c72
)
- remove dependency on the discontinued supercharged_dart (#27). Thanks to @thomassth!
- support optional caching of recurrence rule iterations via
recurrenceRule.shouldCacheResults
and.getAllInstances(…)
(#20). Thanks to @polRk!
- feat: expose
RecurrenceRuleToStringOptions
directly inrecurrenceRule.toString(…)
(c5291d1
), improves: #21
- migrate to null-safety
- Dates and DateTimes no longer use time_machine, but
DateTime
instead. All providedDateTime
s must be in UTC. - remove
recurrenceRule.weekStart
(Monday is now used everywhere) andrecurrenceRule.weekYearRule
- remove
RecurrenceSet
as its logic isn't implemented yet
- add
clearUntil
/clearCount
/clearInterval
torecurrenceRule.copyWith(…)
, closes: #17
- hide new conflicting extension from collection, closes: #14
- add
RecurrenceRule.copyWith(…)
Initial release 🎉