Update dependency icalendar to v6
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
icalendar (changelog) | dependencies | major |
5.0.13 -> 6.1.0
|
Release Notes
collective/icalendar (icalendar)
v6.1.0
Minor changes:
- Add
end
,start
,duration
,DTSTART
,DUE
, andDURATION
attributes toTodo
components. SeeIssue 662
_. - Add
DTSTART
,TZOFFSETTO
andTZOFFSETFROM
properties toTimezoneStandard
andTimezoneDaylight
. SeeIssue 662
_. - Format test code with Ruff. See
Issue 672 <https://github.com/collective/icalendar/issues/672>
_. - Document the Debian package. See
Issue 701 <https://github.com/collective/icalendar/issues/701>
_. - Document
vDatetime.from_ical
- Allow passing a
datetime.date
toTZP.localize_utc
andTZP.localize
methods. - Document component classes with description from :rfc:
5545
. - Merge "File Structure" and "Overview" sections in the docs. See
Issue 626 <https://github.com/collective/icalendar/issues/626>
_. - Update code blocks in
usage.rst
with the correct lexer. - Tidy up the docstring for
icalendar.prop.vPeriod
. - Improve typing and fix typing issues
New features:
- Add
VALARM
properties for :rfc:9074
. SeeIssue 657 <https://github.com/collective/icalendar/issues/657>
_ - Test compatibility with Python 3.13
- Add
Timezone.from_tzinfo()
andTimezone.from_tzid()
to create aTimezone
component from adatetime.tzinfo
timezone. SeeIssue 722
_. - Add
icalendar.prop.tzid_from_tzinfo
. - Add
icalendar.alarms
module to calculate alarm times. SeeIssue 716 <https://github.com/collective/icalendar/issues/716>
_. - Add
Event.alarms
andTodo.alarms
to access alarm calculation. - Add
Component.DTSTAMP
andComponent.LAST_MODIFIED
properties for datetime in UTC. - Add
Component.is_thunderbird()
to check if the component uses custom properties by Thunderbird. - Add
X_MOZ_SNOOZE_TIME
andX_MOZ_LASTACK
properties toEvent
andTodo
. - Add
Alarm.ACKNOWLEDGED
,Alarm.TRIGGER
,Alarm.REPEAT
, andAlarm.DURATION
properties as well asAlarm.triggers
to calculate alarm triggers. - Add
__doc__
string documentation forvDate
,vBoolean
,vCalAddress
,vDuration
,vFloat
,vGeo
,vInt
,vPeriod
,vTime
,vUTCOffset
andvUri
. SeeIssue 742 <https://github.com/collective/icalendar/issues/742>
_. - Add
DTSTART
,TZOFFSETTO
, andTZOFFSETFROM
toTimezoneStandard
andTimezoneDaylight
- Use
example
methods of components without arguments. - Add
events
,timezones
, andtodos
property toCalendar
for nicer access. - To calculate which timezones are in use and add them to the
Calendar
when needed these methods are added:get_used_tzids
,get_missing_tzids
, andadd_missing_timezones
. - Identify the TZID of more timezones from dateutil.
- Identify totally unknown timezones using a UTC offset lookup tree generated in
icalendar.timezone.equivalent_timezone_ids
and stored inicalendar.timezone.equivalent_timezone_ids
. - Add
icalendar.timezone.tzid
to identify a timezone's TZID.
Bug fixes:
- Add
icalendar.timezone
to the documentation.
.. _Issue 722
: https://github.com/collective/icalendar/issues/722
v6.0.1
New features:
- Added
end
,start
,duration
,DTSTART
,DUE
, andDURATION
attributes toEvent
components. SeeIssue 662
_. - Added
end
,start
,duration
, andDTSTART
attributes toJournal
components. SeeIssue 662
_.
Bug fixes:
- Fix a few
__all__
variables. - Added missing
docs
folder to distribution packages. SeeIssue 712 <https://github.com/collective/icalendar/issues/712>
_.
.. _Issue 662
: https://github.com/collective/icalendar/issues/662
v6.0.0
Minor changes:
- Add
__all__
variable to each modules inicalendar
package - Improve test coverage.
- Adapt
test_with_doctest.py
to correctly run on Windows. - Measure branch coverage when running tests.
- Export
Component
base class for typing
New features:
- Use
pyproject.toml
file instead ofsetup.py
Bug fixes:
- Fix link to stable release of tox in documentation.
- Fix a bad
bytes
replace inunescape_char
. - Handle
ValueError
invBinary.from_ical
. - Ignore the BOM character in incorrectly encoded ics files.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by renovate-bot