github happytodev/blogr v2.7.0

latest releases: v2.7.2, v2.7.1
one hour ago

✨ Features

  • A series post is served under its series. /{locale}/{prefix}/series/{seriesSlug}/{postSlug}
    is now the canonical address of a post that belongs to a published series, starting with the
    canonical tag and the hreflang alternates. The nested URL is what the language switcher, the
    sitemap, the RSS feed, the blog cards, the series page and its navigation, the author page and the
    admin "view" link generate; PostUrlHelper::forPost() is the single way to build a post URL. The
    former flat URL (/{locale}/{prefix}/{postSlug}) answers with a 301 to the nested one, and a
    post that is not part of a published series keeps its flat URL unchanged. (#359)
  • Series navigation no longer drops the locale from its links, and the translation warning links to
    the other locale's own slug instead of reusing the current one.

🐛 Bug Fixes

  • Saving a post without a series no longer breaks the admin. The series position select kept its
    auto-bottom default even when the series field was hidden, and series_position is an integer
    column: MySQL rejected the word (error 1366) behind a generic "Error while loading page". The
    create and edit hooks now store nothing but a number or nothing. (#358)
  • Blogr::VERSION reports the released version again.

📚 Docs & chores

  • Every code comment is written in English.
  • The 2.6.0 and 2.6.1 release notes are recorded in docs/RELEASE_NOTES.md.

⚠️ Upgrade note

Sites that publish their own views (resources/views/vendor/blogr/…) keep generating flat post
URLs until those overrides are updated: the links still work, but through a 301. Update the
overrides to call PostUrlHelper::forPost(), or run vendor:publish --tag=blogr-views --force.

Don't miss a new blogr release

NewReleases is sending notifications on new releases.