Skip to content

Releases: anime-db/ani-db-browser-bundle

v2.2.1

14 Aug 18:55
Compare
Choose a tag to compare

Changes

  • Format of error response from API is changed [Bugfix]

    Before:

    <body><error>Anime not found</error></body>

    After:

    <error>Anime not found</error>

v2.2.0

27 Jul 16:30
Compare
Choose a tag to compare

Changes

  • Correct configure request options [Bugfix]
  • Optimize check has errors in responce.

v2.1.3

27 Jul 09:42
Compare
Choose a tag to compare

Changes

  • Correct browser service arguments [Bugfix].

v2.1.2

27 Jul 08:57
Compare
Choose a tag to compare

Changes

  • Correct ErrorDetector service name [Bugfix].

v2.1.1

27 Jul 08:20
Compare
Choose a tag to compare

Changes

  • Correct configure browser service [Bugfix].

v2.1.0

26 Jul 14:23
Compare
Choose a tag to compare

Changes

  • Created detector for detect errors in the response [#11].

    use AnimeDb\Bundle\AniDbBrowserBundle\Exception\BannedException;
    use AnimeDb\Bundle\AniDbBrowserBundle\Exception\NotFoundException;
    
    try {
        $content = $this->get('anime_db.ani_db.browser')->get('anime', ['aid' => 1]);
    } catch (BannedException $e) {
        // you are banned
    } catch (NotFoundException $e) {
        // anime not found
    } catch (\Exception $e) {
        // other exceptions
    }

v2.0.4

26 Jul 12:02
Compare
Choose a tag to compare

Changes

  • Use app_code as User Agent [Bugfix].

v2.0.3

21 Jul 14:58
Compare
Choose a tag to compare

Changes

  • Allow override User Agent from request options.

v2.0.2

18 Jul 16:25
Compare
Choose a tag to compare

Changes

  • app section in config is required.

v2.0.1

18 Jul 14:25
Compare
Choose a tag to compare

Changes

  • Not require symfony/dom-crawler.