You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
1.9 KiB

2 years ago
  1. # CHANGELOG
  2. ## 1.5.2 - 2022-08-07
  3. ### Changed
  4. - Officially support PHP 8.2
  5. ## 1.5.1 - 2021-10-22
  6. ### Fixed
  7. - Revert "Call handler when waiting on fulfilled/rejected Promise"
  8. - Fix pool memory leak when empty array of promises provided
  9. ## 1.5.0 - 2021-10-07
  10. ### Changed
  11. - Call handler when waiting on fulfilled/rejected Promise
  12. - Officially support PHP 8.1
  13. ### Fixed
  14. - Fix manually settle promises generated with `Utils::task`
  15. ## 1.4.1 - 2021-02-18
  16. ### Fixed
  17. - Fixed `each_limit` skipping promises and failing
  18. ## 1.4.0 - 2020-09-30
  19. ### Added
  20. - Support for PHP 8
  21. - Optional `$recursive` flag to `all`
  22. - Replaced functions by static methods
  23. ### Fixed
  24. - Fix empty `each` processing
  25. - Fix promise handling for Iterators of non-unique keys
  26. - Fixed `method_exists` crashes on PHP 8
  27. - Memory leak on exceptions
  28. ## 1.3.1 - 2016-12-20
  29. ### Fixed
  30. - `wait()` foreign promise compatibility
  31. ## 1.3.0 - 2016-11-18
  32. ### Added
  33. - Adds support for custom task queues.
  34. ### Fixed
  35. - Fixed coroutine promise memory leak.
  36. ## 1.2.0 - 2016-05-18
  37. ### Changed
  38. - Update to now catch `\Throwable` on PHP 7+
  39. ## 1.1.0 - 2016-03-07
  40. ### Changed
  41. - Update EachPromise to prevent recurring on a iterator when advancing, as this
  42. could trigger fatal generator errors.
  43. - Update Promise to allow recursive waiting without unwrapping exceptions.
  44. ## 1.0.3 - 2015-10-15
  45. ### Changed
  46. - Update EachPromise to immediately resolve when the underlying promise iterator
  47. is empty. Previously, such a promise would throw an exception when its `wait`
  48. function was called.
  49. ## 1.0.2 - 2015-05-15
  50. ### Changed
  51. - Conditionally require functions.php.
  52. ## 1.0.1 - 2015-06-24
  53. ### Changed
  54. - Updating EachPromise to call next on the underlying promise iterator as late
  55. as possible to ensure that generators that generate new requests based on
  56. callbacks are not iterated until after callbacks are invoked.
  57. ## 1.0.0 - 2015-05-12
  58. - Initial release