Skip to content

Commit 0ecc37a

Browse files
committed
Prepare v1.4.0 release
1 parent a9b2609 commit 0ecc37a

File tree

2 files changed

+40
-5
lines changed

2 files changed

+40
-5
lines changed

CHANGELOG.md

+37-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,42 @@
11
# Changelog
22

3-
# 1.3.0 (2020-12-17)
3+
## 1.4.0 (2022-12-01)
4+
5+
* Feature: Add support for PHP 8.1 and PHP 8.2.
6+
(#78 by @dinooo13)
7+
8+
* Feature: Forward compatibility with upcoming Promise v3.
9+
(#76 by @clue)
10+
11+
* Feature: Simplify usage by supporting new default loop.
12+
(#71 by @clue)
13+
14+
```php
15+
// old (still supported)
16+
$client = new Clue\React\Docker\Client($loop);
17+
18+
// new (using default loop)
19+
$client = new Clue\React\Docker\Client();
20+
```
21+
22+
* Feature: Add commit API endpoint.
23+
(#74 by @dinooo13)
24+
25+
```php
26+
$client->containerCommit($container)->then(function (array $image) {
27+
var_dump($image);
28+
}, function (Exception $e) {
29+
echo 'Error: ' . $e->getMessage() . PHP_EOL;
30+
});
31+
```
32+
33+
* Improve documentation and examples, update to use new reactphp/async package and new HTTP and Socket API.
34+
(#70 by @PaulRotmann, #72 by @SimonFrings, #73 by @clue and #77 by @dinooo13)
35+
36+
* Improve test suite and ensure 100% code coverage.
37+
(#80, #81 by @clue and #79 by @dinooo13)
38+
39+
## 1.3.0 (2020-12-17)
440

541
* Feature: Update to reactphp/http v1.0.0.
642
(#64 by @clue)
@@ -139,4 +175,3 @@
139175
## 0.0.0 (2014-11-26)
140176

141177
* Initial concept
142-
# Changelog

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ This project follows [SemVer](https://semver.org/).
398398
This will install the latest supported version:
399399

400400
```bash
401-
$ composer require clue/docker-react:^1.3
401+
composer require clue/docker-react:^1.4
402402
```
403403

404404
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
@@ -413,13 +413,13 @@ To run the test suite, you first need to clone this repo and then install all
413413
dependencies [through Composer](https://getcomposer.org/):
414414

415415
```bash
416-
$ composer install
416+
composer install
417417
```
418418

419419
To run the test suite, go to the project root and run:
420420

421421
```bash
422-
$ vendor/bin/phpunit
422+
vendor/bin/phpunit
423423
```
424424

425425
## License

0 commit comments

Comments
 (0)