Skip to content

Commit

Permalink
Merge pull request #418 from HubSpot/feature/bampVersion
Browse files Browse the repository at this point in the history
5.2.0
  • Loading branch information
ksvirkou-hubspot authored Feb 6, 2024
2 parents 49448cf + 9bae777 commit 61b1acf
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
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.1.1...HEAD)
## [Unreleased](https://github.com/HubSpot/hubspot-php/compare/v5.2.0...HEAD)

## [5.2.0]

### Changed

- Added type hinting for a few method of `SevenShores\Hubspot\Http\Response`.

## [5.1.1]

Expand Down Expand Up @@ -96,7 +102,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed

- Comments to BlogComments
- Deal create + update change params
- Deal create + update change params
- BlogPosts::clonePost => BlogPosts::clone
- BlogTopics::create remove name
- contactsProperties getGroups => getAllGroups
Expand Down
22 changes: 13 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,28 @@ agree to not be a jerk.
## Getting Started

- Fork, then clone the repo:
```

```bash
git clone [email protected]:your-username/hubspot-php.git
```

- Set up your machine:
```

```bash
composer install
```

- Make your change. Add test for your changes. Make the tests pass, e.g.:
```

```bash
vendor/bin/phpunit tests/integration/Endpoints/TimelineTest
```

or you can run tests with docker:
1. Copy .env.template to .env
2. Specify data in .env (for most tests it is enough to specify HUBSPOT_TEST_API_KEY)
3. `docker-compose up --build`

1. Copy `.env.template` to `.env`
2. Specify data in `.env` (for most tests it is enough to specify `HUBSPOT_TEST_API_KEY`)
3. `docker-compose up --build`

- Push to your fork and [submit a pull request][pr].

Expand All @@ -35,9 +39,9 @@ some changes or improvements or alternatives.

Some things that will increase the chance that your pull request is accepted:

* Write tests.
* Follow PSR-2 [style guide][style].
* Write a [good commit message][commit].
- Write tests.
- Follow PSR-2 [style guide][style].
- Write a [good commit message][commit].

[style]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $hubspot = new SevenShores\Hubspot\Factory([
'oauth2' => false, // default
]);

// Then you can call a resource
// Then you can call a resource
// When referencing endpoints, use camelCase

$hubspot->contactlists
Expand Down Expand Up @@ -266,4 +266,3 @@ If you see something not planned, that you want, make an [issue](https://github.
- [x] Transactional Email API
- [x] Workflows API :updated:
- [x] Webhooks API

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.1.1",
"version": "5.2.0",
"description": "HubSpot PHP API client",
"keywords": [ "hubspot", "api" ],
"license": "Apache-2.0",
Expand Down

0 comments on commit 61b1acf

Please sign in to comment.