Skip to content

Commit

Permalink
Merge pull request #110 from HubSpot/fix/marketingEvents
Browse files Browse the repository at this point in the history
add Events to  Marketing
  • Loading branch information
ksvirkou-hubspot authored Mar 21, 2022
2 parents 54f26ed + d5058df commit 4e983ae
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 51 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,24 @@ 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/5.1.1...HEAD)
## [Unreleased](https://github.com/HubSpot/hubspot-api-php/compare/6.0.0...HEAD)

## [6.0.0](https://github.com/HubSpot/hubspot-api-php/releases/tag/6.0.0) - 2022-03-21

### Added
- `cms()->sourceCode()` API client
- `crm()->objects()->сalls()` API client
- `crm()->objects()->emails()` API client
- `crm()->objects()->meetings()` API client
- `crm()->objects()->notes()` API client
- `crm()->objects()->tasks()` API client
- `marketing()->events()` API client
- `settings()->users()` API client

### Fixed
- Fix warnings on php 8.1
- Rename `crm()->contacts()->gdprApi()->postCrmV3ObjectsContactsGdprDelete()` to `crm()->contacts()->gdprApi()->delete()`
- Rename `crm()->objects()->gdprApi()->postCrmV3ObjectsContactsGdprDelete()` to `crm()->objects()->gdprApi()->delete()`

## [5.1.1](https://github.com/HubSpot/hubspot-api-php/releases/tag/5.1.1) - 2022-03-10

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hubspot/api-client",
"version": "5.1.1",
"version": "6.0.0",
"description": "Hubspot API client",
"keywords": [
"hubspot",
Expand Down
98 changes: 49 additions & 49 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/Discovery/Marketing/Discovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use HubSpot\Discovery\DiscoveryBase;

/**
* @method Events\Discovery events()
* @method Transactional\Discovery transactional()
*/
class Discovery extends DiscoveryBase
Expand Down
1 change: 1 addition & 0 deletions tests/spec/Discovery/Marketing/DiscoverySpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function it_is_initializable()

public function it_creates_clients()
{
$this->events()->shouldHaveType(\HubSpot\Discovery\Marketing\Events\Discovery::class);
$this->transactional()->shouldHaveType(\HubSpot\Discovery\Marketing\Transactional\Discovery::class);
}
}

0 comments on commit 4e983ae

Please sign in to comment.