Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
# CHANGELOG
2
 
3
## 1.5.2 - 2022-08-07
4
 
5
### Changed
6
 
7
- Officially support PHP 8.2
8
 
9
## 1.5.1 - 2021-10-22
10
 
11
### Fixed
12
 
13
- Revert "Call handler when waiting on fulfilled/rejected Promise"
14
- Fix pool memory leak when empty array of promises provided
15
 
16
## 1.5.0 - 2021-10-07
17
 
18
### Changed
19
 
20
- Call handler when waiting on fulfilled/rejected Promise
21
- Officially support PHP 8.1
22
 
23
### Fixed
24
 
25
- Fix manually settle promises generated with `Utils::task`
26
 
27
## 1.4.1 - 2021-02-18
28
 
29
### Fixed
30
 
31
- Fixed `each_limit` skipping promises and failing
32
 
33
## 1.4.0 - 2020-09-30
34
 
35
### Added
36
 
37
- Support for PHP 8
38
- Optional `$recursive` flag to `all`
39
- Replaced functions by static methods
40
 
41
### Fixed
42
 
43
- Fix empty `each` processing
44
- Fix promise handling for Iterators of non-unique keys
45
- Fixed `method_exists` crashes on PHP 8
46
- Memory leak on exceptions
47
 
48
 
49
## 1.3.1 - 2016-12-20
50
 
51
### Fixed
52
 
53
- `wait()` foreign promise compatibility
54
 
55
 
56
## 1.3.0 - 2016-11-18
57
 
58
### Added
59
 
60
- Adds support for custom task queues.
61
 
62
### Fixed
63
 
64
- Fixed coroutine promise memory leak.
65
 
66
 
67
## 1.2.0 - 2016-05-18
68
 
69
### Changed
70
 
71
- Update to now catch `\Throwable` on PHP 7+
72
 
73
 
74
## 1.1.0 - 2016-03-07
75
 
76
### Changed
77
 
78
- Update EachPromise to prevent recurring on a iterator when advancing, as this
79
  could trigger fatal generator errors.
80
- Update Promise to allow recursive waiting without unwrapping exceptions.
81
 
82
 
83
## 1.0.3 - 2015-10-15
84
 
85
### Changed
86
 
87
- Update EachPromise to immediately resolve when the underlying promise iterator
88
  is empty. Previously, such a promise would throw an exception when its `wait`
89
  function was called.
90
 
91
 
92
## 1.0.2 - 2015-05-15
93
 
94
### Changed
95
 
96
- Conditionally require functions.php.
97
 
98
 
99
## 1.0.1 - 2015-06-24
100
 
101
### Changed
102
 
103
- Updating EachPromise to call next on the underlying promise iterator as late
104
  as possible to ensure that generators that generate new requests based on
105
  callbacks are not iterated until after callbacks are invoked.
106
 
107
 
108
## 1.0.0 - 2015-05-12
109
 
110
- Initial release