Skip to content

Releases: abdelfattahradwan/blitz-relay

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 30 Jun 19:06
490f0c9
  • Fix IsAuthorised always returning false due to varying rented array lengths.

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Jun 19:58
4521496
  • Improved relay throughput by reducing allocations across host, client, receive, and broadcast hot paths.
  • Added relay backpressure handling to keep slow or overloaded recipients from degrading room performance.
  • Made unreliable relay traffic more robust by dropping payloads that are too large or when a recipient's reliable queue is already backed up.
  • Added protection for reliable relay queues by disconnecting recipients whose reliable backlog grows beyond the configured threshold.
  • Optimised single-recipient and broadcast relay paths, including special handling for one-client broadcasts.
  • Reworked relay frame creation to use LiteNetLib pooled packets where possible, stack allocation for small frames, and shared array pooling for larger frames.
  • Avoided unnecessary payload copies by reading incoming packets as spans and writing relay frames directly into the target buffers.
  • Reduced allocation pressure when relaying client-to-host and host-to-client data.
  • Introduced a reusable relay backpressure policy with clear thresholds for dropping unreliable traffic and disconnecting reliable recipients.
  • Added safeguards for oversized unreliable relay payloads before attempting to send them.
  • Added handling for LiteNetLib TooBigPacketException so rejected relay payloads are logged cleanly instead of flowing through the generic send failure path.
  • Snapshot broadcast recipients before sending, reducing lock contention while preserving consistent recipient handling.
  • Added log messages for dropped oversized unreliable payloads.
  • Added log messages for unreliable payloads dropped due to reliable queue backpressure.
  • Added log messages when recipients are disconnected because their reliable relay queue is backed up.
  • Added log messages when LiteNetLib rejects a relay payload as too large.

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 19 Jun 19:41
0976315

This is the first stable release of Blitz Relay. It has been tested thoroughly in production. There will be no breaking changes in any 1.x.x version unless absolutely necessary.

  • Use constant-time token comparisons in the HTTP API to avoid timing attacks.
  • Add a new --cors flag to allow the configuration of the CORS policies via JSON. The old behaviour remains the default: allowing all origins, methods, and headers.
  • Updated all dependencies to their latest versions.

Full Changelog: v0.1.0...v1.0.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 24 Apr 18:07
99b3f13

Full Changelog: v0.0.6...v0.1.0

v0.0.6

Choose a tag to compare

@github-actions github-actions released this 17 Apr 17:22
8e18103

Full Changelog: v0.0.5...v0.0.6