This repository has been archived by the owner on Nov 7, 2020. It is now read-only.
Releases: hansott/pinterest-php
Releases Β· hansott/pinterest-php
Bugfix
Upgrade JSON mapper to v1
Breaking changes
See #17
This is a bump of the major version because the package isn't supported on PHP 5.3-5.5 anymore.
2.0.0
Breaking changes
- 109051f: Change repins to saves and remove likes
This means that repins and likes are removed from Stats
and a new property saves
was added. $api->getUserLikes(/* ... */)
is also removed. See https://developers.pinterest.com/docs/api/users/ and https://blog.pinterest.com/en/goodbye-button.
Internal
- Refactored tests
- Sort imports
- Order properties of entities like in API docs
PSR-2 and fix docs for `getBoardPins`
1.1.1 Add `$boardId` to `getBoardPins` method
Add method to get the pins of a board
Better error handling for paged lists
1.0.1 PagedList: Check if uri is valid in constructor
Introduce a constant for the api version
The major version is bumped because the Authentication::BASE_URI
constant doesn't contain the api version anymore.
Add method to get the next items of a paged list
0.5.0 Add method to get the next items of a paged list
New response methods
4 new response methods are added:
$remainingRequests = $response->getHeader('X-Ratelimit-Remaining');
$remainingRequests = $response->getRemainingRequests();
$limit = $response->getRateLimit();
$errorMessage = $response->getError();
Add updateBoard method and fix docs
0.3.0 PSR-2