Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Releases: seregazhuk/php-pinterest-bot

4.4.1: Merge pull request #127 from seregazhuk/develop

02 Jul 14:01
Compare
Choose a tag to compare

Fixed:

  • Pins create method uploads images.

Business accounts support

02 Jul 09:21
Compare
Choose a tag to compare

Added:

  • User registerBusiness for registration business accounts.
  • User convertToBusiness to convert simple account to a business one.

Registration add

27 Jun 16:24
Compare
Choose a tag to compare

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

19 Jun 07:56
Compare
Choose a tag to compare

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

14 Jun 03:31
Compare
Choose a tag to compare

Fixed:

  • news last method login requirement check
  • pagination empty result check

4.2.0

13 Jun 09:32
Compare
Choose a tag to compare

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

12 Jun 11:45
Compare
Choose a tag to compare

Added:

  • bot logout method

Changes in generators behavior

12 Jun 10:58
Compare
Choose a tag to compare

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

12 Jun 10:26
Compare
Choose a tag to compare

Added:

  • isLoggedIn method
  • Response and Request refactoring
  • Better exception messages in ProviderLoginCheckWrapper

3.2.3: Merge pull request #109 from seregazhuk/develop

09 Jun 03:49
Compare
Choose a tag to compare

Fixes:

  • Pins like/dislike
  • Response error check