Skip to content

idempotency-kit: v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Sep 06:01
a2af3ec

0.3.0 (2026-09-07)

⚠ BREAKING CHANGES

  • a second concurrent caller with the same key now waits for the first caller's result instead of running the action too, and coordinate() and the decorator can raise IdempotencyInProgressError. Pass in_flight="run" to the coordinator (or set it on the settings object) to keep the previous behaviour. AsyncIdempotencyRepository gained replace(record); a custom repository needs it, and the coordinator raises TypeError at construction without it unless in_flight="run". IdempotencyRecord gained status, which records written before this change read as "completed".

Features

  • reserve the key while the action runs (#28) (0dbf68b), closes #26
  • store a fingerprint of the request and refuse a key reused for another (#30) (78a9ca2), closes #27