Skip to content

Commit 00f7f16

Browse files
committed
Prepare v0.8.5 release
1 parent 90677ba commit 00f7f16

File tree

2 files changed

+31
-5
lines changed

2 files changed

+31
-5
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+
## 0.8.5 (2017-09-01)
4+
5+
* Feature: Use socket error codes for connection rejections
6+
(#63 by @clue)
7+
8+
```php
9+
$promise = $proxy->connect('imap.example.com:143');
10+
$promise->then(null, function (Exeption $e) {
11+
if ($e->getCode() === SOCKET_EACCES) {
12+
echo 'Failed to authenticate with proxy!';
13+
}
14+
throw $e;
15+
});
16+
```
17+
18+
* Feature: Report matching SOCKS5 error codes for server side connection errors
19+
(#62 by @clue)
20+
21+
* Fix: Fix SOCKS5 client receiving destination hostnames and
22+
fix IPv6 addresses as hostnames for TLS certificates
23+
(#64 and #65 by @clue)
24+
25+
* Improve test suite by locking Travis distro so new defaults will not break the build and
26+
optionally exclude tests that rely on working internet connection
27+
(#61 and #66 by @clue)
28+
329
## 0.8.4 (2017-07-27)
430

531
* Feature: Server now passes client source address to Connector

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# clue/socks-react [![Build Status](https://travis-ci.org/clue/php-socks-react.svg?branch=master)](https://travis-ci.org/clue/php-socks-react)
22

3-
Async SOCKS4, SOCKS4a and SOCKS5 proxy client and server implementation, built on top of ReactPHP.
3+
Async SOCKS4, SOCKS4a and SOCKS5 proxy client and server implementation, built on top of [ReactPHP](http://reactphp.org).
44

55
The SOCKS protocol family can be used to easily tunnel TCP connections independent
66
of the actual application level protocol, such as HTTP, SMTP, IMAP, Telnet etc.
@@ -771,21 +771,21 @@ $client = new Client('127.0.0.1:9050', $connector);
771771

772772
## Install
773773

774-
The recommended way to install this library is [through Composer](http://getcomposer.org).
775-
[New to Composer?](http://getcomposer.org/doc/00-intro.md)
774+
The recommended way to install this library is [through Composer](https://getcomposer.org).
775+
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
776776

777777
This will install the latest supported version:
778778

779779
```bash
780-
$ composer require clue/socks-react:^0.8.4
780+
$ composer require clue/socks-react:^0.8.5
781781
```
782782

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

785785
## Tests
786786

787787
To run the test suite, you first need to clone this repo and then install all
788-
dependencies [through Composer](http://getcomposer.org):
788+
dependencies [through Composer](https://getcomposer.org):
789789

790790
```bash
791791
$ composer install

0 commit comments

Comments
 (0)