Skip to content

v0.4.0

Compare
Choose a tag to compare
@jeremydaly jeremydaly released this 02 Apr 02:10
c3fa0c1

Feature Release

v0.4 adds Binary Support, Path Prefixing and more.

Binary Support

  • Add base64 body parsing if isBase64Encoded header is available 75284c5
  • Add mimeLookup and mimemap 6b0d2d8, 928c7e3
  • Add attachment(), download(), and sendFile() methods 9a73b68, 6c745d6, a0f8a78
  • Add custom mimeTypes config option e8f6686
  • Add auto reset of isBase64 and add strip headers on error 86c0a17, 91eea99
  • Add s3 getObject support w/ tests 28b9c33
  • Add aws-sdk as dev dependency 591da6d

Path Prefixing

  • Add register function to close #11, rework base property bc2a00b
  • Update tests with new base config and add register tests bfa26be
  • Add support for root paths 49476ab

Additional Updates

  • Close #18 by adding patch() convenience method 9012dc6

Tests

  • Add mimeLookup tests 7926f21
  • Add attachment() method tests 96a64d7
  • Update tests to support default isBase64Encoded flag f62eb12
  • Add tests for sendFile() and test.txt file e27c672
  • Add tests for download() method 3643713
  • Add additional attachment() tests f86af2d

Documentation

  • Update lambda api image inclusion method for npm fix 4e0063e
  • Add notes for root paths and binary support 074ee79
  • Additional notes about binary support 0a6de47
  • Initial documentation for sendFile and new config options 229b93f
  • Add patch() documentation 71316e9
  • Additional documentation for download/sendfile and other updates aed99f6
  • Add register() documentation 8530199
  • Add attachment() documentation aa9bcaa
  • Add binary support documentation e42739f
  • Additional documentation and cleanup 0127fb8, 7e5ee40