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
[X] Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
[X] Source incompatible: Source code may encounter a breaking change in behavior when targeting the new runtime/component/SDK, such as compile errors or different run-time behavior.
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.
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