1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00
amp/CHANGELOG.md

103 lines
2.8 KiB
Markdown
Raw Normal View History

2014-06-11 18:21:46 +02:00
### master
2014-06-12 16:43:40 +02:00
- Add new libuv reactor support (`UvReactor`) via the [php-uv extension](https://github.com/chobie/php-uv).
The php-uv extension must be built [against commit 75fd2ff591](https://github.com/chobie/php-uv/commit/75fd2ff591de2d3571985437de4465dfe8687753) or newer.
2014-06-11 18:21:46 +02:00
- Add `Reactor::watchStream()` alternative for IO watching. The `$flags` bitmask
paves the way for additional option specs in the forthcoming libuv reactor without
needlessly complicating the interface.
- Internal watcher IDs now increment from zero instead of PHP_INT_MAX*-1
2014-06-11 16:08:30 +02:00
#### v0.8.1
- Fix bug preventing `NativeReactor` from relinquishing control when no timers or
stream watchers exist.
- Fix broken `Reactor::at` millisecond resolution.
v0.8.0
------
2014-04-23 05:11:29 +02:00
- Add new `SignalReactor` for capturing and reacting to POSIX signals
- `LibeventReactor` now implements `SignalReactor`
- Remove all concurrency primitives (moved to new After repo)
> **BC BREAKS**:
- Any existing code relying on the Future/Promise/etc concurrency primitives must
now use the separate After repo as things files are no longer included with Alert.
2014-04-23 05:11:29 +02:00
2014-04-14 23:03:38 +02:00
#### v0.7.1
- `PromiseGroup` now transparently succeeds instead of throwing on empty futures array
- `stream_select()` errors suppressed in `NativeReactor` to silence errors on signal interrupts
2014-04-09 22:32:28 +02:00
v0.7.0
------
2014-04-09 16:39:52 +02:00
- `Future` is now an interface
- Add `Unresolved` as the default pending `Future` (`Promise->getFuture()`)
- Add immutable resolved `Failure` and `Success` futures
v0.6.0
------
- Time intervals are now expected in milliseconds and not seconds.
- Cleaned up unit tests
> **BC BREAKS**:
- Existing interval and delay times must be multiplied x 1000 to retain the same behavior.
v0.5.0
------
- Pare down the Promise/Future APIs
- Minor performance improvements
> **BC BREAKS**:
- Removed `Future::isPending()`
- Removed `Future::failed()`
- Removed `Future::onSuccess()`
- Removed `Future::onFailure()`
v0.4.0
------
- Altered watcher ID generation to avoid potential collisions
- Added optional $onStart callback parameter to Reactor::run() implementations
2014-03-06 15:53:48 +01:00
- Added Scala-like Future\Promise implementation
- Remove `Forkable` things originally added in v0.2.0 (unnecessary)
2014-03-06 15:53:48 +01:00
> **BC BREAKS**: *none*
v0.3.0
------
- Timed event callbacks now passed the reactor instance at param 2 upon invocation
- IO callbacks now passed the reactor instance at param 3 upon invocation
- Minor bugfixes/improvements
> **BC BREAKS**: *none*
v0.2.0
------
- Added `Alert\Forkable` interface for safely forking event reactors without resource corruption
- `Alert\LibeventReactor` now implements `Alert\Forkable`
> **BC BREAKS**: *none*
2013-08-12 17:35:18 +02:00
#### v0.1.2
- Addressed execution time drift in repeating native reactor alarms
#### v0.1.1
- Addressed infinite recursion in repeating callbacks
v0.1.0
------
- Initial tagged release