From 859d7847f679995e45294de9c87884358d77073a Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Thu, 11 Aug 2022 17:14:35 +0300 Subject: [PATCH] bump version to 5.0.0 --- CHANGELOG.md | 14 ++++++++++++-- composer.json | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a21b66c2..ea89209d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,17 @@ 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/v4.0.2...HEAD) +## [Unreleased](https://github.com/HubSpot/hubspot-php/compare/v5.0.0...HEAD) + +## [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) +- Added docker container for running tests and updated contributing.mb +- Webhooks Util announced deprecated +- Signature Util added (Validation requests from HubSpot) ## [4.0.2] @@ -105,5 +115,5 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### 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/v4.0.2...HEAD +[Unreleased]: https://github.com/ryanwinchester/hubspot-php/compare/v5.0.0...HEAD [1.0.0-rc.1]: https://github.com/ryanwinchester/hubspot-php/compare/v0.9.11...v1.0.0-rc.1 diff --git a/composer.json b/composer.json index d17f3f9a..66f92815 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "hubspot/hubspot-php", - "version": "4.0.2", + "version": "5.0.0", "description": "HubSpot PHP API client", "keywords": [ "hubspot", "api" ], "license": "Apache-2.0",