Skip to content

Commit

Permalink
release(http): bump to v0.6.2
Browse files Browse the repository at this point in the history
Additions

Add 6 new HTTP API error codes:

- 10049: Unknown stream
- 10050: Unknown premium server subscribe cooldown
- 10070: Unknown Guild Scheduled Event
- 10071: Unknown Guild Scheduled Event User
- 50095: This server is not available in your location
- 50097: This server needs monetization enabled in order to perform this
action

([twilight-rs#1094] - [@Erk-]).

Fixes

Fix `ResponseFuture` returning mismatched `RequestTimedOut` and
`RequestError` error type variants ([twilight-rs#1100] - [@vilgotf]).

Enhancements

Improve the performance of `Response::bytes` ([twilight-rs#1103] - [@vilgotf]).

Add `[#must_use]` to typed HTTP request builders
([twilight-rs#1099] - [@zeylahellyer]).

[@Erk-]: https://github.com/Erk-
[@vilgotf]: https://github.com/vilgotf
[@zeylahellyer]: https://github.com/zeylahellyer
[twilight-rs#1103]: twilight-rs#1103
[twilight-rs#1100]: twilight-rs#1100
[twilight-rs#1099]: twilight-rs#1099
[twilight-rs#1094]: twilight-rs#1094

Signed-off-by: Zeyla Hellyer <zeyla@hellyer.dev>
  • Loading branch information
zeylahellyer authored and 7596ff committed Aug 25, 2021
1 parent 56ee62d commit add0d21
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,37 @@

Changelog for `twilight-http`.

## [0.6.2] - 2021-08-18

### Additions

Add 6 new HTTP API error codes:

- 10049: Unknown stream
- 10050: Unknown premium server subscribe cooldown
- 10070: Unknown Guild Scheduled Event
- 10071: Unknown Guild Scheduled Event User
- 50095: This server is not available in your location
- 50097: This server needs monetization enabled in order to perform this action

([#1094] - [@Erk-]).

### Fixes

Fix `ResponseFuture` returning mismatched `RequestTimedOut` and `RequestError`
error type variants ([#1100] - [@vilgotf]).

### Enhancements

Improve the performance of `Response::bytes` ([#1103] - [@vilgotf]).

Add `[#must_use]` to typed HTTP request builders ([#1099] - [@zeylahellyer]).

[#1103]: https://github.com/twilight-rs/twilight/pull/1103
[#1100]: https://github.com/twilight-rs/twilight/pull/1100
[#1099]: https://github.com/twilight-rs/twilight/pull/1099
[#1094]: https://github.com/twilight-rs/twilight/pull/1094

## [0.6.1] - 2021-08-01

### Additions
Expand Down Expand Up @@ -1145,6 +1176,7 @@ Initial release.

[0.2.0-beta.1:app integrations]: https://github.com/discord/discord-api-docs/commit/a926694e2f8605848bda6b57d21c8817559e5cec

[0.6.2]: https://github.com/twilight-rs/twilight/releases/tag/http-0.6.2
[0.5.7]: https://github.com/twilight-rs/twilight/releases/tag/http-0.5.7
[0.5.6]: https://github.com/twilight-rs/twilight/releases/tag/http-0.5.6
[0.5.5]: https://github.com/twilight-rs/twilight/releases/tag/http-0.5.5
Expand Down
2 changes: 1 addition & 1 deletion http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "twilight-http"
publish = false
readme = "README.md"
repository = "https://github.com/twilight-rs/twilight.git"
version = "0.6.1"
version = "0.6.2"

[dependencies]
hyper = { default-features = false, features = ["client", "http1", "http2", "runtime"], version = "0.14" }
Expand Down

0 comments on commit add0d21

Please sign in to comment.