Packages

Tick-based activity session tracking — no start/stop calls, just report elapsed time and stints (bounded periods of activity) assemble themselves via gap-stitching. Second-resolution start/end per stint, session counts, day/timezone queries. Bring your own Ecto repo.

Current section

Files

Jump to
stint CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
## 0.1.0 (2026-07-14)
Initial release:
* `Stint.track/4` — tick-based recording with gap-stitching: extends
the owner's latest stint on the item when within the gap window
(default 5 min), opens a new one otherwise. Back-dated first tick,
monotonic `ended_at` under out-of-order ticks, shallow-merged `meta`.
* Queries: `on_date/3` (timezone-aware via `:utc_offset`), `count/2`,
`counts/1`, `total_seconds/2`, `last/2`, and `clamp_to_date/3` for
rendering midnight-crossing stints on day views.
* `Stint.Migration` — versioned, Oban-style migrations.