Releases: KatsuteDev/Mal4J
3.0.0
com.kttdevelopment
to dev.katsute
.
🌈 Changes
⚠️ Breaking Change
-
Change groupid #355 (@Katsute)
🛑 This major update includes breaking changes 🛑
- Changed groupid from
com.kttdevelopment
todev.katsute
- Changed package from
com.kttdevelopment
todev.katsute
- Moved exceptions from
com.kttdevelopment.mal4j
todev.katsute.mal4j.exceptions
- Anime/Manga start/end dates now return
NullableDate
instead of aDate
To bring your code up to date:
- Change the dependency groupid from
com.kttdevelopment
todev.katsute
- Replace all
import com.kttdevelopment.mal4j
withimport dev.katsute.mal4j
- Exceptions are now imported from
dev.katsute.mal4j.exceptions
, fix this import manually
- Changed groupid from
📘 Dependencies
- Bump junit-jupiter from 5.9.1 to 5.9.2 #358 (@mashiro-san)
Full Changelog: 2.12.0...3.0.0
2.12.0
🌈 Changes
⚠️ Breaking Change
-
Drop use of 'Preview' classes #353 (@Katsute)
Any methods that previously returnedAnimePreview
andMangaPreview
now instead returnsAnime
andManga
. There is no need to callgetAnime
andgetManga
to get all details, all details are now returned by default.Simply change any usage of
AnimePreview
toAnime
andMangaPreview
toManga
.- Removed
getAnimePreview
andgetMangaPreview
- Removed redundant
getAnime
andgetManga
on certain classes
- Removed
Full Changelog: 2.11.0...2.12.0
2.11.0
🌈 Changes
⚠️ Breaking Change
- Using experimental features without enabling them will now throw an exception #346 (@Katsute)
- Using an experimental feature without enabling it will throw a
ExperimentalFeatureException
, previously would only print a warning
- Using an experimental feature without enabling it will throw a
❌ Removed
- Remove deprecated authentication methods #345 (@Katsute)
- Removed
withOAuthToken
, usewithToken
- Removed
refreshOAuthToken
, userefreshToken
- Removed
withAuthorization
, usewithOAuth2
- The deprecated String parameter has been replaced with the Authorization parameter.
Previously:Should be replaced with:new MyAnimeListAuthenticator("client_id", "client_secret", "authorization_code", "PKCE_code_challenge");
If you were not already using this new object before, an access token can be passed to this method to use an existing token, rather than generating a new one:new MyAnimeListAuthenticator(new Authorization("client_id", "client_secret", "authorization_code", "PKCE_code_challenge"));
new MyAnimeListAuthenticator(new Authorization(...), new AccessToken("access_token"); new MyAnimeListAuthenticator(new Authorization(...), new AccessToken("access_token", "refresh_token"); new MyAnimeListAuthenticator(new Authorization(...), new AccessToken("access_token", "refresh_token", 1640995200);
- Removed
📘 Dependencies
- Bump maven-jar-plugin from 3.2.2 to 3.3.0 #344 (@dependabot)
Full Changelog: 2.10.0...2.11.0
2.10.0
🌈 Changes
This update adds support for Anime promotional videos (PVs) and trailers. Use Anime.getVideos()
to retrieve all PVs.
❌ Removed
- Removed deprecated enums #338 (@Katsute)
- Removed
AnimeSource.Web_Manga
, useAnimeSource.WebManga
- Removed
AnimeSource.Digital_Manga
, useAnimeSource.DigitalManga
- Removed
MangaType.Novel
, useMangaType.LightNovel
- Removed
- Removed deprecated method
MyAnimeList.getMyself
#339 (@Katsute)
UseMyAnimeList.getAuthenticatedUser
- Removed deprecated AndroidCompatibilityException #340 (@Katsute)
⭐ New Features
- Added Anime PV/Trailers #341 (@Katsute)
- Retrieve Anime PVs/Trailers using
Anime.getVideos()
, returns an array - Added corresponding field variable
videos
orFields.Anime.videos
- Added corresponding experimental field
ExperimentalFeature.VIDEOS
- Retrieve Anime PVs/Trailers using
- Paginated iterator now returns a modifiable list instead of an unmodifiable one #337 (@Katsute)
- Added
All
option for experimental features #342 (@Katsute)- Enable all experimental features using
MyAnimeList.enableExperimentalFeature(ExperimentalFeature.ALL)
- Enable all experimental features using
Full Changelog: 2.9.1...2.10.0
2.9.1
🌈 Changes
🐞 Bug Fixes
📘 Dependencies
- Bump maven-javadoc-plugin from 3.4.0 to 3.4.1 #330 (@dependabot)
Full Changelog: 2.9.0...2.9.1
2.9.0
🌈 Changes
⭐ New Features
- Enum changes and fixes #329 (@Katsute)
- Methods that have an enum parameter can now also accept string field parameters
- Methods that return enums can now also return as a string
- Fix asEnum throwing a NullPointerException
📘 Dependencies
- Bump junit-jupiter-params and junit-jupiter-api from 5.8.2 to 5.9.0 #328 (@mashiro-san)
Full Changelog: 2.8.2...2.9.0
2.8.2
2.8.1
🌈 Changes
🐞 Bug Fixes
📘 Dependencies
- Bump maven-surefire-plugin from 3.0.0-M6 to 3.0.0-M7 #313 (@dependabot)
Full Changelog: 2.8.0...2.8.1
2.8.0
🌈 Changes
⚠ Breaking Change
- Rename Anime source Digital_Manga to DigitalManga #312 (@Katsute)
- Rename Anime source Web_Manga to WebManga #312 (@Katsute)
- All Anime/Manga enums now fallback to Unknown rather than null when field is unknown #312 (@Katsute)
🐞 Bug Fixes
- Add missing Manga status Hiatus #312 (@Katsute)
- Add missing Anime source Mixed Media & Web Novel #312 (@Katsute)
Full Changelog: 2.7.4...2.8.0
2.7.4
🌈 Changes
🐞 Bug Fixes
📘 Dependencies
- Bump jcore from 2.0.0 to 2.0.1 #308 (@dependabot)
Full Changelog: 2.7.3...2.7.4