Changes
=======
5.1.1 (2020-04-03)
- Adapt for httpAPI (#39, author kylebarron)

5.1.0 (2020-03-23)
- replace ttl by cache-control (#32)
- allow integer status code (#35)

5.0.2 (2019-11-20)
- fix base64Encoded for POST requests

5.0.1 (2019-10-11)
- fix bad encoding in README.md (#23)

5.0.0 (2019-09-27)
**breacking changes**
- decode base64 encoded body on POST requests
- add Cache-Control (ttl) only on for 200 responses

4.1.4 (2019-08-19)
- add `host` property to retrieve api host URL.

4.1.3 (2019-08-01)
- Better edge cases handling for api gateway + prefix + custom domain path (#19)

4.1.2 (2019-08-01)
- Fix bad regex use (#18)

4.1.1 (2019-08-01)
- support path mapping in API Gateway custom domain (#16)

4.1.0 (2019-06-20)
- add regex route definition
- update regex parsing
- rename private functions
- update docs

4.0.0 (2019-06-01)
- add OpenAPI documentation methods
- add default documentation routes ("/openapi.json", "/docs", "/redoc")
- add tag and description in route
- add default tags for documentation routes
- better regex
- add code annotations 

**breacking change**
- replace `app_name` by `name`
- python 3 support only

3.0.1 (2019-04-24)
	- add TLL (max-age) in response header (#11)
	- add more binary media type

3.0.0 (2019-03-05)
- fix regular expression

**breacking change**
- forward function inputs as `named arguments` instead of positional arguments. 

2.0.4 (2019-02-26)
- allow `context` and `event` passing to the function (#7)

2.0.3 (2019-02-21)
- fix base64 encoding when compressing non-binary body

2.0.2 (2019-02-15)
- fix bug when trying to compress txt

2.0.1 (2019-02-04)
------------------
- Fix bug when queryStringParameters or header are "None"

2.0.0 (2019-01-29)
------------------
- add per-route response base64 encoding
- add per-route response compression (gzip, zlig, deflate)
- make "GET" the default method for the route

**breacking change**
- python3 support only
- change header status code to Integer in response

1.1.0 (2018-09-06)
------------------
- pass through 'queryStringParameters' as function kwargs

1.0.0 (2018-09-05)
------------------
- Global refactor
- Ran Black, the uncompromising Python code formatter.
- Full test suite
- Better regex route parsing
- Add logging option
- Add POST

0.0.4 (2018-03-30)
----------------
- add `Access-Control-Allow-Credentials` in response headers.

0.0.1 (2017-11-26)
----------------
- Initial release.
