Current section
Files
Jump to
Current section
Files
CHANGELOG
## 1.1.0 (2026-04-11)
### Added
- `Gusex.find_by_nip/1` — convenience lookup by NIP using a cached session, with NIP validation, normalisation, and automatic retry on session failures.
- `Gusex.SessionCache` — optional GenServer that caches authenticated sessions to avoid redundant logins. Add it to your application's supervision tree to enable the convenience API. Configurable via `:session_ttl` (seconds, default 3000 — a 50-minute margin below the 60-minute server hard limit).
- `Gusex.SessionCache.run_with_session/1` — entry point that runs a given function with a cached session, handling session acquisition, TTL expiry, and one retry on retriable errors (`:empty_response`, `{:http_error, _, _}`). Additional cached-session operations can be built on top of it.
## 1.0.1 (2025-12-14)
### Changed
- Updated HTTPoison dependency from ~> 1.8 to ~> 2.3
## 1.0.0 (2025-09-07)
- Initial release