From 130bb3ae7442233e5fd55d58808af5fff03009f5 Mon Sep 17 00:00:00 2001 From: Rodin Date: Thu, 30 Apr 2026 07:04:24 -0700 Subject: [PATCH] changelog: 2026-04-30 digest --- .watermark.json | 7 +++++++ changelog/2026-04-30.md | 27 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .watermark.json create mode 100644 changelog/2026-04-30.md diff --git a/.watermark.json b/.watermark.json new file mode 100644 index 0000000..c96e273 --- /dev/null +++ b/.watermark.json @@ -0,0 +1,7 @@ +{ + "source_repo": "phoenixframework/phoenix", + "last_digest_sha": "7dc2de3049eb6c3582942040ceb5d53389207ae9", + "last_digest_at": "2026-04-30T14:01:00Z", + "last_refresh_sha": null, + "last_refresh_at": null +} diff --git a/changelog/2026-04-30.md b/changelog/2026-04-30.md new file mode 100644 index 0000000..5f19eec --- /dev/null +++ b/changelog/2026-04-30.md @@ -0,0 +1,27 @@ +# Phoenix Digest — 2026-04-30 + +## Bug Fixes + +### #6667 — Fix live_title having line breaks (lubien) + +**Merged:** 2026-04-29T17:20:23Z + +The `phx.new` generator template had `<.live_title>` content on separate lines. +The HEEx formatter injected literal newlines into the rendered `` tag, +which appeared in link previews on Discord, WhatsApp, and Telegram. + +**Fix:** Collapse the template to a single line with `phx-no-format`, preventing +the formatter from re-introducing whitespace. + +**Impact:** Every new Phoenix 1.8 project shipped this cosmetic bug. Users had +to manually add `phx-no-format` as a workaround. + +**Discussion:** Issue reported and PR landed same day. SteffenDE (core team) +requested the PR, lubien delivered within the hour. + +- [PR #6667](https://github.com/phoenixframework/phoenix/pull/6667) +- [Issue #6666](https://github.com/phoenixframework/phoenix/issues/6666) + +--- + +*Light day. One quick community fix.*