Skip to content

Commit 8558bba

Browse files
committed
Prepare v0.4.11 release
1 parent 801e336 commit 8558bba

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

CHANGELOG.md

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

3+
## 0.4.11 (2017-08-25)
4+
5+
* Feature: Support resolving from default hosts file
6+
(#75, #76 and #77 by @clue)
7+
8+
This means that resolving hosts such as `localhost` will now work as
9+
expected across all platforms with no changes required:
10+
11+
```php
12+
$resolver->resolve('localhost')->then(function ($ip) {
13+
echo 'IP: ' . $ip;
14+
});
15+
```
16+
17+
The new `HostsExecutor` exists for advanced usage and is otherwise used
18+
internally for this feature.
19+
320
## 0.4.10 (2017-08-10)
421

522
* Feature: Forward compatibility with EventLoop v1.0 and v0.5 and

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ The recommended way to install this library is [through Composer](http://getcomp
150150
This will install the latest supported version:
151151

152152
```bash
153-
$ composer require react/dns:^0.4.10
153+
$ composer require react/dns:^0.4.11
154154
```
155155

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

0 commit comments

Comments
 (0)