Skip to content

Latest commit

 

History

History
504 lines (369 loc) · 16 KB

CHANGELOG.md

File metadata and controls

504 lines (369 loc) · 16 KB

LoginRadius Java SDK Change Log provides information regarding what has changed, more specifically what changes, improvements and bug fix has been made to the SDK. For more details please refer to the [LoginRadius API Documention(https://www.loginradius.com/docs/api/v2/deployment/sdk-libraries/java-library/)

Version 11.5.0

Release on January 20, 2023

Enhancements

  • We have updated some of the dependencies to the latest Version.

Removed (Deprecated) APIs:

  • AuthGetRegistrationData
  • ValidateRegistrationDataCode
  • GetRegistrationData
  • AddRegistrationData
  • UpdateRegistrationData
  • DeleteRegistrationData
  • DeleteAllRecordsByDataSource
  • GetAccessTokenByVkontakteAccessToken
  • GetAlbum
  • GetAlbumsWithCursor
  • GetAudios
  • GetAudiosWithCursor
  • GetCheckIns
  • GetCheckInsWithCursor
  • GetContacts
  • GetEvents
  • GetEventsWithCursor
  • GetFollowings
  • GetFollowingsWithCursor
  • GetGroups
  • GetGroupsWithCursor
  • GetLikes
  • GetLikesWithCursor
  • GetMentions
  • PostMessage
  • GetPage
  • GetPhotos
  • GetPosts
  • StatusPosting
  • TrackableStatusPosting
  • GetTrackableStatusStats
  • TrackableStatusFetching
  • GetVideos
  • GetRefreshedSocialUserProfile

Breaking Changes

For developers migrating to v11.5.0, there will be minor breaking change in terms of SDK implementation. In this version, we have added emailTemplate parameter in userRegistrationByPhone Api.

Version 11.4.0

Release on June 1, 2022

Enhancements

  • We are introducing an additional param getLrServerTime in the manual SOTT generation function getSott(), we recomend using this method to generate SOTT manually, the old function getSott() will also exist but it is deprecated and will be removed in a future version of SDK.
  • Enhancement in README.md file.

Version 11.3.1

Release on January 28, 2022

Enhancements

  • Added a feature to add ApiKey and ApiSecret directly in LoginRadius manual SOTT generation method.
  • Code optimization for better performance.
  • Added Licence and Contribution Guideline files.

Breaking Changes

For developers migrating from v11.3.0, there will be 1 minor breaking change in terms of SDK implementation. In this version, we have added a feature to add ApiKey & ApiSecret directly into the manual SOTT generation method getSott().

Version 11.3.0

Release on October 10, 2021

Enhancements

  • Added JWT Login feature in SDK demo

Added new multiple APIs for better user experience

  • JWT token by Access Token
  • JWT token by Email and Password
  • JWT token by Username and Password
  • JWT token by Phone and Password

Version 11.2.0

Release on September 7, 2021

Enhancements

  • Updated Jquery with latest version(3.6.0) in SDK Demo

Added new multiple APIs for better user experience

  • MFAEmailOtpByAccessToken
  • MFAValidateEmailOtpByAccessToken
  • MFAResetEmailOtpAuthenticatorByAccessToken
  • MFASecurityQuestionAnswerByAccessToken
  • MFAResetSecurityQuestionAuthenticatorByAccessToken
  • MFAEmailOTP
  • MFAValidateEmailOtp
  • MFASecurityQuestionAnswer
  • MFASecurityQuestionAnswerVerification
  • MFAResetEmailOtpAuthenticatorByUid
  • MFAResetSecurityQuestionAuthenticatorByUid
  • ReAuthValidateEmailOtp
  • ReAuthSendEmailOtp
  • ReAuthBySecurityQuestion

Added EmailTemplate2FA parameter in the following API

  • MFALoginByEmail
  • MFALoginByUserName
  • MFALoginByPhone

Added RbaBrowserEmailTemplate, RbaCityEmailTemplate ,RbaCountryEmailTemplate , RbaIpEmailTemplate parameter in the following API

  • MFAValidateOTPByPhone
  • MFAValidateGoogleAuthCode
  • MFAValidateBackupCode

Added emailTemplate, verificationUrl ,welcomeEmailTemplate parameter in the following API

  • GetProfileByAccessToken

Removed smsTemplate2FA parameter from the following API

  • mfaValidateGoogleAuthCode

Version 11.1.0

Release on April 21, 2021

Enhancements

  • Added Proxy Server Feature.

Added new multiple APIs for better user experience

  • Get Profile By Ping.
  • Passwordless Login Verification By Email And OTP.
  • Passwordless Login Verification By User Name And OTP.

Version 11.0.1

Release on March 17, 2021

Enhancements

  • Added X-Origin-IP header support.
  • Added 429 error code handling for "Too Many Request in a particular time frame".

Version 11.0.0

Release on July 28, 2020

Enhancements

  • Added a parameter isWeb in "RefreshAccessToken" API.
  • Added a parameter SocialAppName in "getAccessTokenByFacebookAccessToken, getAccessTokenByTwitterAccessToken, getAccessTokenByGoogleAccessToken, getAccessTokenByLinkedinAccessToken, getAccessTokenByAppleIdCode, getAccessTokenByGoogleAuthCode" native Social login APIs.

Added new multiple APIs for better user experience

  • Added linkSocialIdentities(POST) API.
  • Added linkSocialIdentitiesByPing(POST) API.
  • Added getAccessTokenByAppleIdCode API.
  • Added getAccessTokenByWeChatCode API.

Removed APIs:

  • linkSocialIdentity API(PUT)
  • getSocialIdentity API(GET)

Version 10.0.2

Release on April 27,2020

Bug Fixes
  • Fixed Access Token caching issue.

Version 10.0.0

Release on September 30,2019

Enhancements

This full version release includes major breaking changes with several improvements and optimizations :

  • Enhanced the coding standards of SDK to follow industry programming styles and best practices.
  • Enhanced security standards of SDK.
  • Reduced code between the business layer and persistence layer for optimization of SDK performance.
  • Added internal parameter validations in the API function
  • ApiKey and ApiSecret usage redundancy removed
  • All LoginRadius related features need to be defined once only and SDK will handle them automatically
  • Improved the naming conventions of API functions for better readability.
  • Better Exception Handling for LoginRadius API Response in SDK
  • Revamped complete SDK and restructured it with latest API function names and parameters
  • Added detailed description to API functions and parameters for better understanding
  • Updated the demo according to latest SDK changes
  • Reduced dependency on libraries
  • Implemented API Region Feature
  • Added PIN Authentication feature APIs.
  • Added Consent Management feature APIs.

Added new multiple APIs for better user experience

  • Update Phone ID by UID
  • Upsert Email
  • Role Context profile
  • MFA Resend OTP
  • User Registration By Captcha
  • Get Access Token via Linkedin Token
  • Get Access Token By Foursquare Access Token
  • Get Active Session By Account Id
  • Get Active Session By Profile Id
  • Delete User Profiles By Email
  • Verify Multifactor OTP Authentication
  • Verify Multifactor Password Authentication
  • Verify Multifactor PIN Authentication
  • Update UID
  • MFA Re-authentication by PIN
  • PIN Login
  • Forgot PIN By Email
  • Forgot PIN By UserName
  • Reset PIN By ResetToken
  • Reset PIN By SecurityAnswer And Email
  • Reset PIN By SecurityAnswer And Username
  • Reset PIN By SecurityAnswer And Phone
  • Forgot PIN By Phone
  • Change PIN By Token
  • Reset PIN by Phone and OTP
  • Reset PIN by Email and OTP
  • Reset PIN by Username and OTP
  • Set PIN By PinAuthToken
  • Invalidate PIN Session Token
  • Submit Consent By ConsentToken
  • Get Consent Logs
  • Submit Consent By AccessToken
  • Verify Consent By AccessToken
  • Update Consent Profile By AccessToken
  • Get Consent Logs By Uid
  • Album With Cursor
  • Audio With Cursor
  • Check In With Cursor
  • Event With Cursor
  • Following With Cursor
  • Group With Cursor
  • Like With Cursor

Removed APIs:

  • GetCompanies API
  • Getstatus API

Version 10.0.0-beta

Release on Aug 5, 2019

Note: The version contains several breaking changes.

Enhancements

This beta version release includes major changes with several improvements and optimizations :

  • Enhanced the coding standards of SDK to follow industry programming styles and best practices.
  • Enhanced security standards of SDK.
  • Reduced code between the business layer and persistence layer for optimization of SDK performance.
  • Added internal parameter validations in the API function
  • ApiKey and ApiSecret usage redundancy removed
  • All LoginRadius related features need to be defined once only and SDK will handle them automatically
  • Improved the naming conventions of API functions for better readability.
  • Better Error and Exception Handling for LoginRadius API Response in SDK
  • Revamped complete SDK and restructured it with latest API function names and parameters
  • Added detailed description to API functions and parameters for better understanding
  • Updated the demo according to latest SDK changes
  • Reduced dependency on libraries
  • Implemented APIRegion Feature

Added new multiple APIs for better user experience

  • Update Phone ID by UID
  • Upsert Email
  • Role Context profile
  • MFA Resend OTP
  • User Registration By Captcha
  • Get Access Token via Linkedin Token
  • Get Access Token By Foursquare Access Token
  • Get Active Session By Account Id
  • Get Active Session By Profile Id

Removed APIs:

  • GetCompanies API

Version 4.2.2

Released on March 26, 2019

Enhancements
  • Added gzip Accept-Encoding HTTPS header in requests sent to an LoginRadius server

Version 4.2.1

Released on November 23, 2018

Enhancements
  • LoginRadiusClient.java optimization
  • Update Exception object to include ValidationError model
  • Added Unit tests
  • Updated demo with new UI and features

Version 4.2.0

Released on October 11, 2018

Enhancements
  • Added Custom Domain option
  • Added more fields to LoginRadiusUltimateUserProfile model
  • Auth Delete Account API (GET)
  • Access Token API (GET)
  • Status Posting API (GET)
  • Phone Login API (POST)
  • MFA Email Login API (POST)
  • MFA User Name Login API (POST)
  • MFA Phone Login API (POST)
  • Update MFA by Access Token (PUT)
  • Update MFA Setting (PUT)
  • Access Token via Vkontakte Token API (GET)
  • Access Token via Google JWT API (GET)
  • WebHook Subscribe API (POST)
  • WebHook Test API (GET)
  • WebHook Subscribed URLs API (GET)
  • WebHook Unsubscribe API (DEL)
  • Delete All Records by Datasource API (DEL)
Breaking Changes
  • Renamed LoginRadiusConstant variables with 2FA to MFA

Version 4.1.0

Released on September 20, 2018

Enhancements
  • Added API Request Signing(Enabling this feature customer don’t need to pass apisecret in API request. They can pass a dynamically generated hash value instead of this. Also, this feature will make sure that the message has not tampered during transit when someone calls our APIs).
  • Add Request Access Token in Header(LoginRadius access token can be passed on to the request as in header for auth apis).
  • Option to Prevent Sending Email Verification(an option to prevent sending email verification in case of optional email verification flow).
  • Recaptcha for Auth APIs(By enabling this option customer can enforce client to pass reCaptcha in some auth APIs for authentication).
  • Access Token on Registration Event.
  • API Secret in Headers for all Account APIs.
  • Remove Phone ID by access token API
  • Added Get Email Verification token API
  • Added Get Forgot Password token API
  • Auth Verify Email by OTP API
  • Auth Reset Password by OTP API
  • Account Identities by Email API
  • One Touch Login by Email API
  • One Touch Login By Phone API
  • One Touch OTP Verification API
  • Smart Login by Email API
  • Smart Login by Username API
  • Smart Login Ping API
  • Smart Login Verify Token API
  • PasswordLess Login by Email API
  • PasswordLess Login By UserName API
  • PasswordLess Login Verification API
  • Phone Login Using One Time Passcode API
  • Phone Send One time Passcode API
Breaking Changes
  • For developers migrating from v4.0.1, there will be some breaking changes in terms of SDK implementation. In this version, we have updated endpoints and renamed "Auto Login" to "Smart Login", "No Registration/Simplified Registration" to "One touch Login" and "Instant Link Login" to "PasswordLess Login". Also, changed the methods of the above APIs accordingly.
  • We define new Method by using it you can directly initilize your api key and secret key.you dont have to initilize in every method.
  • For more details, please have a look here

Version 4.0.1

Released on December 28, 2017

Enhancements
  • Updated endpoint of Configuration API.

Version 4.0.0

Released on November 17, 2017

Enhancements
  • Added new configuration api for better implementation.
  • Added new reset password by security answer API.
  • Added new remove an email management API.
  • Added custom scopes and external permissions enhancement in social login.
  • Significantly improved code performance.
Bug Fixes
  • Fixed issue remove Unirest library for http request.
  • Fixed issue thread leak when calling RestRequest.

Version 3.4.0

Released on September 06, 2017

Enhancements
  • Added new verified and unverified both email ids stored in different profile fields.
  • Added new projection of fields in all APIs
  • Added new verify auto login email API.
  • Added new management API to generate SOTT.
  • Added new context role expiration in add/update role context API.
  • Added new risk based authentication in login API.
  • Significantly improved code performance.

Version 3.3.0

Released on July 20, 2017

Enhancements
  • Added new Custom Registration Data APIs.
  • Added new Get Security Questions By Access Token,Email,UserName and Phone APIs
  • Added new Simplified Registration APIs.
  • Significantly improved code performance.
Bug Fixes
  • Fixed Issue related to missing fields in Login API.

Version 3.2.0

Released on June 15, 2017

Enhancements
  • Added new access token API based on UID (user impersonation)
  • Added new Auto Login APIs
  • Added new backup code API in case of device lost and Google Authenticator enabled.
  • Significantly improved code performance.
Bug Fixes
  • Issue with NULL Support at Update Account APIs.

Version 3.1.0

Released on May 10, 2017

Enhancements
  • Added new Two Factor Authentication [2FA] APIs.
  • Added new api to get basic server information for sott time validation.
  • Added new Context based Roles and Permissions Management APIs
  • Added new fields in APIs response Unverified email ids in UserProfile and Image in PhotoAPI.
  • Added new email prompt Auto login.
  • Significantly improved code performance.
  • Increased custom connection and socket timeout 15000(milliseconds).

Version 3.0.0

Released on April 13, 2017

Enhancements
  • Updated with api-v2
  • Added new multiple APIs for better user experience.
  • EndUser add and remove multiple Emails.
  • Added update profile feature in SDK.
  • Significantly improved code performance.
  • Reduce number of library from SDK.
  • Added phonenuber and username login.
  • By default the connection timeout (the time it takes to connect to a server) is 10000, and the socket timeout (the time it takes to receive data) is 60000.

Version 2.5.3

Released on January 12, 2017

Enhancements
  • Significantly improved code performance.
Bug Fixes
  • Updated SDK to Fetch Custom Fields.

Version 2.5.1

Released on June 20, 2016

Enhancements
  • Custom object APIs have been newly added
  • Wrapper methods for latest LoginRadius APIs have been added in Account API and User API
  • Significantly improved code performance.
API breaking changes
  • This is a revamp of the previous SDK. Most of the classes are re-written for providing ease of implementation and to cover all of the existing
  • There are breaking changes in user-create/user-register and user-update apis
Bug Fixes
  • User create/update and User register can now be used to update custom fields
  • Issue with the method UserEmailAvailabilty is fixed and the method returns isExist=true
  • Issue with Token validate and invalidate methods is fixed and these methods return expected results.