All notable changes to this project are documented here. The format follows Keep a Changelog, and the project adheres to Semantic Versioning.
0.1.0 - 2026-06-15
Added
- OAuth2 client-credentials authentication (
SudregEx.Auth) with a cached, refresh-on-expiry bearer token (SudregEx.TokenCache, 6-hour tokens). SudregEx.Clientconfiguration carrier (new/1) with application-env defaults.- Core request pipeline (
SudregEx.Request/SudregEx.Response): bearer auth, query-param encoding (booleans →"1"/"0"), response-format selection, andX-*metadata-header harvesting; typed errors viaSudregEx.Error. SudregEx.Api— a function per endpoint for all 39 v3 "javni" endpoints, with per-endpoint parameter whitelisting and thedetalji_subjektaidentifier rules.- Ergonomics:
SudregEx.Api.stream/3(offset/limit pagination as aStream),SudregEx.Api.latest_snapshot_id/2(snapshot pinning),SudregEx.RateLimiter(optional 6/min throttle), andSudregEx.Format(MBS/OIB zero-padding, timezone-less timestamp parsing).