All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Added
SevenShores\Hubspot\Utils\Timestamp
. - Update
psr/http-message
version to^1.1 || ^2.0
.
- Added type hinting for a few method of
SevenShores\Hubspot\Http\Response
.
- Fix
Utils\OAuth2::getAuthUrl()
(don't add empty scopes or optional scopes to OAuth url).
Factory::createWithOAuth2Token()
andFactory::createWithToken()
announced deprecated.- Added new method
Factory::createWithAccessToken()
. - Locked
psr/http-message
to versionv1.1
. - Fixed
Analytics::getByCategory()
,Analytics::getByType()
andAnalytics::getHosted()
methods. - Added new method
Forms:secureSubmit()
. - Fixed
Forms::submit()
method. - Updated
RetryMiddlewareFactory::getRetryFunctionByRange()
andRetryMiddlewareFactory::getRetryFunction()
.
- Refactor: Updated naming from resources to endpoints
- All
Resources
was renamed toEndponts
(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)
- fix warnings on php v8.1
- Fix composer json
- Update Guzzle version (^7.3)
- Update Php version (>=7.3)
- Update Php cs fixer (^3.4)
- Update Phpunit (^9.5)
- Update Phpspec (^7.1)
- Update type hinting
- Update Readme
- Fix Products (rename parameter for createBatch)
- companies->getById($id) => companies->getById($id, array $params = [])
- Remove unneeded defaults for files api
- contacts->addSecondaryEmail()
- contacts->deleteSecondaryEmail()
- Files::upload
- Guzzle version 6 or 7
- Comments to BlogComments
- Deal create + update change params
- BlogPosts::clonePost => BlogPosts::clone
- BlogTopics::create remove name
- contactsProperties getGroups => getAllGroups
- CrmPipelines move object type to __construct
- Up Guzzle version to 7
- Up php version to 7.2
- Added ability to remove list contacts by email address
- minor changes
- Line Items Resource
- Products Resource
- Object Properties Resource
- Up php version to 7.0
- Update Ecommerce Bridge to v2
- Update Hub DB to v2
- Update Form(only submit) to v3
- Update Workflows to v3
- Rename Email to EmailSubscriptions
- Update many resources (Method's Visibility, Type Hinting etc)
- Repair majority of tests
- SingleEmail => TransactionEmail
- CHANGELOG @ryanwinchester
- Two new Exception classes @ryanwinchester
- Namespace renamed from
Fungku\HubSpot
toSevenShores\Hubspot
@ryanwinchester Api
folder and namespace renamed toResources
@ryanwinchester- The factory
HubSpotService
renamed toFactory
@ryanwinchester - The named static constructors in
Factory
were changed tocreate()
andcreateWithToken()
@ryanwinchester - The
Factory
constructor was also made public @ryanwinchester - Moved functionality of
Api
intoClient
and replacedApi
withResource
@ryanwinchester Client
is now constructed with a configuration array @ryanwinchester- Removed
$base_url
in favour of putting the whole endpoint url in the resource methods. @ryanwinchester - Optional
HUBSPOT_API_KEY
environment variable changed toHUBSPOT_SECRET
@ryanwinchester - Made
$data
property ofResponse
public. Because why not? @ryanwinchester
- Trying to return a response with
RequestException
in theClient
. It now re-throws a newBadRequest
Exception. #48 @ryanwinchester