Hub

Upgrading to Kirby 6

Moving a Kirby Tools site to Kirby 6 – the PHP and license you need, and the blueprint change for each plugin

Kirby 6 ships a new Panel, and every plugin with a Panel part has a new major for it: Kirby Copilot v4, Kirby Content Translator v4, Kirby SEO Audit v4, and Kirby Live Preview v3. Kirby SERP Preview v2, Kirby Minimap v2, and Kirby Deploy Trigger v2 are free and follow the same rules. Each major runs on Kirby 6 only. Your current versions keep working on the Kirby 4 or 5 site they run on. The last major before Kirby 6 of each plugin gets security and critical fixes for six months after Kirby 6's release.

Before You Upgrade

Update Kirby and the plugins in one Composer call, each plugin at its Kirby 6 major from the table below:

composer require getkirby/cms:^6 johannschopplich/kirby-copilot:^4 --with-all-dependencies

Composer won't install a Kirby 6 major on a Kirby 4 or 5 site, and a plugin version for Kirby 5 leaves an Invalid section type box on Kirby 6 where the plugin used to be.

Sections Become Fields

Kirby 6 keeps sections: for its own section types – fields, files, info, pages, and stats. Every plugin that was a section is now a field with the same type name: move the entry from sections: to fields: and keep its name. The type and every remaining property keep their names – the table below names the few that are removed. A plugin entry left under sections: renders a red Invalid section type box in its place and has no other effect – your content is untouched.

Sections and fields share one namespace on Kirby 6, and upper and lower case count as the same name. If a field already has the entry's name, Kirby shows a box saying the field already exists – rename one of them.

A fields section wrapper can stay, since Kirby 6 unwraps it into its fields. At the top of a blueprint, though, fields: next to sections: only defines fields and renders none of them, without an error box – while a pages, files, info, or stats section stays, put the moved entry in a tab or column, where fields and sections mix. SERP Preview and the meta fields it reads become one map:

site/blueprints/pages/default.yml
fields:
  metaTitle:
    type: text
  metaDescription:
    type: textarea
  serpPreview:
    type: serp-preview
    titleContentKey: metaTitle
    descriptionContentKey: metaDescription

The same move, per plugin:

site/blueprints/pages/default.yml
-sections:
+fields:
   copilot:
     type: copilot
     field: blocks

A section kept in its own file under site/blueprints/sections/ can stay there – extends: sections/seo-audit works under fields: too.

The view buttons keep their names: copilot, content-translator, and seo-audit under buttons:.

Which License Covers It

A Generation 3 license includes the Kirby 6 majors – install them, there is nothing else to do. A Generation 1 or Generation 2 license stops at the earlier majors and upgrades to Generation 3 at 50% off, as Upgrade Discount describes. The upgrade issues a new license key, which you activate in the Panel like the old one.

Your current license stays valid for the versions it covers, so a site that stays on Kirby 4 or 5 needs no new license. Which version each generation covers is on the license compatibility page.

Per Plugin

PluginLatest for Kirby 5Kirby 6Notes
Kirby Copilotv3v4Same providers, same config.php options, open and size are removed, no built-in prompt templates – changelog
Kirby Content Translatorv3v4confirm is removed, Translation Coverage stays in the Languages view – migration guide
Kirby SEO Auditv3v4Same assessments and ratings, reports kept in the browser start over once for a field name with capitals – changelog
Kirby Live Previewv2v3Rerenders after a typing pause, updateStrategy is removed – changelog
Kirby SERP Previewv1v2Free
Kirby Minimapv1v2Free, nothing to configure
Kirby Deploy Triggerv1v2Free