Skip to content

Commit

Permalink
Merge pull request #154 from loopholelabs/staging
Browse files Browse the repository at this point in the history
Release v0.7.0
  • Loading branch information
ShivanshVij authored Sep 27, 2022
2 parents f8fb4c1 + f6ad934 commit 9c3a9bd
Show file tree
Hide file tree
Showing 17 changed files with 739 additions and 398 deletions.
6 changes: 5 additions & 1 deletion .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*out
*logs
external
*actions
*notifications
*plugins
user_trunk.yaml
user.yaml
17 changes: 11 additions & 6 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
version: 0.1
runtimes:
enabled:
- [email protected]
- [email protected]
cli:
version: 0.15.1-beta
version: 0.18.0-beta
lint:
enabled:
- [email protected]
- [email protected]
- git-diff-check@SYSTEM
- [email protected]
- [email protected]
- [email protected]
- golangci-lint@1.46.2
- markdownlint@0.31.1
- prettier@2.6.2
- golangci-lint@1.49.0
- markdownlint@0.32.2
- prettier@2.7.1
ignore:
- linters: [ALL]
paths:
Expand Down
59 changes: 37 additions & 22 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,25 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v0.7.0] - 2022-09-27

### 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] - 2022-08-07 (Beta)

## Changes
### Changes

- **[BREAKING]** The `server` now concurrently process incoming packets from connections by calling handler functions in a goroutine.
- **[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.
Expand All @@ -23,33 +37,33 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.5.4] - 2022-07-28 (Beta)

## Features
### Features

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

## [v0.5.3] - 2022-07-27 (Beta)

## Features
### Features

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

## [v0.5.2] - 2022-07-22 (Beta)

## Features
### Features

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

## Changes
### Changes

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

## [v0.5.1] - 2022-07-20 (Beta)

## Fixes
### Fixes

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

## Changes
### Changes

- FRPC is now called fRPC
- fRPC has been moved into its own [repository](https://github.com/loopholelabs/frpc-go)
Expand All @@ -58,35 +72,35 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.5.0] - 2022-05-18 (Beta)

## Changes
### Changes

- Updating Frisbee RPC references to FRPC
- Updating documentation site to point to https://frpc.io
- Updating code quality according to https://deepsource.io

## [v0.4.6] - 2022-04-28 (Beta)

## Fixes
### Fixes

- Fixing issue where generated `decode` functions for slices would not allocate the proper memory before decoding the slice values (Issue #108)

## Changes
### Changes

- Updating Trunk Linter to `v0.11.0-beta`

## [v0.4.5] - 2022-04-22 (Beta)

## Fixes
### Fixes

- Fixing issue where packet.Decoder would return the decoder back to the pool before decoding was complete (Issue #102)

## Changes
### Changes

- Updating Trunk Linter to `v0.10.1-beta`

## [v0.4.4] - 2022-04-21 (Beta)

## Changes
### Changes

- Generated RPC Code for decoding objects no longer relies on the `*packet.Packet` structure, and instead works
with `[]byte` slices directly
Expand All @@ -96,15 +110,15 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.4.3] - 2022-04-20 (Beta)

## Fixes
### Fixes

- Version [v0.4.2][v0.4.2] did not embed the templates for RPC generation into frisbee, leading to runtime panics when
generating RPC frameworks from outside the frisbee repository directory. This has now been fixed by embedding the
templates into the compiled plugin binary file.

## [v0.4.2] - 2022-04-20 (Beta)

## Changes
### Changes

- Refactored the RPC Generator to use the `text/template`
package ([#90](https://github.com/loopholelabs/frisbee/pull/90))
Expand All @@ -114,20 +128,20 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.4.1] - 2022-03-24 (Beta)

## Changes
### Changes

- Using new `internal/dialer` package to handle dialing for Async and Sync connections with automatic retires
- Handling proper backoffs for accept loop in `Server` so server does not just crash when many connections are opened at
once

## Fixes
### Fixes

- Fixing `SetBaseContext`, `SetOnClosed`, and `SetPreWrite` functions to not error out if a valid function is used
- Async test cases are less flaky

## [v0.4.0] - 2022-03-24 (Beta)

## Changes
### Changes

- Changing `Connect` signatures and `Start` signatures for servers, and clients
- Changing the functionality of Server.`Start` so that it blocks and returns an error
Expand All @@ -137,14 +151,14 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Making `baseContext`, `onClosed`, and `preWrite` hooks for the Server private, and creating `Setter` functions that
make it impossible to set those functions to nil

## Fixes
### Fixes

- Fixing panics from `ConnectSync` and `ConnectAsync` functions when the connection cannot be established - it now
returns an error properly instead

## [v0.3.2] - 2022-03-18 (Beta)

## Changes
### Changes

- Swapping the lock-free Queue out with a simpler locking queue that has significantly less lock contention in scenarios
when multiple buffers are required.
Expand Down Expand Up @@ -314,7 +328,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

Initial Release of Frisbee

[unreleased]: https://github.com/loopholelabs/frisbee/compare/v0.6.0...HEAD
[unreleased]: https://github.com/loopholelabs/frisbee/compare/v0.7.0...HEAD
[v0.7.0]: https://github.com/loopholelabs/frisbee/compare/v0.6.0...v0.7.0
[v0.6.0]: https://github.com/loopholelabs/frisbee/compare/v0.5.4...v0.6.0
[v0.5.4]: https://github.com/loopholelabs/frisbee/compare/v0.5.3...v0.5.4
[v0.5.3]: https://github.com/loopholelabs/frisbee/compare/v0.5.2...v0.5.3
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/loopholelabs/frisbee-go)](https://goreportcard.com/report/github.com/loopholelabs/frisbee-go)
[![go-doc](https://godoc.org/github.com/loopholelabs/frisbee-go?status.svg)](https://godoc.org/github.com/loopholelabs/frisbee-go)

This is the [Go](http://golang.org) implementation of [Frisbee](https://frpc.io/frisbee), a bring-your-own
This is the [Go](http://golang.org) implementation of **Frisbee**, a bring-your-own
protocol messaging framework designed for performance and
stability.

Expand All @@ -22,8 +22,7 @@ same is true for selected other new features explicitly marked as
## Usage and Documentation

Usage instructions and documentation for `frisbee-go` are available
at [https://frpc.io/frisbee](https://frpc.io/frisbee). This library also has great
documentation coverage using [GoDoc](https://godoc.org/github.com/loopholelabs/frisbee-go).
on [GoDoc](https://godoc.org/github.com/loopholelabs/frisbee-go).

## Contributing

Expand Down
Loading

0 comments on commit 9c3a9bd

Please sign in to comment.