File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ The recommended way to install this library is [through Composer](http://getcomp
150150This 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
156156See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
You can’t perform that action at this time.
0 commit comments