Skip to content

Latest commit

 

History

History
174 lines (106 loc) · 10 KB

CHANGELOG.md

File metadata and controls

174 lines (106 loc) · 10 KB

Change Log

All notable changes to this project will be documented in this file.

[Unreleased]

5.5.0 - 2019-12-17

Added

  • Add the displayNameOverridden and displayNameOriginal properties to User when getting friends list. Currently the User.displayName is a combination of displayNameOverridden and displayNameOriginal. 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 as xcframework, 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

Fixed

  • A missing localization for pt-BR when searching in sharing list panel. #127

5.4.0 - 2019-11-29

Added

  • Sharing UI support. Now you can request .oneTimeShare permission and present a ShareViewController to 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 Friend and Group to retrieve the "large" version and "small" version of a profile image. #30
  • A new relation sort 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 LoginButton and ShareViewController) are eliminated from SPM build. #70
  • Replace LoginManagerOptions with LoginManager.Parameters for flexible parameter configuration while login. #119
  • Provide a way to set customized IDTokenNonce as the nonce value in ID Token. #119
  • Now message payload setting provides more public setter. You can create a customized message payload much easier. #90
  • APIErrorDetail is now public, so you can get the detail error information when a .invalidHTTPStatusAPIError error 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

Fixed

  • Now resource_bundles is used instead of resources when integrated by CocoaPods. #77

Deprecated

  • LoginManagerOptions and the related login method is deprecated. Use LoginManager.Parameters instead. #119
  • preferredWebPageLanguage is deprecated. Use the property with the same name in LoginManager.Parameters instead. #119
  • The general error type (Error) version of error handling delegate method in LoginButtonDelegate is deprecated. Use the specific LineSDKError version instead. #120
  • All token related APIs in API are now deprecated. They are moved to API.Auth to distinguish from the normal public APIs. Not like API, methods in API.Auth will not try to automatically refresh your access token. #118

5.3.1 - 2019-10-25

Fixed

  • Web page preference language for Japanese now works properly with correct language code. #113

5.3.0 - 2019-09-17

Added

  • Add IDTokenNonce to LoginResult. This value can be used against the ID token verification API as a parameter.

Fixed

  • Some improvement in documentation spelling and grammar.

5.2.4 - 2019-08-23

Fixed

  • Source application validation is removed. Login with LINE app now works correctly on iOS 13. #97

5.2.3 - 2019-08-01

Fixed

  • An issue that the stored ID Token will be overwritten when a refreshed token is issued. #88

5.2.2 - 2019-07-29

Fixed

  • When verifying token, get the provider metadata issuer from open ID discovery document, instead of a fixed value. #86

5.2.1 - 2019-07-19

Fixed

  • 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

Added

  • Support for customizing the language used when login through web page. Set preferredWebPageLanguage of LoginManager to 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

Fixed

  • The refreshToken in AccessToken is now marked as private. 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

Fixed

  • 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

Fixed

  • Allow additional application bundle ID of LINE apps to grant authorization code.

5.1.0 - 2019-02-26

Added

  • Some model types also support Encodable now 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

Fixed

  • Build LineSDKObjC with Carthage now works properly with all targets included. #13

5.0.2 - 2018-12-18

Fixed

  • 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

Fixed

  • 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.

Added

  • 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 LoginButton for more.

Fixed

  • 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.