Skip to content

Commit 2404c69

Browse files
committed
Prepare v1.5.0 release
1 parent 4b5223f commit 2404c69

File tree

4 files changed

+30
-7
lines changed

4 files changed

+30
-7
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: clue
2+
custom: https://clue.engineering/support

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 1.5.0 (2020-06-19)
4+
5+
* Feature / Fix: Support PHP 7.4 by skipping unneeded cleanup of exception trace args.
6+
(#33 by @clue)
7+
8+
* Clean up test suite and add `.gitattributes` to exclude dev files from exports.
9+
Run tests on PHP 7.4, PHPUnit 9 and simplify test matrix.
10+
Link to using SSH proxy (SSH tunnel) as an alternative.
11+
(#27 by @clue and #31, #32 and #34 by @SimonFrings)
12+
313
## 1.4.0 (2018-10-30)
414

515
* Feature: Improve error reporting for failed connection attempts and improve
@@ -16,7 +26,7 @@
1626

1727
```php
1828
$promise = $proxy->connect('tcp://example.com:80');
19-
$promise->then(function (ConnectionInterface $conn) use ($loop) {
29+
$promise->then(function (ConnectionInterface $connection) {
2030
// …
2131
}, function (Exception $e) {
2232
echo $e->getMessage();
@@ -29,7 +39,7 @@
2939
```php
3040
// new: now supports custom HTTP request headers
3141
$proxy = new ProxyConnector('127.0.0.1:8080', $connector, array(
32-
'Proxy-Authentication' => 'Bearer abc123',
42+
'Proxy-Authorization' => 'Bearer abc123',
3343
'User-Agent' => 'ReactPHP'
3444
));
3545
```

README.md

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

3-
Async HTTP proxy connector, use any TCP/IP-based protocol through an HTTP
3+
Async HTTP proxy connector, tunnel any TCP/IP-based protocol through an HTTP
44
CONNECT proxy server, built on top of [ReactPHP](https://reactphp.org).
55

66
HTTP CONNECT proxy servers (also commonly known as "HTTPS proxy" or "SSL proxy")
@@ -34,6 +34,7 @@ existing higher-level protocol implementation.
3434

3535
**Table of contents**
3636

37+
* [Support us](#support-us)
3738
* [Quickstart example](#quickstart-example)
3839
* [Usage](#usage)
3940
* [ProxyConnector](#proxyconnector)
@@ -51,6 +52,16 @@ existing higher-level protocol implementation.
5152
* [License](#license)
5253
* [More](#more)
5354

55+
## Support us
56+
57+
We invest a lot of time developing, maintaining and updating our awesome
58+
open-source projects. You can help us sustain this high-quality of our work by
59+
[becoming a sponsor on GitHub](https://github.com/sponsors/clue). Sponsors get
60+
numerous benefits in return, see our [sponsoring page](https://github.com/sponsors/clue)
61+
for details.
62+
63+
Let's take these projects to the next level together! 🚀
64+
5465
## Quickstart example
5566

5667
The following example code demonstrates how this library can be used to send a
@@ -319,7 +330,7 @@ you may simply pass an assoc array of additional request headers like this:
319330

320331
```php
321332
$proxy = new ProxyConnector('127.0.0.1:8080', $connector, array(
322-
'Proxy-Authorization' => 'Bearer abc123',
333+
'Proxy-Authorization' => 'Bearer abc123',
323334
'User-Agent' => 'ReactPHP'
324335
));
325336
```
@@ -389,7 +400,7 @@ This project follows [SemVer](https://semver.org/).
389400
This will install the latest supported version:
390401

391402
```bash
392-
$ composer require clue/http-proxy-react:^1.4
403+
$ composer require clue/http-proxy-react:^1.5
393404
```
394405

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

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "clue/http-proxy-react",
3-
"description": "Async HTTP proxy connector, use any TCP/IP-based protocol through an HTTP CONNECT proxy server, built on top of ReactPHP",
3+
"description": "Async HTTP proxy connector, tunnel any TCP/IP-based protocol through an HTTP CONNECT proxy server, built on top of ReactPHP",
44
"keywords": ["HTTP", "CONNECT", "proxy", "ReactPHP", "async"],
55
"homepage": "https://github.com/clue/reactphp-http-proxy",
66
"license": "MIT",
77
"authors": [
88
{
99
"name": "Christian Lück",
10-
"email": "christian@lueck.tv"
10+
"email": "christian@clue.engineering"
1111
}
1212
],
1313
"autoload": {

0 commit comments

Comments
 (0)