Skip to content

Commit

Permalink
Prepare v1.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Jun 19, 2020
1 parent 4b5223f commit 2404c69
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: clue
custom: https://clue.engineering/support
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 1.5.0 (2020-06-19)

* Feature / Fix: Support PHP 7.4 by skipping unneeded cleanup of exception trace args.
(#33 by @clue)

* Clean up test suite and add `.gitattributes` to exclude dev files from exports.
Run tests on PHP 7.4, PHPUnit 9 and simplify test matrix.
Link to using SSH proxy (SSH tunnel) as an alternative.
(#27 by @clue and #31, #32 and #34 by @SimonFrings)

## 1.4.0 (2018-10-30)

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

```php
$promise = $proxy->connect('tcp://example.com:80');
$promise->then(function (ConnectionInterface $conn) use ($loop) {
$promise->then(function (ConnectionInterface $connection) {
// …
}, function (Exception $e) {
echo $e->getMessage();
Expand All @@ -29,7 +39,7 @@
```php
// new: now supports custom HTTP request headers
$proxy = new ProxyConnector('127.0.0.1:8080', $connector, array(
'Proxy-Authentication' => 'Bearer abc123',
'Proxy-Authorization' => 'Bearer abc123',
'User-Agent' => 'ReactPHP'
));
```
Expand Down
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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)

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

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

**Table of contents**

* [Support us](#support-us)
* [Quickstart example](#quickstart-example)
* [Usage](#usage)
* [ProxyConnector](#proxyconnector)
Expand All @@ -51,6 +52,16 @@ existing higher-level protocol implementation.
* [License](#license)
* [More](#more)

## Support us

We invest a lot of time developing, maintaining and updating our awesome
open-source projects. You can help us sustain this high-quality of our work by
[becoming a sponsor on GitHub](https://github.com/sponsors/clue). Sponsors get
numerous benefits in return, see our [sponsoring page](https://github.com/sponsors/clue)
for details.

Let's take these projects to the next level together! 🚀

## Quickstart example

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

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

```bash
$ composer require clue/http-proxy-react:^1.4
$ composer require clue/http-proxy-react:^1.5
```

See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "clue/http-proxy-react",
"description": "Async HTTP proxy connector, use any TCP/IP-based protocol through an HTTP CONNECT proxy server, built on top of ReactPHP",
"description": "Async HTTP proxy connector, tunnel any TCP/IP-based protocol through an HTTP CONNECT proxy server, built on top of ReactPHP",
"keywords": ["HTTP", "CONNECT", "proxy", "ReactPHP", "async"],
"homepage": "https://github.com/clue/reactphp-http-proxy",
"license": "MIT",
"authors": [
{
"name": "Christian Lück",
"email": "christian@lueck.tv"
"email": "christian@clue.engineering"
}
],
"autoload": {
Expand Down

0 comments on commit 2404c69

Please sign in to comment.