Skip to content

Latest commit

 

History

History
103 lines (74 loc) · 3.15 KB

CHANGELOG.md

File metadata and controls

103 lines (74 loc) · 3.15 KB

[5.0.0-alpha]

Calendar changes

  • Calendar construct will now require clientId, clientSecret and token as required readonly parameters
public function __construct(
    private readonly string $clientId,
    private readonly string $clientSecret,
    private readonly string $token,
    array $args = []
)
  • Sync method is removed. Call push/pull to send and receive events from outlook

  • Get event and get event instances will require outlook id instead of url

public function getEventBy(
    string $id,
    ?EventItemRequestBuilderGetQueryParameters $params = null,
    ?Closure $beforeReturn = null,
    array $args = []
): ?ReaderEntityInterface

public function getEventInstances(
    string $id,
    ?InstancesRequestBuilderGetQueryParameters $params = null,
    array $args = []
): void
  • Writer/Delete entities are removed and are replaced by outlook model Event

  • Delete method will not return any response except a 204 status code

  • Batch push events will now return a generator instead of Batch Response entity

public function handleBatchResponse(?Generator $responses = null): void;
  • Update deleteEventLocal type declaration to ?string
public function deleteEventLocal(?string $eventId): void

Token Changes

  • None or very limited changes to Token handler

Subscription Changes

  • construct now requires clientId, clientSecret and token as required readonly parameters
public function __construct(
    private readonly string $clientId,
    private readonly string $clientSecret,
    private readonly string $token,
    array $args = []
)
  • Subscription entity will not be available anymore. The graph api sdk Subscription model and entity is used instead
public function subscribe(
    Microsoft\Graph\Generated\Models\Subscription $subscriptionEntity, array $args = []
): ?Microsoft\Graph\Generated\Models\Subscription
  • Renew subscription will only update the expiry date of the token.
public function renew(
    string $subscriptionId,
    \DateTime $expiration,
    array $args = []
): ?Microsoft\Graph\Generated\Models\Subscription

Notification Changes

  • With the new graph api the sequence number will not be available. Call the event api to get the changes and validate it.

[2.0.0]

Added

  • 2 - Add support for outlook push notifications
  • 82ef0 - Add retry handler for batch push
  • 5ac8b - Ability to pass skip query params to connection handler
  • 2bf32, 54e1f, e5e0d - Add support for batch requests

Removed

  • 4b134 - Remove concurrent pool upsert request option

[1.0.0]

Initial Release.