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