Debian Codegraph @

vendor/clue/mq-react/CHANGELOG.md

raw
1 # Changelog
2
3 ## 1.7.0 (2025-05-23)
4
5 * Feature: Improve template types to support typed handler arguments.
6 (#51 by @clue)
7
8 * Improve documentation and examples.
9 (#47 by @yadaiio and #44 @szepeviktor)
10
11 * Improve test suite, run tests on PHP 8.3 + PHP 8.4 and update test environment.
12 (#46 by @yadaiio and #50 by @PaulRotmann)
13
14 ## 1.6.0 (2023-07-28)
15
16 * Feature: Improve Promise v3 support and use template types.
17 (#41 and #42 by @clue)
18
19 * Feature: Improve PHP 8.2+ support by refactoring queuing logic.
20 (#43 by @clue)
21
22 * Improve test suite, ensure 100% code coverage and report failed assertions.
23 (#37 and #39 by @clue)
24
25 ## 1.5.0 (2022-09-30)
26
27 * Feature: Forward compatibility with upcoming Promise v3.
28 (#33 by @clue)
29
30 * Update to use new reactphp/async package instead of clue/reactphp-block.
31 (#34 by @SimonFrings)
32
33 ## 1.4.0 (2021-11-15)
34
35 * Feature: Support PHP 8.1, avoid deprecation warning concerning `\Countable::count(...)` return type.
36 (#32 by @bartvanhoutte)
37
38 * Improve documentation and simplify examples by updating to new [default loop](https://reactphp.org/event-loop/#loop).
39 (#27 and #29 by @PaulRotmann and #30 by @SimonFrings)
40
41 * Improve test suite to use GitHub actions for continuous integration (CI).
42 (#28 by @SimonFrings)
43
44 ## 1.3.0 (2020-10-16)
45
46 * Enhanced documentation for ReactPHP's new HTTP client and
47 add support / sponsorship info.
48 (#21 and #24 by @clue)
49
50 * Improve test suite and add `.gitattributes` to exclude dev files from exports.
51 Prepare PHP 8 support, update to PHPUnit 9 and simplify test matrix.
52 (#22, #23 and #25 by @SimonFrings)
53
54 ## 1.2.0 (2019-12-05)
55
56 * Feature: Add `any()` helper to await first successful fulfillment of operations.
57 (#18 by @clue)
58
59 ```php
60 // new: limit concurrency while awaiting any operation to complete
61 $promise = Queue::any(3, $urls, function ($url) use ($browser) {
62 return $browser->get($url);
63 });
64
65 $promise->then(function (ResponseInterface $response) {
66 echo 'First successful: ' . $response->getStatusCode() . PHP_EOL;
67 });
68 ```
69
70 * Minor documentation improvements (fix syntax issues and typos) and update examples.
71 (#9 and #11 by @clue and #15 by @holtkamp)
72
73 * Improve test suite to test against PHP 7.4 and PHP 7.3, drop legacy HHVM support,
74 update distro on Travis and update project homepage.
75 (#10 and #19 by @clue)
76
77 ## 1.1.0 (2018-04-30)
78
79 * Feature: Add `all()` helper to await successful fulfillment of all operations
80 (#8 by @clue)
81
82 ```php
83 // new: limit concurrency while awaiting all operations to complete
84 $promise = Queue::all(3, $urls, function ($url) use ($browser) {
85 return $browser->get($url);
86 });
87
88 $promise->then(function (array $responses) {
89 echo 'All ' . count($responses) . ' successful!' . PHP_EOL;
90 });
91 ```
92
93 * Fix: Implement cancellation forwarding for previously queued operations
94 (#7 by @clue)
95
96 ## 1.0.0 (2018-02-26)
97
98 * First stable release, following SemVer
99
100 I'd like to thank [Bergfreunde GmbH](https://www.bergfreunde.de/), a German
101 online retailer for Outdoor Gear & Clothing, for sponsoring the first release! 🎉
102 Thanks to sponsors like this, who understand the importance of open source
103 development, I can justify spending time and focus on open source development
104 instead of traditional paid work.
105
106 > Did you know that I offer custom development services and issuing invoices for
107 sponsorships of releases and for contributions? Contact me (@clue) for details.