Skip to content

v11.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Apr 18:56
· 194 commits to main since this release
15e5422

11.0.0 (2023-04-14)

Features

  • Removes the onUnhandledRequest middleware option (#740) (cfd77ad)
  • Only accept string payloads for webhooks.sign() (#794) (855cefa)
  • Only accept string payloads for webhooks.verify() and webhooks.verifyAndReceive() and the middleware (#793) (7cc4068)

Bug Fixes

  • build: adapt package.json entries for better browser and ESM compat (ffbf0ac)

BREAKING CHANGES

  • middleware only and (always) handles requests at path
  • Only accept string payloads for webhooks.verify() and webhooks.verifyAndReceive()
  • The middleware now expects only string payloads for request.body
  • Only accept string payloads for webhooks.verify()