Skip to content

Commit

Permalink
release(gateway): bump to v0.3.0
Browse files Browse the repository at this point in the history
Version 0.3 has been released with the primary intent to upgrade to
Tokio 1.0.

Upgrade Path

When using `shard::Sink` pass in the new `shard::raw_message::Message`
type instead of `tungstenite::Message`. This is mostly equivalent to
`tungstenite`'s message but prevents exposing it directly, which avoids
API breakage when upgrading internal websocket dependencies.

Changes

Hide the `tungstenite` dependency from the public API by creating an
equivalent to a websocket message that can be constructed and passed in
([#667] - [@vivian]).

Upgrade `tokio` from v0.2 to v1 ([#664] - [@vivian]).

[@vivian]: https://github.com/vivian
[#667]: #667
[#664]: #664

Signed-off-by: Vivian Hellyer <vivian@hellyer.dev>
  • Loading branch information
zeylahellyer committed Jan 8, 2021
1 parent b80a77d commit 15657f1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

Changelog for `twilight-gateway`.

## [0.3.0] - 2021-01-08

Version 0.3 has been released with the primary intent to upgrade to Tokio 1.0.

### Upgrade Path

When using `shard::Sink` pass in the new `shard::raw_message::Message` type
instead of `tungstenite::Message`. This is mostly equivalent to `tungstenite`'s
message but prevents exposing it directly, which avoids API breakage when
upgrading internal websocket dependencies.

### Changes

Hide the `tungstenite` dependency from the public API by creating an equivalent
to a websocket message that can be constructed and passed in
([#667] - [@vivian]).

Upgrade `tokio` from v0.2 to v1 ([#664] - [@vivian]).

[#667]: https://github.com/twilight-rs/twilight/pull/667
[#664]: https://github.com/twilight-rs/twilight/pull/664

## [0.2.7] - 2021-01-05

### Enhancements
Expand Down Expand Up @@ -191,6 +213,7 @@ Initial release.
[#515]: https://github.com/twilight-rs/twilight/pull/515
[#512]: https://github.com/twilight-rs/twilight/pull/512

[0.3.0]: https://github.com/twilight-rs/twilight/releases/tag/gateway-v0.3.0
[0.2.7]: https://github.com/twilight-rs/twilight/releases/tag/gateway-v0.2.7
[0.2.6]: https://github.com/twilight-rs/twilight/releases/tag/gateway-v0.2.6
[0.2.5]: https://github.com/twilight-rs/twilight/releases/tag/gateway-v0.2.5
Expand Down
2 changes: 1 addition & 1 deletion gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "twilight-gateway"
publish = false
readme = "README.md"
repository = "https://github.com/twilight-rs/twilight.git"
version = "0.2.7"
version = "0.3.0"

[dependencies]
async-tungstenite = { default-features = false, features = ["tokio-runtime"], version = "0.11" }
Expand Down

0 comments on commit 15657f1

Please # to comment.