Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Apr 16:24
· 11 commits to master since this release
7500846

2.0.0 (2024-04-02)

Bug Fixes

Features

BREAKING CHANGES

  • SQSService#publish throws by default instead of
    handling errors. To maintain old behaviour, you can pass "catch" in
    the failureMode parameter.
  • SQSMessageModel will throw if required fields
    (MessageID, ReceiptHandle, Body) are missing from the SQS message.
  • Header keys returned by getAllHeaders are converted
    to lowercase. Accessing headers through non-lowercase keys will yield
    undefined, even if the header in the request is in the same case. Use
    lowercase keys, or use getHeader.
  • StatusModel and STATUS_TYPES are replaced with the
    ServiceStatus and Status types
  • We no longer use Epsagon for monitoring. Lambda Wrapper
    now supports Lumigo instead.
  • the Access-Control-Allow-Credentials header value is
    now the string 'true' instead of Boolean true. This could affect
    tests that rely on unstringified values.
  • See the v2 migration guide for full details.