Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 915 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 liveuser 1
# Changelog
2
 
3
## 1.4.0 (2020-09-18)
4
 
5
*   Feature: Support upcoming PHP 8.
6
    (#168 by @clue)
7
 
8
*   Improve test suite and update to PHPUnit 9.3.
9
    (#164 by @clue, #165 and #166 by @SimonFrings and #167 by @WyriHaximus)
10
 
11
## 1.3.0 (2020-07-10)
12
 
13
*   Feature: Forward compatibility with react/promise v3.
14
    (#153 by @WyriHaximus)
15
 
16
*   Feature: Support parsing `OPT` records (EDNS0).
17
    (#157 by @clue)
18
 
19
*   Fix: Avoid PHP warnings due to lack of args in exception trace on PHP 7.4.
20
    (#160 by @clue)
21
 
22
*   Improve test suite and add `.gitattributes` to exclude dev files from exports.
23
    Run tests on PHPUnit 9 and PHP 7.4 and clean up test suite.
24
    (#154 by @reedy, #156 by @clue and #163 by @SimonFrings)
25
 
26
## 1.2.0 (2019-08-15)
27
 
28
*   Feature: Add `TcpTransportExecutor` to send DNS queries over TCP/IP connection,
29
    add `SelectiveTransportExecutor` to retry with TCP if UDP is truncated and
30
    automatically select transport protocol when no explicit `udp://` or `tcp://` scheme is given in `Factory`.
31
    (#145, #146, #147 and #148 by @clue)
32
 
33
*   Feature: Support escaping literal dots and special characters in domain names.
34
    (#144 by @clue)
35
 
36
## 1.1.0 (2019-07-18)
37
 
38
*   Feature: Support parsing `CAA` and `SSHFP` records.
39
    (#141 and #142 by @clue)
40
 
41
*   Feature: Add `ResolverInterface` as common interface for `Resolver` class.
42
    (#139 by @clue)
43
 
44
*   Fix: Add missing private property definitions and
45
    remove unneeded dependency on `react/stream`.
46
    (#140 and #143 by @clue)
47
 
48
## 1.0.0 (2019-07-11)
49
 
50
*   First stable LTS release, now following [SemVer](https://semver.org/).
51
    We'd like to emphasize that this component is production ready and battle-tested.
52
    We plan to support all long-term support (LTS) releases for at least 24 months,
53
    so you have a rock-solid foundation to build on top of.
54
 
55
This update involves a number of BC breaks due to dropped support for
56
deprecated functionality and some internal API cleanup. We've tried hard to
57
avoid BC breaks where possible and minimize impact otherwise. We expect that
58
most consumers of this package will actually not be affected by any BC
59
breaks, see below for more details:
60
 
61
*   BC break: Delete all deprecated APIs, use `Query` objects for `Message` questions
62
    instead of nested arrays and increase code coverage to 100%.
63
    (#130 by @clue)
64
 
65
*   BC break: Move `$nameserver` from `ExecutorInterface` to `UdpTransportExecutor`,
66
    remove advanced/internal `UdpTransportExecutor` args for `Parser`/`BinaryDumper` and
67
    add API documentation for `ExecutorInterface`.
68
    (#135, #137 and #138 by @clue)
69
 
70
*   BC break: Replace `HeaderBag` attributes with simple `Message` properties.
71
    (#132 by @clue)
72
 
73
*   BC break: Mark all `Record` attributes as required, add documentation vs `Query`.
74
    (#136 by @clue)
75
 
76
*   BC break: Mark all classes as final to discourage inheritance
77
    (#134 by @WyriHaximus)
78
 
79
## 0.4.19 (2019-07-10)
80
 
81
*   Feature: Avoid garbage references when DNS resolution rejects on legacy PHP <= 5.6.
82
    (#133 by @clue)
83
 
84
## 0.4.18 (2019-09-07)
85
 
86
*   Feature / Fix: Implement `CachingExecutor` using cache TTL, deprecate old `CachedExecutor`,
87
    respect TTL from response records when caching and do not cache truncated responses.
88
    (#129 by @clue)
89
 
90
*   Feature: Limit cache size to 256 last responses by default. 
91
    (#127 by @clue)
92
 
93
*   Feature: Cooperatively resolve hosts to avoid running same query concurrently.
94
    (#125 by @clue)
95
 
96
## 0.4.17 (2019-04-01)
97
 
98
*   Feature: Support parsing `authority` and `additional` records from DNS response.
99
    (#123 by @clue)
100
 
101
*   Feature: Support dumping records as part of outgoing binary DNS message.
102
    (#124 by @clue)
103
 
104
*   Feature: Forward compatibility with upcoming Cache v0.6 and Cache v1.0
105
    (#121 by @clue)
106
 
107
*   Improve test suite to add forward compatibility with PHPUnit 7,
108
    test against PHP 7.3 and use legacy PHPUnit 5 on legacy HHVM.
109
    (#122 by @clue)
110
 
111
## 0.4.16 (2018-11-11)
112
 
113
*   Feature: Improve promise cancellation for DNS lookup retries and clean up any garbage references.
114
    (#118 by @clue)
115
 
116
*   Fix: Reject parsing malformed DNS response messages such as incomplete DNS response messages,
117
    malformed record data or malformed compressed domain name labels.
118
    (#115 and #117 by @clue)
119
 
120
*   Fix: Fix interpretation of TTL as UINT32 with most significant bit unset.
121
    (#116 by @clue)
122
 
123
*   Fix: Fix caching advanced MX/SRV/TXT/SOA structures.
124
    (#112 by @clue)
125
 
126
## 0.4.15 (2018-07-02)
127
 
128
*   Feature: Add `resolveAll()` method to support custom query types in `Resolver`.
129
    (#110 by @clue and @WyriHaximus)
130
 
131
    ```php
132
    $resolver->resolveAll('reactphp.org', Message::TYPE_AAAA)->then(function ($ips) {
133
        echo 'IPv6 addresses for reactphp.org ' . implode(', ', $ips) . PHP_EOL;
134
    });
135
    ```
136
 
137
*   Feature: Support parsing `NS`, `TXT`, `MX`, `SOA` and `SRV` records.
138
    (#104, #105, #106, #107 and #108 by @clue)
139
 
140
*   Feature: Add support for `Message::TYPE_ANY` and parse unknown types as binary data.
141
    (#104 by @clue)
142
 
143
*   Feature: Improve error messages for failed queries and improve documentation.
144
    (#109 by @clue)
145
 
146
*   Feature: Add reverse DNS lookup example.
147
    (#111 by @clue)
148
 
149
## 0.4.14 (2018-06-26)
150
 
151
*   Feature: Add `UdpTransportExecutor`, validate incoming DNS response messages
152
    to avoid cache poisoning attacks and deprecate legacy `Executor`.
153
    (#101 and #103 by @clue)
154
 
155
*   Feature: Forward compatibility with Cache 0.5
156
    (#102 by @clue)
157
 
158
*   Deprecate legacy `Query::$currentTime` and binary parser data attributes to clean up and simplify API.
159
    (#99 by @clue)
160
 
161
## 0.4.13 (2018-02-27)
162
 
163
*   Add `Config::loadSystemConfigBlocking()` to load default system config
164
    and support parsing DNS config on all supported platforms
165
    (`/etc/resolv.conf` on Unix/Linux/Mac and WMIC on Windows)
166
    (#92, #93, #94 and #95 by @clue)
167
 
168
    ```php
169
    $config = Config::loadSystemConfigBlocking();
170
    $server = $config->nameservers ? reset($config->nameservers) : '8.8.8.8';
171
    ```
172
 
173
*   Remove unneeded cyclic dependency on react/socket
174
    (#96 by @clue)
175
 
176
## 0.4.12 (2018-01-14)
177
 
178
*   Improve test suite by adding forward compatibility with PHPUnit 6,
179
    test against PHP 7.2, fix forward compatibility with upcoming EventLoop releases,
180
    add test group to skip integration tests relying on internet connection
181
    and add minor documentation improvements.
182
    (#85 and #87 by @carusogabriel, #88 and #89 by @clue and #83 by @jsor)
183
 
184
## 0.4.11 (2017-08-25)
185
 
186
*   Feature: Support resolving from default hosts file
187
    (#75, #76 and #77 by @clue)
188
 
189
    This means that resolving hosts such as `localhost` will now work as
190
    expected across all platforms with no changes required:
191
 
192
    ```php
193
    $resolver->resolve('localhost')->then(function ($ip) {
194
        echo 'IP: ' . $ip;
195
    });
196
    ```
197
 
198
    The new `HostsExecutor` exists for advanced usage and is otherwise used
199
    internally for this feature.
200
 
201
## 0.4.10 (2017-08-10)
202
 
203
* Feature: Forward compatibility with EventLoop v1.0 and v0.5 and 
204
  lock minimum dependencies and work around circular dependency for tests
205
  (#70 and #71 by @clue)
206
 
207
* Fix: Work around DNS timeout issues for Windows users
208
  (#74 by @clue)
209
 
210
* Documentation and examples for advanced usage
211
  (#66 by @WyriHaximus)
212
 
213
* Remove broken TCP code, do not retry with invalid TCP query
214
  (#73 by @clue)
215
 
216
* Improve test suite by fixing HHVM build for now again and ignore future HHVM build errors and
217
  lock Travis distro so new defaults will not break the build and
218
  fix failing tests for PHP 7.1
219
  (#68 by @WyriHaximus and #69 and #72 by @clue)
220
 
221
## 0.4.9 (2017-05-01)
222
 
223
* Feature: Forward compatibility with upcoming Socket v1.0 and v0.8
224
  (#61 by @clue)
225
 
226
## 0.4.8 (2017-04-16)
227
 
228
* Feature: Add support for the AAAA record type to the protocol parser
229
  (#58 by @othillo)
230
 
231
* Feature: Add support for the PTR record type to the protocol parser
232
  (#59 by @othillo)
233
 
234
## 0.4.7 (2017-03-31)
235
 
236
* Feature: Forward compatibility with upcoming Socket v0.6 and v0.7 component
237
  (#57 by @clue)
238
 
239
## 0.4.6 (2017-03-11)
240
 
241
* Fix: Fix DNS timeout issues for Windows users and add forward compatibility
242
  with Stream v0.5 and upcoming v0.6
243
  (#53 by @clue)
244
 
245
* Improve test suite by adding PHPUnit to `require-dev`
246
  (#54 by @clue)
247
 
248
## 0.4.5 (2017-03-02)
249
 
250
* Fix: Ensure we ignore the case of the answer
251
  (#51 by @WyriHaximus)
252
 
253
* Feature: Add `TimeoutExecutor` and simplify internal APIs to allow internal
254
  code re-use for upcoming versions.
255
  (#48 and #49 by @clue)
256
 
257
## 0.4.4 (2017-02-13)
258
 
259
* Fix: Fix handling connection and stream errors
260
  (#45 by @clue)
261
 
262
* Feature: Add examples and forward compatibility with upcoming Socket v0.5 component
263
  (#46 and #47 by @clue)
264
 
265
## 0.4.3 (2016-07-31)
266
 
267
* Feature: Allow for cache adapter injection (#38 by @WyriHaximus)
268
 
269
  ```php
270
  $factory = new React\Dns\Resolver\Factory();
271
 
272
  $cache = new MyCustomCacheInstance();
273
  $resolver = $factory->createCached('8.8.8.8', $loop, $cache);
274
  ```
275
 
276
* Feature: Support Promise cancellation (#35 by @clue)
277
 
278
  ```php
279
  $promise = $resolver->resolve('reactphp.org');
280
 
281
  $promise->cancel();
282
  ```
283
 
284
## 0.4.2 (2016-02-24)
285
 
286
* Repository maintenance, split off from main repo, improve test suite and documentation
287
* First class support for PHP7 and HHVM (#34 by @clue)
288
* Adjust compatibility to 5.3 (#30 by @clue)
289
 
290
## 0.4.1 (2014-04-13)
291
 
292
* Bug fix: Fixed PSR-4 autoload path (@marcj/WyriHaximus)
293
 
294
## 0.4.0 (2014-02-02)
295
 
296
* BC break: Bump minimum PHP version to PHP 5.4, remove 5.3 specific hacks
297
* BC break: Update to React/Promise 2.0
298
* Bug fix: Properly resolve CNAME aliases
299
* Dependency: Autoloading and filesystem structure now PSR-4 instead of PSR-0
300
* Bump React dependencies to v0.4
301
 
302
## 0.3.2 (2013-05-10)
303
 
304
* Feature: Support default port for IPv6 addresses (@clue)
305
 
306
## 0.3.0 (2013-04-14)
307
 
308
* Bump React dependencies to v0.3
309
 
310
## 0.2.6 (2012-12-26)
311
 
312
* Feature: New cache component, used by DNS
313
 
314
## 0.2.5 (2012-11-26)
315
 
316
* Version bump
317
 
318
## 0.2.4 (2012-11-18)
319
 
320
* Feature: Change to promise-based API (@jsor)
321
 
322
## 0.2.3 (2012-11-14)
323
 
324
* Version bump
325
 
326
## 0.2.2 (2012-10-28)
327
 
328
* Feature: DNS executor timeout handling (@arnaud-lb)
329
* Feature: DNS retry executor (@arnaud-lb)
330
 
331
## 0.2.1 (2012-10-14)
332
 
333
* Minor adjustments to DNS parser
334
 
335
## 0.2.0 (2012-09-10)
336
 
337
* Feature: DNS resolver