Skip to content

5.5.1

Latest

Choose a tag to compare

@bastianallgeier bastianallgeier released this 07 Jul 10:15
ff015a9

✨ Enhancements

A (link:) tag with an unresolvable UUID (e.g. deleted page/file) threw an NotFoundException in the previous release, which turned the whole page into the error page. Instead of that drastic exception (added in #6085), we now handle the broken link inline: in debug mode a visible inline error (prefixed with an emoji and a kirby-broken-link class so it can be targeted via CSS, and in production the link is simply dropped (keeping its text). #7426

Debug on

(link: page://deleted-page)
→ <span class="kirby-broken-link">🚨 The link "page://deleted-page" cannot be found</span>

(link: page://deleted-page text: click here)
→ <span class="kirby-broken-link">🚨 The link "page://deleted-page" cannot be found for the link text "click here"</span>

Debug off

(link: file://deleted-file text: file)  → <span>file</span>
(link: page://deleted-page)             → (nothing)

🐛 Bug fixes

  • Fixed broken type: html Panel field preview rendering #8242
  • Restored link field model previews #8241
  • Fixed plugin block previews registered as template strings #8252
  • Added deprecation id for permission deprecate warnings #8253
  • A broken (link:) tag no longer turns the whole page into the error page #8257
  • Fix block navigation (prev/next) in the panel drawer #8264

🧹 Housekeeping

  • Attaching files for local Lab to each release #7951