Debian Codegraph @

vendor/guzzlehttp/promises/CHANGELOG.md

raw
1 # CHANGELOG
2
3
4 ## 2.5.0 - 2026-06-02
5
6 ### Deprecated
7
8 - Deprecated passing non-iterable inputs to promise collection helpers and `EachPromise`
9
10
11 ## 2.4.1 - 2026-05-20
12
13 ### Fixed
14
15 - Fixed cancelling settled coroutines when no current promise remains
16
17
18 ## 2.4.0 - 2026-05-20
19
20 ### Changed
21
22 - Empty `EachPromise` instances now resolve when the task queue runs without `wait()`
23
24
25 ## 2.3.1 - 2026-05-19
26
27 ### Fixed
28
29 - Fixed `Utils::inspect()` returning the internal reason array instead of the `AggregateException`
30
31
32 ## 2.3.0 - 2025-08-22
33
34 ### Added
35
36 - PHP 8.5 support
37
38
39 ## 2.2.0 - 2025-03-27
40
41 ### Fixed
42
43 - Revert "Allow an empty EachPromise to be resolved by running the queue"
44
45
46 ## 2.1.0 - 2025-03-27
47
48 ### Added
49
50 - Allow an empty EachPromise to be resolved by running the queue
51
52
53 ## 2.0.4 - 2024-10-17
54
55 ### Fixed
56
57 - Once settled, don't allow further rejection of additional promises
58
59
60 ## 2.0.3 - 2024-07-18
61
62 ### Changed
63
64 - PHP 8.4 support
65
66
67 ## 2.0.2 - 2023-12-03
68
69 ### Changed
70
71 - Replaced `call_user_func*` with native calls
72
73
74 ## 2.0.1 - 2023-08-03
75
76 ### Changed
77
78 - PHP 8.3 support
79
80
81 ## 2.0.0 - 2023-05-21
82
83 ### Added
84
85 - Added PHP 7 type hints
86
87 ### Changed
88
89 - All previously non-final non-exception classes have been marked as soft-final
90
91 ### Removed
92
93 - Dropped PHP < 7.2 support
94 - All functions in the `GuzzleHttp\Promise` namespace
95
96
97 ## 1.5.3 - 2023-05-21
98
99 ### Changed
100
101 - Removed remaining usage of deprecated functions
102
103
104 ## 1.5.2 - 2022-08-07
105
106 ### Changed
107
108 - Officially support PHP 8.2
109
110
111 ## 1.5.1 - 2021-10-22
112
113 ### Fixed
114
115 - Revert "Call handler when waiting on fulfilled/rejected Promise"
116 - Fix pool memory leak when empty array of promises provided
117
118
119 ## 1.5.0 - 2021-10-07
120
121 ### Changed
122
123 - Call handler when waiting on fulfilled/rejected Promise
124 - Officially support PHP 8.1
125
126 ### Fixed
127
128 - Fix manually settle promises generated with `Utils::task`
129
130
131 ## 1.4.1 - 2021-02-18
132
133 ### Fixed
134
135 - Fixed `each_limit` skipping promises and failing
136
137
138 ## 1.4.0 - 2020-09-30
139
140 ### Added
141
142 - Support for PHP 8
143 - Optional `$recursive` flag to `all`
144 - Replaced functions by static methods
145
146 ### Fixed
147
148 - Fix empty `each` processing
149 - Fix promise handling for Iterators of non-unique keys
150 - Fixed `method_exists` crashes on PHP 8
151 - Memory leak on exceptions
152
153
154 ## 1.3.1 - 2016-12-20
155
156 ### Fixed
157
158 - `wait()` foreign promise compatibility
159
160
161 ## 1.3.0 - 2016-11-18
162
163 ### Added
164
165 - Adds support for custom task queues.
166
167 ### Fixed
168
169 - Fixed coroutine promise memory leak.
170
171
172 ## 1.2.0 - 2016-05-18
173
174 ### Changed
175
176 - Update to now catch `\Throwable` on PHP 7+
177
178
179 ## 1.1.0 - 2016-03-07
180
181 ### Changed
182
183 - Update EachPromise to prevent recurring on a iterator when advancing, as this
184 could trigger fatal generator errors.
185 - Update Promise to allow recursive waiting without unwrapping exceptions.
186
187
188 ## 1.0.3 - 2015-10-15
189
190 ### Changed
191
192 - Update EachPromise to immediately resolve when the underlying promise iterator
193 is empty. Previously, such a promise would throw an exception when its `wait`
194 function was called.
195
196
197 ## 1.0.2 - 2015-05-15
198
199 ### Changed
200
201 - Conditionally require functions.php.
202
203
204 ## 1.0.1 - 2015-06-24
205
206 ### Changed
207
208 - Updating EachPromise to call next on the underlying promise iterator as late
209 as possible to ensure that generators that generate new requests based on
210 callbacks are not iterated until after callbacks are invoked.
211
212
213 ## 1.0.0 - 2015-05-12
214
215 - Initial release