Skip to content

Commit 2a5a74a

Browse files
committed
Prepare v1.8.0 release
1 parent 46feda0 commit 2a5a74a

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## 1.8.0 (2021-07-11)
4+
5+
A major new feature release, see [**release announcement**](https://clue.engineering/2021/announcing-reactphp-default-loop).
6+
7+
* Feature: Simplify usage by supporting new [default loop](https://reactphp.org/event-loop/#loop).
8+
(#182 by @clue)
9+
10+
```php
11+
// old (still supported)
12+
$factory = new React\Dns\Resolver\Factory();
13+
$resolver = $factory->create($config, $loop);
14+
15+
// new (using default loop)
16+
$factory = new React\Dns\Resolver\Factory();
17+
$resolver = $factory->create($config);
18+
```
19+
320
## 1.7.0 (2021-06-25)
421

522
* Feature: Update DNS `Factory` to accept complete `Config` object.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Dns
1+
# DNS
22

33
[![CI status](https://github.com/reactphp/dns/workflows/CI/badge.svg)](https://github.com/reactphp/dns/actions)
44

@@ -409,7 +409,7 @@ This project follows [SemVer](https://semver.org/).
409409
This will install the latest supported version:
410410

411411
```bash
412-
$ composer require react/dns:^1.7
412+
$ composer require react/dns:^1.8
413413
```
414414

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

0 commit comments

Comments
 (0)