freescout-calendar-module/vendor/spatie/icalendar-generator/UPGRADING.md
2024-06-20 10:52:19 +02:00

447 B

Upgrading

Version 2.0 adds some breaking changes:

  • PHP 7.4|8.0 only
  • Timezones are now opt-out instead of opt-in, which makes that each date property will have a timezone
  • Property types are now simply called properties
  • Property only accepts a string as name, you can add aliases via the addAlias function
  • ComponentPayload has removed textProperty, dateTimeProperty and when in favour of property, optional and multiple