Skip to content

Releases: Ravencentric/pyanilist

v0.6.2

24 Dec 15:53
Compare
Choose a tag to compare

0.6.2 - (2024-12-24)

🚀 Features

  • to_str method on some models 4e86fe5 - Ravencentric

🔖 Releases

👷 CI/CD

  • Enforce up to date lockfile cec117e - Ravencentric

⚙️ Chores

  • deps: Bump astral-sh/setup-uv from 3 to 4 in the actions group (#26) 6734ffb - dependabot[bot]

v0.6.1

18 Nov 08:10
Compare
Choose a tag to compare

0.6.1 - (2024-11-18)

🐛 Bug Fixes

  • Make some args kw only a11cd95 - Ravencentric

⚙️ Chores

  • release: 0.6.1 2aa86a7 - Ravencentric

v0.6.0

17 Nov 22:06
Compare
Choose a tag to compare

0.6.0 - (2024-11-17)

⚠️ BREAKING CHANGES ⚠️

This update was essentially a rewrite so it will break your code. Here's some notable changes but this is not an exhaustive list:

  • AsyncAniList is gone. Not because it was hard to maintain but because the mocking library I'm using for tests doesn't seem to work with the async variant and I'm not going to write mocks manually for such an extensive (and annoying) graphql API.
  • AniList.get -> AniList.get_media
  • AniList is now a context manager, i.e., the correct way to use it is: with AniList() as anilist: ...
  • Media.characters -> AniList.get_characters
  • Media.relations -> AniList.get_relations
  • Media.staffs -> AniList.get_staffs
  • Media.studios -> AniList.get_studios

🚀 Features

🐛 Bug Fixes

  • Change project description 6ab5992 - Ravencentric
  • Label 04c2dfc - Ravencentric
  • Use absolute imports 07612d1 - Ravencentric
  • Misc fcb8cb7 - Ravencentric
  • docs: Remove dead page d9721a5 - Ravencentric

👷 CI/CD

  • Fix concurrency e3414d8 - Ravencentric
  • Various improvements d6fa98e - Ravencentric
  • Concurrency d18ff29 - Ravencentric

⚙️ Chores

  • release: 0.6.0 6eef1db - Ravencentric
  • More tests 65cced7 - Ravencentric
  • deps: Bump codecov/codecov-action in the actions group (#24) f7b4b32 - dependabot[bot]
  • tests: More tests f6d0cb6 - Ravencentric

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