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