From 16d131c3981160905027b456f179f08e68353b71 Mon Sep 17 00:00:00 2001 From: ksvirkou-hubspot Date: Tue, 21 Apr 2026 16:11:32 +0300 Subject: [PATCH] add OAuth changes to changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5bce3bf..eef9ce97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [14.0.6](https://github.com/HubSpot/hubspot-api-php/releases/tag/14.0.6) - 2026-04-22 +### OAuth + +- Added `code_verifier` and `scope` as optional parameters to `oauth()->tokensApi()->create()`. +- Added `refresh_token` field to `HubSpot\Client\Oauth\Model\TokenResponseIF`. +- Fixed JSON attribute mappings in `HubSpot\Client\Oauth\Model\TokenResponseIF` to use snake_case keys (`access_token`, `expires_in`, `hub_id`, `token_type`) matching the actual API response. + ### CRM Objects - `crm()->objects()->basicApi()->create()` now returns HTTP 201 instead of 200.