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

update support files

This commit is contained in:
Daniel Lowrey 2015-04-27 15:04:56 -04:00
parent 3909efd56e
commit 22b308793a
4 changed files with 24 additions and 10 deletions

View File

@ -1,4 +1,24 @@
### master
### master (v1.0.0-dev)
- All `Amp\Reactor` watcher methods now accept an options array
for future API expansion.
- All `Amp\Reactor` watchers may now be disabled at creation-time
by passing `"enable" => false` in the options array.
- `Reactor::repeat()` watchers may specify a custom initial delay
separate from the repeat interval in milliseconds using the
`"msDelay" => 1234` option
- All watcher IDs are now represented as strings
- Added new `Amp\resolve()` function to resolve co-routines as
promises.
- Removed `LibeventReactor` code until pecl/libevent supports php7
- Removed deprecated `Amp\ReactorFactory`
- `Amp\Struct` is now a trait instead of a class
v0.17.0
-------
*This is the final PHP5 compatible release. Bugfixes only to follow ...*
> **BC BREAKS:**

View File

@ -9,5 +9,5 @@ regarding such contributions.
#### Before you PR ...
Amp currently retains minimum compatibility with PHP 5.5. All source code
Amp currently retains minimum compatibility with PHP7. All source code
contributions must execute successfully in this environment.

View File

@ -2,19 +2,13 @@ Amp
====
Amp is a non-blocking concurrency framework for PHP applications
## The Guide
We've spent *a lot* of time compiling all the information necessary to write concurrent applications
using the Amp framework in [the Guide](http://amphp.github.io/amp/). Please use it!
**Dependencies**
- PHP 5.5+
- PHP7
Optional PHP extensions may be used to improve performance in production environments and react to process control signals:
- [php-uv](https://github.com/chobie/php-uv) extension for libuv backends
- [pecl/libevent](http://pecl.php.net/package/libevent) for libevent backends ([download Windows .dll](http://windows.php.net/downloads/pecl/releases/libevent/0.0.5/))
**Installation**

View File

@ -20,7 +20,7 @@
}
],
"require": {
"php": ">=5.4.0"
"php": ">=7.0.0"
},
"autoload": {
"psr-4": {