Lambda Api Versions Save

Lightweight web framework for your serverless applications

v0.10.4

4 years ago

Bug Fix

  • Fix #133 - issue with missing props 28c4acb
  • Version bump 30183b2

v0.10.3

4 years ago

Minor Updates & Bug Fixes

  • Fix and test for #121 (@Sleavely) f04319f
  • Buffer.from '' if this.app._event.body is falsy (@btakita) 9deffab
  • #109 Implement a whitelist for headers as an option to LambdaAPI (@hussfelt) ee2ad0d
  • #109 Add testcase for whitelisted errors (@hussfelt) 3df6a24
  • Add documentation for errorHeaderWhitelist adc697a
  • Add test case for #124 and tweak formatting 256a9e7
  • Fix formatting 07c7512
  • Fix linting errors b7ff413
  • Version bump 48d5718

v0.10.2

4 years ago

Maintenance & Bug Fixes

  • Make type declarations pass strict mode (@maxmellen) 683a81c
  • Added support for API Gateway Console Test event (@stawecki) 40ac6cc
  • Improve type declarations (@maxmellen) 5cbd48f
  • Dependency updates and version bump d96bbb3
  • Fix null value error for multiValueHeaders d0e8889
  • Merge local changes with #114 cd0ed1b
  • Reorg lambda console test 2353583
  • Add custom logger per #115
  • Fix linting errors 41f430e
  • Add linting to ci b2a8503

v0.10.1

5 years ago

Bug Fixes

  • Fix linting error cc87ed5
  • Fix typos 254e300
  • Close #98 - Status code reporting incorrectly in error logs c05055f
  • Close #93 - Relax handler function arity requirements 0964958

v0.10.0

5 years ago

Feature Release

v0.10 now allows you to seamlessly switch between API Gateway and Application Load Balancers. New execution stacks enables method-based middleware and more wildcard functionality. Plus full support for multi-value headers and query string parameters.

ALB Support

  • Add interface detection to REQUEST parsing 60ca34a
  • Add documentation for REQUEST interface detection 454005d
  • Add multi-value support detection for #72 and #73 09f6596
  • Add query fallback support for ALB multi-value e572f6c, 3fce7ef
  • Close #80 with initial ALB support cdea6c9, 776dde2

Multi-value Header/Query String Parameter Support

  • Add support for multi-value query parameters 126bfbf
  • Test case for multiValueQueryStringParameters support 43b0f13
  • Additional test cases for #72 176597b
  • Reimplement multi-value query params 1545475
  • Add documentation for multiValueQuery a878dd2
  • Close #73 with multi-value header support and test updates c2e0f2f, c2cfe6b

Additional Wildcard Route Support

  • Close #78 by adding wildcard route support e130b99
  • Update wildcard route documentation 8367713

Method-based Middleware and Execution Stacks

  • Close #87 by adding new execution stack processing ebbb62e
  • Fix 'route not found' error with wildcard paths 34bb29b
  • Add 'stack' property to REQUEST 125993b

Miscellaneous Updates/Maintenance

  • Version bump and package updates 20d2eed,9b29529
  • Fix #77 with updated declaration c4d7d2b
  • Update typescript definitions 0b2214b
  • Close #85 by adding sourceIp fallback 872b277
  • Close #89 by adding multi-value querystring support to logging 96687cb
  • Close #88 by adding interface to logs 7d6c169
  • Add sendStatus support 2990ada
  • Fix linting errors 446044b
  • Add tests for statusDescriptions 20303b2
  • Add additional test coverage and misc fixes 149ff6c
  • Documentation updates 11ed69b, 4642275, 01a59e9, 87a718f, f9e7af1

v0.9.2

5 years ago

Bug Fixes

Thanks to @Wintereise and @hassankhan, some additional improvements were made to the TypeScript declaration file.

  • Update declarations file to include exports/minor fixes 6acd197
  • Add new Error types a9330d4

v0.9.1

5 years ago

Bug Fixes

  • Add index.d.ts to npm tarball (thanks @hassankhan) e81347c

v0.9.0

5 years ago

Feature Release

v0.9 adds a few additional features to give developers better control over error handling and serialization. A TypeScript declaration file has also been added and some additional API Gateway inputs are now available in the REQUEST object.

Error Types

  • Close #68 with new error types c04b4dc
  • Update documentation 35e7e1b

Custom Serializers

  • Close #67 with custom serializers
  • Update documentation 7556e6a

Additional API Gateway Inputs

  • Close #69 with added API Gateway inputs 85accb4
  • Documentation updates cf8781e

TypeScript Support

  • Add TypeScript support 2a50276, 328ba03, 29362cb
  • Update documentation with TypeScript reference 702f2e3

Miscellaneous Updates/Maintenance

  • Fix linting error 1a78f86
  • Fix readme b5d66c4
  • Fix issue with missing/undefined event 711c7e3
  • Documentation updates 2b7b946, f58f644
  • Update dev dependencies to latest versions 40b49d9

v0.8.1

5 years ago

Bug Fixes

  • Fix #61 by adding default options c8c267d
  • Fix #64 with state detection after callback execution 85b18a7
  • Documentation updates c773db4, c6ed846
  • Update sampling test ecd257a

v0.8.0

5 years ago

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

  • Close #50 by adding support for multiple middlewares a2259a2

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

  • Close #56 with built in getSignedUrl f7f841e
  • Add s3 url signing to redirects 38b3477

Async/Await Support for Main Handler

  • Close #52 by adding main handler async support 5086386

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