Repository navigation
7.0.0-rc1
Pre-release
Pre-release
·
0 commits
to v6/main
since this release
First release for Umbraco 19. It targets Umbraco CMS 19.0.0-rc1 ([19.0.0-rc1, 20.0.0)) and .NET 11, and it is a pre-release until Umbraco 19 is final. Use 6.x for Umbraco 18 and 5.x for Umbraco 17.
What's new
- Library (reusable) elements are previewed in Block List, Block Grid, Single Block and Rich Text blocks, including the same Library element used twice and a Library element inside a Block Grid area (needs Umbraco 19.0.0-rc1 or later; earlier betas lose it).
- A Library element is only read after checking that the signed-in backoffice user may browse it. A user without access sees a "not permitted" message, and a deleted element shows "could not be found".
- Previews find each block by its layout key, so a Library element used in several places previews each instance.
- Culture-variant blocks preview in the language you're editing.
- The backoffice client uses Umbraco 19's cookie-based sign-in.
- Quieter logs: empty image cropper and upload field values no longer produce warnings, and image cropper values no longer log a stack trace for every block.
Breaking changes
- Requires .NET 11 and Umbraco
[19.0.0-rc1, 20.0.0). - Removed everything marked "Scheduled for removal in v7":
BlockTypeSettings.Stylesheet(useStylesheets), the singularGET preview/{grid|list|rte}/stylesheetendpoints (use.../stylesheets), the obsolete constructors ofBlockPreviewApiController,BlockPreviewService,BlockViewRenderer,BlockPreviewViewResolverand the two saved-notification handlers,IBlockPreviewService.GetStylesheetPathand the 5-argumentRenderRichTextBlock, andConstants.CacheKeys.BlockType.RenderRichTextBlock(3 arguments) andGetStylesheetPathsare now abstract. BlockPreviewServicehas a new constructor that takesIExternalElementResolver; the old one is obsolete (removal in v9). Custom subclasses should switch.- The preview controller actions take an optional
layoutKey. NewRender*overloads takeBlockRenderOptions; passing a literalnullas the fourth argument is now ambiguous. blockIndexis the block's position in the layout for every block. Rich Text blocks don't get one.
The full list is in docs/upgrades/v19.md.
Known issues
- Pre-release: expect changes before 7.0.0.
IExternalElementResolverwill change to return anAttemptbefore 7.0.0. - Block previews can still read a nested block's draft without a permission check, and the preview endpoint loads a document's draft by key without checking the user's document permissions. Both exist on earlier versions too.
- The Rich Text block inside a modal looks slightly different because the CMS selects it when it opens.