Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 2, 2023

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 compatibility score

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)

Bumps [rocket](https://github.com/SergioBenitez/Rocket) from 0.5.0-rc.3 to 0.5.0-rc.4.
- [Release notes](https://github.com/SergioBenitez/Rocket/releases)
- [Changelog](https://github.com/SergioBenitez/Rocket/blob/v0.5.0-rc.4/CHANGELOG.md)
- [Commits](rwf2/Rocket@v0.5.0-rc.3...v0.5.0-rc.4)

---
updated-dependencies:
- dependency-name: rocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 2, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6728363376

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 50 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.4%) to 6.256%

Files with Coverage Reduction New Missed Lines %
../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.20/src/upgrade.rs 6 0.0%
../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/uncased-0.9.7/src/owned.rs 9 0.0%
../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.8/src/request.rs 17 0.0%
../../../.cargo/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.8/src/response.rs 18 0.0%
Totals Coverage Status
Change from base Build 6404464716: -0.4%
Covered Lines: 391
Relevant Lines: 6250

💛 - Coveralls

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 20, 2023

Superseded by #193.

@dependabot dependabot bot closed this Nov 20, 2023
@dependabot dependabot bot deleted the dependabot/cargo/rocket-0.5.0-rc.4 branch November 20, 2023 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant