UNPKG

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