Skip to content

PhoenixKit 1.7.78: Styled published posts and clearer Sync connections

PhoenixKit 1.7.78 styles published posts with your daisyUI theme without the Tailwind typography plugin, and fixes Sync connections that pointed at localhost:4000.

Markdown in Publishing now gets theme classes added to each element as it is rendered, replacing the inline style block, and two or more blank lines in a row show as extra space. Cached pages are rebuilt once so the new styles apply. When an AI translation job is retried, languages it already translated are skipped, and its time limit grows with the number of languages.

Sync now builds this site’s address from the site_url setting before falling back to the endpoint config, so remote sites can reach it. The labels Sender and Receiver become Outgoing and Incoming, and incoming connections can be edited too. Failed pulls are logged instead of ignored, and logs show only the first eight characters of a token hash.

Full release notes: PhoenixKit 1.7.78

1.7.78 · 18 March 2026

Added

  • Add Tailwind/daisyUI class injection for markdown rendering — replaces inline <style> block with classes injected during Earmark post-processing (works without @tailwindcss/typography plugin)
  • Add blank line preservation in markdown content — intentional double blank lines render as visible spacing
  • Add translation worker retry resilience — on retry, already-translated languages are skipped by checking content timestamps against job inserted_at
  • Add dynamic timeout scaling for translation worker (~1.5 min per language, minimum 15 minutes)
  • Add structured logging with consistent prefixes ([Sync.Notifier], [Sync.API], [Sync.Connections]) throughout Sync connection flow
  • Add connection event logging on both sender and receiver sides for debugging

Changed

  • Rename Sync “Sender/Receiver” terminology to “Outgoing/Incoming” across UI
  • Allow editing incoming Sync connections (previously restricted to outgoing only)
  • Remove “with permanent connections” from Sync index page subtitle
  • Bump markdown render cache version to v2 to invalidate stale cached HTML

Fixed

  • Fix Sync sender URL resolving to localhost:4000 — now checks DB site_url setting before falling back to endpoint config
  • Fix auth_token_hash logged in full — truncate to first 8 characters in Sync connection logs
  • Fix double get_our_site_url() call per notification — pass resolved URL instead of recomputing
  • Fix Sync crash on non-UTF8 binary data — base64-encode raw binaries during serialization, decode on import
  • Fix Sync pull error responses silently ignored — add Logger.error to all failure paths (401, 404, HTTP errors, offline, invalid response)
  • Fix Sync completion UI not showing skipped/errored records — track and display per-table import counts with warning state

PhoenixKit 1.7.78. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.