Skip to content

Releases: Ravencentric/pyanilist

v0.5.2

07 Jul 16:41
Compare
Choose a tag to compare

0.5.2 - (2024-07-07)

⚠️ BREAKING CHANGES IN 0.5.X ⚠️

  • AsyncAniList.search()/AniList.search() has been REMOVED.

  • AsyncAniList.get()/AniList.get() now matches AniList's parameters and can do both ID and string searches, making the .search() method useless.

  • Migration:

    # old
    AniList().get(16498)
    
    # new
    AniList().get(id=16498) # ID is now keyword-only 
    # old
    AniList().search(
        "My Hero Academia",
        season=MediaSeason.SPRING,
        season_year=2016,
        type=MediaType.ANIME,
        format=MediaFormat.TV,
        status=MediaStatus.FINISHED,
    )
    # new
    AniList().get(  # Simply replace any instance of .search() with .get(). It's a drop in replacement.
        "My Hero Academia",
        season=MediaSeason.SPRING,
        season_year=2016,
        type=MediaType.ANIME,
        format=MediaFormat.TV,
        status=MediaStatus.FINISHED,
    )
    

🐛 Bug Fixes

  • Docstrings (c71264a) - (Ravencentric)

⚙️ Chores

  • release: 0.5.2 (f63c792) - (Ravencentric)

v0.5.1

07 Jul 13:13
Compare
Choose a tag to compare

0.5.1 - (2024-07-07)

⚠️ BREAKING CHANGES IN 0.5.X ⚠️

  • AsyncAniList.search()/AniList.search() has been REMOVED.

  • AsyncAniList.get()/AniList.get() now matches AniList's parameters and can do both ID and string searches, making the .search() method useless.

  • Migration:

    # old
    AniList().get(16498)
    
    # new
    AniList().get(id=16498) # ID is now keyword-only 
    # old
    AniList().search(
        "My Hero Academia",
        season=MediaSeason.SPRING,
        season_year=2016,
        type=MediaType.ANIME,
        format=MediaFormat.TV,
        status=MediaStatus.FINISHED,
    )
    # new
    AniList().get(  # Simply replace any instance of .search() with .get(). It's a drop in replacement.
        "My Hero Academia",
        season=MediaSeason.SPRING,
        season_year=2016,
        type=MediaType.ANIME,
        format=MediaFormat.TV,
        status=MediaStatus.FINISHED,
    )

🐛 Bug Fixes

  • Fix type hint (3da1569) - (Ravencentric)

⚙️ Chores

  • release: 0.5.1 (e0c1615) - (Ravencentric)
  • Update name (7311099) - (Ravencentric)
  • Update readme link (f1d2cec) - (Raventric)

v0.5.0

06 Jul 20:03
Compare
Choose a tag to compare

0.5.0 - (2024-07-06)

⚠️ BREAKING CHANGES ⚠️

  • AsyncAniList.search()/AniList.search() has been REMOVED.

  • AsyncAniList.get()/AniList.get() now matches AniList's parameters and can do both ID and string searches, making the .search() method useless.

  • Migration:

    # old
    AniList().get(16498)
    
    # new
    AniList().get(id=16498) # ID is now keyword-only 
    # old
    AniList().search(
        "My Hero Academia",
        season=MediaSeason.SPRING,
        season_year=2016,
        type=MediaType.ANIME,
        format=MediaFormat.TV,
        status=MediaStatus.FINISHED,
    )
    # new
    AniList().get(  # Simply replace any instance of .search() with .get(). It's a drop in replacement.
        "My Hero Academia",
        season=MediaSeason.SPRING,
        season_year=2016,
        type=MediaType.ANIME,
        format=MediaFormat.TV,
        status=MediaStatus.FINISHED,
    )

