Skip to content

Commit

Permalink
Merge pull request #414 from HubSpot/feature/5.1.0
Browse files Browse the repository at this point in the history
5.1.0
  • Loading branch information
ksvirkou-hubspot authored May 18, 2023
2 parents 972223f + f089f1b commit fd77f76
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
37 changes: 31 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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]

Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit fd77f76

Please sign in to comment.