What's Changed
- ICS: allow PRODID customization
- Use native types, finalize classes by @alies-dev in #171
- Bump min PHP version to 8.1 by @alies-dev in #171
- Privatize more methods and properties by @alies-dev in #189
BC breaks:
- 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 classSpatie\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