Skip to content

Releases: MikaAK/elixir_cache

v0.4.8

27 Apr 18:40
01d6b37

Choose a tag to compare

Bug Fixes

  • Cache.ETS / Cache.DETS / Cache.Counter start_link/1 now waits for the table (or counter ref) to be ready before returning. Previously the underlying Task.start_link returned immediately and setup ran asynchronously, so a supervisor could see the child as started before the table actually existed — callers hitting the cache the moment the supervisor came up could miss the table.
  • Cache.Sandbox now uses :ets.match_spec_compile/1 + :ets.match_spec_run/2 to evaluate match specs in select/2,3, select_count/2, select_delete/2, and select_replace/2, matching real ETS semantics. Hand-rolled interpretation previously diverged on body tuples (e.g. [{:"$1", :"$2"}] vs [{{:"$1", :"$2"}}]).

Chores

  • CI workflows (Test, Coverage, Credo, Dialyzer) now run on pull_request and only on push to main, eliminating duplicate runs per PR update.

Full Changelog: v0.4.7...v0.4.8