All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning
- Updated dependencies
4.4.2 (2020-11-25)
- Update calculation of
testRequest
prop on api signature based on headers
4.4.1 (2020-11-25)
- Set
'Access-Control-Allow-Headers': 'Test-Request'
for support of the test-request header whencors=true
is specified in API responses
4.4.0 (2020-11-24)
- Added
'Access-Control-Allow-Headers': '*'
whencors=true
is specified in API responses - Update dependencies
4.3.0 (2020-11-13)
- Added rawQueryString as parsed param to http api wrapper
4.2.0 (2020-11-13)
- Added rawPath as parsed param to http api wrapper
- Update dependencies
4.1.1 (2020-10-31)
- Update documentation
4.1.0 (2020-10-31)
- Custom response option for api gateway responses
- Update dependencies
4.0.6 (2020-09-23)
- Update dependencies
4.0.5 (2020-09-11)
- Update dependencies
4.0.4 (2020-09-06)
- Better debug logging of events - include original and parsed messages instead of just parsed
4.0.3 (2020-09-06)
- Update dependencies
4.0.2 (2020-08-16)
- Update dependencies
- Update documentation
- Update example project
4.0.1 (2020-08-11)
- Updated api response interfaces to indicate optional vs required params
4.0.0 (2020-08-11)
- Updated the API Gateway and HTTP API response function signatures for easier overriding of defaults
3.7.0 (2020-08-03)
- Support for HTTP API 2.0 payloads
3.6.3 (2020-06-21)
- Fix changes to eagerly parse api payloads as JSON
3.6.2 (2020-06-21)
- Try harder to parse api payloads as JSON even if no content-type headers are available
3.6.1 (2020-06-21)
- Log websocket payload from api wrapper when log levels set to info
3.6.0 (2020-06-21)
- Add support for Websocket connections
- Updated all libraries to latest
3.5.0 (2020-05-10)
- API response 'not authorized' now returns 401 instead of 403
3.4.0 (2020-05-10)
- Added support for the API Gateway v2 HTTP API Auth property
3.3.3 (2020-05-08)
- Change npmignore config to whitelisting
3.3.2 (2020-05-07)
- Make generics optional by defaulting to any
3.3.1 (2020-05-07)
- Update dependencies
3.3.0 (2020-05-07)
- Update API, SNS, and generic wrappers with support for generic types
3.2.0 (2020-05-02)
- DynamoDB stream wrapper accepts optional type generic for better TypeScript support
- DynamoDB stream wrapper returns string enum for DynamoDB event type instead of 'string'
3.1.3 (2020-03-16)
- Updated out of date libraries
3.1.2 (2020-02-11)
- Support additional properties on content-type
- Add correct content-type header for JSON stringified API responses
- Update old libraries
3.1.1 (2020-01-22)
- Add a 'not authorized' response handler to the api wrapper
3.1.0 (2020-01-20)
- Default signature params to undefined instead of null to allow for default values
- Updated libraries
3.0.0 (2020-01-05)
- Api error response generates a 500 status code instead of 503
2.1.1 (2020-01-05)
- Api error response logs Error message if passed an Error object
2.1.0 (2020-01-04)
- Api error response includes Error message if passed an Error object
- Removed extra files from published package
- Correct package.json entry point to lib
2.0.1 (2020-01-04)
- Removed extra files from published package
- Correct package.json entry point to lib
2.0.0 (2020-01-04)
- Removed references to Epsagon and IOPipe
- Instead of callbacks, response methods use the recommended return syntax
- V2 of the docs
1.2.2 (2019-10-14)
- Modified console out logging level when serverless-specific framework libraries are not found
1.2.1 (2019-10-06)
- Added correct type definitions for new API success response method
1.2.0 (2019-10-06)
- Support for JSON.stringify replacer in the API success response method
1.1.4 (2019-09-10)
- Added missing wrapper documentation
1.1.3 (2019-09-10)
- Reverted CloudFormation Custom Resource responder library - realized that issue was with async function instead of lib
1.1.2 (2019-09-09)
- Updated CloudFormation Custom Resource responder library
1.1.1 (2019-09-08)
- Updated CloudFormation Custom Resource responder library
1.1.0 (2019-09-08)
- Switch to a new CloudFormation Custom Resource responder library
1.0.10 (2019-09-08)
- Example projects using the latest version of the library
- Clean up documentation
1.0.9 (2019-09-07)
- Eliminate duplicative logging from response functions
1.0.8 (2019-09-07)
- Update the remaining wrapper signature with Lambda inputs (event, context, callback) for easier testing in applications
1.0.7 (2019-09-07)
- Update the api wrapper signature for easier testing in applications
1.0.1 (2019-09-04)
- Update authorizer wrapper invalid response with correct signature
1.0.0 (2019-09-04)
- Examples with tests to run after publishing a new version
- Extensive refactor to support unit tests
- Update documentation to be more clear and concise
- This CHANGELOG to track project changes over time
- Update older libraries
- Now publish from Git tags instead of master pushes