All notable changes to this project will be documented in this file.
5.5.1 - 2020-02-27
- Use standard parameter names from PKCE for OAuth 2.0 to replace the original One-Time-Password mechanism. #133
- An issue that some symbols cannot be found in XCFramework binary for Objective-C wrapper. #140
- Fix several dangling pointer warning for Xcode 11.4. #141
- Improve security for
stateandnoncegenerating to use a better random generator from Security.framework. #137
5.5.0 - 2019-12-17
- Add the
displayNameOverriddenanddisplayNameOriginalproperties toUserwhen getting friends list. Currently theUser.displayNameis a combination ofdisplayNameOverriddenanddisplayNameOriginal. It is a preferred version of user's name for displaying and searching. #125 - Support for
xcframework. Now you can download binary format of LINE SDK and LINE SDK Objective-C wrapper asxcframework, as well as the related dSYMs and symbol map files from the release page. To implement this feature, we modified a bit for the exposed Objective-C wrapper module, to make sure the binary compatibility not broken in future releases. #126
- A missing localization for pt-BR when searching in sharing list panel. #127
5.4.0 - 2019-11-29
- Sharing UI support. Now you can request
.oneTimeSharepermission and present aShareViewControllerto let users select messages and share these messages to their friends or groups. LINE SDK provides a pre-defined UI for sharing messages. You can also build your own UI based on public methods in the SDK. #79 - Properties in
FriendandGroupto retrieve the "large" version and "small" version of a profile image. #30 - A new
relationsort option to get graph list sorted by relationship between current user and friends. #30 - Support for macCatalyst as a build target. #123
- Support for building against Swift Package Manager. Currently SPM does not support adding resource, so all UI related parts (such as
LoginButtonandShareViewController) are eliminated from SPM build. #70 - Replace
LoginManagerOptionswithLoginManager.Parametersfor flexible parameter configuration while login. #119 - Provide a way to set customized
IDTokenNonceas thenoncevalue in ID Token. #119 - Now message payload setting provides more public setter. You can create a customized message payload much easier. #90
APIErrorDetailis now public, so you can get the detail error information when a.invalidHTTPStatusAPIErrorerror happens. #115- Dark mode is supported now for iOS 13 or later. Although all parts of LINE SDK is compatible with the dark mode, the login page and consent pages are not yet. They will be prepared eventually without a native SDK release. #105
- Now
resource_bundlesis used instead ofresourceswhen integrated by CocoaPods. #77
LoginManagerOptionsand the related login method is deprecated. UseLoginManager.Parametersinstead. #119preferredWebPageLanguageis deprecated. Use the property with the same name inLoginManager.Parametersinstead. #119- The general error type (
Error) version of error handling delegate method inLoginButtonDelegateis deprecated. Use the specificLineSDKErrorversion instead. #120 - All token related APIs in
APIare now deprecated. They are moved toAPI.Authto distinguish from the normal public APIs. Not likeAPI, methods inAPI.Authwill not try to automatically refresh your access token. #118
5.3.1 - 2019-10-25
- Web page preference language for Japanese now works properly with correct language code. #113
5.3.0 - 2019-09-17
- Add
IDTokenNoncetoLoginResult. This value can be used against the ID token verification API as a parameter.
- Some improvement in documentation spelling and grammar.
5.2.4 - 2019-08-23
- Source application validation is removed. Login with LINE app now works correctly on iOS 13. #97
5.2.3 - 2019-08-01
- An issue that the stored ID Token will be overwritten when a refreshed token is issued. #88
5.2.2 - 2019-07-29
- When verifying token, get the provider metadata
issuerfrom open ID discovery document, instead of a fixed value. #86
5.2.1 - 2019-07-19
- Align the behavior of
LineSDKLoginButton(wrapper class) to LoginButton, when user click login, will only return if login process is ongoing. #78
5.2.0 - 2019-06-12
- Support for customizing the language used when login through web page. Set
preferredWebPageLanguageofLoginManagerto apply the required language. The default behavior (using the system language on user's device) is not changed. #61 - Support for accessing AMR (Authentication Methods References) value in ID Token. #63
- Now you can use either Swift 4.2 or Swift 5.0 when integrating LINE SDK with CocoaPods. #60
- The
refreshTokeninAccessTokenis now marked asprivate. We do not encourage you to use or store the refresh token yourself. Instead, always use the refresh token API from client when you want to get a new access token.
5.1.2 - 2019-04-15
- Logging out a user now revokes refresh token and its corresponding access tokens, instead of the current access token only. #45
5.1.1 - 2019-03-28
- Allow additional application bundle ID of LINE apps to grant authorization code.
5.1.0 - 2019-02-26
- Some model types also support
Encodablenow for easier serialization. - Support JSON conversion for Objective-C model wrapper classes for future features.
- Now you can get the raw ID Token value for server verification purpose.
- Add compatibility for Swift 5.0 and Xcode 10.2.
5.0.3 - 2019-01-17
- Build LineSDKObjC with Carthage now works properly with all targets included. #13
5.0.2 - 2018-12-18
- A compiling crash when using Swift 5.0 tool chain to compile LINE SDK. #6, SR-9375, Swift #21296
- An internal improvement on JWK handling.
- Improvement on documentation spelling and grammar. #9
5.0.1 - 2018-11-29
- Improve ID Token signature verifying code to use latest Security framework API. #4
- Hide an implementation detail in the sample app. #2
5.0.0 - 2018-11-20
Initial release of LINE SDK Swift. Now the LINE SDK is an open source project.
LINE SDK version 5 is not compatible with version 4.x. To upgrade to version 5, check the Migration Guide.
- Support LINE Login v2.1, which provide a fine-tuned authorization permissions and more safety authorizing flow. See LINE Login v2.1 for more about it.
Warning: Tokens from LINE Login v2.0 will be invalidated and your users will be logged out once you upgrade your SDK integration from version 4.x or earlier.
- ID Token with ECDSA verification based on OpenID protocol. It provides a secure way to verify user information.
- You can use a predefined login button to let your users login now. The button follows LINE Login button design guideline. It provides a quick way to integrate LINE Login to your app. See
LoginButtonfor more.
- A potential issue which causes authorizing from LINE app may fail on devices with iOS 12.
- The automatically token refreshing should now work properly when receives a token expiring error from LINE Login Server.