Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
build: bump SDK version to 0.4.0
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
CassiusPacheco committed Oct 20, 2022
1 parent 5fcc365 commit 78180e7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ImmutableXCore.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -12,7 +12,7 @@ Pod::Spec.new do |spec|
spec.license = { :type => 'Apache License 2.0', :file => 'LICENSE' }
spec.author = { 'Immutable' => '[email protected]'}

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'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
]
```

Expand Down
2 changes: 1 addition & 1 deletion Sources/ImmutableXCore/ImmutableX.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Tests/ImmutableXCoreTests/ImmutableXTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 78180e7

Please sign in to comment.