Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tungstenite requirement from 0.24.0 to 0.25.0 #198

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Updates the requirements on tungstenite to permit the latest version.

Changelog

Sourced from tungstenite's changelog.

0.25.0

  • New Payload type for Message that allows sending messages with a payload that can be cheaply cloned (Bytes). Long standing issue solved!
  • Add WebSocketConfig::read_buffer_size default 128 KiB.
  • Make WebSocketConfig non-exhaustive & add builder style construction fns.
  • Remove deprecated WebSocketConfig::max_send_queue.
  • Trim spaces on Sec-WebSocket-Protocol header.
  • Eliminate data copies when reading complete messages & optimise read buffer. Improves performance.
  • Update thiserror to 2.

0.24.0

  • Raised MSRV to 1.63 to match tokio-tungstenite.
  • Connecting to WSS URL without TLS features specified results in a better error.
  • Handshake will now flush after completion to be safe (works better with buffered streams).

0.23.0

  • Disable default features for rustls giving the user more flexibility.

0.22.0

  • Make url optional.
  • Add a builder for convenient headers and subprotocols construction.
  • Update rustls dependency.

0.21.0

  • Fix read-predominant auto pong responses not flushing when hitting WouldBlock errors.
  • Improve FrameHeader::format write correctness.
  • Update rustls to 0.22.
  • Update webpki-roots to 0.26.
  • Update rustls-native-certs to 0.7.
  • Update http to 1.0.0.

0.20.1

0.20.0

  • Remove many implicit flushing behaviours. In general reading and writing messages will no longer flush until calling flush. An exception is automatic responses (e.g. pongs) which will continue to be written and flushed when reading and writing. This allows writing a batch of messages and flushing once, improving performance.
  • Add WebSocket::read, write, send, flush. Deprecate read_message, write_message, write_pending.
  • Add FrameSocket::read, write, send, flush. Remove read_frame, write_frame, write_pending. Note: Previous use of write_frame may be replaced with send.
  • Add WebSocketContext::read, write, flush. Remove read_message, write_message, write_pending. Note: Previous use of write_message may be replaced with write + flush.
  • Remove send_queue, replaced with using the frame write buffer to achieve similar results.
    • Add WebSocketConfig::max_write_buffer_size. Deprecate max_send_queue.
    • Add Error::WriteBufferFull. Remove Error::SendQueueFull.

... (truncated)

Commits
  • 31dbb4f Bump version
  • bb6f712 Add WebSocketConfig doc example
  • 84bfbff Add WebSocketConfig::read_buffer_size default 128 KiB
  • 7dc3609 Add to 0.25.0 changelog
  • 7907526 rm dev-dependency env_logger for msrv check
  • abe0e11 Update thiserror to 2
  • f2cae6a use more optimized method for Vec<u8> to Bytes conversation
  • 3e8382c Update CHANGELOG
  • 40d7dd6 Add missing docs
  • f2b4519 Remove commented code
  • 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)

Updates the requirements on [tungstenite](https://github.com/snapview/tungstenite-rs) to permit the latest version.
- [Changelog](https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md)
- [Commits](snapview/tungstenite-rs@v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: tungstenite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 16, 2024
@digizeph digizeph closed this Dec 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 18, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/tungstenite-0.25.0 branch December 18, 2024 00:04
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
Development

Successfully merging this pull request may close these issues.

None yet

1 participant