2.7.0
🌈 Changes
⭐ New Features
- Search for public Anime/Manga lists using only client id #266 (@Katsute)
- Add additional authentication methods #270 (@Katsute)
- Rename
MyAnimeList.withAuthorization(...)
toMyAnimeList.withOAuth2(...)
. - Replace
MyAnimeListAuthenticator
parameters with a singleAuthorization
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 forMyAnimeListAuthenticator
.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);
- Rename
- Add warning when using deprecated classes/methods #276 (@Katsute)
🐞 Bug Fixes
📄 Documentation
🧰 Internal
- Adjust warning messages #263 (@Katsute)
- Code quality fixes #264 (@Katsute)
- Add debug mode #265 (@Katsute)
📘 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