| 1 | --- |
| 2 | myst: |
| 3 | html_meta: |
| 4 | "description lang=en": | |
| 5 | Versions and changes |
| 6 | --- |
| 7 | |
| 8 | # Changelog |
| 9 | |
| 10 | We use [Semantic Versioning](https://semver.org) |
| 11 | |
| 12 | - Breaking changes increase the **major** version number. |
| 13 | - New features increase the **minor** version number. |
| 14 | - Minor changes and bug fixes increase the **patch** version number. |
| 15 | |
| 16 | To avoid breaking changes breaking your code, install this library fixed to a specific version. |
| 17 | |
| 18 | ## v3.8.0 |
| 19 | |
| 20 | - Fix: Invalid events and todos that swapped start and end are now calculated with start before end. See [Issue 132](https://github.com/niccokunzmann/python-recurring-ical-events/issues/132). |
| 21 | |
| 22 | ## v3.7.1 |
| 23 | |
| 24 | - Fix: RECURENCE-ID is now not identical to DTSTART. See [Issue 243](https://github.com/niccokunzmann/python-recurring-ical-events/issues/243). |
| 25 | |
| 26 | ## v3.7.0 |
| 27 | |
| 28 | - Set `SEQUENCE` to highest version of any used event in a series. See [Issue 223](https://github.com/niccokunzmann/python-recurring-ical-events/issues/223) |
| 29 | |
| 30 | ## v3.6.1 |
| 31 | |
| 32 | - Remove unused files: `requirements.txt` and `setup.py`. |
| 33 | - Use version identifier for PyPI. |
| 34 | |
| 35 | ## v3.6.0 |
| 36 | |
| 37 | - Add the `RECURRENCE-ID` to all the occurrences, see [Issue 219](https://github.com/niccokunzmann/python-recurring-ical-events/issues/219) |
| 38 | - Document how to edit one event inside of an existing calendar. |
| 39 | |
| 40 | ## v3.5.2 |
| 41 | |
| 42 | - Fix computation of mixed start and end times, see [Issue 201](https://github.com/niccokunzmann/python-recurring-ical-events/issues/201) |
| 43 | |
| 44 | ## v3.5.1 |
| 45 | |
| 46 | - Move to `pyproject.toml` format to include directory structure more easily. See [Issue 214](https://github.com/niccokunzmann/python-recurring-ical-events/issues/214) |
| 47 | - Remove release 3.5.0 as it does not contain any source files. |
| 48 | |
| 49 | ## v3.5.0 - yanked |
| 50 | |
| 51 | - Restructure module into package with a file structure. |
| 52 | - Add pagination, see [Issue 211](https://github.com/niccokunzmann/python-recurring-ical-events/issues/211) |
| 53 | |
| 54 | ## v3.4.1 |
| 55 | |
| 56 | - Improve Alarm documentation |
| 57 | |
| 58 | ## v3.4.0 |
| 59 | |
| 60 | - Add `VALARM` support: Calculate alarm times. See [Issue 186](https://github.com/niccokunzmann/python-recurring-ical-events/issues/186) |
| 61 | |
| 62 | ## v3.3.4 |
| 63 | |
| 64 | - Allow `x-wr-timezone` `1.*` and `2.*` for this lib to remove dependency update problems. |
| 65 | |
| 66 | ## v3.3.3 |
| 67 | |
| 68 | - Fix: Events with DTSTART of type date have a duration of one day, see [Issue 179](https://github.com/niccokunzmann/python-recurring-ical-events/issues/179) |
| 69 | |
| 70 | ## v3.3.2 |
| 71 | |
| 72 | - Update x-wr-timezone |
| 73 | |
| 74 | ## v3.3.1 |
| 75 | |
| 76 | - Support RDATE with PERIOD value type where the end is a duration, see [Pull Request 180](https://github.com/niccokunzmann/python-recurring-ical-events/pull/180) |
| 77 | - Support modifying all events in the future (RECURRENCE-ID with RANGE=THISANDFUTURE), see [Issue 75](https://github.com/niccokunzmann/python-recurring-ical-events/issues/75) |
| 78 | |
| 79 | ## v3.3.0 |
| 80 | |
| 81 | - Make tests work with `icalendar` version 5 |
| 82 | - Restructure README to be tested with `doctest` |
| 83 | - Remove `DURATION` from the result, see [Issue 139](https://github.com/niccokunzmann/python-recurring-ical-events/issues/139) |
| 84 | - Document new way of extending the functionality, see [Issue 133](https://github.com/niccokunzmann/python-recurring-ical-events/issues/133) and [Pull Request 175](https://github.com/niccokunzmann/python-recurring-ical-events/pull/175) |
| 85 | |
| 86 | ## v3.2.0 |
| 87 | |
| 88 | - Allow `datetime.timedelta` as second argument to `between(absolute_time, datetime.timedelta())` |
| 89 | |
| 90 | ## v3.1.1 |
| 91 | |
| 92 | - Fix: Remove duplication of modification with same sequence number, see [Issue 164](https://github.com/niccokunzmann/python-recurring-ical-events/issues/164) |
| 93 | - Fix: EXDATE now excludes a modified instance for an event with higher `SEQUENCE`, see [Issue](https://github.com/niccokunzmann/python-recurring-ical-events/issues/163) |
| 94 | |
| 95 | ## v3.1.0 |
| 96 | |
| 97 | - Add `count() -> int` to count all occurrences within a calendar |
| 98 | - Add `all() -> Generator[icalendar.Component]` to iterate over the whole calendar |
| 99 | |
| 100 | ## v3.0.0 |
| 101 | |
| 102 | - Change the architecture and add a diagram |
| 103 | - Add type hints, see [Issue 91](https://github.com/niccokunzmann/python-recurring-ical-events/issues/91) |
| 104 | - Rename `UnfoldableCalendar` to `CalendarQuery` |
| 105 | - Rename `of(skip_bad_events=None)` to `of(skip_bad_series=False)` |
| 106 | - `of(components=[...])` now also takes `ComponentAdapters` |
| 107 | - Fix edit sequence problems, see [Issue 151](https://github.com/niccokunzmann/python-recurring-ical-events/issues/151) |
| 108 | |
| 109 | ## v2.2.3 |
| 110 | |
| 111 | - Fix: Edits of whole event are now considering RDATE and EXDATE, see [Issue 148](https://github.com/niccokunzmann/python-recurring-ical-events/issues/148) |
| 112 | |
| 113 | ## v2.2.2 |
| 114 | |
| 115 | - Test support for `icalendar==6.*` |
| 116 | - Remove Python 3.7 from tests and compatibility list |
| 117 | - Remove pytz from requirements |
| 118 | |
| 119 | ## v2.2.1 |
| 120 | |
| 121 | - Add support for multiple RRULE in events. |
| 122 | |
| 123 | ## v2.2.0 |
| 124 | |
| 125 | - Add `after()` method to iterate over upcoming events. |
| 126 | |
| 127 | ## v2.1.3 |
| 128 | |
| 129 | - Test and support Python 3.12. |
| 130 | - Change SPDX license header. |
| 131 | - Fix RRULE with negative COUNT, see [Issue 128](https://github.com/niccokunzmann/python-recurring-ical-events/issues/128) |
| 132 | |
| 133 | ## v2.1.2 |
| 134 | |
| 135 | - Fix RRULE with EXDATE as DATE, see [Pull Request 121](https://github.com/niccokunzmann/python-recurring-ical-events/pull/121) by Jan Grasnick and [Pull Request 122](https://github.com/niccokunzmann/python-recurring-ical-events/pull/122). |
| 136 | |
| 137 | ## v2.1.1 |
| 138 | |
| 139 | - Claim and test support for Python 3.11. |
| 140 | - Support deleting events by setting RRULE UNTIL < DTSTART, see [Issue 117](https://github.com/niccokunzmann/python-recurring-ical-events/issues/117). |
| 141 | |
| 142 | ## v2.1.0 |
| 143 | |
| 144 | - Added support for PERIOD values in RDATE. See [Issue 113](https://github.com/niccokunzmann/python-recurring-ical-events/issues/113). |
| 145 | - Fixed `icalendar>=5.0.9` to support `RDATE` of type `PERIOD` with a time zone. |
| 146 | - Fixed `pytz>=2023.3` to assure compatibility. |
| 147 | |
| 148 | ## v2.0.2 |
| 149 | |
| 150 | - Fixed omitting last event of `RRULE` with `UNTIL` when using `pytz`, the event starting in winter time and ending in summer time. See [Issue 107](https://github.com/niccokunzmann/python-recurring-ical-events/issues/107). |
| 151 | |
| 152 | ## v2.0.1 |
| 153 | |
| 154 | - Fixed crasher with duplicate RRULE. See [Pull Request 104](https://github.com/niccokunzmann/python-recurring-ical-events/pull/104) |
| 155 | |
| 156 | ## v2.0.0 |
| 157 | |
| 158 | - Only return `VEVENT` by default. Add `of(... ,components=...)` parameter to select which kinds of components should be returned. See [Issue 101](https://github.com/niccokunzmann/python-recurring-ical-events/issues/101). |
| 159 | - Remove `beta` indicator. This library works okay: Feature requests come in, not so much bug reports. |
| 160 | |
| 161 | ## v1.1.0b |
| 162 | |
| 163 | - Add repeated TODOs and Journals. See [Pull Request 100](https://github.com/niccokunzmann/python-recurring-ical-events/pull/100) and [Issue 97](https://github.com/niccokunzmann/python-recurring-ical-events/issues/97). |
| 164 | |
| 165 | ## v1.0.3b |
| 166 | |
| 167 | - Remove syntax anomalies in README. |
| 168 | - Switch to GitHub actions because GitLab decided to remove support. |
| 169 | |
| 170 | ## v1.0.2b |
| 171 | |
| 172 | - Add support for `X-WR-TIMEZONE` calendars which contain events without an explicit time zone, see [Issue 86](https://github.com/niccokunzmann/python-recurring-ical-events/issues/86). |
| 173 | |
| 174 | ## v1.0.1b |
| 175 | |
| 176 | - Add support for `zoneinfo.ZoneInfo` time zones, see [Issue 57](https://github.com/niccokunzmann/python-recurring-ical-events/issues/57). |
| 177 | - Migrate from Travis CI to Gitlab CI. |
| 178 | - Add code coverage on Gitlab. |
| 179 | |
| 180 | ## v1.0.0b |
| 181 | |
| 182 | - Remove Python 2 support, see [Issue 64](https://github.com/niccokunzmann/python-recurring-ical-events/issues/64). |
| 183 | - Remove support for Python 3.5 and 3.6. |
| 184 | - Note: These deprecated Python versions may still work. We just do not claim they do. |
| 185 | - `X-WR-TIMEZONE` support, see [Issue 71](https://github.com/niccokunzmann/python-recurring-ical-events/issues/71). |
| 186 | |
| 187 | ## v0.2.4b |
| 188 | |
| 189 | - Events with a duration of 0 seconds are correctly returned. |
| 190 | - `between()` and `at()` take the same kind of arguments. These arguments are documented. |
| 191 | |
| 192 | ## v0.2.3b |
| 193 | |
| 194 | - `between()` and `at()` allow arguments with time zones now when calendar events do not have time zones, reported in [Issue 61](https://github.com/niccokunzmann/python-recurring-ical-events/issues/61) and [Issue 52](https://github.com/niccokunzmann/python-recurring-ical-events/issues/52). |
| 195 | |
| 196 | ## v0.2.2b |
| 197 | |
| 198 | - Check that `at()` does not return an event starting at the next day, see [Issue 44](https://github.com/niccokunzmann/python-recurring-ical-events/issues/44). |
| 199 | |
| 200 | ## v0.2.1b |
| 201 | |
| 202 | - Check that recurring events are removed if they are modified to leave the requested time span, see [Issue 62](https://github.com/niccokunzmann/python-recurring-ical-events/issues/62). |
| 203 | |
| 204 | ## v0.2.0b |
| 205 | |
| 206 | - Add ability to keep the recurrence attributes (RRULE, RDATE, EXDATE) on the event copies instead of stripping them. See [Pull Request 54](https://github.com/niccokunzmann/python-recurring-ical-events/pull/54). |
| 207 | |
| 208 | ## v0.1.21b |
| 209 | |
| 210 | - Fix issue with repetitions over DST boundary. See [Issue 48](https://github.com/niccokunzmann/python-recurring-ical-events/issues/48). |
| 211 | |
| 212 | ## v0.1.20b |
| 213 | |
| 214 | - Fix handling of modified recurrences with lower sequence number than their base event [Pull Request 45](https://github.com/niccokunzmann/python-recurring-ical-events/pull/45) |
| 215 | |
| 216 | ## v0.1.19b |
| 217 | |
| 218 | - Benchmark using [@mrx23dot](https://github.com/mrx23dot)'s script and speed up recurrence calculation by factor 4, see [Issue 42](https://github.com/niccokunzmann/python-recurring-ical-events/issues/42). |
| 219 | |
| 220 | ## v0.1.18b |
| 221 | |
| 222 | - Handle [Issue 28](https://github.com/niccokunzmann/python-recurring-ical-events/issues/28) so that EXDATEs match as expected. |
| 223 | - Handle [Issue 27](https://github.com/niccokunzmann/python-recurring-ical-events/issues/27) so that parsing some rrule UNTIL values does not crash. |
| 224 | |
| 225 | ## v0.1.17b |
| 226 | |
| 227 | - Handle [Issue 28](https://github.com/niccokunzmann/python-recurring-ical-events/issues/28) where passed arguments lead to errors where it is expected to work. |
| 228 | |
| 229 | ## v0.1.16b |
| 230 | |
| 231 | - Events with an empty RRULE are handled like events without an RRULE. |
| 232 | - Remove fixed dependency versions, see [Issue 14](https://github.com/niccokunzmann/python-recurring-ical-events/issues/14) |
| 233 | |
| 234 | ## v0.1.15b |
| 235 | |
| 236 | - Repeated events also include subcomponents. [Issue 6](https://github.com/niccokunzmann/python-recurring-ical-events/issues/6) |
| 237 | |
| 238 | ## v0.1.14b |
| 239 | |
| 240 | - Fix compatibility [Issue 20](https://github.com/niccokunzmann/python-recurring-ical-events/issues/20): EXDATEs of different time zones are now supported. |
| 241 | |
| 242 | ## v0.1.13b |
| 243 | |
| 244 | - Remove attributes RDATE, EXDATE, RRULE from repeated events [Issue 23](https://github.com/niccokunzmann/python-recurring-ical-events/issues/23). |
| 245 | - Use vDDDTypes instead of explicit date/datetime type [Pull Request 19](https://github.com/niccokunzmann/python-recurring-ical-events/pull/19). |
| 246 | - Start Changelog |