Releases: Ravencentric/pyanilist
v0.6.2
v0.6.1
v0.6.0
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
- Rewrite (#23)
dcdc57d
- Ravencentric - Support 3.13 (#22)
bd426d9
- Ravencentric - Add some useful dunder methods
bb4074e
- Ravencentric
🐛 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
v0.5.2
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
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
v0.5.0
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
🐛 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
v0.4.0
0.4.0 - (2024-03-31)
⚠️ BREAKING CHANGES ⚠️
- Renamed clients (#12) (9af294a) - (Raventric)
pyanilist.Anilist
->pyanilist.AniList
pyanilist.AsyncAnilist
->pyanilist.AsyncAniList
Media.description
now returnsMediaDescription
instead of a string (#15) (081e14c) - (Raventric)- To get the old behavior, simply replace your instances of
media.description
withmedia.description.default
- To get the old behavior, simply replace your instances of