v0.8.0
Feature Release
v0.8 adds several new features including a robust, highly-customizable logging engine that utilizes native JSON support for AWS CloudWatch Logs. The logging engine also supports "access" logs and provides a sampling utility to perform periodic request tracing. New middleware functionality has been added that allows you to specify multiple handlers and several convenience methods have been added for cache controls and signing S3 file URLs. Async/Await support has also been added to the main handler.
Logging and Sampling Support
- Add logging and sampling support #45 a65170c, 7fb74f9
- Add additional sampler support for #45 fe54a08
- Add logging tests and fix misc bugs dedd89e
- Complete sampler and logger tests for #45 7d5d3d, 3c00eb1, e80422f
- Add logging documentation 71322af, 837476e, c96c6c8
Multiple Middleware Handler Support
Cache Control Convenience Methods
- Add cacheControl convenience method described in #49 ca795bc
- Add no-cache option to #49 d0590a7
- Add modified convenience method for adding last-modified headers #49 66230ad
- Add documentation for cache and modified methods 6f87aaa, bbb86ee
Signed S3 File URLs
Async/Await Support for Main Handler
Miscellaneous Updates/Maintenance
- Version bump 95994c7
- Tag updates 77a9d62
- Update test reporter for local reports 3562047
- Improve test coverage 4be1cf0, 15ee539, 8cf127e, 404d731, 117e065
- Unit tests for route creation 9bba041
- Documentation update cea8866, abc03b6, 7988df7, 0d01f45
- Add clientType, clientCountry and requestCount to request object d5e4c36
- Add device and country to access log d9b6c5c
- Close #51 with added documentation 09abe13
- Miscellaneous fixes and tweaks 31df7c5, 2e8725e, ee130d1