UNPKG

12.7 kBMarkdownView Raw
1<a name="8.5.1"></a>
2### 8.5.1 (2019-12-13)
3
4
5#### Bug Fixes
6
7* **benchmark:** force latest restify version (#1810) ([b8ec60e3](git://github.com/restify/node-restify.git/commit/b8ec60e3))
8* **server:** address domain performance regression with Node v12.x (#1809) ([e648d491](git://github.com/restify/node-restify.git/commit/e648d491))
9
10
11<a name="8.5.0"></a>
12## 8.5.0 (2019-12-02)
13
14
15#### Features
16
17* **chain:** use nextTick instead of setImmediate (#1808) ([703470ad](git://github.com/restify/node-restify.git/commit/703470ad))
18
19
20<a name="8.4.1"></a>
21### 8.4.1 (2019-11-27)
22
23
24<a name="8.4.0"></a>
25## 8.4.0 (2019-07-31)
26
27
28#### Features
29
30* **chain:** schedule handlers to the next tick (#1798) ([806ed711](git://github.com/restify/node-restify.git/commit/806ed711))
31
32
33<a name="8.3.3"></a>
34### 8.3.3 (2019-06-04)
35
36
37<a name="8.3.2"></a>
38### 8.3.2 (2019-05-06)
39
40
41<a name="8.3.1"></a>
42### 8.3.1 (2019-04-25)
43
44
45#### Bug Fixes
46
47* **test:** make upgrade test pass (#1772) ([d30b7483](git://github.com/restify/node-restify.git/commit/d30b7483))
48
49
50<a name="8.3.0"></a>
51## 8.3.0 (2019-04-11)
52
53
54#### Features
55
56* provide callback to uncaughtException handler (#1766) ([5e8b5e2b](git://github.com/restify/node-restify.git/commit/5e8b5e2b))
57
58
59<a name="8.2.0"></a>
60## 8.2.0 (2019-03-18)
61
62
63#### Bug Fixes
64
65* properly handle non-errors thrown in domains (#1757) ([cb2e7177](git://github.com/restify/node-restify.git/commit/cb2e7177))
66* **cpuUsageThrottle:** support breaking change in pidusage module ([7460064f](git://github.com/restify/node-restify.git/commit/7460064f))
67
68
69#### Features
70
71* **first:** Handlers that execute ASAP in the req/res lifecycle (#1756) ([8178098d](git://github.com/restify/node-restify.git/commit/8178098d))
72
73
74<a name="8.1.1"></a>
75### 8.1.1 (2019-03-14)
76
77#### Bug Fixes
78
79* Published NPM package had a bad dependency on `npm` causing new irrelevant packages to get installed
80
81<a name="8.1.0"></a>
82## 8.1.0 (2019-03-06)
83
84
85#### Bug Fixes
86
87* **dev:** upgrading modules including restify-errors (#1755) ([3b712298](git://github.com/restify/node-restify.git/commit/3b712298))
88
89
90#### Features
91
92* add router.render() back to support hypermedia usecase (#1752) ([0700cfd4](git://github.com/restify/node-restify.git/commit/0700cfd4), closes [#1684](git://github.com/restify/node-restify.git/issues/1684))
93* **plugin:** plugin to serve static files (#1753) ([a67b25f4](git://github.com/restify/node-restify.git/commit/a67b25f4))
94
95
96<a name="8.0.0"></a>
97## 8.0.0 (2019-02-20)
98#### Breaking Changes
99
100* Dropped Support for Node v4.x and Node v6.x
101
102
103<a name="7.7.0"></a>
104## 7.7.0 (2019-02-01)
105
106
107#### Bug Fixes
108
109* **dev:**
110 * remove nsp since the project merged with npm ([1dc34b48](git://github.com/restify/node-restify.git/commit/1dc34b48))
111 * pin to exact versions of linting tools and fix lint errors ([3740a6b7](git://github.com/restify/node-restify.git/commit/3740a6b7))
112
113
114#### Features
115
116* **audit:** Add the ability to specify a custom audit log serializer (for err, req and res) ([6231acda](git://github.com/restify/node-restify.git/commit/6231acda))
117
118
119<a name="7.6.0"></a>
120## 7.6.0 (2019-01-18)
121
122
123#### Features
124
125* **req:** add restifyDone event (#1740) ([4900d6bd](git://github.com/restify/node-restify.git/commit/4900d6bd))
126
127
128<a name="7.5.0"></a>
129## 7.5.0 (2019-01-09)
130
131
132#### Bug Fixes
133
134* emit after event with proper error param for node versions >= 11.4.0 (#1732) ([7a1378b0](git://github.com/restify/node-restify.git/commit/7a1378b0))
135
136
137#### Features
138
139* **plugins:** context, req.get() returns the whole context (#1739) ([6e35e01e](git://github.com/restify/node-restify.git/commit/6e35e01e))
140
141
142<a name="7.4.0"></a>
143## 7.4.0 (2019-01-02)
144
145
146#### Bug Fixes
147
148* more flaky metrics.test.js fixes (#1730) ([71aac428](git://github.com/restify/node-restify.git/commit/71aac428))
149
150
151#### Features
152
153* **plugins:** do not include user-input in UnsupportedMediaTypeError message (VError fails), m ([06c220d2](git://github.com/restify/node-restify.git/commit/06c220d2))
154
155
156<a name="7.3.0"></a>
157## 7.3.0 (2018-12-07)
158
159
160#### Features
161
162* add support for non-strict formatters (#1721) ([de1833a4](git://github.com/restify/node-restify.git/commit/de1833a4))
163
164
165<a name="7.2.3"></a>
166### 7.2.3 (2018-11-16)
167
168
169#### Bug Fixes
170
171* **server:** fix uncaught exceptions triggering route lookups (#1717) ([e49cb3b2](git://github.com/restify/node-restify.git/commit/e49cb3b2))
172
173
174<a name="7.2.2"></a>
175### 7.2.2 (2018-10-29)
176
177
178#### Bug Fixes
179
180* documentation typo fix (#1688) ([0fa71328](git://github.com/restify/node-restify.git/commit/0fa71328))
181
182
183<a name="7.2.1"></a>
184### 7.2.1 (2018-06-07)
185
186
187#### Bug Fixes
188
189* proxy events into instance var and add test script (#1661) ([de72f49e](git://github.com/restify/node-restify.git/commit/de72f49e))
190* **server:** address req and res close event changes in Node v10.x (#1672) ([6be3fb7c](git://github.com/restify/node-restify.git/commit/6be3fb7c))
191
192
193#### Features
194
195* jsonBodyParser handles extended content types *+json (#1663) ([45375144](git://github.com/restify/node-restify.git/commit/45375144))
196
197
198<a name="7.2.0"></a>
199## 7.2.0 (2018-05-16)
200
201
202#### Features
203
204* **helpers:** add compose feature (#1660) ([eb60ef40](git://github.com/restify/node-restify.git/commit/eb60ef40))
205
206
207<a name="7.1.2"></a>
208### 7.1.2 (2018-05-15)
209
210
211#### Bug Fixes
212
213* **dtrace:** route probes (#1659) ([84bcded7](git://github.com/restify/node-restify.git/commit/84bcded7))
214
215
216<a name="7.1.1"></a>
217### 7.1.1 (2018-04-10)
218
219
220#### Bug Fixes
221
222* **plugins:** save req._matchedVersion (#1642) ([69f917a3](git://github.com/restify/node-restify.git/commit/69f917a3))
223
224
225<a name="7.1.0"></a>
226## 7.1.0 (2018-03-26)
227
228
229#### Features
230
231* **router:** add ignoreTrailingSlash router option (#1632) ([92ffbf5c](git://github.com/restify/node-restify.git/commit/92ffbf5c))
232
233
234<a name="7.0.0"></a>
235## 7.0.0 (2018-03-20)
236
237
238#### Features
239
240* **server:** new router and middleware system (#1561) ([1161370b](git://github.com/restify/node-restify.git/commit/1161370b))
241
242
243#### Breaking Changes
244
245*
246- Server returns `RequestCloseError` instead of `RequestAbortedError`
247- Non-strict routing is gone
248- Different `RegExp` usage in router path and wildcards
249- Remove already deprecated `next.ifError`
250- Disable DTrace probes by default
251- Change in calling `next` multiple times
252- Router versioning and content type as a separate plugin: `conditionalHandler`
253- After event fires when both request is flushed and the last handler is finished
254- Metrics plugin latency logic changes and new latencies were added
255
256For more info see the `/guides/6to7guide.md`.
257 ([1161370b](git://github.com/restify/node-restify.git/commit/1161370b))
258* dropping support below Node.js 4
259 ([0698f45c](git://github.com/restify/node-restify.git/commit/0698f45c))
260
261
262<a name="6.4.0"></a>
263## 6.4.0 (2018-03-20)
264
265
266#### Bug Fixes
267
268* server should fire not acceptable event (#1627) ([8b11b71b](git://github.com/restify/node-restify.git/commit/8b11b71b))
269* send numbers or bools as payloads (#1609) ([0919f26d](git://github.com/restify/node-restify.git/commit/0919f26d))
270* Allow multiple unmerged set-cookie headers. (#1570) ([df040154](git://github.com/restify/node-restify.git/commit/df040154))
271* add support for secureOptions in createServer (#1575) ([656e60e0](git://github.com/restify/node-restify.git/commit/656e60e0))
272* use `Buffer.isBuffer` instead of `util.isBuffer`. (#1593) ([35bd1c2b](git://github.com/restify/node-restify.git/commit/35bd1c2b))
273* **jsonBodyParser:** fix percent sign causing server fail (#1411) ([bde8fda6](git://github.com/restify/node-restify.git/commit/bde8fda6))
274* **request:** date() and time() methods return value (#1576) ([4c2cb1a7](git://github.com/restify/node-restify.git/commit/4c2cb1a7))
275
276
277<a name="6.3.4"></a>
278### 6.3.4 (2017-11-21)
279
280
281#### Bug Fixes
282
283* **bodyReader:** Fix memory leak (#1566) ([756b3f02](git://github.com/restify/node-restify.git/commit/756b3f02))
284* **server:** avoiding uncaughtException in _routeErrorResponse by only sending response when ([cf65c65c](git://github.com/restify/node-restify.git/commit/cf65c65c))
285
286
287<a name="6.3.2"></a>
288### 6.3.2 (2017-11-08)
289
290
291<a name="6.3.1"></a>
292### 6.3.1 (2017-11-03)
293
294
295#### Bug Fixes
296
297* **server:** avoid http2 experimental warning without http2 option (#1555) ([12da7fdf](git://github.com/restify/node-restify.git/commit/12da7fdf))
298
299
300<a name="6.3.0"></a>
301## 6.3.0 (2017-11-02)
302
303
304#### Features
305
306* **http2:** add native HTTP/2 support (#1489) ([6b202853](git://github.com/restify/node-restify.git/commit/6b202853))
307
308
309<a name="6.2.3"></a>
310### 6.2.3 (2017-10-18)
311
312
313<a name="6.2.2"></a>
314### 6.2.2 (2017-10-18)
315
316
317#### Bug Fixes
318
319* **package-lock.json:** remove artifacts.netflix.com repo (#1526) ([3d2f0f7d](git://github.com/restify/node-restify.git/commit/3d2f0f7d))
320
321
322<a name="6.2.1"></a>
323### 6.2.1 (2017-10-18)
324
325
326#### Bug Fixes
327
328* **cpuUsageThrottle:** dont include interval in lag (#1504) ([eecb2d25](git://github.com/restify/node-restify.git/commit/eecb2d25))
329* **npm:** remove unleash dependency (#1522) ([a43aa60f](git://github.com/restify/node-restify.git/commit/a43aa60f))
330* **plugins:** use process.hrtime() for duration calculation (#1507) ([e8efd6cd](git://github.com/restify/node-restify.git/commit/e8efd6cd))
331
332
333<a name="6.2.0"></a>
334## 6.2.0 (2017-10-16)
335
336
337#### Bug Fixes
338
339* **cpuUsageThrottle:** dont include interval in lag (#1504) ([eecb2d25](git://github.com/restify/node-restify.git/commit/eecb2d25))
340* **plugins:** use process.hrtime() for duration calculation (#1507) ([e8efd6cd](git://github.com/restify/node-restify.git/commit/e8efd6cd))
341
342
343<a name="6.1.0"></a>
344## 6.1.0 (2017-10-16)
345
346
347#### Bug Fixes
348
349* **cpuUsageThrottle:** dont include interval in lag (#1504) ([eecb2d25](git://github.com/restify/node-restify.git/commit/eecb2d25))
350* **plugins:** use process.hrtime() for duration calculation (#1507) ([e8efd6cd](git://github.com/restify/node-restify.git/commit/e8efd6cd))
351
352
353<a name="6.0.1"></a>
354### 6.0.1 (2017-09-19)
355
356
357#### Bug Fixes
358
359* **cpuUsageThrottle:** Correctly named handler for debugInfo (#1499) ([78b0900b](git://github.com/restify/node-restify.git/commit/78b0900b))
360* **server:** error in pre handler triggers after event (#1500) ([c2e6deae](git://github.com/restify/node-restify.git/commit/c2e6deae))
361
362
363<a name="6.0.0"></a>
364## 6.0.0 (2017-09-15)
365
366
367#### Bug Fixes
368
369* exclude package-lock.json (#1477) ([011fdf0e](git://github.com/restify/node-restify.git/commit/011fdf0e))
370* Update dependency mime to 1.4.0 (#1467) ([6d38b38c](git://github.com/restify/node-restify.git/commit/6d38b38c))
371* **cpuUsageThrottle:** Always queue a new timeout (#1484) ([e4ffe430](git://github.com/restify/node-restify.git/commit/e4ffe430))
372* **inflightRequestThrottle:** properly handle next (#1471) ([4db404f9](git://github.com/restify/node-restify.git/commit/4db404f9))
373* **static:** avoid user-provided data in Error messages being interpreted as sprintf codes (# ([99063447](git://github.com/restify/node-restify.git/commit/99063447))
374
375
376#### Features
377
378* cpuUsageThrottle (#1460) ([84be6799](git://github.com/restify/node-restify.git/commit/84be6799))
379* **throttle plugin:** expose rate limit metrics as headers (#1453) ([1627a557](git://github.com/restify/node-restify.git/commit/1627a557))
380
381
382<a name="5.2.0"></a>
383## 5.2.0 (2017-08-16)
384
385
386#### Bug Fixes
387
388* package.json version now matches npm ([9944dbd5](git://github.com/restify/node-restify.git/commit/9944dbd5))
389* create unit tests for sanitizePath plugin (#1352) ([12714cfc](git://github.com/restify/node-restify.git/commit/12714cfc))
390* audit timers of same name should accumulate (#1435) (#1443) ([a2d34aaa](git://github.com/restify/node-restify.git/commit/a2d34aaa))
391* respect when status code is set with res.status (GH-1429) (#1440) ([5abc0677](git://github.com/restify/node-restify.git/commit/5abc0677))
392* versioned route matching should not throw TypeError (#1381) ([25d10f00](git://github.com/restify/node-restify.git/commit/25d10f00))
393
394
395<a name="5.0.1"></a>
396### 5.0.1 (2017-07-17)
397
398
399#### Bug Fixes
400
401* monkey patch getHeaders for pre-v7 Node.js (GH-1409) ([82088a71](git://github.com/restify/node-restify.git/commit/82088a71))
402* add node 7-8 travis support (#1405) ([536a4735](git://github.com/restify/node-restify.git/commit/536a4735))
403* Add migration guid to website (#1402) ([5f053c7e](git://github.com/restify/node-restify.git/commit/5f053c7e))
404* update http-signature to v1.0.0 (#1401) ([ec887376](git://github.com/restify/node-restify.git/commit/ec887376))
405* documentation update for restifyError event example (#1398) ([94fe7151](git://github.com/restify/node-restify.git/commit/94fe7151))
406* doc site (#1393) ([76ee5480](git://github.com/restify/node-restify.git/commit/76ee5480))
407* test static plugin's handling of sprintf escape sequences (#1391) ([5d7039a5](git://github.com/restify/node-restify.git/commit/5d7039a5))
408