Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
* dev:
  Fix link to changelog in Readme
  • Loading branch information
najamelan committed Aug 2, 2019
2 parents 297b7dd + 67202a2 commit 7e0fe4c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
17 changes: 11 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Changelog

## 0.2 - 2019-08-02
## 0.2.1 - 2019-08-02

- **BREAKING CHANGE**: Fix: Correctly wake up tasks waiting for a next message if the connection gets closed externally.
This prevents these tasks from hanging indefinitely.
As a consequence, `WsStream::close` now returns a `Result`, taking into account that if the connection is already
closed, we don't have the `CloseEvent`. Instead a `WsErr` of kind `WsErrKind::ConnectionNotOpen` is returned.
- update to async_runtime 0.3
- Fix incorrect link to changelog in readme


## 0.2.0 - 2019-08-02

- **BREAKING CHANGE**: Fix: Correctly wake up tasks waiting for a next message if the connection gets closed externally.
This prevents these tasks from hanging indefinitely.
As a consequence, `WsStream::close` now returns a `Result`, taking into account that if the connection is already
closed, we don't have the `CloseEvent`. Instead a `WsErr` of kind `WsErrKind::ConnectionNotOpen` is returned.
- update to async_runtime 0.3
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ license = "Unlicense"
name = "ws_stream_wasm"
readme = "README.md"
repository = "https://github.com/najamelan/ws_stream_wasm"
version = "0.2.0"
version = "0.2.1"
2 changes: 1 addition & 1 deletion Cargo.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:

name : ws_stream_wasm
version : 0.2.0
version : 0.2.1
edition : '2018'
authors : [ Naja Melan <[email protected]> ]
description : A convenience library for using websockets in WASM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ With raw Cargo.toml

### Upgrade

Please check out the [changelog](https://github.com/najamelan/ws_wasm_stream/blob/master/CHANGELOG.md) when upgrading.
Please check out the [changelog](https://github.com/najamelan/ws_stream_wasm/blob/master/CHANGELOG.md) when upgrading.

### Dependencies

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
//!
//! ### Upgrade
//!
//! Please check out the [changelog](https://github.com/najamelan/ws_wasm_stream/blob/master/CHANGELOG.md) when upgrading.
//! Please check out the [changelog](https://github.com/najamelan/ws_stream_wasm/blob/master/CHANGELOG.md) when upgrading.
//!
//! ### Dependencies
//!
Expand Down

0 comments on commit 7e0fe4c

Please sign in to comment.