Skip to content

Commit 6a6b6c6

Browse files
committed
Prepare version 2.0.0
1 parent 44f3fdb commit 6a6b6c6

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

CHANGELOG.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# CHANGELOG
2+
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/)
3+
4+
This product uses [Semantic Versioning](https://semver.org/).
5+
6+
## [Unreleased]
7+
8+
## 2.0.0
9+
* Restructured project
10+
* Added support for URLSession's Websocket Task
11+
* Split Starscream and RxSwift into optional modules
12+
13+
## [1.3.0]
14+
* Fixed Cartfile declaration of Starscream
15+
* Added `HeartbeatTimer` class which allows running Timers to run on their own thread
16+
* Made `Socket` init public to allow customization of the transport methhod
17+
18+
## [1.2.1]
19+
* Pinned back Starscream version to fix Carthage build issue
20+
21+
## [1.2.0](https://github.com/davidstump/SwiftPhoenixClient/compare/1.1.2...1.2.0)
22+
* [#153](https://github.com/davidstump/SwiftPhoenixClient/pull/153): Added ability to pass a closure when initializing a `Socket` to dynamically change `params` when reconnecting
23+
* Fixed Package.swift and updated it to use latest Starscream
24+
25+
## [1.1.2](https://github.com/davidstump/SwiftPhoenixClient/compare/1.1.1...1.1.2)
26+
* [#151](https://github.com/davidstump/SwiftPhoenixClient/pull/151): Made isJoined, isJoining, etc methods on Channel public
27+
28+
## [1.1.1](https://github.com/davidstump/SwiftPhoenixClient/compare/1.1.0...1.1.1)
29+
* [#141](https://github.com/davidstump/SwiftPhoenixClient/pull/141): tvOS support
30+
* [#145](https://github.com/davidstump/SwiftPhoenixClient/pull/145): Refactored Socket reconnect strategy
31+
* [#146](https://github.com/davidstump/SwiftPhoenixClient/pull/146): Refactored Channel rejoin strategy
32+
33+
## [1.1.0]
34+
* Swift 5
35+
36+
## [1.0.1]
37+
* Fixed issue with Carthage installs
38+
39+
## [1.0.0]
40+
* Rewrite of large parts of the Socket and Channel classes
41+
* Optional API for automatic retain cycle handling
42+
* Presence support
43+
44+
## [0.9.3]
45+
46+
## Added
47+
* [#119](https://github.com/davidstump/SwiftPhoenixClient/pull/119): A working implementation of Presence
48+
49+
50+
## Changed
51+
* [#120](https://github.com/davidstump/SwiftPhoenixClient/pull/120): Xcode 10 and Swift 4.2
52+
53+
54+
55+
## [0.9.2]
56+
57+
## Fixed
58+
* [#111](https://github.com/davidstump/SwiftPhoenixClient/pull/111): Strong memory cycles between Socket, Channel and Timers
59+
* [#112](https://github.com/davidstump/SwiftPhoenixClient/pull/112): Leak when Socket disconnects and properly call `onClose()`
60+
* [#114](https://github.com/davidstump/SwiftPhoenixClient/pull/114): Carthage failing on builds and app store uploads
61+
62+
## Changed
63+
* [#116](https://github.com/davidstump/SwiftPhoenixClient/pull/116): A Channel's `topic` is now exposed as `public`
64+
65+
66+
## [0.9.1]
67+
68+
### Added
69+
* Added security configuration to the underlying WebSocket.
70+
71+
72+
## [0.9.0]
73+
Continue to improve the API and behavior of the library to behave similar to the JS library. This release introduces
74+
some breaking changes in the API that will require updates to your code. See the [usage guide] for help.
75+
76+
### Updated
77+
* Swift 4.1
78+
79+
### Changed
80+
* All callbacks now receive a `Message` object. The `Payload` can be accessed using `message.payload`
81+
82+
### Added
83+
* `channel.join()` can now take optional params to override the ones set while creating the Channel
84+
* Timeouts when sending messages
85+
* Rejoin timer which can be configured to attempt to rejoin given a function. Defaults to 1s, 2s, 5s, 10s and then retries every 10s
86+
* Socket and Channel `on` callbacks are able to hold more than just a single callback
87+
88+
89+
Thanks to @murphb52 and @ALucasVanDongen for helping with some of the development and testing of this release!
90+
91+
92+
## [0.8.1]
93+
94+
### Fixed
95+
* Initial params are not sent through when opening a channel
96+
97+
## [0.8.0]
98+
99+
### Updated
100+
* Starscream to 3.0.4
101+
* Swift 4
102+
* Mirror [Phoenix.js](https://hexdocs.pm/phoenix/js/) more closely
103+
104+
105+
[Unreleased]: https://github.com/davidstump/SwiftPhoenixClient/compare/1.3.0...HEAD
106+
[1.3.0]: https://github.com/davidstump/SwiftPhoenixClient/compare/1.2.1...1.3.0
107+
[1.2.1]: https://github.com/davidstump/SwiftPhoenixClient/compare/1.2.0...1.2.1
108+
[0.9.3]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.9.2...0.9.3
109+
[0.9.2]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.9.1...0.9.2
110+
[0.9.1]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.9.0...0.9.1
111+
[0.9.0]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.8.1...0.9.0
112+
[0.8.1]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.8.0...0.8.1
113+
[0.8.0]: https://github.com/davidstump/SwiftPhoenixClient/compare/0.6.0...0.8.0
114+
[migration guide]: https://github.com/davidstump/SwiftPhoenixClient/wiki/Usage-Guide

0 commit comments

Comments
 (0)