This repository has been archived by the owner on Dec 30, 2020. It is now read-only.
Releases: seregazhuk/php-pinterest-bot
Releases · seregazhuk/php-pinterest-bot
4.4.1: Merge pull request #127 from seregazhuk/develop
Fixed:
- Pins create method uploads images.
Business accounts support
Added:
- User registerBusiness for registration business accounts.
- User convertToBusiness to convert simple account to a business one.
Registration add
Added:
- User register method
Fixed:
- Pins edit method returns bool value
Changed:
- login, isLoggedIn and logout methods move to User provider
- Bot login, isLoggedIn and logout methods are deprecated
- removed RequestInterface and ResponseInterface
4.2.2: Merge pull request #124 from seregazhuk/develop
Fixed:
- keywords recommendedFor method returns an empty array if no results
- Response hasErrors method returns true on errors
- php version downgraded for 5.5.9
- test changed for phpunit 4.0
- Response getBookmarks method return empty array for no bookmarks
4.2.1: Merge pull request #115 from seregazhuk/develop
Fixed:
- news last method login requirement check
- pagination empty result check
4.2.0
Changed:
-
functions with pagination accept a limit as a second argument, for example:
$bot->pins->search('cats', 2)
will return only two pins for the search results.
The same is true about getting followers/following/pins for the user or board and getting pins from source. -
activity method in pins provider (requires login).
4.1.0
Added:
- bot logout method
Changes in generators behavior
Changed:
-
generator objects now return an entity for each iteration, not an array of entities. For example, to
get search results there is no more need to make two nested loops:foreach($bot->pins->search('cats') as $pin) { echo $pin['id'], "\n"; // ... } The same is true about getting followers/following/pins for the user or board.
3.3.1: Merge pull request #111 from seregazhuk/develop
Added:
- isLoggedIn method
- Response and Request refactoring
- Better exception messages in ProviderLoginCheckWrapper
3.2.3: Merge pull request #109 from seregazhuk/develop
Fixes:
- Pins like/dislike
- Response error check