Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/HubSpot/hubspot-api-php/compare/14.0.4...HEAD)
## [Unreleased](https://github.com/HubSpot/hubspot-api-php/compare/14.0.5...HEAD)

## [14.0.5](https://github.com/HubSpot/hubspot-api-php/releases/tag/14.0.5) - 2026-04-02

### CRM Associations V4

- Updated the return type of the response object in `crm()->associations()->v4()->batchApi()->archive()` and `archiveLabels()` to `void` instead of `BatchResponseVoid|Error`. The `BatchResponseVoid` model has been removed.
- `crm()->associations()->v4()->batchApi()->create()` now handles HTTP 207 (partial success) responses, returning new `BatchResponseLabelsBetweenObjectPairWithErrors` model.
- `crm()->associations()->v4()->batchApi()->getPage()` now handles HTTP 207 (partial success) responses, returning new `BatchResponsePublicAssociationMultiWithLabelWithErrors` model.
- `HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPair` model no longer includes `errors` and `numErrors` fields — those are available on the new `HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors` model.
- Added new models: `HubSpot\Client\Crm\Associations\V4\Model\BatchResponseLabelsBetweenObjectPairWithErrors`, `HubSpot\Client\Crm\Associations\V4\Model\BatchResponsePublicAssociationMultiWithLabelWithErrors`.

## [14.0.4](https://github.com/HubSpot/hubspot-api-php/releases/tag/14.0.4) - 2026-03-24

Expand Down Expand Up @@ -1220,7 +1230,7 @@ to
25. getSubscriptions => getAll (webhooks()->subscriptionsApi())
26. updateSubscription => update (webhooks()->subscriptionsApi())

[Unreleased]: https://github.com/HubSpot/hubspot-api-php/compare/14.0.4...HEAD
[Unreleased]: https://github.com/HubSpot/hubspot-api-php/compare/14.0.5...HEAD
[1.0.0-beta]: https://github.com/HubSpot/hubspot-api-php/releases/tag/v1.0.0-beta
[1.1.0]: https://github.com/HubSpot/hubspot-api-php/releases/tag/1.1.0
[1.2.0]: https://github.com/HubSpot/hubspot-api-php/releases/tag/1.2.0
Expand Down Expand Up @@ -1291,3 +1301,4 @@ to
[14.0.2]: https://github.com/HubSpot/hubspot-api-php/releases/tag/14.0.2
[14.0.3]: https://github.com/HubSpot/hubspot-api-php/releases/tag/14.0.3
[14.0.4]: https://github.com/HubSpot/hubspot-api-php/releases/tag/14.0.4
[14.0.5]: https://github.com/HubSpot/hubspot-api-php/releases/tag/14.0.5
32 changes: 16 additions & 16 deletions codegen/Crm/Associations/V4/Api/BasicApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function getConfig()
/**
* Operation archive
*
* Delete
* Delete associations between two records
*
* @param string $object_type object_type (required)
* @param string $object_id object_id (required)
Expand All @@ -157,7 +157,7 @@ public function archive($object_type, $object_id, $to_object_type, $to_object_id
/**
* Operation archiveWithHttpInfo
*
* Delete
* Delete associations between two records
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand Down Expand Up @@ -217,7 +217,7 @@ public function archiveWithHttpInfo($object_type, $object_id, $to_object_type, $
/**
* Operation archiveAsync
*
* Delete
* Delete associations between two records
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand All @@ -241,7 +241,7 @@ function ($response) {
/**
* Operation archiveAsyncWithHttpInfo
*
* Delete
* Delete associations between two records
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand Down Expand Up @@ -427,7 +427,7 @@ public function archiveRequest($object_type, $object_id, $to_object_type, $to_ob
/**
* Operation create
*
* Create
* Associate records (labelled)
*
* @param string $object_type object_type (required)
* @param string $object_id object_id (required)
Expand All @@ -449,7 +449,7 @@ public function create($object_type, $object_id, $to_object_type, $to_object_id,
/**
* Operation createWithHttpInfo
*
* Create
* Associate records (labelled)
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand Down Expand Up @@ -552,7 +552,7 @@ public function createWithHttpInfo($object_type, $object_id, $to_object_type, $t
/**
* Operation createAsync
*
* Create
* Associate records (labelled)
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand All @@ -577,7 +577,7 @@ function ($response) {
/**
* Operation createAsyncWithHttpInfo
*
* Create
* Associate records (labelled)
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand Down Expand Up @@ -792,7 +792,7 @@ public function createRequest($object_type, $object_id, $to_object_type, $to_obj
/**
* Operation createDefault
*
* Create Default
* Associate records (default)
*
* @param string $from_object_type from_object_type (required)
* @param string $from_object_id from_object_id (required)
Expand All @@ -813,7 +813,7 @@ public function createDefault($from_object_type, $from_object_id, $to_object_typ
/**
* Operation createDefaultWithHttpInfo
*
* Create Default
* Associate records (default)
*
* @param string $from_object_type (required)
* @param string $from_object_id (required)
Expand Down Expand Up @@ -915,7 +915,7 @@ public function createDefaultWithHttpInfo($from_object_type, $from_object_id, $t
/**
* Operation createDefaultAsync
*
* Create Default
* Associate records (default)
*
* @param string $from_object_type (required)
* @param string $from_object_id (required)
Expand All @@ -939,7 +939,7 @@ function ($response) {
/**
* Operation createDefaultAsyncWithHttpInfo
*
* Create Default
* Associate records (default)
*
* @param string $from_object_type (required)
* @param string $from_object_id (required)
Expand Down Expand Up @@ -1138,7 +1138,7 @@ public function createDefaultRequest($from_object_type, $from_object_id, $to_obj
/**
* Operation getPage
*
* List
* Retrieve all associations by object type
*
* @param string $object_type object_type (required)
* @param string $object_id object_id (required)
Expand All @@ -1160,7 +1160,7 @@ public function getPage($object_type, $object_id, $to_object_type, $after = null
/**
* Operation getPageWithHttpInfo
*
* List
* Retrieve all associations by object type
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand Down Expand Up @@ -1263,7 +1263,7 @@ public function getPageWithHttpInfo($object_type, $object_id, $to_object_type, $
/**
* Operation getPageAsync
*
* List
* Retrieve all associations by object type
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand All @@ -1288,7 +1288,7 @@ function ($response) {
/**
* Operation getPageAsyncWithHttpInfo
*
* List
* Retrieve all associations by object type
*
* @param string $object_type (required)
* @param string $object_id (required)
Expand Down
Loading
Loading