Skip to content

Releases: helpscout/helpscout-api-php

2.7.0

02 Jul 20:25
ba8af16
Compare
Choose a tag to compare
  • PR #245 introduces the ability for the SDK to automatically refresh expired tokens. There's a new section in the documentation on Automatically Refreshing Expired tokens that includes examples on how to enable and utilize this functionality

3.1.0

30 Jun 19:03
d53f4db
Compare
Choose a tag to compare

2.6.0

30 Jun 19:03
f22c1a9
Compare
Choose a tag to compare

3.0.1

07 May 18:27
053002d
Compare
Choose a tag to compare

This release includes:

  • Support for a new customer.updated web hook via PR #231
  • Readme updates

3.0.0

07 Jan 19:42
e2eaa8c
Compare
Choose a tag to compare

With this release we're targeting improving the developer experience to make the SDK easier to work with. There's no new API interaction being added.

  • [Breaking Change] PHP 7.1 has reached end of life and 7.2 is receiving security updates only, so v3 now requires PHP 7.3 (see #216). PHPDoc tags have been removed in favor of strongly typed parameters. Any classes that extend the SDK may require updating.
  • [Breaking Change] All filter method names have changed and will need to be updated (see PRs #224, #225 and #226). Filter object's method names were causing some confusion. The code snippet (new ConversationFilter())->withMailbox(40323) can give the impression that we're eager loading mailbox 40323 alongside the conversations, but it'll actually list the conversations in that mailbox. To make this more clear, we've eliminated the with*() verbiage for filters in favor of more specific verbiage like inMailbox(2), modifiedSince(Carbon::now()->subDay()) and hasTag('trial-customer').
    Refactored filter objects to use more clear terminology.
  • [Breaking Change] An HelpScout\Api\Exception\AuthenticationException is now thrown when the API responds with a 401. Previously this threw a GuzzleHttp\Exception\RequestException, so if you are catching that exception to refresh your token, you'll need to update your code base. (see #212)
  • [Breaking Change] HelpScout\Api\Customers\Entry\Chat has been removed completely in place of HelpScout\Api\Customers\Entry\ChatHandle. This was previously deprecated in v2. (see #229, #100, #102)
  • New isAssigned method has been added to HelpScout\Api\Conversations\Threads\Thread.php to help reduct additional logic when determining if a given Thread is assigned.(See #230)

2.5.0

22 Nov 14:11
490704e
Compare
Choose a tag to compare
  • PR #207 removes unnecessary docblocks where type hints or return values are sufficient. This PR makes no functional changes to the SDK.
  • PR #206 fulfills #205 by adding the ability to list users with access to a given mailbox.

1.9.6

13 Nov 21:49
3cf2d09
Compare
Choose a tag to compare

Additional headers can be specified statically using:

ApiClient::setAdditionalHeaders([
    'foo' => 'bar',
]);

All subsequent requests will have those headers included.

2.4.1

29 Oct 13:50
e7aa4b3
Compare
Choose a tag to compare
  • PR #200 fulfills #197 by adding some additional returns for chained method calls when building objects.

2.4.0

23 Aug 19:35
1d11105
Compare
Choose a tag to compare

2.3.10

16 Aug 21:18
00e1454
Compare
Choose a tag to compare
  • PR #189 resolves a regression that caused php exceptions when embedded entities were present but empty