Skip to content

Commit 5861005

Browse files
committed
Prepare 1.4.0 release
1 parent 1dc0040 commit 5861005

File tree

2 files changed

+28
-11
lines changed

2 files changed

+28
-11
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 1.4.0 (2022-09-02)
4+
5+
* Feature: Full support for PHP 8.1 and PHP 8.2.
6+
(#32 by @clue and #37 by @SimonFrings)
7+
8+
* Feature: Mark passwords and URIs as `#[\SensitiveParameter]` (PHP 8.2+).
9+
(#38 by @SimonFrings)
10+
11+
* Feature: Forward compatibility with upcoming Promise v3.
12+
(#35 by @clue)
13+
14+
* Feature: Avoid dependency on `ext-filter`.
15+
(#31 by @clue)
16+
17+
* Improve test suite and use new reactphp/async package instead of clue/reactphp-block.
18+
(#36 and #39 by @SimonFrings)
19+
320
## 1.3.0 (2021-08-06)
421

522
* Feature: Simplify usage by supporting new default loop.

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ make sure that you have a suitable SSH client installed. On Debian/Ubuntu-based
117117
systems, you may simply install it like this:
118118

119119
```bash
120-
$ sudo apt install openssh-client
120+
sudo apt install openssh-client
121121
```
122122

123123
Its constructor simply accepts an SSH proxy server URL:
@@ -190,7 +190,7 @@ have a suitable SSH client installed. On Debian/Ubuntu-based systems, you may
190190
simply install it like this:
191191

192192
```bash
193-
$ sudo apt install openssh-client
193+
sudo apt install openssh-client
194194
```
195195

196196
Its constructor simply accepts an SSH proxy server URL:
@@ -511,7 +511,7 @@ can access your SSH proxy server on the command line like this:
511511

512512
```bash
513513
# test SSH access
514-
$ ssh [email protected] echo hello
514+
ssh [email protected] echo hello
515515
```
516516

517517
Because this class is designed to be used to create any number of connections,
@@ -537,7 +537,7 @@ For this to work, you will have to have the `sshpass` binary installed. On
537537
Debian/Ubuntu-based systems, you may simply install it like this:
538538

539539
```bash
540-
$ sudo apt install sshpass
540+
sudo apt install sshpass
541541
```
542542

543543
Note that both the username and password must be percent-encoded if they contain
@@ -560,7 +560,7 @@ This project follows [SemVer](https://semver.org/).
560560
This will install the latest supported version:
561561

562562
```bash
563-
$ composer require clue/reactphp-ssh-proxy:^1.3
563+
composer require clue/reactphp-ssh-proxy:^1.4
564564
```
565565

566566
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
@@ -575,15 +575,15 @@ client binary, so you'll have to make sure that you have a suitable SSH client
575575
installed. On Debian/Ubuntu-based systems, you may simply install it like this:
576576

577577
```bash
578-
$ sudo apt install openssh-client
578+
sudo apt install openssh-client
579579
```
580580

581581
Additionally, if you use [password authentication](#password-authentication)
582582
(not recommended), then you will have to have the `sshpass` binary installed. On
583583
Debian/Ubuntu-based systems, you may simply install it like this:
584584

585585
```bash
586-
$ sudo apt install sshpass
586+
sudo apt install sshpass
587587
```
588588

589589
*Running on [Windows is currently not supported](https://github.com/clue/reactphp-ssh-proxy/issues/12)*
@@ -594,13 +594,13 @@ To run the test suite, you first need to clone this repo and then install all
594594
dependencies [through Composer](https://getcomposer.org/):
595595

596596
```bash
597-
$ composer install
597+
composer install
598598
```
599599

600600
To run the test suite, go to the project root and run:
601601

602602
```bash
603-
$ vendor/bin/phpunit
603+
vendor/bin/phpunit
604604
```
605605

606606
The test suite contains a number of tests that require an actual SSH proxy server.
@@ -610,8 +610,8 @@ environment and prefix this with a space to make sure your login credentials are
610610
not stored in your bash history like this:
611611

612612
```bash
613-
$ export SSH_PROXY=alice:[email protected]
614-
$ vendor/bin/phpunit
613+
export SSH_PROXY=alice:[email protected]
614+
vendor/bin/phpunit
615615
```
616616

617617
## License

0 commit comments

Comments
 (0)