Skip to content

7.0.0-rc1

Pre-release
Pre-release

Choose a tag to compare

@rickbutterfield rickbutterfield released this 13 Nov 11:01
· 0 commits to v6/main since this release
3fb2aa3

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 (use Stylesheets), the singular GET preview/{grid|list|rte}/stylesheet endpoints (use .../stylesheets), the obsolete constructors of BlockPreviewApiController, BlockPreviewService, BlockViewRenderer, BlockPreviewViewResolver and the two saved-notification handlers, IBlockPreviewService.GetStylesheetPath and the 5-argument RenderRichTextBlock, and Constants.CacheKeys.BlockType. RenderRichTextBlock (3 arguments) and GetStylesheetPaths are now abstract.
  • BlockPreviewService has a new constructor that takes IExternalElementResolver; the old one is obsolete (removal in v9). Custom subclasses should switch.
  • The preview controller actions take an optional layoutKey. New Render* overloads take BlockRenderOptions; passing a literal null as the fourth argument is now ambiguous.
  • blockIndex is 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. IExternalElementResolver will change to return an Attempt before 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.