Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eluceo/ical from 0.16.1 to 2.11.0 #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 18, 2023

Bumps eluceo/ical from 0.16.1 to 2.11.0.

Release notes

Sourced from eluceo/ical's releases.

2.11.0

Changed

  • Declare CalendarFactory::getProperties protected i/o private to open it for extension #386

2.10.0

Fixed

  • Fix formatting date time property with UTC time zone #482

2.9.0

Changed

  • Add missing return types and missing template annotations #472
  • Added @implements IteratorAggregate<Event> to \Eluceo\iCal\Domain\Collection\Events
  • Added @implements IteratorAggregate<ContentLine> to \Eluceo\iCal\Presentation\Component
  • Added @return Traversable<ContentLine> to \Eluceo\iCal\Presentation\Component::getIterator
  • Fix EmailAddress value object: do not url encode email addresses #479

2.8.0

Added

  • Support chaining of Calendar.setPublishedTTL() #452
  • Support PHP 8.2 #470

2.7.0

Added

  • Support X-PUBLISHED-TTL property on calendars #413

2.6.0

Added

  • Support status property on events #422
  • Support categories property on events #421

2.5.1

Fixed

  • Deprecation message occuring on an OOTB Symfony 5.4 on PHP 7.4 #382

2.5.0

Added

  • Support PHP 8.1

2.4.0

Added

  • Support symfony/deprecation-contracts version 3 #354

... (truncated)

Changelog

Sourced from eluceo/ical's changelog.

[2.11.0] - 2023-01-17

Changed

  • Declare CalendarFactory::getProperties protected i/o private to open it for extension #386

[2.10.0] - 2023-01-17

Fixed

  • Fix formatting date time property with UTC time zone #482

[2.9.0] - 2022-12-23

Changed

  • Add missing return types and missing template annotations #472
    • Added @implements IteratorAggregate<Event> to \Eluceo\iCal\Domain\Collection\Events
    • Added @implements IteratorAggregate<ContentLine> to \Eluceo\iCal\Presentation\Component
    • Added @return Traversable<ContentLine> to \Eluceo\iCal\Presentation\Component::getIterator
  • Fix EmailAddress value object: do not url encode email addresses #479

[2.8.0] - 2022-12-22

Added

  • Support chaining of Calendar::setPublishedTTL() #452
  • Support PHP 8.2 #470

[2.7.0] - 2022-06-21

Added

  • Support X-PUBLISHED-TTL property on calendars #413

[2.6.0] - 2022-06-17

Added

  • Support status property on events #422
  • Support categories property on events #421

[2.5.1] - 2022-04-26

Fixed

  • Deprecation message occuring on an OOTB Symfony 5.4 on PHP 7.4 #382

[2.5.0] - 2022-02-13

... (truncated)

Upgrade guide

Sourced from eluceo/ical's upgrade guide.

Upgrade from 0.16.* to 2.0

The fundamental change in version 2 two is the separation between presentation and domain layers.

This library was created with the goal that the user should know as little as possible about the iCal standard and still be able to create usable iCal files.

Example Upgrade

Given you have the following Code from version 0.16.*:

$vEvent = new \Eluceo\iCal\Component\Event();
$vEvent
->setDtStart(new \DateTime('2012-12-24'))
->setDtEnd(new \DateTime('2012-12-24'))
->setNoTime(true)
->setSummary('Christmas')
;
$vCalendar = new \Eluceo\iCal\Component\Calendar('www.example.com');
$vCalendar->addComponent($vEvent);
header('Content-Type: text/calendar; charset=utf-8');
header('Content-Disposition: attachment; filename="cal.ics"');
echo $vCalendar->render();

The code will be structured very similar. In version 0.16.*, the event could be sent to output directly. In contrast, in version 2, the domain object must first be passed to a factory that creates the iCal presentation.

The above code will look like the following after upgrading to version 2.

// 1. Create Event domain entity
$event = (new Eluceo\iCal\Domain\Entity\Event())
    ->setSummary('Christmas Eve')
    ->setDescription('Lorem Ipsum Dolor...')
    ->setOccurrence(
        new Eluceo\iCal\Domain\ValueObject\SingleDay(
            new Eluceo\iCal\Domain\ValueObject\Date(
                \DateTimeImmutable::createFromFormat('Y-m-d', '2012-12-24')
            )
        )
    );
// 2. Create Calendar domain entity
$calendar = new Eluceo\iCal\Domain\Entity\Calendar([$event]);
</tr></table>

... (truncated)

Commits
  • 8f32bbb Release 2.11.0 (#490)
  • 256449f declare getProperties method protected to open it for extension (#386)
  • f9710e1 Release 2.10.0 (#489)
  • 37bda3f Fix formatting UTC date time (#482)
  • caf1d48 Bump stefanzweifel/git-auto-commit-action from 4.15.4 to 4.16.0 (#484)
  • fee32f4 Bump phpunit/phpunit from 9.5.26 to 9.5.27 (#486)
  • c0f0a53 Bump ergebnis/composer-normalize from 2.28.3 to 2.29.0 (#487)
  • 86ee552 Bump thomaseizinger/create-pull-request from 1.2.2 to 1.3.0 (#485)
  • 4d41fe7 Bump actions/cache from 3.0.11 to 3.2.2 (#483)
  • 2e655dd Fix website build
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eluceo/ical](https://github.com/markuspoerschke/iCal) from 0.16.1 to 2.11.0.
- [Release notes](https://github.com/markuspoerschke/iCal/releases)
- [Changelog](https://github.com/markuspoerschke/iCal/blob/2.x/CHANGELOG.md)
- [Upgrade guide](https://github.com/markuspoerschke/iCal/blob/2.x/UPGRADE.md)
- [Commits](markuspoerschke/iCal@0.16.1...2.11.0)

---
updated-dependencies:
- dependency-name: eluceo/ical
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants