Release notes
*Sourced from [amphp/amp's releases](https://github.com/amphp/amp/releases).*
> ## 2.1.0
> - Make use of `hrtime()` as monotonic time source if available (PHP 7.3)
> - Added `Amp\Iterator\toArray()`
> - Added `Amp\Promise\timeoutWithDefault()` ([#245](https://github-redirect.dependabot.com/amphp/amp/issues/245))
> - Added `Amp\Promise\wrap()` ([#234](https://github-redirect.dependabot.com/amphp/amp/issues/234))
> - Added `Amp\Loop::now()`
> - Fixed stale `NativeDriver::$now` values ([#243](https://github-redirect.dependabot.com/amphp/amp/issues/243))
Changelog
*Sourced from [amphp/amp's changelog](https://github.com/amphp/amp/blob/master/CHANGELOG.md).*
> 2.1.0
> -----
>
> - Make use of `hrtime()` as monotonic time source if available (PHP 7.3)
> - Added `Amp\Iterator\toArray()`
> - Added `Amp\Promise\timeoutWithDefault()` ([#245](https://github-redirect.dependabot.com/amphp/amp/issues/245))
> - Added `Amp\Promise\wrap()` ([#234](https://github-redirect.dependabot.com/amphp/amp/issues/234))
> - Added `Amp\Loop::now()`
> - Fixed stale `NativeDriver::$now` values ([#243](https://github-redirect.dependabot.com/amphp/amp/issues/243))
Commits
- [`23b8bd2`](https://github.com/amphp/amp/commit/23b8bd2cfe2efeb7461640b355e8d856316323fe) Added CHANGELOG entries for v2.1.0
- [`5622edb`](https://github.com/amphp/amp/commit/5622edba3752578e12166de664e8bceab45f4aa3) Implement monotonic timer using PHP 7.3's hrtime()
- [`5889f4e`](https://github.com/amphp/amp/commit/5889f4e0fdbe18a8d6a7d53513d149781c72dc89) Randomize loop now offset
- [`d82c34d`](https://github.com/amphp/amp/commit/d82c34d30b92b839af4b20e303a1ff4f981851be) Add docs for Loop::now()
- [`77a12c8`](https://github.com/amphp/amp/commit/77a12c823b37be3a0c021f19eebe0a7af7d13da5) Add Loop::now()
- [`96c2eea`](https://github.com/amphp/amp/commit/96c2eeaa1f49056fac0b6465cb716720c6972543) Add Promise\wrap ([#234](https://github-redirect.dependabot.com/amphp/amp/issues/234))
- [`9140197`](https://github.com/amphp/amp/commit/9140197046e56ada2affe29b1b403b95c23a6aa6) Update copyright ([#242](https://github-redirect.dependabot.com/amphp/amp/issues/242))
- [`4a98cc4`](https://github.com/amphp/amp/commit/4a98cc4fdecc784cbee78e421a739a2f87f42d3a) Add timeoutWithDefault function ([#245](https://github-redirect.dependabot.com/amphp/amp/issues/245))
- [`b73e03b`](https://github.com/amphp/amp/commit/b73e03bfe25d17b85fc6d21ddc22ee53305ec018) Rename Iterator\collect to Iterator\toArray
- [`a60a8e1`](https://github.com/amphp/amp/commit/a60a8e1906ccbb23d8e4ab4c773693125afcf5ec) Add tests for Iterator\collect
- Additional commits viewable in [compare view](https://github.com/amphp/amp/compare/v2.0.7...v2.1.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps amphp/amp from 2.0.7 to 2.1.0.
Release notes
*Sourced from [amphp/amp's releases](https://github.com/amphp/amp/releases).* > ## 2.1.0 > - Make use of `hrtime()` as monotonic time source if available (PHP 7.3) > - Added `Amp\Iterator\toArray()` > - Added `Amp\Promise\timeoutWithDefault()` ([#245](https://github-redirect.dependabot.com/amphp/amp/issues/245)) > - Added `Amp\Promise\wrap()` ([#234](https://github-redirect.dependabot.com/amphp/amp/issues/234)) > - Added `Amp\Loop::now()` > - Fixed stale `NativeDriver::$now` values ([#243](https://github-redirect.dependabot.com/amphp/amp/issues/243))Changelog
*Sourced from [amphp/amp's changelog](https://github.com/amphp/amp/blob/master/CHANGELOG.md).* > 2.1.0 > ----- > > - Make use of `hrtime()` as monotonic time source if available (PHP 7.3) > - Added `Amp\Iterator\toArray()` > - Added `Amp\Promise\timeoutWithDefault()` ([#245](https://github-redirect.dependabot.com/amphp/amp/issues/245)) > - Added `Amp\Promise\wrap()` ([#234](https://github-redirect.dependabot.com/amphp/amp/issues/234)) > - Added `Amp\Loop::now()` > - Fixed stale `NativeDriver::$now` values ([#243](https://github-redirect.dependabot.com/amphp/amp/issues/243))Commits
- [`23b8bd2`](https://github.com/amphp/amp/commit/23b8bd2cfe2efeb7461640b355e8d856316323fe) Added CHANGELOG entries for v2.1.0 - [`5622edb`](https://github.com/amphp/amp/commit/5622edba3752578e12166de664e8bceab45f4aa3) Implement monotonic timer using PHP 7.3's hrtime() - [`5889f4e`](https://github.com/amphp/amp/commit/5889f4e0fdbe18a8d6a7d53513d149781c72dc89) Randomize loop now offset - [`d82c34d`](https://github.com/amphp/amp/commit/d82c34d30b92b839af4b20e303a1ff4f981851be) Add docs for Loop::now() - [`77a12c8`](https://github.com/amphp/amp/commit/77a12c823b37be3a0c021f19eebe0a7af7d13da5) Add Loop::now() - [`96c2eea`](https://github.com/amphp/amp/commit/96c2eeaa1f49056fac0b6465cb716720c6972543) Add Promise\wrap ([#234](https://github-redirect.dependabot.com/amphp/amp/issues/234)) - [`9140197`](https://github.com/amphp/amp/commit/9140197046e56ada2affe29b1b403b95c23a6aa6) Update copyright ([#242](https://github-redirect.dependabot.com/amphp/amp/issues/242)) - [`4a98cc4`](https://github.com/amphp/amp/commit/4a98cc4fdecc784cbee78e421a739a2f87f42d3a) Add timeoutWithDefault function ([#245](https://github-redirect.dependabot.com/amphp/amp/issues/245)) - [`b73e03b`](https://github.com/amphp/amp/commit/b73e03bfe25d17b85fc6d21ddc22ee53305ec018) Rename Iterator\collect to Iterator\toArray - [`a60a8e1`](https://github.com/amphp/amp/commit/a60a8e1906ccbb23d8e4ab4c773693125afcf5ec) Add tests for Iterator\collect - Additional commits viewable in [compare view](https://github.com/amphp/amp/compare/v2.0.7...v2.1.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.