Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
lassefredslund opened this issue Mar 4, 2024 · 0 comments
Open
2 tasks done

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

lassefredslund opened this issue Mar 4, 2024 · 0 comments

Comments

@lassefredslund
Copy link
Contributor

lassefredslund commented Mar 4, 2024

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

  • Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
  • 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.

Affected APIs

Everything related to macros. Please see this PR: umbraco/Umbraco-CMS#15794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants