1 | <a name="7.6.0"></a>
|
2 | ## 7.6.0 (2019-01-18)
|
3 |
|
4 |
|
5 | #### Features
|
6 |
|
7 | * **req:** add restifyDone event (#1740) ([4900d6bd](git://github.com/restify/node-restify.git/commit/4900d6bd))
|
8 |
|
9 |
|
10 | <a name="7.5.0"></a>
|
11 | ## 7.5.0 (2019-01-09)
|
12 |
|
13 |
|
14 | #### Bug Fixes
|
15 |
|
16 | * emit after event with proper error param for node versions >= 11.4.0 (#1732) ([7a1378b0](git://github.com/restify/node-restify.git/commit/7a1378b0))
|
17 |
|
18 |
|
19 | #### Features
|
20 |
|
21 | * **plugins:** context, req.get() returns the whole context (#1739) ([6e35e01e](git://github.com/restify/node-restify.git/commit/6e35e01e))
|
22 |
|
23 |
|
24 | <a name="7.4.0"></a>
|
25 | ## 7.4.0 (2019-01-02)
|
26 |
|
27 |
|
28 | #### Bug Fixes
|
29 |
|
30 | * more flaky metrics.test.js fixes (#1730) ([71aac428](git://github.com/restify/node-restify.git/commit/71aac428))
|
31 |
|
32 |
|
33 | #### Features
|
34 |
|
35 | * **plugins:** do not include user-input in UnsupportedMediaTypeError message (VError fails), m ([06c220d2](git://github.com/restify/node-restify.git/commit/06c220d2))
|
36 |
|
37 |
|
38 | <a name="7.3.0"></a>
|
39 | ## 7.3.0 (2018-12-07)
|
40 |
|
41 |
|
42 | #### Features
|
43 |
|
44 | * add support for non-strict formatters (#1721) ([de1833a4](git://github.com/restify/node-restify.git/commit/de1833a4))
|
45 |
|
46 |
|
47 | <a name="7.2.3"></a>
|
48 | ### 7.2.3 (2018-11-16)
|
49 |
|
50 |
|
51 | #### Bug Fixes
|
52 |
|
53 | * **server:** fix uncaught exceptions triggering route lookups (#1717) ([e49cb3b2](git://github.com/restify/node-restify.git/commit/e49cb3b2))
|
54 |
|
55 |
|
56 | <a name="7.2.2"></a>
|
57 | ### 7.2.2 (2018-10-29)
|
58 |
|
59 |
|
60 | #### Bug Fixes
|
61 |
|
62 | * documentation typo fix (#1688) ([0fa71328](git://github.com/restify/node-restify.git/commit/0fa71328))
|
63 |
|
64 |
|
65 | <a name="7.2.1"></a>
|
66 | ### 7.2.1 (2018-06-07)
|
67 |
|
68 |
|
69 | #### Bug Fixes
|
70 |
|
71 | * proxy events into instance var and add test script (#1661) ([de72f49e](git://github.com/restify/node-restify.git/commit/de72f49e))
|
72 | * **server:** address req and res close event changes in Node v10.x (#1672) ([6be3fb7c](git://github.com/restify/node-restify.git/commit/6be3fb7c))
|
73 |
|
74 |
|
75 | #### Features
|
76 |
|
77 | * jsonBodyParser handles extended content types *+json (#1663) ([45375144](git://github.com/restify/node-restify.git/commit/45375144))
|
78 |
|
79 |
|
80 | <a name="7.2.0"></a>
|
81 | ## 7.2.0 (2018-05-16)
|
82 |
|
83 |
|
84 | #### Features
|
85 |
|
86 | * **helpers:** add compose feature (#1660) ([eb60ef40](git://github.com/restify/node-restify.git/commit/eb60ef40))
|
87 |
|
88 |
|
89 | <a name="7.1.2"></a>
|
90 | ### 7.1.2 (2018-05-15)
|
91 |
|
92 |
|
93 | #### Bug Fixes
|
94 |
|
95 | * **dtrace:** route probes (#1659) ([84bcded7](git://github.com/restify/node-restify.git/commit/84bcded7))
|
96 |
|
97 |
|
98 | <a name="7.1.1"></a>
|
99 | ### 7.1.1 (2018-04-10)
|
100 |
|
101 |
|
102 | #### Bug Fixes
|
103 |
|
104 | * **plugins:** save req._matchedVersion (#1642) ([69f917a3](git://github.com/restify/node-restify.git/commit/69f917a3))
|
105 |
|
106 |
|
107 | <a name="7.1.0"></a>
|
108 | ## 7.1.0 (2018-03-26)
|
109 |
|
110 |
|
111 | #### Features
|
112 |
|
113 | * **router:** add ignoreTrailingSlash router option (#1632) ([92ffbf5c](git://github.com/restify/node-restify.git/commit/92ffbf5c))
|
114 |
|
115 |
|
116 | <a name="7.0.0"></a>
|
117 | ## 7.0.0 (2018-03-20)
|
118 |
|
119 |
|
120 | #### Features
|
121 |
|
122 | * **server:** new router and middleware system (#1561) ([1161370b](git://github.com/restify/node-restify.git/commit/1161370b))
|
123 |
|
124 |
|
125 | #### Breaking Changes
|
126 |
|
127 | *
|
128 | - Server returns `RequestCloseError` instead of `RequestAbortedError`
|
129 | - Non-strict routing is gone
|
130 | - Different `RegExp` usage in router path and wildcards
|
131 | - Remove already deprecated `next.ifError`
|
132 | - Disable DTrace probes by default
|
133 | - Change in calling `next` multiple times
|
134 | - Router versioning and content type as a separate plugin: `conditionalHandler`
|
135 | - After event fires when both request is flushed and the last handler is finished
|
136 | - Metrics plugin latency logic changes and new latencies were added
|
137 |
|
138 | For more info see the `/guides/6to7guide.md`.
|
139 | ([1161370b](git://github.com/restify/node-restify.git/commit/1161370b))
|
140 | * dropping support below Node.js 4
|
141 | ([0698f45c](git://github.com/restify/node-restify.git/commit/0698f45c))
|
142 |
|
143 |
|
144 | <a name="6.4.0"></a>
|
145 | ## 6.4.0 (2018-03-20)
|
146 |
|
147 |
|
148 | #### Bug Fixes
|
149 |
|
150 | * server should fire not acceptable event (#1627) ([8b11b71b](git://github.com/restify/node-restify.git/commit/8b11b71b))
|
151 | * send numbers or bools as payloads (#1609) ([0919f26d](git://github.com/restify/node-restify.git/commit/0919f26d))
|
152 | * Allow multiple unmerged set-cookie headers. (#1570) ([df040154](git://github.com/restify/node-restify.git/commit/df040154))
|
153 | * add support for secureOptions in createServer (#1575) ([656e60e0](git://github.com/restify/node-restify.git/commit/656e60e0))
|
154 | * use `Buffer.isBuffer` instead of `util.isBuffer`. (#1593) ([35bd1c2b](git://github.com/restify/node-restify.git/commit/35bd1c2b))
|
155 | * **jsonBodyParser:** fix percent sign causing server fail (#1411) ([bde8fda6](git://github.com/restify/node-restify.git/commit/bde8fda6))
|
156 | * **request:** date() and time() methods return value (#1576) ([4c2cb1a7](git://github.com/restify/node-restify.git/commit/4c2cb1a7))
|
157 |
|
158 |
|
159 | <a name="6.3.4"></a>
|
160 | ### 6.3.4 (2017-11-21)
|
161 |
|
162 |
|
163 | #### Bug Fixes
|
164 |
|
165 | * **bodyReader:** Fix memory leak (#1566) ([756b3f02](git://github.com/restify/node-restify.git/commit/756b3f02))
|
166 | * **server:** avoiding uncaughtException in _routeErrorResponse by only sending response when ([cf65c65c](git://github.com/restify/node-restify.git/commit/cf65c65c))
|
167 |
|
168 |
|
169 | <a name="6.3.2"></a>
|
170 | ### 6.3.2 (2017-11-08)
|
171 |
|
172 |
|
173 | <a name="6.3.1"></a>
|
174 | ### 6.3.1 (2017-11-03)
|
175 |
|
176 |
|
177 | #### Bug Fixes
|
178 |
|
179 | * **server:** avoid http2 experimental warning without http2 option (#1555) ([12da7fdf](git://github.com/restify/node-restify.git/commit/12da7fdf))
|
180 |
|
181 |
|
182 | <a name="6.3.0"></a>
|
183 | ## 6.3.0 (2017-11-02)
|
184 |
|
185 |
|
186 | #### Features
|
187 |
|
188 | * **http2:** add native HTTP/2 support (#1489) ([6b202853](git://github.com/restify/node-restify.git/commit/6b202853))
|
189 |
|
190 |
|
191 | <a name="6.2.3"></a>
|
192 | ### 6.2.3 (2017-10-18)
|
193 |
|
194 |
|
195 | <a name="6.2.2"></a>
|
196 | ### 6.2.2 (2017-10-18)
|
197 |
|
198 |
|
199 | #### Bug Fixes
|
200 |
|
201 | * **package-lock.json:** remove artifacts.netflix.com repo (#1526) ([3d2f0f7d](git://github.com/restify/node-restify.git/commit/3d2f0f7d))
|
202 |
|
203 |
|
204 | <a name="6.2.1"></a>
|
205 | ### 6.2.1 (2017-10-18)
|
206 |
|
207 |
|
208 | #### Bug Fixes
|
209 |
|
210 | * **cpuUsageThrottle:** dont include interval in lag (#1504) ([eecb2d25](git://github.com/restify/node-restify.git/commit/eecb2d25))
|
211 | * **npm:** remove unleash dependency (#1522) ([a43aa60f](git://github.com/restify/node-restify.git/commit/a43aa60f))
|
212 | * **plugins:** use process.hrtime() for duration calculation (#1507) ([e8efd6cd](git://github.com/restify/node-restify.git/commit/e8efd6cd))
|
213 |
|
214 |
|
215 | <a name="6.2.0"></a>
|
216 | ## 6.2.0 (2017-10-16)
|
217 |
|
218 |
|
219 | #### Bug Fixes
|
220 |
|
221 | * **cpuUsageThrottle:** dont include interval in lag (#1504) ([eecb2d25](git://github.com/restify/node-restify.git/commit/eecb2d25))
|
222 | * **plugins:** use process.hrtime() for duration calculation (#1507) ([e8efd6cd](git://github.com/restify/node-restify.git/commit/e8efd6cd))
|
223 |
|
224 |
|
225 | <a name="6.1.0"></a>
|
226 | ## 6.1.0 (2017-10-16)
|
227 |
|
228 |
|
229 | #### Bug Fixes
|
230 |
|
231 | * **cpuUsageThrottle:** dont include interval in lag (#1504) ([eecb2d25](git://github.com/restify/node-restify.git/commit/eecb2d25))
|
232 | * **plugins:** use process.hrtime() for duration calculation (#1507) ([e8efd6cd](git://github.com/restify/node-restify.git/commit/e8efd6cd))
|
233 |
|
234 |
|
235 | <a name="6.0.1"></a>
|
236 | ### 6.0.1 (2017-09-19)
|
237 |
|
238 |
|
239 | #### Bug Fixes
|
240 |
|
241 | * **cpuUsageThrottle:** Correctly named handler for debugInfo (#1499) ([78b0900b](git://github.com/restify/node-restify.git/commit/78b0900b))
|
242 | * **server:** error in pre handler triggers after event (#1500) ([c2e6deae](git://github.com/restify/node-restify.git/commit/c2e6deae))
|
243 |
|
244 |
|
245 | <a name="6.0.0"></a>
|
246 | ## 6.0.0 (2017-09-15)
|
247 |
|
248 |
|
249 | #### Bug Fixes
|
250 |
|
251 | * exclude package-lock.json (#1477) ([011fdf0e](git://github.com/restify/node-restify.git/commit/011fdf0e))
|
252 | * Update dependency mime to 1.4.0 (#1467) ([6d38b38c](git://github.com/restify/node-restify.git/commit/6d38b38c))
|
253 | * **cpuUsageThrottle:** Always queue a new timeout (#1484) ([e4ffe430](git://github.com/restify/node-restify.git/commit/e4ffe430))
|
254 | * **inflightRequestThrottle:** properly handle next (#1471) ([4db404f9](git://github.com/restify/node-restify.git/commit/4db404f9))
|
255 | * **static:** avoid user-provided data in Error messages being interpreted as sprintf codes (# ([99063447](git://github.com/restify/node-restify.git/commit/99063447))
|
256 |
|
257 |
|
258 | #### Features
|
259 |
|
260 | * cpuUsageThrottle (#1460) ([84be6799](git://github.com/restify/node-restify.git/commit/84be6799))
|
261 | * **throttle plugin:** expose rate limit metrics as headers (#1453) ([1627a557](git://github.com/restify/node-restify.git/commit/1627a557))
|
262 |
|
263 |
|
264 | <a name="5.2.0"></a>
|
265 | ## 5.2.0 (2017-08-16)
|
266 |
|
267 |
|
268 | #### Bug Fixes
|
269 |
|
270 | * package.json version now matches npm ([9944dbd5](git://github.com/restify/node-restify.git/commit/9944dbd5))
|
271 | * create unit tests for sanitizePath plugin (#1352) ([12714cfc](git://github.com/restify/node-restify.git/commit/12714cfc))
|
272 | * audit timers of same name should accumulate (#1435) (#1443) ([a2d34aaa](git://github.com/restify/node-restify.git/commit/a2d34aaa))
|
273 | * respect when status code is set with res.status (GH-1429) (#1440) ([5abc0677](git://github.com/restify/node-restify.git/commit/5abc0677))
|
274 | * versioned route matching should not throw TypeError (#1381) ([25d10f00](git://github.com/restify/node-restify.git/commit/25d10f00))
|
275 |
|
276 |
|
277 | <a name="5.0.1"></a>
|
278 | ### 5.0.1 (2017-07-17)
|
279 |
|
280 |
|
281 | #### Bug Fixes
|
282 |
|
283 | * monkey patch getHeaders for pre-v7 Node.js (GH-1409) ([82088a71](git://github.com/restify/node-restify.git/commit/82088a71))
|
284 | * add node 7-8 travis support (#1405) ([536a4735](git://github.com/restify/node-restify.git/commit/536a4735))
|
285 | * Add migration guid to website (#1402) ([5f053c7e](git://github.com/restify/node-restify.git/commit/5f053c7e))
|
286 | * update http-signature to v1.0.0 (#1401) ([ec887376](git://github.com/restify/node-restify.git/commit/ec887376))
|
287 | * documentation update for restifyError event example (#1398) ([94fe7151](git://github.com/restify/node-restify.git/commit/94fe7151))
|
288 | * doc site (#1393) ([76ee5480](git://github.com/restify/node-restify.git/commit/76ee5480))
|
289 | * test static plugin's handling of sprintf escape sequences (#1391) ([5d7039a5](git://github.com/restify/node-restify.git/commit/5d7039a5))
|
290 |
|