Skip to content

v10.3.0 Add an Option to Skip Webhook Signature Verification

Latest

Choose a tag to compare

@habara-k habara-k released this 24 Sep 01:53
· 20 commits to master since this release
Immutable release. Only release title and notes can be modified.
c64c735

What's Changed

✨ Add an Option to Skip Webhook Signature Verification

With this release, developers can now optionally skip signature verification when parsing incoming webhook requests. This new capability is especially useful in scenarios where the channel secret may change, potentially causing temporary signature mismatches.

Example Usage:

const m = line.middleware({
    channelSecret: CHANNEL_SECRET,
    skipSignatureVerification: () => true,
});

When signature verification is skipped, the signatureValidator will not be invoked. This allows webhook requests to be processed even if their signatures do not match the current channel secret used for verification.

This feature is particularly helpful in high-availability systems where avoiding downtime or message loss during configuration updates is critical.

Dependency updates

Other Changes

  • Set minimumReleaseAge to 7 days to avoid merge renovate PR quickly by @Yang-33 in #1387
  • Bump vite from 5.4.19 to 5.4.20 by @dependabot[bot] in #1388
  • Update dependency typescript to v5.9.2 by @Yang-33 in #1391
  • Update package-lock.json to apply result by npm run audit by @Yang-33 in #1392
  • Reminder for npm audit fix by @Yang-33 in #1357
  • Use github actor id instead of bot name to avoid renaming issues by @Yang-33 in #1399

Full Changelog: v10.2.0...v10.2.1