Skip to content

v0.4.3

Choose a tag to compare

@moabukar moabukar released this 16 Apr 00:55
c06867b

Bug Fixes

Store backend data race (#84, #89)

FileBackend.Save() had a race condition where the auto-save goroutine could read inconsistent state while handlers were writing. Fixed by adding an atomic Snapshot() that copies all data under a single lock.

PostgresBackend.List() and ListByPrefix() returned nil on error instead of empty slices, causing inconsistent behavior with the memory backend. Now returns initialized empty slices.

E2E tests now run on PRs (#82)

The E2E workflow was workflow_dispatch only, meaning breaking changes could slip through PRs undetected. Now runs on every push to main and every PR. Also updated the CI example to actions/checkout@v6 (#91).

azlocal CLI error handling (#85)

doPut, doPost and printResponse silently swallowed json.Marshal and io.ReadAll errors, sending empty bodies or printing nothing on failure. Now prints clear error messages to stderr.

Full Changelog: v0.4.2...v0.4.3