Skip to content
  • 5.1.1
  • a37c73e
  • Compare
    Choose a tag to compare
    Search for a tag
  • 5.1.1
  • a37c73e
  • Compare
    Choose a tag to compare
    Search for a tag

@staabm staabm released this Sep 19, 2020

5.1.1 (2020-09-19)

Assets 2
  • 5.1.0
  • d00a175
  • Compare
    Choose a tag to compare
    Search for a tag
  • 5.1.0
  • d00a175
  • Compare
    Choose a tag to compare
    Search for a tag

@staabm staabm released this Jan 31, 2020 · 16 commits to master since this release

5.1.0 (2020-01-31)

Assets 2
  • 5.0.3
  • f5cf802
  • Compare
    Choose a tag to compare
    Search for a tag
  • 5.0.3
  • f5cf802
  • Compare
    Choose a tag to compare
    Search for a tag

@staabm staabm released this Mar 5, 2018 · 34 commits to master since this release

  • Dropped remaining hhvm leftovers.
  • #55: Fixed typo in WildcardEmitterTrait (@SamMousa)
  • #54: export-ignore examples & tests in distribution (@staabm)
Assets 2

@staabm staabm released this Jun 10, 2017 · 42 commits to master since this release

  • #50: Fixed Promise\all to resolve immediately for empty arrays (@madhed)
  • #48, #49: Performance optimisations for EmitterTrait and WildcardEmitterTrait (@lunixyacht).
Assets 2

@evert evert released this Oct 29, 2016 · 52 commits to master since this release

Assets 2

@evert evert released this Oct 23, 2016 · 56 commits to master since this release

  • #42: The coroutine function now supports return in the passed generator
    function. This allows you to more generally return a value. This is a BC
    break as this is a feature that was only made possible with PHP 7, and
    before the coroutine function would only ever return the last thing that
    was yielded. If you depended on that feature, replace your last yield with
    a return.
Assets 2

@evert evert released this Oct 23, 2016 · 61 commits to master since this release

  • sabre/event now requires PHP 7. If you need PHP 5.5 support, just keep
    using 3.0.0.
  • PHP 7 type hints are now used everywhere. We're also using strict_types.
  • Support for a new WildcardEmitter which allows you to listen for events
    using the * wildcard.
  • Removed deprecated functions Promise::error and Promise::all. Instead,
    use Promise::otherwise and Promise\all().
  • EventEmitter, EventEmitterTrait and EventEmitterInterface are now just
    called Emitter, EmitterTrait, and EmitterInterface.
  • When rejecting Promises, it's now required to use an Exception or
    Throwable. This makes the typical case simpler and reduces special cases.
Assets 2

@evert evert released this Nov 5, 2015 · 91 commits to master since this release

  • Now requires PHP 5.5!
  • Promise::all() is moved to Promise\all().
  • Aside from the Promise\all() function, there's now also Promise\race().
  • Promise\reject() and Promise\resolve() have also been added.
  • Now 100% compatible with the Ecmascript 6 Promise.

Also contains all the changes from the previous alpha:

  • #26: Added an event loop implementation. Also knows as the Reactor Pattern.
  • Renamed Promise::error to Promise::otherwise to be consistent with
    ReactPHP and Guzzle. The error method is kept for BC but will be removed
    in a future version.
  • #27: Support for Promise-based coroutines via the Sabre\Event\coroutine
    function.
  • BC Break: Promises now use the EventLoop to run "then"-events in a separate
    execution context. In practise that means you need to run the event loop to
    wait for any then/otherwise callbacks to trigger.
  • Promises now have a wait() method. Allowing you to make a promise
    synchronous and simply wait for a result (or exception) to happen.
Assets 2
Pre-release
Pre-release

@evert evert released this Nov 5, 2015 · 112 commits to master since this release

  • This package now requires PHP 5.5.
  • #26: Added an event loop implementation. Also knows as the Reactor Pattern.
  • Renamed Promise::error to Promise::otherwise to be consistent with
    ReactPHP and Guzzle. The error method is kept for BC but will be removed
    in a future version.
  • #27: Support for Promise-based coroutines via the Sabre\Event\coroutine
    function.
  • BC Break: Promises now use the EventLoop to run "then"-events in a separate
    execution context. In practise that means you need to run the event loop to
    wait for any then/otherwise callbacks to trigger.
  • Promises now have a wait() method. Allowing you to make a promise
    synchronous and simply wait for a result (or exception) to happen.
Assets 2

@evert evert released this Nov 5, 2015 · 148 commits to master since this release

  • This release has no functional changes. It's just been brought up to date
    with the latest coding standards.
Assets 2
You can’t perform that action at this time.