umbraco / Announcements

Subscribe to this repo to be notified about major changes in Umbraco-CMS, Deploy and Forms
MIT License
21 stars 0 forks source link

[Breaking change]: Macros will be removed in Umbraco 14 #14

Open lassefredslund opened 7 months ago

lassefredslund commented 7 months ago

Description

Macros will be removed in Umbraco 14

Version

Umbraco 14

Previous behavior

You could use macros instead of partial views for login, navigation, listing of media/pages and much more - including using macros for a developer-controlled call to action within the Rich Text Editor.

New behavior

You will no longer be able to use macros. Instead, please use partial views and/or blocks in the RTE.

Type of breaking change

Reason for change

We've for some time discussed to remove macros. The implementation is not up to date, and it's difficult to support newer approaches like e.g. working headless with the Content Delivery API.

Recommended action

Start using partial views and blocks in the RTE for use cases, where you previously used macros.

Affected APIs

Everything related to macros. Please see this PR: https://github.com/umbraco/Umbraco-CMS/pull/15794