Skip to content

Latest commit

 

History

History
405 lines (233 loc) · 10.3 KB

CHANGELOG.md

File metadata and controls

405 lines (233 loc) · 10.3 KB

Changelog

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

[4.4.3]  (2021-04-10)

Updated

  • Updated dependencies

4.4.2  (2020-11-25)

Fixed

  • Update calculation of testRequest prop on api signature based on headers

4.4.1  (2020-11-25)

Changed

  • Set 'Access-Control-Allow-Headers': 'Test-Request' for support of the test-request header when cors=true is specified in API responses

4.4.0  (2020-11-24)

Changed

  • Added 'Access-Control-Allow-Headers': '*' when cors=true is specified in API responses
  • Update dependencies

4.3.0  (2020-11-13)

Added

  • Added rawQueryString as parsed param to http api wrapper

4.2.0  (2020-11-13)

Added

  • Added rawPath as parsed param to http api wrapper

Changed

  • Update dependencies

4.1.1  (2020-10-31)

Changed

  • Update documentation

4.1.0  (2020-10-31)

Added

  • Custom response option for api gateway responses

Changed

  • Update dependencies

4.0.6  (2020-09-23)

Changed

  • Update dependencies

4.0.5  (2020-09-11)

Changed

  • Update dependencies

4.0.4  (2020-09-06)

Changed

  • Better debug logging of events - include original and parsed messages instead of just parsed

4.0.3  (2020-09-06)

Changed

  • Update dependencies

4.0.2  (2020-08-16)

Changed

  • Update dependencies
  • Update documentation
  • Update example project

4.0.1  (2020-08-11)

Fixed

  • Updated api response interfaces to indicate optional vs required params

4.0.0  (2020-08-11)

Changed

  • Updated the API Gateway and HTTP API response function signatures for easier overriding of defaults

3.7.0  (2020-08-03)

Added

  • Support for HTTP API 2.0 payloads

3.6.3  (2020-06-21)

Fixed

  • Fix changes to eagerly parse api payloads as JSON

3.6.2  (2020-06-21)

Updated

  • Try harder to parse api payloads as JSON even if no content-type headers are available

3.6.1  (2020-06-21)

Updated

  • Log websocket payload from api wrapper when log levels set to info

3.6.0  (2020-06-21)

Added

  • Add support for Websocket connections

Updated

  • Updated all libraries to latest

3.5.0  (2020-05-10)

Changed

  • API response 'not authorized' now returns 401 instead of 403

3.4.0  (2020-05-10)

Added

  • Added support for the API Gateway v2 HTTP API Auth property

3.3.3  (2020-05-08)

Changed

  • Change npmignore config to whitelisting

3.3.2  (2020-05-07)

Changed

  • Make generics optional by defaulting to any

3.3.1  (2020-05-07)

Changed

  • Update dependencies

3.3.0  (2020-05-07)

Changed

  • Update API, SNS, and generic wrappers with support for generic types

3.2.0  (2020-05-02)

Changed

  • 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)

Changed

  • Updated out of date libraries

3.1.2  (2020-02-11)

Fixed

  • 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)

Added

  • Add a 'not authorized' response handler to the api wrapper

3.1.0  (2020-01-20)

Changed

  • Default signature params to undefined instead of null to allow for default values
  • Updated libraries

3.0.0  (2020-01-05)

Changed

  • Api error response generates a 500 status code instead of 503

2.1.1  (2020-01-05)

Added

  • Api error response logs Error message if passed an Error object

2.1.0  (2020-01-04)

Changed

  • Api error response includes Error message if passed an Error object

Fixed

  • Removed extra files from published package
  • Correct package.json entry point to lib

2.0.1  (2020-01-04)

Fixed

  • Removed extra files from published package
  • Correct package.json entry point to lib

2.0.0  (2020-01-04)

Changed

  • Removed references to Epsagon and IOPipe
  • Instead of callbacks, response methods use the recommended return syntax

Added

  • V2 of the docs

1.2.2  (2019-10-14)

Changed

  • Modified console out logging level when serverless-specific framework libraries are not found

1.2.1  (2019-10-06)

Fixed

  • Added correct type definitions for new API success response method

1.2.0  (2019-10-06)

Added

  • Support for JSON.stringify replacer in the API success response method

1.1.4  (2019-09-10)

Added

  • Added missing wrapper documentation

1.1.3  (2019-09-10)

Changed

  • Reverted CloudFormation Custom Resource responder library - realized that issue was with async function instead of lib

1.1.2  (2019-09-09)

Changed

  • Updated CloudFormation Custom Resource responder library

1.1.1  (2019-09-08)

Changed

  • Updated CloudFormation Custom Resource responder library

1.1.0  (2019-09-08)

Changed

  • Switch to a new CloudFormation Custom Resource responder library

1.0.10  (2019-09-08)

Added

  • Example projects using the latest version of the library

Changed

  • Clean up documentation

1.0.9  (2019-09-07)

Changed

  • Eliminate duplicative logging from response functions

1.0.8  (2019-09-07)

Changed

  • Update the remaining wrapper signature with Lambda inputs (event, context, callback) for easier testing in applications

1.0.7  (2019-09-07)

Changed

  • Update the api wrapper signature for easier testing in applications

1.0.1  (2019-09-04)

Fixed

  • Update authorizer wrapper invalid response with correct signature

1.0.0  (2019-09-04)

Added

  • Examples with tests to run after publishing a new version

Changed

  • Extensive refactor to support unit tests
  • Update documentation to be more clear and concise

0.3.9  (2019-09-01)

Added

  • This CHANGELOG to track project changes over time

Changed

  • Update older libraries
  • Now publish from Git tags instead of master pushes