Skip to content

Commit

Permalink
Prepare v1.8.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Dec 6, 2021
1 parent 997c10e commit 0bbbcc7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,25 @@
# Changelog

## 1.8.0 (2021-12-06)

* Feature: Add new `sleep()` function and deprecate `resolve()` and `reject()` functions.
(#51 by @clue)

```php
// deprecated
React\Promise\Timer\resolve($time);
React\Promise\Timer\reject($time);

// new
React\Promise\Timer\sleep($time);
```

* Feature: Support PHP 8.1 release.
(#50 by @Thomas-Gelf, #52 by @clue and #48 by @SimonFrings)

* Improve API documentation and add parameter types and return types.
(#49 by @clue and #47 by @SimonFrings)

## 1.7.0 (2021-07-11)

A major new feature release, see [**release announcement**](https://clue.engineering/2021/announcing-reactphp-default-loop).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -291,7 +291,7 @@ This project follows [SemVer](https://semver.org/).
This will install the latest supported version:

```bash
$ composer require react/promise-timer:^1.7
$ composer require react/promise-timer:^1.8
```

See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
Expand Down

0 comments on commit 0bbbcc7

Please sign in to comment.