Skip to content

Releases: zheylmun/socketeer

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 30 Jun 02:17

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)

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 08 May 14:27

Features

  • [breaking] Add Codec abstraction with JSON, MessagePack, and Raw codecs(efc1d5a)

Bug Fixes

  • Mark Error::Codec inner as #source
  • Surface peer close as WebsocketClosed in HandshakeContext::recv(cd67288)

Testing

  • Add coverage for Codec trait and new HandshakeContext paths(aeb3c89)
  • Push coverage to 98% lines / 96% regions(09d7364)
  • Clarify raw-API test names and cover send_raw directly(b10d987)

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 10 Apr 13:42

Features

  • Add ConnectOptions, configurable keepalive, and connect_with(5467716)
  • Add send_raw and next_raw_message methods(3652f25)
  • Add ConnectionHandler trait for lifecycle hooks(d3d1048)

Bug Fixes

  • (ci) Enable all features for coverage so tests are included(142abe8)

Testing

  • Add auth_echo_server and tests for new features(7f9cbfe)

Miscellaneous Tasks

  • Bump version to 0.3.0, update README(4c74ff7)

V0.1.1

Choose a tag to compare

@zheylmun zheylmun released this 19 Mar 20:43
  • Update to Rust 2024 Edition
  • Remove unnecessary bounds on Socketeer struct
  • Simplify example
    Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@zheylmun zheylmun released this 06 Jan 01:03
1f0be34

What's Changed

  • Added Reconnection interface
  • Made channel size a configurable const generic
  • Documented all public members

Full Changelog: v0.0.3...v0.1.0

Additional polish moving towards a feature complete first public API

Choose a tag to compare

@zheylmun zheylmun released this 31 Dec 17:14
169f069
Merge pull request #10 from zheylmun/feature/example

Add example crate with tracing as well as a smaller example to the readme

0.0.2 Polish and Test

0.0.2 Polish and Test Pre-release
Pre-release

Choose a tag to compare

@zheylmun zheylmun released this 28 Dec 21:02
c662220

https://crates.io/crates/socketeer/0.0.2
Add lots of test coverage, semver checks, and documentation

Initial publication

Initial publication Pre-release
Pre-release

Choose a tag to compare

@zheylmun zheylmun released this 28 Dec 18:34

Initial publication to crates.io