Skip to content

v1.2.15

Choose a tag to compare

@daniesy daniesy released this 17 Jun 22:35
· 12 commits to master since this release

Changed

  • Added per-input deduplication for input_filled.

  • Each input field now sends input_filled only once per page session.

  • Multiple different input fields can still each send their own event.

  • Later edits to the same input are ignored.

  • Replaced the old debounce-based input handling with explicit deduplication.

  • Removed the unused debounce helper and shouldDebounce event contract.

  • Updated README documentation for the new input_filled behavior.

  • Added a retrying event sender.

  • New EventSender manages in-memory pending, sending, sent, and failed queues.

  • sg_event_id is assigned once per queued event and reused across retries.

  • Retries transient failures: network errors, 408, 429, and 5xx.

  • Non-retryable 4xx responses fail immediately.

  • Improved remote response handling.

  • Remote.post() now returns response status metadata.

  • Invalid JSON responses no longer break response handling.

Notes

  • Redirecting events use a single send attempt before navigation to avoid delaying user redirects.