Skip to content

chore: release v0.5.0#18

Merged
zheylmun merged 4 commits into
mainfrom
release-plz-2026-06-29T14-51-45Z
Jun 30, 2026
Merged

chore: release v0.5.0#18
zheylmun merged 4 commits into
mainfrom
release-plz-2026-06-29T14-51-45Z

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

🤖 New release

  • socketeer: 0.4.0 -> 0.5.0 (⚠ API breaking changes)

socketeer breaking changes

--- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] ---

Description:
A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/enum_marked_non_exhaustive.ron

Failed in:
  enum Error in /tmp/.tmpETh1qo/socketeer/src/error.rs:8

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/enum_variant_added.ron

Failed in:
  variant EchoControlMessage:Abort in /tmp/.tmpETh1qo/socketeer/src/mock_server.rs:31

--- failure struct_marked_non_exhaustive: struct marked #[non_exhaustive] ---

Description:
A public struct has been marked #[non_exhaustive], which will prevent it from being constructed using a struct literal outside of its crate. It previously had no private fields, so a struct literal could be used to construct it outside its crate.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/struct_marked_non_exhaustive.ron

Failed in:
  struct ConnectOptions in /tmp/.tmpETh1qo/socketeer/src/config.rs:14

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field extra_headers of struct ConnectOptions, previously in file /tmp/.tmpt45jcO/socketeer/src/config.rs:14
  field keepalive_interval of struct ConnectOptions, previously in file /tmp/.tmpt45jcO/socketeer/src/config.rs:17
  field custom_keepalive_message of struct ConnectOptions, previously in file /tmp/.tmpt45jcO/socketeer/src/config.rs:21

--- failure struct_pub_field_now_doc_hidden: pub struct field is now #[doc(hidden)] ---

Description:
A pub field of a pub struct is now marked #[doc(hidden)] and is no longer part of the public API.
        ref: https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#hidden
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/struct_pub_field_now_doc_hidden.ron

Failed in:
  field ConnectOptions.extra_headers in file /tmp/.tmpETh1qo/socketeer/src/config.rs:14
  field ConnectOptions.keepalive_interval in file /tmp/.tmpETh1qo/socketeer/src/config.rs:14
  field ConnectOptions.custom_keepalive_message in file /tmp/.tmpETh1qo/socketeer/src/config.rs:14
Changelog

[0.5.0] - 2026-06-30

Features

  • Add Socketeer::split into cloneable Tx and receive Rx halves(dc7f9ff)
  • Add fire-and-forget send_unconfirmed to SocketeerTx(35a9b8b)
  • Implement Stream for SocketeerRx(7a3f80e)
  • Add SocketeerRx::reunite and ReuniteError(5eb9aa1)
  • Implement Stream for Socketeer(27f16d8)
  • Keep protocol alive under receive backpressure(d102d7a)
  • Raise default channel size to 256 and document backpressure(cc74966)
  • Re-export Message, Bytes, http, tungstenite, and WebSocketStreamType(f4b5453)
  • [breaking] ConnectOptions builder with private fields, non_exhaustive(978b36a)
  • [breaking] Mark Error #non_exhaustive

Bug Fixes

  • Surface the real disconnect cause to the consumer(3b5c08f)
  • Align split-half CHANNEL_SIZE defaults to 256 and tighten docs(8caa0aa)
  • Export ConnectOptionsBuilder, correct header() doc, and strengthen test(12c034a)

Refactor

  • Extract socket loop into its own module, move e2e tests to tests/(b7ec286)
  • Make TxChannelPayload response channel optional(7dc850c)
  • Share receive path between handle and split halves(4d84f9c)
  • [breaking] Move backpressure_probe_server into the test suite(84b42fa)

Documentation

  • Design spec for backpressure without protocol starvation (PR 2)(d9c7088)
  • Implementation plan for backpressure resilience (PR 2)(6a5dc4f)
  • Design for public API cleanup (breaking)(049f0e0)
  • Implementation plan for public API cleanup(9dc41cb)

Testing

  • Cover concurrent cloned-Tx sends and ReuniteError Display/Error(9f0aaab)
  • Add backpressure probe mock server(2420313)
  • Cover backpressure delivery without keepalives(62fa77d)
  • Cover outgoing sends during backpressure(48d57c9)


This PR was generated with release-plz.

@github-actions github-actions Bot force-pushed the release-plz-2026-06-29T14-51-45Z branch from 82047ea to 17cc5ad Compare June 29, 2026 19:44
@github-actions github-actions Bot changed the title chore: release v0.4.1 chore: release v0.5.0 Jun 29, 2026
@github-actions github-actions Bot force-pushed the release-plz-2026-06-29T14-51-45Z branch 3 times, most recently from ed528f4 to add4a62 Compare June 30, 2026 00:28
@github-actions github-actions Bot force-pushed the release-plz-2026-06-29T14-51-45Z branch from add4a62 to f2eceae Compare June 30, 2026 02:11
@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.86%. Comparing base (a42ef72) to head (d72ff7f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   94.86%   94.86%           
=======================================
  Files           7        7           
  Lines         662      662           
=======================================
  Hits          628      628           
  Misses         34       34           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zheylmun zheylmun merged commit 226e7f3 into main Jun 30, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant