Skip to content

Commit f90edf4

Browse files
committed
Prepare v1.3.0 release
1 parent 5707c2d commit f90edf4

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Changelog
22

3+
## 1.3.0 (2021-08-06)
4+
5+
* Feature: Simplify usage by supporting new default loop and making `Connector` optional.
6+
(#100 and #101 by @clue)
7+
8+
```php
9+
// old (still supported)
10+
$proxy = new Clue\React\Socks\Client(
11+
$url,
12+
new React\Socket\Connector($loop)
13+
);
14+
$server = new Clue\React\Socks\Server($loop);
15+
$server->listen(new React\Socket\Server('127.0.0.1:1080', $loop));
16+
17+
// new (using default loop)
18+
$proxy = new Clue\React\Socks\Client('127.0.0.1:1080');
19+
$socks = new Clue\React\Socks\Server();
20+
$socks->listen(new React\Socket\SocketServer('127.0.0.1:1080'));
21+
```
22+
23+
* Documentation improvements and updated examples.
24+
(#98 and #102 by @clue and #99 by @PaulRotmann)
25+
26+
* Improve test suite and use GitHub actions for continuous integration (CI).
27+
(#97 by @SimonFrings)
28+
329
## 1.2.0 (2020-10-23)
430

531
* Enhanced documentation for ReactPHP's new HTTP client.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ This project follows [SemVer](https://semver.org/).
10471047
This will install the latest supported version:
10481048

10491049
```bash
1050-
$ composer require clue/socks-react:^1.2
1050+
$ composer require clue/socks-react:^1.3
10511051
```
10521052

10531053
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

0 commit comments

Comments
 (0)