1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 |
|
5 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
|
6 |
|
7 | ## [4.4.3] (2021-04-10)
|
8 |
|
9 | ### Updated
|
10 |
|
11 | - Updated dependencies
|
12 |
|
13 | ## [4.4.2] (2020-11-25)
|
14 |
|
15 | ### Fixed
|
16 |
|
17 | - Update calculation of `testRequest` prop on api signature based on headers
|
18 |
|
19 | ## [4.4.1] (2020-11-25)
|
20 |
|
21 | ### Changed
|
22 |
|
23 | - Set `'Access-Control-Allow-Headers': 'Test-Request'` for support of the test-request header when `cors=true` is specified in API responses
|
24 |
|
25 | ## [4.4.0] (2020-11-24)
|
26 |
|
27 | ### Changed
|
28 |
|
29 | - Added `'Access-Control-Allow-Headers': '*'` when `cors=true` is specified in API responses
|
30 | - Update dependencies
|
31 |
|
32 | ## [4.3.0] (2020-11-13)
|
33 |
|
34 | ### Added
|
35 |
|
36 | - Added rawQueryString as parsed param to http api wrapper
|
37 |
|
38 | ## [4.2.0] (2020-11-13)
|
39 |
|
40 | ### Added
|
41 |
|
42 | - Added rawPath as parsed param to http api wrapper
|
43 |
|
44 | ### Changed
|
45 |
|
46 | - Update dependencies
|
47 |
|
48 | ## [4.1.1] (2020-10-31)
|
49 |
|
50 | ### Changed
|
51 |
|
52 | - Update documentation
|
53 |
|
54 | ## [4.1.0] (2020-10-31)
|
55 |
|
56 | ### Added
|
57 |
|
58 | - Custom response option for api gateway responses
|
59 |
|
60 | ### Changed
|
61 |
|
62 | - Update dependencies
|
63 |
|
64 | ## [4.0.6] (2020-09-23)
|
65 |
|
66 | ### Changed
|
67 |
|
68 | - Update dependencies
|
69 |
|
70 | ## [4.0.5] (2020-09-11)
|
71 |
|
72 | ### Changed
|
73 |
|
74 | - Update dependencies
|
75 |
|
76 | ## [4.0.4] (2020-09-06)
|
77 |
|
78 | ### Changed
|
79 |
|
80 | - Better debug logging of events - include original and parsed messages instead of just parsed
|
81 |
|
82 | ## [4.0.3] (2020-09-06)
|
83 |
|
84 | ### Changed
|
85 |
|
86 | - Update dependencies
|
87 |
|
88 | ## [4.0.2] (2020-08-16)
|
89 |
|
90 | ### Changed
|
91 |
|
92 | - Update dependencies
|
93 | - Update documentation
|
94 | - Update example project
|
95 |
|
96 | ## [4.0.1] (2020-08-11)
|
97 |
|
98 | ### Fixed
|
99 |
|
100 | - Updated api response interfaces to indicate optional vs required params
|
101 |
|
102 | ## [4.0.0] (2020-08-11)
|
103 |
|
104 | ### Changed
|
105 |
|
106 | - Updated the API Gateway and HTTP API response function signatures for easier overriding of defaults
|
107 |
|
108 | ## [3.7.0] (2020-08-03)
|
109 |
|
110 | ### Added
|
111 |
|
112 | - Support for HTTP API 2.0 payloads
|
113 |
|
114 | ## [3.6.3] (2020-06-21)
|
115 |
|
116 | ### Fixed
|
117 |
|
118 | - Fix changes to eagerly parse api payloads as JSON
|
119 |
|
120 | ## [3.6.2] (2020-06-21)
|
121 |
|
122 | ### Updated
|
123 |
|
124 | - Try harder to parse api payloads as JSON even if no content-type headers are available
|
125 |
|
126 | ## [3.6.1] (2020-06-21)
|
127 |
|
128 | ### Updated
|
129 |
|
130 | - Log websocket payload from api wrapper when log levels set to info
|
131 |
|
132 | ## [3.6.0] (2020-06-21)
|
133 |
|
134 | ### Added
|
135 |
|
136 | - Add support for Websocket connections
|
137 |
|
138 | ### Updated
|
139 |
|
140 | - Updated all libraries to latest
|
141 |
|
142 | ## [3.5.0] (2020-05-10)
|
143 |
|
144 | ### Changed
|
145 |
|
146 | - API response 'not authorized' now returns 401 instead of 403
|
147 |
|
148 | ## [3.4.0] (2020-05-10)
|
149 |
|
150 | ### Added
|
151 |
|
152 | - Added support for the API Gateway v2 HTTP API Auth property
|
153 |
|
154 | ## [3.3.3] (2020-05-08)
|
155 |
|
156 | ### Changed
|
157 |
|
158 | - Change npmignore config to whitelisting
|
159 |
|
160 | ## [3.3.2] (2020-05-07)
|
161 |
|
162 | ### Changed
|
163 |
|
164 | - Make generics optional by defaulting to any
|
165 |
|
166 | ## [3.3.1] (2020-05-07)
|
167 |
|
168 | ### Changed
|
169 |
|
170 | - Update dependencies
|
171 |
|
172 | ## [3.3.0] (2020-05-07)
|
173 |
|
174 | ### Changed
|
175 |
|
176 | - Update API, SNS, and generic wrappers with support for generic types
|
177 |
|
178 | ## [3.2.0] (2020-05-02)
|
179 |
|
180 | ### Changed
|
181 |
|
182 | - DynamoDB stream wrapper accepts optional type generic for better TypeScript support
|
183 | - DynamoDB stream wrapper returns string enum for DynamoDB event type instead of 'string'
|
184 |
|
185 | ## [3.1.3] (2020-03-16)
|
186 |
|
187 | ### Changed
|
188 |
|
189 | - Updated out of date libraries
|
190 |
|
191 | ## [3.1.2] (2020-02-11)
|
192 |
|
193 | ### Fixed
|
194 |
|
195 | - Support additional properties on content-type
|
196 | - Add correct content-type header for JSON stringified API responses
|
197 | - Update old libraries
|
198 |
|
199 | ## [3.1.1] (2020-01-22)
|
200 |
|
201 | ### Added
|
202 |
|
203 | - Add a 'not authorized' response handler to the api wrapper
|
204 |
|
205 | ## [3.1.0] (2020-01-20)
|
206 |
|
207 | ### Changed
|
208 |
|
209 | - Default signature params to undefined instead of null to allow for default values
|
210 | - Updated libraries
|
211 |
|
212 | ## [3.0.0] (2020-01-05)
|
213 |
|
214 | ### Changed
|
215 |
|
216 | - Api error response generates a 500 status code instead of 503
|
217 |
|
218 | ## [2.1.1] (2020-01-05)
|
219 |
|
220 | ### Added
|
221 |
|
222 | - Api error response logs Error message if passed an Error object
|
223 |
|
224 | ## [2.1.0] (2020-01-04)
|
225 |
|
226 | ### Changed
|
227 |
|
228 | - Api error response includes Error message if passed an Error object
|
229 |
|
230 | ### Fixed
|
231 |
|
232 | - Removed extra files from published package
|
233 | - Correct package.json entry point to lib
|
234 |
|
235 | ## [2.0.1] (2020-01-04)
|
236 |
|
237 | ### Fixed
|
238 |
|
239 | - Removed extra files from published package
|
240 | - Correct package.json entry point to lib
|
241 |
|
242 | ## [2.0.0] (2020-01-04)
|
243 |
|
244 | ### Changed
|
245 |
|
246 | - Removed references to Epsagon and IOPipe
|
247 | - Instead of callbacks, response methods use the recommended return syntax
|
248 |
|
249 | ### Added
|
250 |
|
251 | - V2 of the docs
|
252 |
|
253 | ## [1.2.2] (2019-10-14)
|
254 |
|
255 | ### Changed
|
256 |
|
257 | - Modified console out logging level when serverless-specific framework libraries are not found
|
258 |
|
259 | ## [1.2.1] (2019-10-06)
|
260 |
|
261 | ### Fixed
|
262 |
|
263 | - Added correct type definitions for new API success response method
|
264 |
|
265 | ## [1.2.0] (2019-10-06)
|
266 |
|
267 | ### Added
|
268 |
|
269 | - Support for JSON.stringify replacer in the API success response method
|
270 |
|
271 | ## [1.1.4] (2019-09-10)
|
272 |
|
273 | ### Added
|
274 |
|
275 | - Added missing wrapper documentation
|
276 |
|
277 | ## [1.1.3] (2019-09-10)
|
278 |
|
279 | ### Changed
|
280 |
|
281 | - Reverted CloudFormation Custom Resource responder library - realized that issue was with async function instead of lib
|
282 |
|
283 | ## [1.1.2] (2019-09-09)
|
284 |
|
285 | ### Changed
|
286 |
|
287 | - Updated CloudFormation Custom Resource responder library
|
288 |
|
289 | ## [1.1.1] (2019-09-08)
|
290 |
|
291 | ### Changed
|
292 |
|
293 | - Updated CloudFormation Custom Resource responder library
|
294 |
|
295 | ## [1.1.0] (2019-09-08)
|
296 |
|
297 | ### Changed
|
298 |
|
299 | - Switch to a new CloudFormation Custom Resource responder library
|
300 |
|
301 | ## [1.0.10] (2019-09-08)
|
302 |
|
303 | ### Added
|
304 |
|
305 | - Example projects using the latest version of the library
|
306 |
|
307 | ### Changed
|
308 |
|
309 | - Clean up documentation
|
310 |
|
311 | ## [1.0.9] (2019-09-07)
|
312 |
|
313 | ### Changed
|
314 |
|
315 | - Eliminate duplicative logging from response functions
|
316 |
|
317 | ## [1.0.8] (2019-09-07)
|
318 |
|
319 | ### Changed
|
320 |
|
321 | - Update the remaining wrapper signature with Lambda inputs (event, context, callback) for easier testing in applications
|
322 |
|
323 | ## [1.0.7] (2019-09-07)
|
324 |
|
325 | ### Changed
|
326 |
|
327 | - Update the api wrapper signature for easier testing in applications
|
328 |
|
329 | ## [1.0.1] (2019-09-04)
|
330 |
|
331 | ### Fixed
|
332 |
|
333 | - Update authorizer wrapper invalid response with correct signature
|
334 |
|
335 | ## [1.0.0] (2019-09-04)
|
336 |
|
337 | ### Added
|
338 |
|
339 | - Examples with tests to run after publishing a new version
|
340 |
|
341 | ### Changed
|
342 |
|
343 | - Extensive refactor to support unit tests
|
344 | - Update documentation to be more clear and concise
|
345 |
|
346 | ## 0.3.9 (2019-09-01)
|
347 |
|
348 | ### Added
|
349 |
|
350 | - This CHANGELOG to track project changes over time
|
351 |
|
352 | ### Changed
|
353 |
|
354 | - Update older libraries
|
355 | - Now publish from Git tags instead of master pushes
|
356 |
|
357 | [4.4.2]: https://github.com/manwaring/lambda-wrapper/compare/v4.4.1...v4.4.2
|
358 | [4.4.1]: https://github.com/manwaring/lambda-wrapper/compare/v4.4.0...v4.4.1
|
359 | [4.4.0]: https://github.com/manwaring/lambda-wrapper/compare/v4.3.0...v4.4.0
|
360 | [4.3.0]: https://github.com/manwaring/lambda-wrapper/compare/v4.2.0...v4.3.0
|
361 | [4.2.0]: https://github.com/manwaring/lambda-wrapper/compare/v4.1.1...v4.2.0
|
362 | [4.1.1]: https://github.com/manwaring/lambda-wrapper/compare/v4.1.0...v4.1.1
|
363 | [4.1.0]: https://github.com/manwaring/lambda-wrapper/compare/v4.0.6...v4.1.0
|
364 | [4.0.6]: https://github.com/manwaring/lambda-wrapper/compare/v4.0.5...v4.0.6
|
365 | [4.0.5]: https://github.com/manwaring/lambda-wrapper/compare/v4.0.4...v4.0.5
|
366 | [4.0.4]: https://github.com/manwaring/lambda-wrapper/compare/v4.0.3...v4.0.4
|
367 | [4.0.3]: https://github.com/manwaring/lambda-wrapper/compare/v4.0.2...v4.0.3
|
368 | [4.0.2]: https://github.com/manwaring/lambda-wrapper/compare/v4.0.1...v4.0.2
|
369 | [4.0.1]: https://github.com/manwaring/lambda-wrapper/compare/v4.0.0...v4.0.1
|
370 | [4.0.0]: https://github.com/manwaring/lambda-wrapper/compare/v3.7.0...v4.0.0
|
371 | [3.7.0]: https://github.com/manwaring/lambda-wrapper/compare/v3.6.3...v3.7.0
|
372 | [3.6.3]: https://github.com/manwaring/lambda-wrapper/compare/v3.6.2...v3.6.3
|
373 | [3.6.2]: https://github.com/manwaring/lambda-wrapper/compare/v3.6.1...v3.6.2
|
374 | [3.6.1]: https://github.com/manwaring/lambda-wrapper/compare/v3.6.0...v3.6.1
|
375 | [3.6.0]: https://github.com/manwaring/lambda-wrapper/compare/v3.5.0...v3.6.0
|
376 | [3.5.0]: https://github.com/manwaring/lambda-wrapper/compare/v3.4.0...v3.5.0
|
377 | [3.4.0]: https://github.com/manwaring/lambda-wrapper/compare/v3.3.3...v3.4.0
|
378 | [3.3.3]: https://github.com/manwaring/lambda-wrapper/compare/v3.3.1...v3.3.3
|
379 | [3.3.2]: https://github.com/manwaring/lambda-wrapper/compare/v3.3.1...v3.3.2
|
380 | [3.3.1]: https://github.com/manwaring/lambda-wrapper/compare/v3.3.0...v3.3.1
|
381 | [3.3.0]: https://github.com/manwaring/lambda-wrapper/compare/v3.2.0...v3.3.0
|
382 | [3.2.0]: https://github.com/manwaring/lambda-wrapper/compare/v3.1.3...v3.2.0
|
383 | [3.1.3]: https://github.com/manwaring/lambda-wrapper/compare/v3.1.2...v3.1.3
|
384 | [3.1.2]: https://github.com/manwaring/lambda-wrapper/compare/v3.1.1...v3.1.2
|
385 | [3.1.1]: https://github.com/manwaring/lambda-wrapper/compare/v3.1.0...v3.1.1
|
386 | [3.1.0]: https://github.com/manwaring/lambda-wrapper/compare/v3.0.0...v3.1.0
|
387 | [3.0.0]: https://github.com/manwaring/lambda-wrapper/compare/v2.1.1...v3.0.0
|
388 | [2.1.1]: https://github.com/manwaring/lambda-wrapper/compare/v2.1.0...v2.1.1
|
389 | [2.1.0]: https://github.com/manwaring/lambda-wrapper/compare/v2.0.1...v2.1.0
|
390 | [2.0.1]: https://github.com/manwaring/lambda-wrapper/compare/v2.0.0...v2.0.1
|
391 | [2.0.0]: https://github.com/manwaring/lambda-wrapper/compare/v1.2.2...v2.0.0
|
392 | [1.2.2]: https://github.com/manwaring/lambda-wrapper/compare/v1.2.1...v1.2.2
|
393 | [1.2.1]: https://github.com/manwaring/lambda-wrapper/compare/v1.2.0...v1.2.1
|
394 | [1.2.0]: https://github.com/manwaring/lambda-wrapper/compare/v1.1.4...v1.2.0
|
395 | [1.1.4]: https://github.com/manwaring/lambda-wrapper/compare/v1.1.3...v1.1.4
|
396 | [1.1.3]: https://github.com/manwaring/lambda-wrapper/compare/v1.1.2...v1.1.3
|
397 | [1.1.2]: https://github.com/manwaring/lambda-wrapper/compare/v1.1.1...v1.1.2
|
398 | [1.1.1]: https://github.com/manwaring/lambda-wrapper/compare/v1.1.0...v1.1.1
|
399 | [1.1.0]: https://github.com/manwaring/lambda-wrapper/compare/v1.0.10...v1.1.0
|
400 | [1.0.10]: https://github.com/manwaring/lambda-wrapper/compare/v1.0.9...v1.0.10
|
401 | [1.0.9]: https://github.com/manwaring/lambda-wrapper/compare/v1.0.8...v1.0.9
|
402 | [1.0.8]: https://github.com/manwaring/lambda-wrapper/compare/v1.0.7...v1.0.8
|
403 | [1.0.7]: https://github.com/manwaring/lambda-wrapper/compare/v1.0.1...v1.0.7
|
404 | [1.0.1]: https://github.com/manwaring/lambda-wrapper/compare/v1.0.0...v1.0.1
|
405 | [1.0.0]: https://github.com/manwaring/lambda-wrapper/compare/v0.3.8...v1.0.0
|