Skip to content

Commit

Permalink
Prepping for 3.0.0-alpha1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Oct 24, 2015
1 parent efee7cc commit 0da3832
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
ChangeLog
=========

3.0.0 (????-??-??)
------------------
3.0.0-alpha1 (2015-10-23)
-------------------------

* 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.


2.0.1 (2014-10-06)
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ sabre/event

A lightweight library for event-based development in PHP.

This library provides two patterns:
This library provides the following event-based concepts:

1. EventEmitter
2. Promises
3. An Event Loop using `stream_select()`.
4. Co-routines.

Full documentation can be found on [the website][1].

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "http://sabre.io/event/",
"license": "BSD-3-Clause",
"require": {
"php": ">=5.4.1"
"php": ">=5.5"
},
"authors": [
{
Expand All @@ -36,7 +36,7 @@
]
},
"require-dev": {
"sabre/cs": "~0.0.1",
"sabre/cs": "~0.0.4",
"phpunit/phpunit" : "*"
},
"config" : {
Expand Down
2 changes: 1 addition & 1 deletion lib/Loop/Loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function stop() {
/**
* Executes all 'nextTick' callbacks.
*
* return @void
* return void
*/
protected function runNextTicks() {

Expand Down
2 changes: 1 addition & 1 deletion lib/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ class Version {
/**
* Full version number
*/
const VERSION = '3.0.0';
const VERSION = '3.0.0-alpha1';

}

0 comments on commit 0da3832

Please sign in to comment.