Skip to content

Commit 4b6e58d

Browse files
committed
Prepare v0.4.0 release
1 parent c9a3be3 commit 4b6e58d

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

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.4.0 (2017-09-04)
4+
5+
* Feature / BC break: Simplify `Collection` by extending `Response` and merging `Collector` into `ActionSender`
6+
(#41 by @clue)
7+
8+
```
9+
// old
10+
$collector = new Collector($client);
11+
$collector->coreShowChannels()->then(function (Collection $collection) {
12+
var_dump($collection->getResponse()->getFieldValue('Message'));
13+
});
14+
15+
// new
16+
$collector = new ActionSender($client);
17+
$collector->coreShowChannels()->then(function (Collection $collection) {
18+
var_dump($collection->getFieldValue('Message'));
19+
});
20+
```
21+
22+
* Feature / BC break: Replace deprecated SocketClient with new Socket component and
23+
improve forward compatibility with upcoming ReactPHP components
24+
(#39 by @clue)
25+
26+
* Feature / BC break: Consistently require URL when creating client
27+
(#40 by @clue)
28+
329
## 0.3.2 (2017-09-04)
430
531
* Feature / Fix: Update SocketClient to v0.5 and fix secure connection via TLS

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ The recommended way to install this library is [through Composer](https://getcom
391391
This will install the latest supported version:
392392

393393
```bash
394-
$ composer require clue/ami-react:^0.3.2
394+
$ composer require clue/ami-react:^0.4
395395
```
396396

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

0 commit comments

Comments
 (0)