File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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/).
409409This 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
415415See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments