Skip to content

Releases: spatie/calendar-links

2.0-alpha.1

19 Feb 19:14
1178fda
Compare
Choose a tag to compare
2.0-alpha.1 Pre-release
Pre-release

What's Changed

BC breaks

API changes:

  • Link::create(...) doesn't have a 4th parameter to declare event as a full-day. Instead, use Link::createAllDay(...)

If you extended classes from the package or used non-private members directly, these BC changes may be breaking for you:

  • REMOVED: Method Spatie\CalendarLinks\Link#__get() was removed
  • CHANGED: Type of property Spatie\CalendarLinks\Link#$title changed from having no type to string
  • CHANGED: Type of property Spatie\CalendarLinks\Link#$from changed from having no type to DateTimeImmutable
  • CHANGED: Type of property Spatie\CalendarLinks\Link#$to changed from having no type to DateTimeImmutable
  • CHANGED: Type of property Spatie\CalendarLinks\Link#$description changed from having no type to string
  • CHANGED: Property Spatie\CalendarLinks\Link#$description changed default value from NULL to ''
  • CHANGED: Type of property Spatie\CalendarLinks\Link#$allDay changed from having no type to bool
  • CHANGED: Type of property Spatie\CalendarLinks\Link#$address changed from having no type to string
  • CHANGED: Property Spatie\CalendarLinks\Link#$address changed default value from NULL to ''
  • CHANGED: Method __construct() of class Spatie\CalendarLinks\Link became final
  • CHANGED: The return type of Spatie\CalendarLinks\Link::create() changed from no type to static
  • CHANGED: The return type of Spatie\CalendarLinks\Link::createAllDay() changed from self to the non-covariant static
  • CHANGED: The return type of Spatie\CalendarLinks\Link::createAllDay() changed from self to static
  • CHANGED: Parameter 1 of Spatie\CalendarLinks\Link::createAllDay() changed name from fromDate to from
  • CHANGED: The return type of Spatie\CalendarLinks\Link#description() changed from no type to static
  • CHANGED: The return type of Spatie\CalendarLinks\Link#address() changed from no type to static
  • REMOVED: Method Spatie\CalendarLinks\Exceptions\InvalidLink::invalidDateRange() was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\Yahoo#$dateFormat was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\Yahoo#$dateTimeFormat was removed
  • CHANGED: Class Spatie\CalendarLinks\Generators\WebOffice became final
  • REMOVED: Constant Spatie\CalendarLinks\Generators\WebOffice::BASE_URL was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\BaseOutlook#$dateFormat was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\BaseOutlook#$dateTimeFormat was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\BaseOutlook#$urlParameters was removed
  • CHANGED: Constant Spatie\CalendarLinks\Generators\WebOffice::BASE_URL visibility reduced from protected to private
  • CHANGED: Method baseUrl() of class Spatie\CalendarLinks\Generators\WebOffice visibility reduced from public to protected
  • CHANGED: Type of property Spatie\CalendarLinks\Generators\Ics#$dateFormat changed from having no type to string
  • CHANGED: Type of property Spatie\CalendarLinks\Generators\Ics#$dateTimeFormat changed from having no type to string
  • CHANGED: Type of property Spatie\CalendarLinks\Generators\Ics#$options changed from having no type to array
  • REMOVED: Property Spatie\CalendarLinks\Generators\BaseOutlook#$dateFormat was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\BaseOutlook#$dateTimeFormat was removed
  • CHANGED: Method baseUrl() of class Spatie\CalendarLinks\Generators\BaseOutlook visibility reduced from public to protected
  • CHANGED: Class Spatie\CalendarLinks\Generators\WebOutlook became final
  • REMOVED: Constant Spatie\CalendarLinks\Generators\WebOutlook::BASE_URL was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\BaseOutlook#$dateFormat was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\BaseOutlook#$dateTimeFormat was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\BaseOutlook#$urlParameters was removed
  • CHANGED: Constant Spatie\CalendarLinks\Generators\WebOutlook::BASE_URL visibility reduced from protected to private
  • CHANGED: Method baseUrl() of class Spatie\CalendarLinks\Generators\WebOutlook visibility reduced from public to protected
  • REMOVED: Property Spatie\CalendarLinks\Generators\Google#$dateFormat was removed
  • REMOVED: Property Spatie\CalendarLinks\Generators\Google#$dateTimeFormat was removed

Full Changelog: 1.11.0...2.0-alpha.1

1.11.0

19 Feb 06:01
Compare
Choose a tag to compare

What's Changed

  • Allow URL customisations for Google, Outlook and Yahoo by @alies-dev in #191
  • Fix attempt for Google and "All day". by @vever001 in #192

New Contributors

Full Changelog: 1.10.0...1.11.0

1.10.0

26 Jan 10:50
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.9.0...1.10.0

1.9.0

26 Jan 09:53
082527e
Compare
Choose a tag to compare

What's Changed

  • ICS: support different presentation (file, html) by @alies-dev in #185
  • Update dependencies; bump min PHP version to 8.1 by @alies-dev in #187

Full Changelog: 1.8.6...1.9.0

1.8.6

26 Jan 09:15
7bfd76e
Compare
Choose a tag to compare

What's Changed

Fixes:

New Contributors

Full Changelog: 1.8.5...1.8.6

1.8.5

02 Mar 16:06
d6f6c5e
Compare
Choose a tag to compare

What's Changed

Fixes

Full Changelog: 1.8.4...1.8.5

1.8.4

01 Mar 16:52
Compare
Choose a tag to compare

What's Changed

Fixes

  • IC: Update datetime format to include Z, remove Z from all-day dates by @wxactly in #167

Internal

Full Changelog: 1.8.3...1.8.4

1.8.3

01 Mar 16:42
Compare
Choose a tag to compare

Fixes

Fixed

Full Changelog: 1.8.2...1.8.3

1.8.2

11 Dec 03:15
Compare
Choose a tag to compare

What's Changed

  • ICS: Use DESCRIPTION instead of X-ALT-DESC (as it has better support) by @cdubz in #158
  • Chore: fix tests, fix and improve CI

New Contributors

Full Changelog: 1.8.1...1.8.2

1.8.1

01 Dec 17:22
Compare
Choose a tag to compare

What's Changed

  • Remove PHP 7.4 support
  • Update dependencies

Full Changelog: 1.8.0...1.8.1