From 8630ee71c91d8c69ad4ecd9a9870b846fe6879bc Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Fri, 3 Sep 2021 18:30:33 +0300 Subject: [PATCH 1/3] bump --- CHANGELOG.md | 25 ++++++++++++++++++++++++- composer.json | 2 +- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1658bfae..bae5ae83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,30 @@ 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/3.1.0...HEAD) +## [Unreleased](https://github.com/HubSpot/hubspot-api-php/compare/4.0.0...HEAD) + +## [4.0.0](https://github.com/HubSpot/hubspot-api-php/releases/tag/3.1.0) - 2021-09-06 + +### Added + +- `crm()->objects()->gdprApi()` API client +- `crm()->contacts()->gdprApi()` API client +- `crm()->schemas()->coreApi()` API client +- `marketing()->transactional()->singleSendApi()` API client + +### Fixed (breaking changes) + +- `oauth()` totaly rewrite the client +- `cms()->auditLogs()->defaultApi()` => `cms()->auditLogs()->auditLogsApi()` +- `cms()->blogs()->authors()->defaultApi()` => `cms()->blogs()->authors()->authorApi()` +- `cms()->blogs()->blogPosts()->defaultApi()` => `cms()->blogs()->blogPosts()->blogPostApi()` +- `cms()->blogs()->tags()->defaultApi()` => `cms()->blogs()->tags()->tagApi()` +- `cms()->performance()->defaultApi()` => `cms()->performance()->publicPerformanceApi()` +- `cms()->siteSearch()->defaultApi()` => `cms()->siteSearch()->publicApi()` +- `crm()->imports()->defaultApi()` => `crm()->imports()->publicImportsApi()` +- `crm()->owners()->defaultApi()` => `crm()->owners()->ownersApi()` +- `crm()->schemas()->defaultApi()` => `crm()->schemas()->publicObjectSchemasApi()` +- `marketing()->transactional()->defaultApi()` => `marketing()->transactional()->publicSmtpTokensApi()` ## [3.1.0](https://github.com/HubSpot/hubspot-api-php/releases/tag/3.1.0) - 2021-07-22 diff --git a/composer.json b/composer.json index f461b4a4..63236821 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hubspot/api-client", - "version": "3.1.0", + "version": "4.0.0", "description": "Hubspot API client", "keywords": [ "hubspot", From d8aa661d99251d06db873befba7238711a562025 Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Tue, 7 Sep 2021 12:39:57 +0300 Subject: [PATCH 2/3] update changelog --- CHANGELOG.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bae5ae83..a771d722 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,14 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/HubSpot/hubspot-api-php/compare/4.0.0...HEAD) -## [4.0.0](https://github.com/HubSpot/hubspot-api-php/releases/tag/3.1.0) - 2021-09-06 +## [4.0.0](https://github.com/HubSpot/hubspot-api-php/releases/tag/3.1.0) - 2021-09-07 ### Added - `crm()->objects()->gdprApi()` API client - `crm()->contacts()->gdprApi()` API client -- `crm()->schemas()->coreApi()` API client -- `marketing()->transactional()->singleSendApi()` API client ### Fixed (breaking changes) @@ -27,8 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `cms()->siteSearch()->defaultApi()` => `cms()->siteSearch()->publicApi()` - `crm()->imports()->defaultApi()` => `crm()->imports()->publicImportsApi()` - `crm()->owners()->defaultApi()` => `crm()->owners()->ownersApi()` -- `crm()->schemas()->defaultApi()` => `crm()->schemas()->publicObjectSchemasApi()` -- `marketing()->transactional()->defaultApi()` => `marketing()->transactional()->publicSmtpTokensApi()` +- `crm()->schemas()->defaultApi()` => `crm()->schemas()->publicObjectSchemasApi()` and `crm()->schemas()->coreApi()` +- `marketing()->transactional()->defaultApi()` => `marketing()->transactional()->publicSmtpTokensApi()` and `marketing()->transactional()->singleSendApi()` ## [3.1.0](https://github.com/HubSpot/hubspot-api-php/releases/tag/3.1.0) - 2021-07-22 From 270a61ad674d55ad9979e8c399401aaced23919b Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Tue, 7 Sep 2021 12:44:46 +0300 Subject: [PATCH 3/3] fix oauth --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a771d722..6869a8a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed (breaking changes) -- `oauth()` totaly rewrite the client +- `oauth()` fully regenerated - `cms()->auditLogs()->defaultApi()` => `cms()->auditLogs()->auditLogsApi()` - `cms()->blogs()->authors()->defaultApi()` => `cms()->blogs()->authors()->authorApi()` - `cms()->blogs()->blogPosts()->defaultApi()` => `cms()->blogs()->blogPosts()->blogPostApi()`