Skip to content

OpenGraph 0.3.7: Header trail and activity logged through core

OpenGraph 0.3.7 tidies the module’s admin header and moves its activity logging onto PhoenixKit core.

Every page now shows OpenGraph as the section in the header. The assignments page is titled Assignments, an existing template shows its name as a crumb before Edit, and a new one is titled New template, now translated in all seven languages.

Opening the new template page used to log template.created with no user attached. The entry now names the signed-in admin. The admin pages read the acting user and write activity through core, and a failed write is logged the way core marks failed actions, so it sends no notifications.

Upgrading

OpenGraph 0.3.7 needs PhoenixKit 2.38.0 or later, and below 3.0.

Full release notes: OpenGraph 0.3.7

0.3.7 · 25 September 2026

Changed

  • Actor and activity logging through core (#13). The three admin LiveViews read the actor with core’s PhoenixKitWeb.Actor.opts/1 (scope first, bare user as fallback) instead of a private helper each, and PhoenixKitOG.ActivityLog calls PhoenixKit.Activity.log/3, which never raises, in place of its own guards.
  • The core pin is now >= 2.38.0 and < 3.0.0, the first core carrying PhoenixKitWeb.Actor and Activity.log/3; the conformance test enforces the compound form.
  • js_sources/0 carries @impl PhoenixKit.Module.
  • The admin header renders a section / crumb / title trail: “OpenGraph” as the section on every page, “Assignments” and “Edit” (under the template’s name) or “New template” as titles.
  • Dependency lock: phoenix_kit 2.40.1, plus routine bumps.

Fixed

  • Post-merge: opening /admin/open-graph/new logged an unattributed template.created; the insert now carries the signed-in actor.
  • Post-merge: a failed write logs through core’s Activity.log_failed/3, so the row carries core’s db_pending marker and triggers no notification fan-out. The failed / reason metadata stays.
  • Post-merge: “New template”, now the editor’s header title, is translated in all 7 locales.

OpenGraph 0.3.7. Install or update: {:phoenix_kit_og, "~> 0.3"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.