Skip to content

0.4.0 - 2026-08-11

Choose a tag to compare

@ddon ddon released this 11 Aug 18:52
· 52 commits to main since this release

Metadata-keyed reads and writes, a declared resource-handler contract, and translated sidebar labels.

Added

  • Metadata-keyed reads (#34): list_comments/3 takes a :metadata match map and :any in place of a resource uuid. Hosts keying comments on a non-UUID tuple were dropping to schemaless SQL against this package's table to get this.
  • update_metadata/2 and merge_metadata/3 (#34) — single atomic metadata || patch writes that cannot lose a concurrent writer's keys.
  • count_replies/2 (#34) — batch reply counts in one grouped query.
  • ResourceHandler.callbacks/0 and event_callbacks/0 (#35).

Changed

  • Sidebar tab labels are translated (#33) — the tabs now declare gettext_backend/gettext_domain, without which labels never resolve.

Fixed

  • ru/et entries carrying another string's translation, and fuzzy-flagged entries that Gettext ignored at runtime while showing English (#33). Two plural forms had dropped their %{action} interpolation.
  • count_replies/2 reported zeros silently on a failed query; it now logs before degrading.

Full changelog: https://github.com/BeamLabEU/phoenix_kit_comments/blob/main/CHANGELOG.md