Skip to main content

rrule 0.2.18 copy "rrule: ^0.2.18" to clipboard
rrule: ^0.2.18 copied to clipboard

Recurrence rule parsing & calculation as defined in the iCalendar RFC

Changelog #

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

0.2.18 ยท 2026-01-06 #

๐Ÿ› Bug Fixes #

  • avoid skipping occurrence when using after with frequency higher than DAILY (9722842), closes: #81

0.2.17 ยท 2025-01-06 #

๐ŸŽ‰ New Features #

๐Ÿ“ฆ Build & CI #

  • widen intl dependency to >=0.17.0 <0.21.0 (4740e29)

0.2.16 ยท 2024-02-07 #

๐Ÿ› Bug Fixes #

  • fix instance calculation with after and interval > 1 (902b071), closes: #71

๐Ÿ“ฆ Build & CI #

  • widen intl dependency to >=0.17.0 <0.20.0 (28b09bc)

0.2.15 ยท 2024-01-28 #

๐Ÿ› Bug Fixes #

  • prevent IntegerDivisionByZeroException with bySetPositions (#67), closes: #44. Thanks to @DrBu7cher!
  • out-of-range bySetPositions not handled correctly (#69), closes: #68. Thanks to @DrBu7cher!

โฉ Performance Improvements #

  • 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)

๐Ÿ“ฆ Build & CI #

0.2.14 ยท 2023-09-13 #

๐Ÿ› Bug Fixes #

  • 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

0.2.13 ยท 2023-03-22 #

๐Ÿ› Bug Fixes #

  • copy microseconds as well in dateTime.copyWith(โ€ฆ) (#49), closes: #48. Thanks to @plammens!

๐Ÿ“ฆ Build & CI #

  • widen intl dependency to >=0.17.0 <0.19.0 (84cb5d3), closes: #51

0.2.12 ยท 2023-03-18 #

๐Ÿ› Bug Fixes #

  • RecurrenceRules will no longer skip the first instance if the start time contains milliseconds/microseconds (#47), closes: #46. Thanks to @plammens!

0.2.11 ยท 2023-01-24 #

๐Ÿ“ฆ Build & CI #

  • upgrade to Dart >=2.18.0 <3.0.0 (160f22b)
  • update intl to ^0.18.0 (ed3f68d), closes: #45

0.2.10 ยท 2022-06-17 #

๐ŸŽ‰ New Features #

  • export dateTime.copyWith(isUtc: โ€ฆ, โ€ฆ) (ccc2828), closes: #39

๐Ÿ“œ Documentation updates #

  • clarify time zone handling in README (ccc2828), closes: #39

๐Ÿ“ฆ Build & CI #

0.2.9 ยท 2022-06-08 #

๐Ÿ› Bug Fixes #

0.2.8 ยท 2022-05-05 #

๐Ÿ› Bug Fixes #

  • 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

0.2.7 ยท 2022-01-17 #

๐Ÿ“œ Documentation updates #

  • add README section about jCal/JSON support (2130c72)

0.2.6 ยท 2022-01-17 #

๐ŸŽ‰ New Features #

0.2.5 ยท 2022-01-05 #

๐Ÿ“ฆ Build & CI #

0.2.4 ยท 2022-01-04 #

๐Ÿ› Bug Fixes #

  • handle yearly frequency with byMonths and byWeekDays (8646af1), closes: #29

0.2.3 ยท 2021-05-06 #

๐ŸŽ‰ New Features #

  • support optional caching of recurrence rule iterations via recurrenceRule.shouldCacheResults and .getAllInstances(โ€ฆ) (#20). Thanks to @polRk!

0.2.2 ยท 2021-04-28 #

๐ŸŽ‰ New Features #

  • feat: expose RecurrenceRuleToStringOptions directly in recurrenceRule.toString(โ€ฆ) (c5291d1), improves: #21

0.2.1 ยท 2021-04-26 #

๐Ÿ› Bug Fixes #

  • disallow invalid recurrence rule field combinations (2707922), closes: #19

0.2.0 ยท 2021-03-26 #

โš ๏ธ BREAKING CHANGES #

  • migrate to null-safety
  • Dates and DateTimes no longer use time_machine, but DateTime instead. All provided DateTimes must be in UTC.
  • remove recurrenceRule.weekStart (Monday is now used everywhere) and recurrenceRule.weekYearRule
  • remove RecurrenceSet as its logic isn't implemented yet

0.1.3 ยท 2021-01-27 #

๐ŸŽ‰ New Features #

  • add clearUntil/clearCount/clearInterval to recurrenceRule.copyWith(โ€ฆ), closes: #17

0.1.2 ยท 2020-11-24 #

๐Ÿ› Bug Fixes #

๐ŸŽ‰ New Features #

  • add RecurrenceRule.copyWith(โ€ฆ)

0.1.1 ยท 2020-07-09 #

๐ŸŽ‰ New Features #

  • add RecurrenceRule.toText() for conversion to a human-readable string (#7), closes: #5

0.1.0 ยท 2020-05-26 #

Initial release ๐ŸŽ‰

94
likes
150
points
89.7k
downloads

Documentation

API reference

Publisher

verified publisherwanke.dev

Weekly Downloads

Recurrence rule parsing & calculation as defined in the iCalendar RFC

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

collection, intl, meta, time

More

Packages that depend on rrule