addr.geo.fetch_location produced a hyphen slug with no unicode fold (new-york / québec), but the live proxy region- token the original utils.py fed expects underscore + ascii-fold (new_york / quebec). a multi-word state silently routed to an unrecognized region with no error. added _state_slug (NFKD ascii-fold, lowercase, spaces->underscore) and routed _parse_reverse through it. bump to v0.2.2. Signed-off-by: disqualifier <dev@disqualifier.me>
1.2 KiB
1.2 KiB
commons — ledger
v0.2.2
- fidelity fix (HIGH):
addr.geo.fetch_locationstate slug now uses an underscore separator and an NFKD ascii-fold, matching the originalutils.pycontract the live proxyregion-token depends on (New York→new_york,Québec→quebec). The rewrite had produced a hyphen slug with no fold (new-york), which silently routed multi-word states to an unrecognized region. Added_state_slug; routed_parse_reversethrough it.
v0.2.1
- floor
retry/aretryattemptsat 1 (was:attempts=0silently returned None). - retry log uses total
attemptsas the denominator (wasattempts-1→retry 1/2). - geo lookups forward the per-request
timeouttosession.geton the injected-session path (was honored only on the owned-session path).
v0.2.0
- added the
retrymodule:retry(sync) +aretry(async), call-form or decorator, exponential backoff with optional full jitter,on=narrowing,give_upearly-stop, fail-loud re-raise of the last exception.
v0.1.0
- initial: timing (unix deltas + tz Clock), paths (dotted deep_get/set), masking
(card/cvv/token display), addr (ip utils + geo behind the
[addr]extra).