From f90edf489313301e87292c51d41faf8c21138513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Fri, 6 Aug 2021 15:06:59 +0200 Subject: [PATCH] Prepare v1.3.0 release --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79ee7eb..7656374 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## 1.3.0 (2021-08-06) + +* Feature: Simplify usage by supporting new default loop and making `Connector` optional. + (#100 and #101 by @clue) + + ```php + // old (still supported) + $proxy = new Clue\React\Socks\Client( + $url, + new React\Socket\Connector($loop) + ); + $server = new Clue\React\Socks\Server($loop); + $server->listen(new React\Socket\Server('127.0.0.1:1080', $loop)); + + // new (using default loop) + $proxy = new Clue\React\Socks\Client('127.0.0.1:1080'); + $socks = new Clue\React\Socks\Server(); + $socks->listen(new React\Socket\SocketServer('127.0.0.1:1080')); + ``` + +* Documentation improvements and updated examples. + (#98 and #102 by @clue and #99 by @PaulRotmann) + +* Improve test suite and use GitHub actions for continuous integration (CI). + (#97 by @SimonFrings) + ## 1.2.0 (2020-10-23) * Enhanced documentation for ReactPHP's new HTTP client. diff --git a/README.md b/README.md index fc8bed9..0ec2933 100644 --- a/README.md +++ b/README.md @@ -1047,7 +1047,7 @@ This project follows [SemVer](https://semver.org/). This will install the latest supported version: ```bash -$ composer require clue/socks-react:^1.2 +$ composer require clue/socks-react:^1.3 ``` See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.