From 22b308793ab3f4c560ddea1c3cc4239ec8c712a5 Mon Sep 17 00:00:00 2001 From: Daniel Lowrey Date: Mon, 27 Apr 2015 15:04:56 -0400 Subject: [PATCH] update support files --- CHANGELOG.md | 22 +++++++++++++++++++++- CONTRIBUTING | 2 +- README.md | 8 +------- composer.json | 2 +- 4 files changed, 24 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b5296e..63ea0d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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:** diff --git a/CONTRIBUTING b/CONTRIBUTING index fbb7232..1c6192e 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -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. diff --git a/README.md b/README.md index e2a4246..00cd9fd 100644 --- a/README.md +++ b/README.md @@ -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** diff --git a/composer.json b/composer.json index e896d35..b962868 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": ">=5.4.0" + "php": ">=7.0.0" }, "autoload": { "psr-4": {