| 1 |
# CHANGELOG |
| 2 |
|
| 3 |
- 0.13.0.0 (2023-12-30) |
| 4 |
* **BREAKING**: Remove `serverRequirePong` option in favor of the new |
| 5 |
implementation. |
| 6 |
* **BREAKING**: Client: Rejecting request raises |
| 7 |
`RequestRejected RequestHead ResponseHead` |
| 8 |
* Timeout initial socket connection after 30s. |
| 9 |
* If the socket is closed unexpectedly, raise `ConnectionClosed`. |
| 10 |
* Added a way to manually send a Pong message. |
| 11 |
* `runServer` now cleans up threads correctly. |
| 12 |
* Remove redundant bytestring-builder dependency. |
| 13 |
* Introduce `Network.WebSockets.Connection.PingPong` to |
| 14 |
handle ping pong for any Connection, be it Client or Server. |
| 15 |
* Bump `text `dependency upper bound to 2.2 |
| 16 |
* Bump `random `dependency lower bound to 1.0.1 |
| 17 |
|
| 18 |
- 0.12.7.3 (2021-10-26) |
| 19 |
* Bump `attoparsec` dependency upper bound to 0.15 |
| 20 |
|
| 21 |
- 0.12.7.2 (2020-12-07) |
| 22 |
* Bump `QuickCheck` dependency upper bound to 2.15 |
| 23 |
* Bump `base64-bytestring` dependency upper bound to 1.3 |
| 24 |
* Bump `bytestring` dependency upper bound to 0.12 |
| 25 |
* Bump `random` dependency upper bound to 1.3 |
| 26 |
|
| 27 |
- 0.12.7.1 (2020-05-03) |
| 28 |
* Bump `base64-bytestring` dependency upper bound to 1.2 |
| 29 |
|
| 30 |
- 0.12.7.0 (2019-12-31) |
| 31 |
* Bump `base` lower bound to 4.8, this drops support for GHC 7.6 and 7.8 |
| 32 |
* Add a new `runServerWithOptions` that can be extended in a more |
| 33 |
future-compatible way |
| 34 |
* Add a connection killer setting in `runServerWithOptions` |
| 35 |
* Fix an unsafe read issue in `decodeResponseHead` |
| 36 |
|
| 37 |
- 0.12.6.1 (2019-10-29) |
| 38 |
* Bump `network` dependency to 3.1 |
| 39 |
|
| 40 |
- 0.12.6.0 (2019-10-28) |
| 41 |
* Expose a lower-level API to construct client connections (by Philipp |
| 42 |
Balzarek) |
| 43 |
* Close underlying stream only on synchronous exceptions, not asynchronous |
| 44 |
exceptions (by kamoii) |
| 45 |
* Add a `withPingThread` and lower-level `pingThread` to replace |
| 46 |
`forkPingThread` |
| 47 |
* Bump `QuickCheck` dependency to 2.13 |
| 48 |
|
| 49 |
- 0.12.5.3 (2019-01-31) |
| 50 |
* Bump `network` dependency to 3.0 |
| 51 |
|
| 52 |
- 0.12.5.2 (2018-09-25) |
| 53 |
* Bump `containers` dependency to 0.6 |
| 54 |
* Bump `network` dependency to 2.8 |
| 55 |
* Bump `QuickCheck` dependency to 2.12 |
| 56 |
* Bump `binary` dependency to 0.10 |
| 57 |
|
| 58 |
- 0.12.5.1 (2018-06-12) |
| 59 |
* Fix build with GHC 7.6 and 7.8 |
| 60 |
|
| 61 |
- 0.12.5.0 (2018-06-01) |
| 62 |
* Add `newClientConnection` (by Renzo Carbonara) |
| 63 |
|
| 64 |
- 0.12.4.1 (2018-05-11) |
| 65 |
* Bump `network` dependency to 2.7 |
| 66 |
|
| 67 |
- 0.12.4.0 (2018-03-13) |
| 68 |
* Remove `blaze-builder` dependency |
| 69 |
* Bump `streaming-commons` dependency to 0.2 |
| 70 |
* Bump `QuickCheck` dependency to 2.11 |
| 71 |
* Fix compatibility with old GHC versions |
| 72 |
* Re-export more functions from `Network.WebSockets` |
| 73 |
- `sendDataMessages` |
| 74 |
- `sendBinaryDatas` |
| 75 |
- `sendCloseCode` |
| 76 |
* Don't crash when sending the empty list of messages |
| 77 |
* Add `SemiGroup` instance for `SizeLimit` |
| 78 |
|
| 79 |
- 0.12.3.1 (2018-01-10) |
| 80 |
* Bump CHANGELOG with IPv6 warning |
| 81 |
* Run all autobahn tests during CI |
| 82 |
|
| 83 |
- 0.12.3.0 (2018-01-02) |
| 84 |
* Fix error thrown from runClient functions |
| 85 |
* Bump `QuickCheck` dependency to 2.10 |
| 86 |
* Bump `entropy` dependency to 0.4 |
| 87 |
* Bump `binary` dependency to 0.10 |
| 88 |
|
| 89 |
- 0.12.2.0 (2017-07-28) |
| 90 |
* Don't use LambdaCase, we want to support older GHC versions |
| 91 |
|
| 92 |
- 0.12.1.0 (2017-07-22) |
| 93 |
* Fix Monoid import on older base versions |
| 94 |
* Increase lower bound on `binary` to 0.8.1 (by Jonathan Daugherty) |
| 95 |
|
| 96 |
- 0.12.0.0 |
| 97 |
* Add limit options for frame and message size to prevent against (D)DoS |
| 98 |
attacks |
| 99 |
* Fix space leak in encodeMessages (by Roman Borschel) |
| 100 |
* Stricter frame/encoding decoding for ping/close frames (by Lars Petersen) |
| 101 |
|
| 102 |
- 0.11.2.0 |
| 103 |
* Fix 0-width reason phrase parsing |
| 104 |
* Change receive buffer from 1024 to 8192 bytes (by Ondrej Palkovsky) |
| 105 |
* Implement fast masking in C (by Ondrej Palkovsky and myself) |
| 106 |
* Some haddock improvements |
| 107 |
* Bump `HUnit` dependency to 1.6 |
| 108 |
|
| 109 |
- 0.11.1.0 |
| 110 |
* Fix compilation issue with GHC-7.8 |
| 111 |
|
| 112 |
- 0.11.0.0 |
| 113 |
* Support for IPv6 in the built-in server, client and tests (by agentm). |
| 114 |
This can cause issues on backends that do not enable IPv6. For more |
| 115 |
information and a workaround, see this issue: |
| 116 |
<https://github.com/jaspervdj/websockets/issues/140#issuecomment-296732964>. |
| 117 |
* Faster masking (by Dmitry Ivanov) |
| 118 |
* Support for `permessage-deflate` extension (by Marcin Tolysz) |
| 119 |
* Strict unicode checking and proper extension mechanism |
| 120 |
|
| 121 |
- 0.10.0.0 |
| 122 |
* Fix client specifying empty path |
| 123 |
* Allow sending collections of messages (by David Turner) |
| 124 |
* Allow sending extra headers when accepting request (by James Deery) |
| 125 |
|
| 126 |
- 0.9.8.2 |
| 127 |
* Bump `HUnit` dependency to 1.5 |
| 128 |
|
| 129 |
- 0.9.8.1 |
| 130 |
* Restore state of the package to version `0.9.7.0` |
| 131 |
|
| 132 |
- 0.9.8.0 |
| 133 |
* This release contained a feature which broke backwards-compatibility. |
| 134 |
Hence, it was marked as broken a new release containing the changes will |
| 135 |
be uploaded as `0.10.0.0`. |
| 136 |
|
| 137 |
- 0.9.7.0 |
| 138 |
* Fix issue trying to kill builtin server |
| 139 |
* Bump `QuickCheck` dependency to 2.9 |
| 140 |
|
| 141 |
- 0.9.6.2 |
| 142 |
* Bump `binary` dependency for GHC 8.0 compatibility |
| 143 |
|
| 144 |
- 0.9.6.1 |
| 145 |
* Fix issue with fragmentation test |
| 146 |
|
| 147 |
- 0.9.6.0 |
| 148 |
* Optionally include example server in the cabal file |
| 149 |
* Send correct port from client |
| 150 |
* Set `TCP_NO_DELAY` in builtin server |
| 151 |
* Bump `HUnit` dependency |
| 152 |
* Drop dependency on `mtl` |
| 153 |
* Fix `QuickCheck` dependency lower bound |
| 154 |
|
| 155 |
- 0.9.5.0 |
| 156 |
* Bugfixes wrt closing sockets and streams |
| 157 |
|
| 158 |
- 0.9.4.0 |
| 159 |
* Add `makePendingConnectionFromStream` function |
| 160 |
* Bump `attoparsec` dependency |
| 161 |
|
| 162 |
- 0.9.3.1 |
| 163 |
* Bump `QuickCheck` dependency |
| 164 |
|
| 165 |
- 0.9.3.0 |
| 166 |
* Use a shared closed state for connection input/output stream |
| 167 |
* Make sure `runServer` doesn't leak any sockets |
| 168 |
* Bump `blaze-builder` dependency |
| 169 |
|
| 170 |
- 0.9.2.2 |
| 171 |
* Bump `random` dependency |
| 172 |
|
| 173 |
- 0.9.2.1 |
| 174 |
* Fix exception handling issues |
| 175 |
|
| 176 |
- 0.9.2.0 |
| 177 |
* Make sending and receiving messages thread-safe by default |
| 178 |
* Export `forkPingThread` |
| 179 |
* Fix Windows `withSocketsDo` issue |
| 180 |
|
| 181 |
- 0.9.1.0 |
| 182 |
* Don't use Network.ByteString.Lazy.sendAll on Windows |
| 183 |
|
| 184 |
- 0.9.0.1 |
| 185 |
* Allow compilation with older bytestring versions |
| 186 |
* Bump text dependency |
| 187 |
|
| 188 |
- 0.9.0.0 |
| 189 |
* Bump various dependencies |
| 190 |
* Remove io-streams dependency |
| 191 |
* New close mechanism |
| 192 |
* More flexible API interface |
| 193 |
|
| 194 |
- 0.8.2.6 |
| 195 |
* Bump QuickCheck dependency |
| 196 |
|
| 197 |
- 0.8.2.5 |
| 198 |
* Bump attoparsec dependency |
| 199 |
|
| 200 |
- 0.8.2.4 |
| 201 |
* Bump entropy dependency |
| 202 |
|
| 203 |
- 0.8.2.3 |
| 204 |
* Bump mtl dependency |
| 205 |
|
| 206 |
- 0.8.2.2 |
| 207 |
* Bump network dependency |
| 208 |
|
| 209 |
- 0.8.2.1 |
| 210 |
* Add benchmark with many open connections |
| 211 |
* Update example to use gender-neutral language |
| 212 |
|
| 213 |
- 0.8.2.0 |
| 214 |
* Fix possible leaking of client sockets when connection times out |