Publishing 0.4.1: A failing OG plugin no longer breaks post pages
Publishing 0.4.1 fixes public post pages on sites that use the optional OG image plugin, phoenix_kit_og. Publishing lets that plugin have the last word on a post’s OpenGraph tags. If the plugin raised an error, every public post page failed to render.
The call is now guarded. When the plugin fails, the page uses the post’s own OpenGraph override, or the default tags derived from the post, and renders as usual. Sites without the plugin see no change.
Full release notes: Publishing 0.4.1
0.4.1 · 20 July 2026
PR #33 — guard the phoenix_kit_og refine seam against crashes and document
Phase 2 (the OG-image plugin extension point), plus a post-merge review fix.
See dev_docs/pull_requests/2026/33-og-seam-rescue-and-docs/ for the review.
Fixed
maybe_refine_og_with_module/4now rescues around the optionalphoenix_kit_ogplugin’srefine_og/4call — a raising plugin previously crashed every public post-page render; it now falls back to the per-post override/default OG map.- Removed a stale, unused
mix.lockentry (beamlab_ex_aws_sqs, orphaned by an earlier rename toex_aws_sqs) that was failingmix deps.unlock --check-unusedin the release gate.
Added
- Regression test (
test/phoenix_kit_publishing/web/controller/og_refine_crash_test.exs) covering the crash-guard end-to-end, plus aPhoenixKitOGtest stub. AGENTS.mdnow documents the three-layer OG precedence (derived default → per-post override →phoenix_kit_ogplugin) and howbuild_og_data/4resolves it.
Publishing 0.4.1. Install or update: {:phoenix_kit_publishing, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.