Skip to content

Maintenance & Bug Fixes

Assets 2

@jeremydaly jeremydaly released this Feb 6, 2019 · 16 commits to master since this release

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
Assets 2

@jeremydaly jeremydaly released this Jan 7, 2019 · 25 commits to master since this release

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

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

Assets 2

@jeremydaly jeremydaly released this Nov 21, 2018 · 67 commits to master since this release

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
Assets 2

@jeremydaly jeremydaly released this Nov 19, 2018 · 71 commits to master since this release

Bug Fixes

Assets 2

@jeremydaly jeremydaly released this Nov 16, 2018 · 74 commits to master since this release

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

Custom Serializers

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

Additional API Gateway Inputs

TypeScript Support

Miscellaneous Updates/Maintenance

Assets 2

@jeremydaly jeremydaly released this Oct 10, 2018 · 94 commits to master since this release

Bug Fixes

Assets 2

@jeremydaly jeremydaly released this Aug 20, 2018 · 101 commits to master since this release

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

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

Assets 2

@jeremydaly jeremydaly released this Jun 16, 2018 · 142 commits to master since this release

Feature Release

v0.7 adds new features to middleware allowing an optional path that supports multiple paths, wildcards, and parameter matching to better control middleware execution plus additional parsing of the AWS Lambda context object for use in your applications. In an effort to ensure code quality and adequate test coverage, ESLint was added as well as coverage reports using Istanbul and Coveralls.

Middleware Execution Paths

  • Close #41 by adding path checks to middleware c8c7d06
  • Add middleware path restriction documentation b25f1b7

Context Parsing

  • Close #47 by adding id and context parsing 2d045cf
  • Add request context documentation 9ee79db

Test Coverage

  • Add support for test coverage 69ffb92
  • Re-config coverage tests and add ignores cd576a7

ESLint

Assets 2

@jeremydaly jeremydaly released this May 18, 2018 · 159 commits to master since this release

Feature Release

v0.6 adds a number of enhancements to route processing including support for both callback-style and async-await responses. Plus added Etag support, advanced method control with any(), head() and multi-method assignments, authorization parsing, and new route debugging features.

Etag Support

  • Close #22 by adding preliminary etag support bab5ba8
  • Add documentation for etag() c2fa313

Method Control Enhancements

  • Close #35 by adding head convenience method and updating HEAD aliasing befc95c
  • Documentation for head() convenience method b674c15
  • Close #31 by adding support for ANY method; reprioritize HEAD aliasing 86b529e
  • Documentation for any() method a4323d7
  • Close #32 by looping methods 20f3164
  • Update documentation with multi-method info bc3df07

Authorization Header Parsing

  • Close #40 by adding automatic authorization header parsing a35e3d8
  • Add documentation for new auth value 6527a9d

Route Debugging

  • Close #33 by adding a routes() method for displaying routes b5a48ce
  • Add documentation for routes() method c40d26c

Async/Await Response Support

  • Add async/await callback styles 2f674d6
  • Add documentation for callback-style and async-await support d130690
  • Documentation updates to middleware and error handling 7b01883

General Updates/Maintenance

  • Consolidate util calls c8a8c2e
  • Add patch tests 26a4d1f
  • Decouple API, request, and response to remove potential variable cross-contamination ed1f1b8
  • Add Table of Contents to readme 7c1dc43, 8ac2c86
Assets 2
You can’t perform that action at this time.