Skip to content

2.11.0

Compare
Choose a tag to compare
released this 24 Oct 02:14
· 133 commits to main since this release
20ce677

🌈 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