diff --git a/CHANGELOG.md b/CHANGELOG.md index 14791a74..4c649f12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## CHANGELOG +### 5.5.0 (2023-10-16) +**SDK** +- **Fix:** Fix character escaping issue in Universal bridge (`sendJsonToMiniApp`) +--- + ### 5.4.0 (2023-08-28) **SDK** - **Feature:** Added a new interface `downloadMiniApp(appId:versionId:completionHandler:)` to download Miniapp from platform in background if needed. diff --git a/MiniApp.podspec b/MiniApp.podspec index 5d11ebb5..590dd60a 100644 --- a/MiniApp.podspec +++ b/MiniApp.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |miniapp| miniapp.name = 'MiniApp' - miniapp.version = '5.4.0' + miniapp.version = '5.5.0' miniapp.authors = "Rakuten Ecosystem Mobile" miniapp.summary = "Rakuten's Mini App SDK" miniapp.description = "This open-source library allows you to integrate Mini App ecosystem into your iOS applications. Mini App SDK also facilitates communication between a mini app and the host app via a message bridge." diff --git a/Sources/Classes/core/MiniApp.swift b/Sources/Classes/core/MiniApp.swift index fe43d4da..71afb0aa 100644 --- a/Sources/Classes/core/MiniApp.swift +++ b/Sources/Classes/core/MiniApp.swift @@ -3,7 +3,7 @@ import UIKit /// Mini App Public API methods public class MiniApp: NSObject { - public static let version = "5.4.0" + public static let version = "5.5.0" private static let shared = MiniApp() private let realMiniApp = RealMiniApp() public static var MAOrientationLock: UIInterfaceOrientationMask = [] diff --git a/Tests/Unit/MiniAppScriptMessageHandlerTests.swift b/Tests/Unit/MiniAppScriptMessageHandlerTests.swift index a731f727..1b8e3135 100644 --- a/Tests/Unit/MiniAppScriptMessageHandlerTests.swift +++ b/Tests/Unit/MiniAppScriptMessageHandlerTests.swift @@ -1106,7 +1106,7 @@ class MiniAppScriptMessageHandlerTests: QuickSpec { return } let environmentInfo = ResponseDecoder.decode(decodeType: MAHostEnvironmentInfo.self, data: responseData) - expect(environmentInfo?.sdkVersion).toEventually(equal("5.4.0")) + expect(environmentInfo?.sdkVersion).toEventually(equal("5.5.0")) expect(environmentInfo?.hostVersion).toEventually(equal(Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String)) expect(environmentInfo?.hostLocale).toEventually(equal("en-US")) } diff --git a/USERGUIDE.md b/USERGUIDE.md index aad7c38b..09ce5b98 100644 --- a/USERGUIDE.md +++ b/USERGUIDE.md @@ -83,7 +83,7 @@ To integrate MiniApp SDK into your Xcode project using Swift Package Manager, ad ```ruby dependencies: [ - .package(url: "https://github.com/rakutentech/ios-miniapp.git", .upToNextMajor(from: "5.4.0")) + .package(url: "https://github.com/rakutentech/ios-miniapp.git", .upToNextMajor(from: "5.5.0")) ] ```