Skip to content

1.8.3

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Nov 16:13
· 302 commits to refs/heads/develop since this release
4394755

Summary

In this release we are happy to announce the General Availability of Idempotency utility 🚀.
The Idempotency utility provides a simple solution to convert your Lambda functions into idempotent operations which are safe to retry.
During developer preview we have taken a lot of feedback. Better documentation, support for Idempotency InProgressExpiration timestamp, register the Lambda context in your handler.

Idempotency 1.0.0 Nuget package

🌟Key features

  • Prevent Lambda handler function from executing more than once on the same event payload during a time window.
  • Use DynamoDB as a persistence layer for state with bring your own persistence store provider.
  • Select a subset of the event as the idempotency key using JMESPath expressions.
  • Payload validation to provide an additional JMESPath expression to specify which part of the event body should be validated against previous idempotent invocations.
  • Set a time window in which records with the same payload should be considered duplicates
  • Expires in-progress executions if the Lambda function times out halfway through

Implementation example

image

Here is an example on how you register the Lambda context in your handler:

image

Lambda request timeout diagram

image

Quick links: 📜 Documentation | ⬇️ NuGet | 🐛 Bug Report

Changes

📜 Documentation updates

  • chore: Update version and docs for Idempotency GA (#525) by @hjgraca
  • chore: update examples for 1.8.2 release (#523) by @hjgraca

🐛 Bug and hot fixes

  • fix: logging null reference when batch processing (#521) by @hjgraca

🔧 Maintenance

  • chore: Update version and docs for Idempotency GA (#525) by @hjgraca
  • chore: update examples for 1.8.2 release (#523) by @hjgraca
  • chore: add e2e tests for idempotency method (#513) by @hjgraca

This release was made possible by the following contributors:

@hjgraca @amirkaws @hossambarakat