15
0

- Update to 6.3.1:

* New features:
    + Add ``VALARM`` properties for :rfc:`9074`.
    + Test compatibility with Python 3.13
    + Add ``Timezone.from_tzinfo()`` and ``Timezone.from_tzid()`` to create
      a ``Timezone`` component from a ``datetime.tzinfo`` timezone.
    + Add ``icalendar.prop.tzid_from_tzinfo``.
    + Add ``icalendar.alarms`` module to calculate alarm times.
    + Add ``Event.alarms`` and ``Todo.alarms`` to access alarm calculation.
    + Add ``DTSTART``, ``TZOFFSETTO``, and ``TZOFFSETFROM`` to
      ``TimezoneStandard`` and ``TimezoneDaylight``
    + Use ``pyproject.toml`` file instead of ``setup.py``
  * Breaking changes:
    + The ``relative`` attribute of ``vWeekday`` components has the correct sign now.
    + Use ``zoneinfo`` for ``icalendar`` objects created from strings,
    + Remove ``is_broken`` property. Use ``errors`` instead to check if a
      component had suppressed parsing errors.
    + Remove untested and broken ``LocalTimezone`` and ``FixedOffset`` tzinfo
    + sub-classes.
    + Remove Python 3.7 as compatible.
    + Test compatibility with Python 3.12
    + Add function ``icalendar.use_pytz()``.
    + Allows selecting components with ``walk(select=func)`` where ``func`` takes a
      component and returns ``True`` or ``False``.
    + Add compatibility to :rfc:`7529`, adding ``vMonth`` and ``vSkip``
  * Bug fixes:
    + Fix a bad ``bytes`` replace in ``unescape_char``.
    + Handle ``ValueError`` in ``vBinary.from_ical``.
    + Rename RFC 2445 to RFC 5545, see `Issue 278

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=78
This commit is contained in:
2025-07-02 03:13:31 +00:00
committed by Git OBS Bridge
parent 056cc18aef
commit e5df1557e4
4 changed files with 47 additions and 10 deletions

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Wed Jul 2 03:13:15 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 6.3.1:
* New features:
+ Add ``VALARM`` properties for :rfc:`9074`.
+ Test compatibility with Python 3.13
+ Add ``Timezone.from_tzinfo()`` and ``Timezone.from_tzid()`` to create
a ``Timezone`` component from a ``datetime.tzinfo`` timezone.
+ Add ``icalendar.prop.tzid_from_tzinfo``.
+ Add ``icalendar.alarms`` module to calculate alarm times.
+ Add ``Event.alarms`` and ``Todo.alarms`` to access alarm calculation.
+ Add ``DTSTART``, ``TZOFFSETTO``, and ``TZOFFSETFROM`` to
``TimezoneStandard`` and ``TimezoneDaylight``
+ Use ``pyproject.toml`` file instead of ``setup.py``
* Breaking changes:
+ The ``relative`` attribute of ``vWeekday`` components has the correct sign now.
+ Use ``zoneinfo`` for ``icalendar`` objects created from strings,
+ Remove ``is_broken`` property. Use ``errors`` instead to check if a
component had suppressed parsing errors.
+ Remove untested and broken ``LocalTimezone`` and ``FixedOffset`` tzinfo
+ sub-classes.
+ Remove Python 3.7 as compatible.
+ Test compatibility with Python 3.12
+ Add function ``icalendar.use_pytz()``.
+ Allows selecting components with ``walk(select=func)`` where ``func`` takes a
component and returns ``True`` or ``False``.
+ Add compatibility to :rfc:`7529`, adding ``vMonth`` and ``vSkip``
* Bug fixes:
+ Fix a bad ``bytes`` replace in ``unescape_char``.
+ Handle ``ValueError`` in ``vBinary.from_ical``.
+ Rename RFC 2445 to RFC 5545, see `Issue 278
-------------------------------------------------------------------
Sun Jun 30 20:33:27 UTC 2024 - Dirk Müller <dmueller@suse.com>