Skip to content

Commit

Permalink
chore: Bump rocket from 0.5.0-rc.3 to 0.5.0-rc.4 (#211)
Browse files Browse the repository at this point in the history
Bumps rocket from 0.5.0-rc.3 to 0.5.0-rc.4.

Changelog
Sourced from rocket's changelog.

Version 0.5.0-rc.4 (Nov 1, 2023)
Major Features and Improvements


Introduced request connection upgrade APIs.
The APIs allow responders to handle upgrade requests by registering
IoHandlers for upgraded protocols. The IoHandler can perform raw
byte I/O with the client. This functionality is used to implement WebSocket
support by the newly introduced rocket_ws library.


Introduced WebSocket support: rocket_ws.
The newly introduced rocket_ws contrib library -- entirely external to
Rocket itself -- provides complete, multi-modal support for interacting with
clients over WebSockets. Modalities include async streams:
#[get("/echo?compose")]
fn echo_compose(ws: ws::WebSocket) -> ws::Stream!['static] {
    ws.stream(|io| io)
}
And generator syntax, among others:
#[get("/echo?stream")]
fn echo_stream(ws: ws::WebSocket) -> ws::Stream!['static] {
    ws::Stream! { ws =>
        for await message in ws {
            yield message?;
        }
    }
}


Breaking Changes


The types of responders in [response::status] were unified to all be of
the form Status<R>(R).
Previously, some responders were of the form Status<R>(Option<R>).


[Custom form errors] must now specify an associated Status.




... (truncated)


Commits

24ca5e8 New version: 0.5.0-rc.4.
208848d Add CHANGELOG for 0.5.0-rc.4.
2ae91b9 Update UI tests.
11fed5a Document '&[u8]' form/data guard, limits.
8ed64d0 Fix typo in pastebin tutorial: 'route' -> 'wrote'.
6f9d671 Add a "clear message" button to cookies example.
654b1c3 Set 'SameSite' to 'Lax' on removal cookies.
df3a4e0 Qualm various emerging unused warnings.
186ec84 Improve forwarding status code precision.
b6430e9 Rename 'Outcome::Failure' to 'Outcome::Error'.
Additional commits viewable in compare view




Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Loading branch information
dependabot[bot] authored Nov 2, 2023
1 parent f3f30ae commit 1e8f082
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 58 deletions.
100 changes: 43 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/test-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "0.2.14"

[dependencies]
rand = "0.8.5"
rocket = {version = "0.5.0-rc.3", features = ["json"]}
rocket = {version = "0.5.0-rc.4", features = ["json"]}
serde = {version = "1.0.190", features = ["derive"]}
serde_json = "1.0.108"
uuid = {version = "1.5.0", features = ["v4"]}

0 comments on commit 1e8f082

Please sign in to comment.