From 78180e7daa3626647dbc45e192e5a4ee0639bc2a Mon Sep 17 00:00:00 2001 From: Cassius Pacheco Date: Thu, 20 Oct 2022 16:37:00 +1100 Subject: [PATCH] build: bump SDK version to 0.4.0 ### Changed - (Breaking): rename ImmutableXCore to ImmutableX This follows the new spec for the core SDKs that will come to swift shortly. - (Breaking): replace ropsten environment for sandbox Ropsten has been deprecated and won't work anymore. Sandbox is the preferred testing environment. ### Fixed - re-include macos as a Cocoapods target The Core SDK is generic enough that it should work on macOS. It had accidentally been removed on 0.3.1. --- CHANGELOG.md | 15 +++++++++++++++ ImmutableXCore.podspec | 4 ++-- README.md | 2 +- Sources/ImmutableXCore/ImmutableX.swift | 2 +- Tests/ImmutableXCoreTests/ImmutableXTests.swift | 2 +- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d9a07c..714ae45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,21 @@ for now removed features. for any bug fixes. +## [0.4.0] - 2022-10-21 + +### Changed + +- (Breaking): rename ImmutableXCore to ImmutableX +This follows the new spec for the core SDKs that will come to swift shortly. + +- (Breaking): replace ropsten environment for sandbox +Ropsten has been deprecated and won't work anymore. Sandbox is the preferred testing environment. + +### Fixed + +- re-include macos as a Cocoapods target +The Core SDK is generic enough that it should work on macOS. It had accidentally been removed on 0.3.1. + ## [0.3.1] - 2022-10-19 ### Removed diff --git a/ImmutableXCore.podspec b/ImmutableXCore.podspec index 4e081d7..b1446d6 100644 --- a/ImmutableXCore.podspec +++ b/ImmutableXCore.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'ImmutableXCore' - spec.version = '0.3.1' + spec.version = '0.4.0' spec.summary = 'The Immutable X Core SDK Swift for applications written on the Immutable X platform.' spec.description = <<-DESC @@ -12,7 +12,7 @@ Pod::Spec.new do |spec| spec.license = { :type => 'Apache License 2.0', :file => 'LICENSE' } spec.author = { 'Immutable' => 'opensource@immutable.com'} - spec.source = { :git => 'https://github.com/immutable/imx-core-sdk-swift.git', :tag => "v0.3.1" } + spec.source = { :git => 'https://github.com/immutable/imx-core-sdk-swift.git', :tag => "v0.4.0" } spec.source_files = 'Sources/**/*.swift' spec.swift_version = '5.7' diff --git a/README.md b/README.md index 5adc908..4b916fc 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ In your `Package.swift`: ```swift dependencies: [ - .package(url: "https://github.com/immutable/imx-core-sdk-swift.git", from: "0.3.1") + .package(url: "https://github.com/immutable/imx-core-sdk-swift.git", from: "0.4.0") ] ``` diff --git a/Sources/ImmutableXCore/ImmutableX.swift b/Sources/ImmutableXCore/ImmutableX.swift index 1e50ca4..c4721a9 100644 --- a/Sources/ImmutableXCore/ImmutableX.swift +++ b/Sources/ImmutableXCore/ImmutableX.swift @@ -27,7 +27,7 @@ public struct ImmutableX { public var logLevel: ImmutableXHTTPLoggingLevel /// Returns the version of the sdk - internal var sdkVersion: String = "0.3.1" + internal var sdkVersion: String = "0.4.0" private let buyWorkflow: BuyWorkflow.Type private let sellWorkflow: SellWorkflow.Type diff --git a/Tests/ImmutableXCoreTests/ImmutableXTests.swift b/Tests/ImmutableXCoreTests/ImmutableXTests.swift index cc8f90e..9404eb3 100644 --- a/Tests/ImmutableXCoreTests/ImmutableXTests.swift +++ b/Tests/ImmutableXCoreTests/ImmutableXTests.swift @@ -47,7 +47,7 @@ final class ImmutableXTests: XCTestCase { } func testSdkVersion() { - XCTAssertEqual(ImmutableX.shared.sdkVersion, "0.3.1") + XCTAssertEqual(ImmutableX.shared.sdkVersion, "0.4.0") } func testInitialize() {