Skip to content

Releases: johannschopplich/kirby-headless

v4.0.2

21 Nov 10:41
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v4.0.1

21 Nov 10:36
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0

08 Aug 09:26
Compare
Choose a tag to compare

Tip

The plugin now has a proper 📖 documentation!

   🚨 Breaking Changes

   ℹ️ Migrating from v3 to v4

Kirby Headless v4 contains a breaking change: the result of the toResolvedBlocks() field method has changed. Before, the resolved blocks fields were nested within the resolved key. Now the resolved fields overwrite the original fields. This results in less duplication and a cleaner structure.

Update your frontend code to reflect this change. For example, instead of accessing the resolved key like block.content.resolved?.team, you can now access the resolved field directly like block.content.team.

Resolved Key

If you don't want to update your frontend code, you can still update to v4 and use the old structure by defining a resolvedKey in your config.php:

return [
    'blocksResolver' => [
        'resolvedKey' => 'resolved'
    ]
];
    View changes on GitHub

v3.3.0

07 Aug 06:35
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v3.2.1

06 Aug 12:44
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v3.2.0

06 Aug 06:52
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v3.1.6

09 Jul 14:34
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v3.1.5

02 Jul 13:30
Compare
Choose a tag to compare

No significant changes

    View changes on GitHub

v3.1.4

02 May 15:12
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v3.1.3

02 May 14:40
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub