v0.4.0

rathole-org/ratholev0.4.0Mar 9, 2022by github-actions[bot]

AI Summary

Introduces support for HTTP and SOCKS5 proxies, adds an application-layer heartbeat feature, and restructures the transport configuration block.

Key Highlights

  • Client can now connect to the server via HTTP or SOCKS5 proxies using configuration strings
  • Application-layer heartbeat is introduced with a default 30s interval
  • Configuration structure changed: TCP keepalive and nodelay moved from 'transport' to 'transport.tcp'

Breaking Changes

  • TCP keepalive and nodelay settings moved from 'transport' to 'transport.tcp' block

New Features

  • SOCKS5 and HTTP proxy support
  • Application layer heartbeat

Full Release Notes

# This release has been yanked.
## New Contributors
* @TaKO8Ki made their first contribution in https://github.com/rapiz1/rathole/pull/140
## What's Changed
* feat: support SOCKS5 and HTTP proxy by @rapiz1 in https://github.com/rapiz1/rathole/pull/135
Now the client can connect to the server via a HTTP or SOCKS5 proxy. e.g. In `[client.transport.tcp]`, setting `proxy = "socks5://myuser:mypass@192.168.2.1:1080"` will make the client use the SOCKS5 proxy at `192.18.2.1:1080` with username `myuser` and password `mypass`.

* feat: application layer heartbeat by @rapiz1 in https://github.com/rapiz1/rathole/pull/136
Application-layer heartbeat is introduced with a default interval of 30s. The heartbeat can be adjusted or completely turned off.

## Breaking Changes
This release has breaking changes in the `transport` block. TCP keepalive and nodelay settings under `transport` are moved to `transport.tcp`. Others remain the same.

**Full Changelog**: https://github.com/rapiz1/rathole/compare/v0.3.10...v0.4.0