Skip to content

2.7.0

Compare
Choose a tag to compare
released this 04 Dec 20:06
· 229 commits to main since this release
9b739fa

🌈 Changes

⭐ New Features

  • Search for public Anime/Manga lists using only client id #266 (@Katsute)
  • Add additional authentication methods #270 (@Katsute)
    • Rename MyAnimeList.withAuthorization(...) to MyAnimeList.withOAuth2(...).
    • Replace MyAnimeListAuthenticator parameters with a single Authorization class.
      new MyAnimeListAuthenticator("client_id", "client_secret", "authorization_code", "PKCE_code_challenge");
      new MyAnimeListAuthenticator(new Authorization("client_id", "client_secret", "authorization_code", "PKCE_code_challenge"));
    • Fix #269 - Incorrect expiry date for AccessToken.
    • Add optional AccessToken parameter for MyAnimeListAuthenticator.
      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);
    • Add method to retrieve expiry as seconds since epoch.
      new AccessToken("access_token", "refresh_token", 1640995200).getExpiryEpochSeconds();
    • Deprecate old authenticator constructors.
    • Add warning when using authorization URL in place of the authorization code.
    • Add method to generate PKCE.
      MyAnimeListAuthenticator.generatePKCE(128);
  • Add warning when using deprecated classes/methods #276 (@Katsute)

🐞 Bug Fixes

  • Fix Anime/Manga list ID sometimes being null #268 (@Katsute)

📄 Documentation

🧰 Internal

📘 Dependencies

  • Bump junit-jupiter from 5.8.1 to 5.8.2 #274
  • Bump actions/setup-java from 2.3.1 to 2.4.0 #271 (@dependabot)

Full Changelog: 2.6.0...2.7.0