Releases: helpscout/helpscout-api-php
Releases · helpscout/helpscout-api-php
2.3.0
- PR #148 adds support for recently added reporting endpoints that includes:
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
- PR #122 resolves #121 - Adds support for validating inbound webhook requests, ensuring they're from HelpScout, as well as other convenience methods
- PR #123 -
setAssignee()
can now be used to specify the assignee when creating a conversation (previously could only usesetAssignTo()
) - PR #126 -
updateTags()
andupdateCustomFields()
now acceptCollection
and[Tags|CustomFields]Collection
in addition to an array. This is a quality of life improvement, making it easier to update these fields for existing conversations.
In other news, the v2
branch is now the new master
. You can still track changes to the v1 SDK via the v1
branch.
2.1.1
2.1.0
- PR #110 resolves #108 - A User's first and last name is now properly hydrated when fetching a Conversation the user created
- PR #109 fulfills #98 by adding support for the Authorization Code Flow through
$client->swapAuthorizationCodeForReusableTokens()
enabling developers to quickly and easily exchange the code for a refresh and access token pair. A shout out goes to @scr4bble for pushing this work forward! - PR #102 deprecates a
Customer
'sChat
and replaces it withChatHandle
to better reflect what data is being provided and to get in sync with our updated API documentation. Relevant getter and setter methods have also been deprecated in favor of$customer->getChatHandles()
. - PR #112 deprecates
$client->useLegacyToken()
and all relevant legacy credentials configuration. These will be fully removed on June 6, 2019 so you'll need to make sure you've upgraded your authentication to OAuth2. Here's an example of how to upgrade painlessly using the SDK:
Upgrading Legacy tokens to OAuth2
$authenticator = HelpScout\Api\ApiClientFactory::createClient()
->useLegacyToken($clientId, $apiKey)
->getAuthenticator();
$authenticator->convertLegacyToken():
var_dump($authenticator->getTokens()); // an array containing your new tokens
1.9.5
No changes in this tag. This release marks the point when v1 maintenance was moved off the master
branch and into a separate branch.