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