Skip to content

Commit

Permalink
Prepare 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrees committed Dec 6, 2021
1 parent 08ebb24 commit 8822319
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format
This product uses [Semantic Versioning](https://semver.org/).


## 4.0.0
* Updates RxSwift version to 6.x

## 3.0.0
This ia a **BREAKING** release. The following has changed to properly matched the phoenix.js library
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ Podfile. Keep in mind that in order to use Swift Phoenix Client, the minimum iOS
target must be '9.0'

```RUBY
pod "SwiftPhoenixClient", '~> 3.0'
pod "SwiftPhoenixClient", '~> 4.0'

# If using RxSwift extensions
pod "SwiftPhoenixClient/RxSwift", '~> 3.0'
pod "SwiftPhoenixClient/RxSwift", '~> 4.0'

# If targeting iOS < 13
pod "SwiftPhoenixClient/Starscream", '~> 3.0'
pod "SwiftPhoenixClient/Starscream", '~> 4.0'
```

and running `pod install`. From there you will need to add `import SwiftPhoenixClient` in any class you want it to be used.
Expand All @@ -98,7 +98,7 @@ If you use Carthage to manage your dependencies, simply add
SwiftPhoenixClient to your `Cartfile`:

```
github "davidstump/SwiftPhoenixClient" ~> 3.0
github "davidstump/SwiftPhoenixClient" ~> 4.0
```

Then run `carthage update`.
Expand All @@ -115,7 +115,7 @@ _Note: Instructions below are for using **SwiftPM** without the Xcode UI. It's t
To integrate using Apple's Swift package manager, without Xcode integration, add the following as a dependency to your `Package.swift`:

```swift
.package(url: "https://github.com/davidstump/SwiftPhoenixClient.git", .upToNextMajor(from: "3.0.0"))
.package(url: "https://github.com/davidstump/SwiftPhoenixClient.git", .upToNextMajor(from: "4.0.0"))
```

and then specify `"SwiftPhoenixClient"` as a dependency of the Target in which you wish to use SwiftPhoenixClient.
Expand All @@ -134,7 +134,7 @@ let package = Package(
targets: ["MyPackage"]),
],
dependencies: [
.package(url: "https://github.com/davidstump/SwiftPhoenixClient.git", .upToNextMajor(from: "3.0.0"))
.package(url: "https://github.com/davidstump/SwiftPhoenixClient.git", .upToNextMajor(from: "4.0.0"))
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion SwiftPhoenixClient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = "SwiftPhoenixClient"
s.version = "3.0.0"
s.version = "4.0.0"
s.summary = "Connect your Phoenix and iOS applications through WebSockets!"
s.swift_version = "5.0"
s.description = <<-EOS
Expand Down

0 comments on commit 8822319

Please sign in to comment.