Skip to content

Commit

Permalink
Release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrees committed Jun 12, 2018
1 parent 4509f45 commit 4ad4426
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 12 deletions.
41 changes: 30 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,44 @@ This product uses [Semantic Versioning](https://semver.org/).


## [Unreleased]
* Update project and dependencies to Swift 4.1
* Updated all callbacks to receive a `Message` object. The `Payload` can be accessed using `message.payload`



## [0.9.0]
Continue to improve the API and behavior of the library to behave similar to the JS library. This release introduces
some breaking changes in the API that will require updates to your code. See the [usage guide] for help.

### Updated
* Swift 4.1

### Changed
* All callbacks now receive a `Message` object. The `Payload` can be accessed using `message.payload`

### Added
* `channel.join()` can now take optional params to override the ones set while creating the Channel
* Implemented timeouts
* Impletemted a rejoin timer which can be configured to attempt to rejoin given a function. Defaults to 1s, 2s, 5s, 10s and then retries every 10s
* Improved API to closer match the JS library's API
* Updated Socket and Channel `on` callbacks to be able to hold more than just a single callback
* Timeouts when sending messages
* Rejoin timer which can be configured to attempt to rejoin given a function. Defaults to 1s, 2s, 5s, 10s and then retries every 10s
* Socket and Channel `on` callbacks are able to hold more than just a single callback


Thanks to @murphb52 and @ALucasVanDongen for helping with some of the development and testing of this release!


## [0.8.1]
* Bugfix when opening a channel, initial params are not sent through

### Fixed
* Initial params are not sent through when opening a channel

## [0.8.0]
* Updated Starscream to 3.0.4
* Update officially to Swift 4
* Update library to mirror [Phoenix.js](https://hexdocs.pm/phoenix/js/) more closely

### Updated
* Starscream to 3.0.4
* Swift 4
* Mirror [Phoenix.js](https://hexdocs.pm/phoenix/js/) more closely


[Unreleased]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.8.1...HEAD
[Unreleased]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.9.0...HEAD
[0.8.1]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.8.1...0.9.0
[0.8.1]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.8.0...0.8.1
[0.8.0]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.6.0...0.8.0
[migration guide]: https://github.com/davidstump/SwiftPhoenixClient/wiki/Usage-Guide
3 changes: 2 additions & 1 deletion SwiftPhoenixClient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

Pod::Spec.new do |s|
s.name = "SwiftPhoenixClient"
s.version = "0.8.1"
s.version = "0.9.0"
s.summary = "Connect your Phoenix and iOS applications through WebSockets!"
s.swift_version = "4.1"

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
Expand Down

0 comments on commit 4ad4426

Please sign in to comment.