🚀 Features

  • AniList.get() now accepts every parameter accepted by anilist (#21) (8ee775d) - (Raventric)

🐛 Bug Fixes

  • tests: Disable retrying in tests (4523099) - (Raventric)
  • Dependency marker (79b9532) - (Raventric)
  • Validate class constructor (ee877f2) - (Raventric)
  • Replace tenacity with stamina (#19) (bfddeb4) - (Raventric)

👷 CI/CD

  • Trigger tests if tests/* changes (2ad688e) - (Raventric)

📚 Documentation

  • Misc fixes (44c310e) - (Raventric)

⚙️ Chores

  • release: 0.5.0 (25eae1a) - (Raventric)
  • Pre-commit (cccbe84) - (Raventric)
  • Tests (1aea34a) - (Raventric)
  • Update CNAME (884b087) - (Raventric)
  • Remove useless # type: ignore (0c3828a) - (Raventric)
  • Format (a051ee1) - (Raventric)
  • deps: Update stuff (52963f1) - (Raventric)
  • Produce coverage (again) (c6f0323) - (Raventric)
  • Upload coverage (for real this time) (f878207) - (Raventric)
  • Actually produce coverage (5523fff) - (Raventric)
  • More tests (5f2f399) - (Raventric)

v0.4.1

09 Apr 16:45
Compare
Choose a tag to compare

0.4.1 - (2024-04-09)

🐛 Bug Fixes

  • Media.staff now works (#18) (9555ee9) - (Raventric)

⚙️ Chores

  • release: 0.4.1 (bd55469) - (Raventric)

v0.4.0

31 Mar 09:50
77db24d
Compare
Choose a tag to compare

0.4.0 - (2024-03-31)

⚠️ BREAKING CHANGES ⚠️

  • Renamed clients (#12) (9af294a) - (Raventric)
    • pyanilist.Anilist -> pyanilist.AniList
    • pyanilist.AsyncAnilist -> pyanilist.AsyncAniList
  • Media.description now returns MediaDescription instead of a string (#15) (081e14c) - (Raventric)
    • To get the old behavior, simply replace your instances of media.description with media.description.default

🚀 Features

  • New .title property added to enums (#14) (92873c5) - (Raventric)

🐛 Bug Fixes

  • Use backport.strenum for python <3.11 (#13) (a4ce581) - (Raventric)

⚙️ Chores

v0.3.1

27 Mar 03:42
f212fcc
Compare
Choose a tag to compare

0.3.1 - (2024-03-27)

🐛 Bug Fixes

  • Tighten dev dependencies (#8) (2279f23) - (Raventric)

📚 Documentation

  • examples: Fix a wrong example (#10) (5225e4b) - (Raventric)
  • Add a new page for examples (#7) (fb70e0a) - (Raventric)

⚙️ Chores

v0.3.0

17 Mar 05:09
8afff18
Compare
Choose a tag to compare

0.3.0 - (2024-03-17)

🐛 Bug Fixes

v0.2.0

17 Mar 05:06
875b827
Compare
Choose a tag to compare

0.2.0 - (2024-03-17)

🚀 Features

  • Make number of retries configurable (#1) (66d32d9) - (Raventric)

🐛 Bug Fixes

  • Tests (#2) (5534801) - (Raventric)
  • Import validatonerror from pydantic_core (7949d79) - (Raventric)
  • Formatting (cdf7069) - (Raventric)
  • Add typehint backport for 3.9 support (7afb856) - (Raventric)
  • Cache fix (dce818f) - (Raventric)
  • Project link (62eae7c) - (Raventric)

➕ Add

  • Create CNAME (#3)

(33a6db1) - (Raventric)

👷 CI/CD

  • Reduce parallel number of jobs down to 1 (44e1fa1) - (Raventric)
  • Limit number of parallel jobs to avoid http 429 (9165451) - (Raventric)

📚 Documentation

  • Use raw github link (1d164a6) - (Raventric)
  • Links (2033e89) - (Raventric)

📝 Other

⚙️ Chores

  • release: 0.2.0 (#4) (875b827) - (Raventric)

v0.1.0

16 Mar 20:13
Compare
Choose a tag to compare