Skip to content

Releases: KatsuteDev/Mal4J

3.0.0

11 Jan 22:56
3d1c610
Compare
Choose a tag to compare

⚠️ Dependabot is not updating this dependency correctly. Change the groupid from com.kttdevelopment to dev.katsute.

🌈 Changes

⚠️ Breaking Change

  • Change groupid #355 (@Katsute)

    🛑 This major update includes breaking changes 🛑

    • Changed groupid from com.kttdevelopment to dev.katsute
    • Changed package from com.kttdevelopment to dev.katsute
    • Moved exceptions from com.kttdevelopment.mal4j to dev.katsute.mal4j.exceptions
    • Anime/Manga start/end dates now return NullableDate instead of a Date

    To bring your code up to date:

    • Change the dependency groupid from com.kttdevelopment to dev.katsute
    • Replace all import com.kttdevelopment.mal4j with import dev.katsute.mal4j
    • Exceptions are now imported from dev.katsute.mal4j.exceptions, fix this import manually

📘 Dependencies

Full Changelog: 2.12.0...3.0.0

2.12.0

23 Dec 02:52
2bb25f1
Compare
Choose a tag to compare

🌈 Changes

⚠️ Breaking Change

  • Drop use of 'Preview' classes #353 (@Katsute)
    Any methods that previously returned AnimePreview and MangaPreview now instead returns Anime and Manga. There is no need to call getAnime and getManga to get all details, all details are now returned by default.

    Simply change any usage of AnimePreview to Anime and MangaPreview to Manga.

    • Removed getAnimePreview and getMangaPreview
    • Removed redundant getAnime and getManga on certain classes

Full Changelog: 2.11.0...2.12.0

2.11.0

24 Oct 02:14
20ce677
Compare
Choose a tag to compare

🌈 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

❌ Removed

  • Remove deprecated authentication methods #345 (@Katsute)
    • Removed withOAuthToken, use withToken
    • Removed refreshOAuthToken, use refreshToken
    • Removed withAuthorization, use withOAuth2
    • The deprecated String parameter has been replaced with the Authorization parameter.
      Previously:
      new MyAnimeListAuthenticator("client_id", "client_secret", "authorization_code", "PKCE_code_challenge");
      Should be replaced with:
      new MyAnimeListAuthenticator(new Authorization("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(...), 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);

📘 Dependencies

Full Changelog: 2.10.0...2.11.0

2.10.0

09 Sep 01:34
f009c60
Compare
Choose a tag to compare

🌈 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, use AnimeSource.WebManga
    • Removed AnimeSource.Digital_Manga, use AnimeSource.DigitalManga
    • Removed MangaType.Novel, use MangaType.LightNovel
  • Removed deprecated method MyAnimeList.getMyself #339 (@Katsute)
    Use MyAnimeList.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 or Fields.Anime.videos
    • Added corresponding experimental field ExperimentalFeature.VIDEOS
  • 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)

Full Changelog: 2.9.1...2.10.0

2.9.1

23 Aug 17:16
d7a8958
Compare
Choose a tag to compare

🌈 Changes

🐞 Bug Fixes

  • Add missing Manga publishing status discontinued #334 (@Katsute)

📘 Dependencies

Full Changelog: 2.9.0...2.9.1

2.9.0

02 Aug 21:11
53896c2
Compare
Choose a tag to compare

🌈 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

17 Jul 20:53
d9648d0
Compare
Choose a tag to compare

🌈 Changes

🐞 Bug Fixes

  • Add missing relation types #320 (@Katsute)
    • Add missing relation type Spin off
    • Add missing relation type Character
    • For unknown relation type return Unknown rather than null

Full Changelog: 2.8.1...2.8.2

2.8.1

11 Jun 17:27
f700791
Compare
Choose a tag to compare

🌈 Changes

🐞 Bug Fixes

📘 Dependencies

Full Changelog: 2.8.0...2.8.1

2.8.0

06 Jun 18:18
0f66642
Compare
Choose a tag to compare

🌈 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

Full Changelog: 2.7.4...2.8.0

2.7.4

28 Apr 21:42
4ba47b7
Compare
Choose a tag to compare

🌈 Changes

🐞 Bug Fixes

📘 Dependencies

Full Changelog: 2.7.3...2.7.4