diff --git a/CHANGELOG.md b/CHANGELOG.md index 06b0062..7d790fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,21 @@ # Change Log + All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased](https://github.com/HubSpot/hubspot-php/compare/v5.0.1...HEAD) +## [Unreleased](https://github.com/HubSpot/hubspot-php/compare/v5.1.0...HEAD) + +## [5.1.0] + +### Changed + +- `Factory::createWithOAuth2Token()` and `Factory::createWithToken()` announced deprecated. +- Added new method `Factory::createWithAccessToken()`. +- Locked `psr/http-message` to version `v1.1`. +- Fixed `Analytics::getByCategory()`, `Analytics::getByType()` and `Analytics::getHosted()` methods. +- Added new method `Forms:secureSubmit()`. +- Fixed `Forms::submit()` method. +- Updated `RetryMiddlewareFactory::getRetryFunctionByRange()` and `RetryMiddlewareFactory::getRetryFunction()`. ## [5.0.1] @@ -13,6 +26,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [5.0.0] ### Changed + - All `Resources` was renamed to `Endponts` (e.x. `SevenShores\Hubspot\Endpoints\Contacts`) - Added to exceptions ('SevenShores\Hubspot\Exceptions{ BadRequest, HubspotException}') previous exception - Fixed wrapResponse (if wrapResponse=false exeptions won't be wrapped) @@ -23,16 +37,19 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [4.0.2] ### Changed + - fix warnings on php v8.1 ## [4.0.1] ### Changed + - Fix composer json ## [4.0.0] ### Changed + - Update Guzzle version (^7.3) - Update Php version (>=7.3) - Update Php cs fixer (^3.4) @@ -42,31 +59,36 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [3.2.1] ### Changed + - Update type hinting -- Update Readme -- Fix Products (rename parameter for createBatch) +- Update Readme +- Fix Products (rename parameter for createBatch) ## [3.2.0] ### Changed + - companies->getById($id) => companies->getById($id, array $params = []) - Remove unneeded defaults for files api ## [3.1.0] ### Added + - contacts->addSecondaryEmail() - contacts->deleteSecondaryEmail() ## [3.0.1] ### Changed + - Files::upload - Guzzle version 6 or 7 ## [3.0.0] ### Changed + - Comments to BlogComments - Deal create + update change params - BlogPosts::clonePost => BlogPosts::clone @@ -79,17 +101,20 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [2.0.5] ### Changed + - Added ability to remove list contacts by email address - minor changes ## [2.0.3] ### Added + - Line Items Resource - Products Resource - Object Properties Resource ### Changed + - Up php version to 7.0 - Update Ecommerce Bridge to v2 - Update Hub DB to v2 @@ -103,10 +128,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [1.0.0-rc.1] ### Added + - [CHANGELOG](http://keepachangelog.com/) @ryanwinchester - Two new Exception classes @ryanwinchester ### Changed + - Namespace renamed from `Fungku\HubSpot` to `SevenShores\Hubspot` @ryanwinchester - `Api` folder and namespace renamed to `Resources` @ryanwinchester - The factory `HubSpotService` renamed to `Factory` @ryanwinchester @@ -119,7 +146,5 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Made `$data` property of `Response` public. Because why not? @ryanwinchester ### Fixed -- Trying to return a response with`RequestException` in the `Client`. It now re-throws a new `BadRequest` Exception. [#48](https://github.com/ryanwinchester/hubspot-php/issues/48) @ryanwinchester -[Unreleased]: https://github.com/ryanwinchester/hubspot-php/compare/v5.0.1...HEAD -[1.0.0-rc.1]: https://github.com/ryanwinchester/hubspot-php/compare/v0.9.11...v1.0.0-rc.1 +- Trying to return a response with`RequestException` in the `Client`. It now re-throws a new `BadRequest` Exception. [#48](https://github.com/ryanwinchester/hubspot-php/issues/48) @ryanwinchester diff --git a/composer.json b/composer.json index 5d44e31..0f007e0 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hubspot/hubspot-php", - "version": "5.0.1", + "version": "5.1.0", "description": "HubSpot PHP API client", "keywords": [ "hubspot", "api" ], "license": "Apache-2.0",