Skip to content

Releases: loopholelabs/frisbee-go

v0.8.0

23 Apr 18:59
da667d4
Compare
Choose a tag to compare

Dependencies

  • Updated polyglot to v2.0.0

v0.7.3

27 Mar 01:50
d6a7a8a
Compare
Choose a tag to compare

Dependencies

  • Updated polyglot to v1.2.2

Fix

  • Fixed bugs where test cases would not generate random data properly
  • Fixed a bug where ConnContext would not get called until the first packet was read

v0.7.2

26 Aug 23:10
a3733d0
Compare
Choose a tag to compare

Features

  • Added StartWithListener function to start a server with a custom listener (#155)

Fixes

  • Fixed a bug where the server would not properly return from handling packets when the concurrency value was > 1 (#160)

Changes

  • Removing trunk

Dependencies

  • Bumping github.com/loopholelabs/common from v0.4.4 to v0.4.9
  • Bumping github.com/loopholelabs/polyglot from v0.5.1 to v0.1.2
  • Bumping github.com/rs/zerolog from v1.27.0 to v1.30.0
  • Bumping github.com/stretchr/testify from v1.8.0 to v1.8.4
  • Bumping go.uber.org/atomic from v1.9.0 to v1.11.0
  • Bumping go.uber.org/goleak from v1.1.12 to v1.2.1

v0.7.1

01 Dec 18:18
bd8507b
Compare
Choose a tag to compare

Fixes

  • StreamHandlers would not be registered when calling ServeConn because they were created during a server.Start
    call. This has been fixed by creating a dedicated SetStreamHandler method on the Server struct.

Changes

  • The Server struct now has a SetStreamHandler method that allows you to register a stream handler for a given
    stream name.

v0.7.0

27 Sep 23:57
9c3a9bd
Compare
Choose a tag to compare

Changes

  • [BREAKING] The Heartbeat option for the Server, Client, and Async connections has been removed
  • The previous heartbeat semantics have been simplified to allow for simplified bi-directional heartbeats and a lower
    overall processing overhead

Features

  • Streaming capabilities have been added to the Async connections allowing you to register a "stream" callback and the
    ability to create streams from either peer.

v0.6.0

07 Aug 20:25
f8fb4c1
Compare
Choose a tag to compare

Changes

  • [BREAKING] The server now concurrently process incoming packets from connections by calling handler functions in a goroutine.
    This is done to avoid blocking the main packet processing loop when the handler for an incoming packet is slow.
  • The UPDATE Action has been completely removed from the server and the client - the context can no longer be
    updated from a handler function.
  • The SetConcurrency function has been added to the server to set the concurrency of the packet processing
    goroutines.
  • io/ioutil.Discard has been replaced with io.Discard because it was being deprecated
  • The README.md file has been updated to reflect the frisbee-go package name, and better direct users to the frpc.io website.
  • @jimmyaxod has been added as a maintainer for the frisbee-go package.

v0.5.4

29 Jul 02:38
eedbf14
Compare
Choose a tag to compare

Features

  • Renaming the defaultDeadline to DefaultDeadline and increasing the value to 5 seconds from 1 second

v0.5.3

27 Jul 09:02
0f91b23
Compare
Choose a tag to compare

Features

  • Adding the GetHandlerTable function to the server which allows us to retrieve the handler table from the server

v0.5.2

22 Jul 23:19
1761900
Compare
Choose a tag to compare

Features

  • Adding the SetHandlerTable function to the server which allows us to modify the handler table in the server

Changes

  • Close errors when the connection is already closed will now log at the Debug level

v0.5.1

21 Jul 03:57
0799cec
Compare
Choose a tag to compare

Fixes

  • Fixed an issue where new connections in the server would be overwritten sometimes due to a pointer error

Changes

  • FRPC is now called fRPC
  • fRPC has been moved into its own repository
  • We're using the Common library for our queues and packets
  • Packets now use the Polyglot-Go library for serialization