1ChangeLog 2========= 3 43.0.0 (2015-11-05) 5------------------ 6 7* Now requires PHP 5.5! 8* `Promise::all()` is moved to `Promise\all()`. 9* Aside from the `Promise\all()` function, there's now also `Promise\race()`. 10* `Promise\reject()` and `Promise\resolve()` have also been added. 11* Now 100% compatible with the Ecmascript 6 Promise. 12 13 143.0.0-alpha1 (2015-10-23) 15------------------------- 16 17* This package now requires PHP 5.5. 18* #26: Added an event loop implementation. Also knows as the Reactor Pattern. 19* Renamed `Promise::error` to `Promise::otherwise` to be consistent with 20 ReactPHP and Guzzle. The `error` method is kept for BC but will be removed 21 in a future version. 22* #27: Support for Promise-based coroutines via the `Sabre\Event\coroutine` 23 function. 24* BC Break: Promises now use the EventLoop to run "then"-events in a separate 25 execution context. In practise that means you need to run the event loop to 26 wait for any `then`/`otherwise` callbacks to trigger. 27* Promises now have a `wait()` method. Allowing you to make a promise 28 synchronous and simply wait for a result (or exception) to happen. 29 30 312.0.2 (2015-05-19) 32------------------ 33 34* This release has no functional changes. It's just been brought up to date 35 with the latest coding standards. 36 37 382.0.1 (2014-10-06) 39------------------ 40 41* Fixed: `$priority` was ignored in `EventEmitter::once` method. 42* Fixed: Breaking the event chain was not possible in `EventEmitter::once`. 43 44 452.0.0 (2014-06-21) 46------------------ 47 48* Added: When calling emit, it's now possible to specify a callback that will be 49 triggered after each method handled. This is dubbed the 'continueCallback' and 50 can be used to implement strategy patterns. 51* Added: Promise object! 52* Changed: EventEmitter::listeners now returns just the callbacks for an event, 53 and no longer returns the list by reference. The list is now automatically 54 sorted by priority. 55* Update: Speed improvements. 56* Updated: It's now possible to remove all listeners for every event. 57* Changed: Now uses psr-4 autoloading. 58 59 601.0.1 (2014-06-12) 61------------------ 62 63* hhvm compatible! 64* Fixed: Issue #4. Compatiblitiy for PHP < 5.4.14. 65 66 671.0.0 (2013-07-19) 68------------------ 69 70* Added: removeListener, removeAllListeners 71* Added: once, to only listen to an event emitting once. 72* Added README.md. 73 74 750.0.1-alpha (2013-06-29) 76------------------------ 77 78* First version! 79