NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #973 most downloaded on Packagist
sabre/event is a library for lightweight event-based programming
Last release 3 months ago
07 Jul 2026
Release timing varies
gaps range from 9 days to 1.9 years
Nearly every release is documented
notes for 27 of 28 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
29 releases · first in 2013
6.1.1 (2026-07-06) #162 fix: Do not sort listeners differently depending on their type ( @come-nc )
This release supports PHP 8.2 and up. That is specified in composer.json so consumers should automatically select it only for projects that have minim
This release supports PHP 8.2 and up. That is specified in composer.json so consumers should automatically select it only for projects that have minimum PHP 8.2 support.
The 6.0.* release series, supporting PHP 7.4 8.0 8.1, will have bugfixes backported if relevant/needed for some time.
One column per quarter.
6.0.3 (2026-07-07) #162 fix: Do not sort listeners differently depending on their type ( @come-nc )
various bumps to versions of tools and actions in CI ( @phil-davis )
This release continues to support PHP 7.4 and 8.0 through 8.5.
This 6.0.* series will be maintained as needed for PHP 7.4 support.
As well as a few fixes to edge-case code flow, there are quite a lot of enhancements to the phpdoc parameter and return type declarations. You may fin
As well as a few fixes to edge-case code flow, there are quite a lot of enhancements to the phpdoc parameter and return type declarations.
You may find that code analysis tools like phpstan now find different things when you update to 6.0.1
* #96 Minor fixes to examples, tests and comments (@phil-davis) * #97 PHP min version 7.4 (@phil-davis)
5.1.9 (2026-07-07) #162 fix: Do not sort listeners differently depending on their type ( @come-nc )
various bumps to versions of tools and actions in CI ( @phil-davis )
The code changes are just code-style applied by the newer php-cs-fixer. There are no actual bug fixes, and no change to behavior.
The code changes are just code-style applied by the newer php-cs-fixer. There are no actual bug fixes, and no change to behavior.
5.1.6 (2024-07-26) #128 Explicitly mark nullable parameter ( @cedric-anne )
5.1.5 (2024-07-25) #125 PHPdoc, CI and test changes to bring 5.1 up to PHP 8.3 ( @phil-davis ) #126 PHP 8.4 compliance ( @phil-davis )
* #93 version bump that was missed in 5.1.3 (@phil-davis)
* #88 Pass null to $microseconds for null $seconds (@TysonAndre)
* #82: Added support for PHP 8.0 (@phil-davis)
declare experimental php8 support (@TysonAndre)
Added support for PHP 7.4, dropped support for PHP 7.0 (@phil-davis)
Dropped remaining hhvm leftovers.
* #50: Fixed Promise\all to resolve immediately for empty arrays (@MadHed) * #48, #49: Performance optimisations for EmitterTrait and WildcardEmitterT
* #45: Fixed Emitter class to use the correct interface. (@felixfbecker).
Emitter class to use the correct interface. (@felixfbecker).* #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 bre
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.Removed deprecated functions Promise::error and Promise::all. Instead, use Promise::otherwise and Promise\all().
WildcardEmitter which allows you to listen for events
using the * wildcard.Promise::error and Promise::all. Instead,
use Promise::otherwise and Promise\all().EventEmitter, EventEmitterTrait and EventEmitterInterface are now just
called Emitter, EmitterTrait, and EmitterInterface.Exception or
Throwable. This makes the typical case simpler and reduces special cases.Promise::all() is moved to Promise\all().
Promise::all() is moved to Promise\all().Promise\all() function, there's now also Promise\race().Promise\reject() and Promise\resolve() have also been added.This package now requires PHP 5.5.
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.Sabre\Event\coroutine
function.then/otherwise callbacks to trigger.wait() method. Allowing you to make a promise
synchronous and simply wait for a result (or exception) to happen.This release has no functional changes. It's just been brought up to date with the latest coding standards.
Fixed: $priority was ignored in EventEmitter::once method.
$priority was ignored in EventEmitter::once method.EventEmitter::once.Added: When calling emit, it's now possible to specify a callback that will be triggered after each method handled. This is dubbed the 'continueCallba
Fixed: Issue #4. Compatibility for PHP < 5.4.14.
Added: removeListener, removeAllListeners
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →