Skip to content

V16: Property editor file upload does not validate file types#19714

Merged
leekelleher merged 7 commits intomainfrom
v16/bugfix/19482-upload-field-validation
Jul 14, 2025
Merged

V16: Property editor file upload does not validate file types#19714
leekelleher merged 7 commits intomainfrom
v16/bugfix/19482-upload-field-validation

Conversation

@iOvergaard
Copy link
Contributor

Description

Fixes #19482

This pull request includes several updates to improve file upload handling, enhance configuration flexibility, and refine code readability in the UmbInputUploadFieldElement and related components. The most notable changes include simplifying property definitions, adding safeguards for race conditions, improving error handling, and enhancing UI elements for better usability.

File upload handling improvements:

  • Simplified the allowedFileExtensions property definition by removing the custom converter logic, relying instead on direct assignment. ([src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-upload-field/input-upload-field.element.tsL40-L57](https://github.com/umbraco/Umbraco-CMS/pull/19714/files#diff-47b6d3fedf3e4ff20aeca6644a860e3e019165e002b6ca0e9b04ac850ddadef6L40-L57))
  • Added a check to prevent race conditions during asynchronous operations in the #setPreviewAlias method. ([src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-upload-field/input-upload-field.element.tsL90-R85](https://github.com/umbraco/Umbraco-CMS/pull/19714/files#diff-47b6d3fedf3e4ff20aeca6644a860e3e019165e002b6ca0e9b04ac850ddadef6L90-R85))
  • Improved error handling by adding a check for missing files during upload and logging an error message if no file is available. ([src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-upload-field/input-upload-field.element.tsR147-R151](https://github.com/umbraco/Umbraco-CMS/pull/19714/files#diff-47b6d3fedf3e4ff20aeca6644a860e3e019165e002b6ca0e9b04ac850ddadef6R147-R151))

Configuration and UI enhancements:

  • Updated the accept attribute in the umb-input-dropzone element to use the allowedFileExtensions property directly, simplifying the logic and improving maintainability. ([src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-upload-field/input-upload-field.element.tsL179-R177](https://github.com/umbraco/Umbraco-CMS/pull/19714/files#diff-47b6d3fedf3e4ff20aeca6644a860e3e019165e002b6ca0e9b04ac850ddadef6L179-R177))
  • Enhanced the description for the fileExtensions property editor schema to clarify supported formats, including examples for extensions and MIME types. ([src/Umbraco.Web.UI.Client/src/packages/media/media/property-editors/upload-field/Umbraco.UploadField.tsR14-R15](https://github.com/umbraco/Umbraco-CMS/pull/19714/files#diff-150e42b96acf1f4bc354ef369cb84f3b06d5e46899af20e71b4e9f868c771916R14-R15))
  • Modified the config setter in UmbPropertyEditorUIUploadFieldElement to ensure all file extensions are properly formatted with a leading dot or MIME type prefix. ([src/Umbraco.Web.UI.Client/src/packages/media/media/property-editors/upload-field/property-editor-ui-upload-field.element.tsR25-R29](https://github.com/umbraco/Umbraco-CMS/pull/19714/files#diff-fc88712a4cfb1f39270d06b231a69cade8ba7e3bfdb912f9c8d7a1dacaba9208R25-R29))

Code readability and UI styling:

  • Added styling for <code> elements in the UmbUfmRenderElement component, improving the display of code snippets with monospace font, background color, and padding. ([src/Umbraco.Web.UI.Client/src/packages/ufm/components/ufm-render/ufm-render.element.tsR62-R69](https://github.com/umbraco/Umbraco-CMS/pull/19714/files#diff-12cfa88e28b52e47e4072c4293dbabd6f9ee5d7a8f31ea60e736d44574742343R62-R69))
image

Note to reviewers: This is an optional enhancement - I thought it would be good to style inline code snippets in UFM a bit.

@iOvergaard iOvergaard added area/frontend preview/backoffice Pull requests that can be previewed in a static version of the Backoffice labels Jul 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors file upload components to simplify extension handling, improve error and race-condition safeguards, and enhances UI styling for inline code snippets.

  • Simplified allowedFileExtensions property and updated dropzone accept binding.
  • Added formatting logic for fileExtensions config and a guard for missing files.
  • Styled <code> elements in the UFM renderer and clarified upload-field schema description.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/packages/ufm/components/ufm-render/ufm-render.element.ts Add CSS styling for <code> elements.
src/packages/media/media/property-editors/upload-field/property-editor-ui-upload-field.element.ts Format fileExtensions with leading dots or MIME types.
src/packages/media/media/property-editors/upload-field/Umbraco.UploadField.ts Enhance description with examples for extensions and MIME types.
src/packages/media/media/components/input-upload-field/input-upload-field.element.ts Remove custom converter, add race-condition guard, improve missing-file check, and update accept attribute binding.
Comments suppressed due to low confidence (2)

src/Umbraco.Web.UI.Client/src/packages/media/media/property-editors/upload-field/property-editor-ui-upload-field.element.ts:25

  • The new mapping logic in the config setter ensures extensions are formatted correctly but lacks unit tests. Consider adding tests to cover cases for both file extensions and MIME types.
		if (this._fileExtensions?.length) {

src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-upload-field/input-upload-field.element.ts:40

  • Removing the custom converter means comma-separated attribute values won’t be parsed into an array, so allowedFileExtensions may remain a raw string. Consider adding a converter or parsing logic to split the string by commas.
	@property({ type: Array, attribute: 'allowed-file-extensions' })

@github-actions
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://victorious-ground-017b08103-19714.westeurope.6.azurestaticapps.net

Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested out, works as expected. 🚀

@leekelleher leekelleher merged commit d95b6b7 into main Jul 14, 2025
28 checks passed
@leekelleher leekelleher deleted the v16/bugfix/19482-upload-field-validation branch July 14, 2025 08:05
alexsee pushed a commit to alexsee/umbraco-container that referenced this pull request Sep 8, 2025
Updated [Umbraco.Cms](https://github.com/umbraco/Umbraco-CMS) from
16.1.1 to 16.2.0.

<details>
<summary>Release notes</summary>

_Sourced from [Umbraco.Cms's
releases](https://github.com/umbraco/Umbraco-CMS/releases)._

## 16.2.0

<!-- Release notes generated using configuration in .github/release.yml
at release-16.2.0 -->

## What's Changed
### 🙌 Notable Changes
* UFM: JavaScript-like Expressions by @​leekelleher in
umbraco/Umbraco-CMS#19685
* Make logging more friendly for docker by @​Migaroez in
umbraco/Umbraco-CMS#19818
* Adds abstraction around boot time checks for database availability by
@​AndyButland in umbraco/Umbraco-CMS#19848
* Optimize document and media seeding by looking up from database in
batches by @​AndyButland in
umbraco/Umbraco-CMS#19890
* Added configuration option UseStrictDomainMatching, which allows
control over whether content is routed without a matching domain by
@​AndyButland in umbraco/Umbraco-CMS#19815
### 📦 Dependencies
* Bump linkifyjs from 4.3.1 to 4.3.2 in /src/Umbraco.Web.UI.Login by
@​dependabot[bot] in umbraco/Umbraco-CMS#19819
* Tiptap RTE: Upgraded to latest v2.x by @​leekelleher in
umbraco/Umbraco-CMS#19869
* build(deps): bump @​umbraco-ui/uui to 1.15.0 by @​iOvergaard in
umbraco/Umbraco-CMS#19981
### 🚀 New Features
* V16: Siblings endpoints by @​nikolajlauridsen in
umbraco/Umbraco-CMS#19657
* UFM: Adds `markedExtension` extension-type by @​leekelleher in
umbraco/Umbraco-CMS#19684
* UFM: Make Block Settings data available by @​leekelleher in
umbraco/Umbraco-CMS#19686
* Adds background worker to check timeout state by @​iOvergaard in
umbraco/Umbraco-CMS#19702
* V16: Build Backoffice externals with Vite by @​iOvergaard in
umbraco/Umbraco-CMS#19716
* Tiptap RTE: Custom CSS Variables for min/max height/width by
@​leekelleher in umbraco/Umbraco-CMS#19841
* Provides an abstraction for creating the JavaScriptEncoder used in
SystemTextConfigurationEditorJsonSerializer by @​AndyButland in
umbraco/Umbraco-CMS#19849
* Tiptap RTE: Refactor Table menus to use `menu` extension-type by
@​leekelleher in umbraco/Umbraco-CMS#19789
### 🐛 Bug Fixes
* Amend accessibility modifiers on file upload property editor
components to support extension by @​PeterKvayt in
umbraco/Umbraco-CMS#19643
* Docs: Tree example by @​madsrasmussen in
umbraco/Umbraco-CMS#19624
* Hide Document/Media Collection Workspace View until the item is
created by @​madsrasmussen in
umbraco/Umbraco-CMS#19644
* Title returns "Server Error" in non-debug mode by @​PeterKvayt in
umbraco/Umbraco-CMS#19665
* Fix issue with preview in delivery API for MNTP property editor by
@​AndyButland in umbraco/Umbraco-CMS#19668
* Adds support for custom granular permissions when aggregating across
user groups by @​AndyButland in
umbraco/Umbraco-CMS#19660
* Fixes issues with creation of documents from blueprints that have
populated file upload properties by @​AndyButland in
umbraco/Umbraco-CMS#19655
* Clear member cache by older user name when member user name is updated
(16) by @​AndyButland in
umbraco/Umbraco-CMS#19690
* V16 QA Removed unused API acceptance tests by @​nhudinh0309 in
umbraco/Umbraco-CMS#19679
* V16 QA Added acceptance tests for granular document permission by
@​nhudinh0309 in umbraco/Umbraco-CMS#19546
* V16 QA Reverted npx command by @​nhudinh0309 in
umbraco/Umbraco-CMS#19699
* Fixes Block Catalogue Modal Filter by @​leekelleher in
umbraco/Umbraco-CMS#19700
* Fix issue forceHideContentEditorInOverlay not available in RTE by
@​NguyenThuyLan in umbraco/Umbraco-CMS#19698
* V16: Property editor file upload does not validate file types by
@​iOvergaard in umbraco/Umbraco-CMS#19714
* Fix failing integration tests in SQL Server by @​lauraneto in
umbraco/Umbraco-CMS#19725
* Populate name for content and media on URL picker if title is left
empty by @​AndyButland in
umbraco/Umbraco-CMS#19677
* Forward merge #​19720 to V16 by @​kjac in
umbraco/Umbraco-CMS#19735
* Include /.well-known/jwks in the paths covered by OpenIddict by @​kjac
in umbraco/Umbraco-CMS#19749
* Add flag to exclude trashed media by @​rammi987 in
umbraco/Umbraco-CMS#19746
* V16 Added acceptance tests for the regression issue #​16985 by
@​nhudinh0309 in umbraco/Umbraco-CMS#19712
* V16 Added acceptance tests for the regression issue #​19529 by
@​nhudinh0309 in umbraco/Umbraco-CMS#19713
* V16 QA Added acceptance tests for creating a document using blueprint
by @​nhudinh0309 in umbraco/Umbraco-CMS#19708
* Allow saving blueprints with validation errors by @​lauraneto in
umbraco/Umbraco-CMS#19748
* Make internal & private classes sealed where possible, to avoid code
for virtual dispatch by @​Henr1k80 in
umbraco/Umbraco-CMS#19719
* add missing translation for DA by @​rammi987 in
umbraco/Umbraco-CMS#19740
* Add a backing field for EditorUIAlias and track changes when its set.
by @​KevinJump in umbraco/Umbraco-CMS#19733
* Template with Block List field with Inline Editing Mode causes
Collection List View to shrink by @​NguyenThuyLan in
umbraco/Umbraco-CMS#19754
 ... (truncated)

## 16.2.0-rc2

<!-- Release notes generated using configuration in .github/release.yml
at release-16.2.0-rc2 -->

## What's Changed
### 📦 Dependencies
* build(deps): bump @​umbraco-ui/uui to 1.15.0 by @​iOvergaard in
umbraco/Umbraco-CMS#19981
### 🐛 Bug Fixes
* fix: pins the UmbracoExtension `@​hey-api/*` versions to that of the
Backoffice client by @​iOvergaard in
umbraco/Umbraco-CMS#20016
### ✍️ Documentation
* Chore: JSDocs for RTE CSS Props by @​leekelleher in
umbraco/Umbraco-CMS#20008


**Full Changelog**:
umbraco/Umbraco-CMS@release-16.2.0-rc...release-16.2.0-rc2

## 16.2.0-rc

<!-- Release notes generated using configuration in .github/release.yml
at release-16.2.0-rc -->

## What's Changed
### 🙌 Notable Changes
* UFM: JavaScript-like Expressions by @​leekelleher in
umbraco/Umbraco-CMS#19685
* Make logging more friendly for docker by @​Migaroez in
umbraco/Umbraco-CMS#19818
* Adds abstraction around boot time checks for database availability by
@​AndyButland in umbraco/Umbraco-CMS#19848
* Optimize document and media seeding by looking up from database in
batches by @​AndyButland in
umbraco/Umbraco-CMS#19890
* Added configuration option UseStrictDomainMatching, which allows
control over whether content is routed without a matching domain by
@​AndyButland in umbraco/Umbraco-CMS#19815
### 📦 Dependencies
* Bump linkifyjs from 4.3.1 to 4.3.2 in /src/Umbraco.Web.UI.Login by
@​dependabot[bot] in umbraco/Umbraco-CMS#19819
* Tiptap RTE: Upgraded to latest v2.x by @​leekelleher in
umbraco/Umbraco-CMS#19869
* build(deps): bump @​umbraco-ui/uui from 1.14.2 to 1.15.0-rc.0 by
@​iOvergaard in umbraco/Umbraco-CMS#19870
### 🚀 New Features
* V16: Siblings endpoints by @​nikolajlauridsen in
umbraco/Umbraco-CMS#19657
* UFM: Adds `markedExtension` extension-type by @​leekelleher in
umbraco/Umbraco-CMS#19684
* UFM: Make Block Settings data available by @​leekelleher in
umbraco/Umbraco-CMS#19686
* Adds background worker to check timeout state by @​iOvergaard in
umbraco/Umbraco-CMS#19702
* V16: Build Backoffice externals with Vite by @​iOvergaard in
umbraco/Umbraco-CMS#19716
* Tiptap RTE: Custom CSS Variables for min/max height/width by
@​leekelleher in umbraco/Umbraco-CMS#19841
* Provides an abstraction for creating the JavaScriptEncoder used in
SystemTextConfigurationEditorJsonSerializer by @​AndyButland in
umbraco/Umbraco-CMS#19849
* Tiptap RTE: Refactor Table menus to use `menu` extension-type by
@​leekelleher in umbraco/Umbraco-CMS#19789
### 🐛 Bug Fixes
* Amend accessibility modifiers on file upload property editor
components to support extension by @​PeterKvayt in
umbraco/Umbraco-CMS#19643
* Docs: Tree example by @​madsrasmussen in
umbraco/Umbraco-CMS#19624
* Hide Document/Media Collection Workspace View until the item is
created by @​madsrasmussen in
umbraco/Umbraco-CMS#19644
* Title returns "Server Error" in non-debug mode by @​PeterKvayt in
umbraco/Umbraco-CMS#19665
* Fix issue with preview in delivery API for MNTP property editor by
@​AndyButland in umbraco/Umbraco-CMS#19668
* Adds support for custom granular permissions when aggregating across
user groups by @​AndyButland in
umbraco/Umbraco-CMS#19660
* Fixes issues with creation of documents from blueprints that have
populated file upload properties by @​AndyButland in
umbraco/Umbraco-CMS#19655
* Clear member cache by older user name when member user name is updated
(16) by @​AndyButland in
umbraco/Umbraco-CMS#19690
* V16 QA Removed unused API acceptance tests by @​nhudinh0309 in
umbraco/Umbraco-CMS#19679
* V16 QA Added acceptance tests for granular document permission by
@​nhudinh0309 in umbraco/Umbraco-CMS#19546
* V16 QA Reverted npx command by @​nhudinh0309 in
umbraco/Umbraco-CMS#19699
* Fixes Block Catalogue Modal Filter by @​leekelleher in
umbraco/Umbraco-CMS#19700
* Fix issue forceHideContentEditorInOverlay not available in RTE by
@​NguyenThuyLan in umbraco/Umbraco-CMS#19698
* V16: Property editor file upload does not validate file types by
@​iOvergaard in umbraco/Umbraco-CMS#19714
* Fix failing integration tests in SQL Server by @​lauraneto in
umbraco/Umbraco-CMS#19725
* Populate name for content and media on URL picker if title is left
empty by @​AndyButland in
umbraco/Umbraco-CMS#19677
* Forward merge #​19720 to V16 by @​kjac in
umbraco/Umbraco-CMS#19735
* Include /.well-known/jwks in the paths covered by OpenIddict by @​kjac
in umbraco/Umbraco-CMS#19749
* Add flag to exclude trashed media by @​rammi987 in
umbraco/Umbraco-CMS#19746
* V16 Added acceptance tests for the regression issue #​16985 by
@​nhudinh0309 in umbraco/Umbraco-CMS#19712
* V16 Added acceptance tests for the regression issue #​19529 by
@​nhudinh0309 in umbraco/Umbraco-CMS#19713
* V16 QA Added acceptance tests for creating a document using blueprint
by @​nhudinh0309 in umbraco/Umbraco-CMS#19708
* Allow saving blueprints with validation errors by @​lauraneto in
umbraco/Umbraco-CMS#19748
* Make internal & private classes sealed where possible, to avoid code
for virtual dispatch by @​Henr1k80 in
umbraco/Umbraco-CMS#19719
* add missing translation for DA by @​rammi987 in
umbraco/Umbraco-CMS#19740
* Add a backing field for EditorUIAlias and track changes when its set.
by @​KevinJump in umbraco/Umbraco-CMS#19733
* Template with Block List field with Inline Editing Mode causes
Collection List View to shrink by @​NguyenThuyLan in
umbraco/Umbraco-CMS#19754
 ... (truncated)

Commits viewable in [compare
view](umbraco/Umbraco-CMS@release-16.1.1...release-16.2.0).
</details>

Updated
[Umbraco.Cms.Persistence.Sqlite](https://github.com/umbraco/Umbraco-CMS)
from 16.1.1 to 16.2.0.

<details>
<summary>Release notes</summary>

_Sourced from [Umbraco.Cms.Persistence.Sqlite's
releases](https://github.com/umbraco/Umbraco-CMS/releases)._

## 16.2.0

<!-- Release notes generated using configuration in .github/release.yml
at release-16.2.0 -->

## What's Changed
### 🙌 Notable Changes
* UFM: JavaScript-like Expressions by @​leekelleher in
umbraco/Umbraco-CMS#19685
* Make logging more friendly for docker by @​Migaroez in
umbraco/Umbraco-CMS#19818
* Adds abstraction around boot time checks for database availability by
@​AndyButland in umbraco/Umbraco-CMS#19848
* Optimize document and media seeding by looking up from database in
batches by @​AndyButland in
umbraco/Umbraco-CMS#19890
* Added configuration option UseStrictDomainMatching, which allows
control over whether content is routed without a matching domain by
@​AndyButland in umbraco/Umbraco-CMS#19815
### 📦 Dependencies
* Bump linkifyjs from 4.3.1 to 4.3.2 in /src/Umbraco.Web.UI.Login by
@​dependabot[bot] in umbraco/Umbraco-CMS#19819
* Tiptap RTE: Upgraded to latest v2.x by @​leekelleher in
umbraco/Umbraco-CMS#19869
* build(deps): bump @​umbraco-ui/uui to 1.15.0 by @​iOvergaard in
umbraco/Umbraco-CMS#19981
### 🚀 New Features
* V16: Siblings endpoints by @​nikolajlauridsen in
umbraco/Umbraco-CMS#19657
* UFM: Adds `markedExtension` extension-type by @​leekelleher in
umbraco/Umbraco-CMS#19684
* UFM: Make Block Settings data available by @​leekelleher in
umbraco/Umbraco-CMS#19686
* Adds background worker to check timeout state by @​iOvergaard in
umbraco/Umbraco-CMS#19702
* V16: Build Backoffice externals with Vite by @​iOvergaard in
umbraco/Umbraco-CMS#19716
* Tiptap RTE: Custom CSS Variables for min/max height/width by
@​leekelleher in umbraco/Umbraco-CMS#19841
* Provides an abstraction for creating the JavaScriptEncoder used in
SystemTextConfigurationEditorJsonSerializer by @​AndyButland in
umbraco/Umbraco-CMS#19849
* Tiptap RTE: Refactor Table menus to use `menu` extension-type by
@​leekelleher in umbraco/Umbraco-CMS#19789
### 🐛 Bug Fixes
* Amend accessibility modifiers on file upload property editor
components to support extension by @​PeterKvayt in
umbraco/Umbraco-CMS#19643
* Docs: Tree example by @​madsrasmussen in
umbraco/Umbraco-CMS#19624
* Hide Document/Media Collection Workspace View until the item is
created by @​madsrasmussen in
umbraco/Umbraco-CMS#19644
* Title returns "Server Error" in non-debug mode by @​PeterKvayt in
umbraco/Umbraco-CMS#19665
* Fix issue with preview in delivery API for MNTP property editor by
@​AndyButland in umbraco/Umbraco-CMS#19668
* Adds support for custom granular permissions when aggregating across
user groups by @​AndyButland in
umbraco/Umbraco-CMS#19660
* Fixes issues with creation of documents from blueprints that have
populated file upload properties by @​AndyButland in
umbraco/Umbraco-CMS#19655
* Clear member cache by older user name when member user name is updated
(16) by @​AndyButland in
umbraco/Umbraco-CMS#19690
* V16 QA Removed unused API acceptance tests by @​nhudinh0309 in
umbraco/Umbraco-CMS#19679
* V16 QA Added acceptance tests for granular document permission by
@​nhudinh0309 in umbraco/Umbraco-CMS#19546
* V16 QA Reverted npx command by @​nhudinh0309 in
umbraco/Umbraco-CMS#19699
* Fixes Block Catalogue Modal Filter by @​leekelleher in
umbraco/Umbraco-CMS#19700
* Fix issue forceHideContentEditorInOverlay not available in RTE by
@​NguyenThuyLan in umbraco/Umbraco-CMS#19698
* V16: Property editor file upload does not validate file types by
@​iOvergaard in umbraco/Umbraco-CMS#19714
* Fix failing integration tests in SQL Server by @​lauraneto in
umbraco/Umbraco-CMS#19725
* Populate name for content and media on URL picker if title is left
empty by @​AndyButland in
umbraco/Umbraco-CMS#19677
* Forward merge #​19720 to V16 by @​kjac in
umbraco/Umbraco-CMS#19735
* Include /.well-known/jwks in the paths covered by OpenIddict by @​kjac
in umbraco/Umbraco-CMS#19749
* Add flag to exclude trashed media by @​rammi987 in
umbraco/Umbraco-CMS#19746
* V16 Added acceptance tests for the regression issue #​16985 by
@​nhudinh0309 in umbraco/Umbraco-CMS#19712
* V16 Added acceptance tests for the regression issue #​19529 by
@​nhudinh0309 in umbraco/Umbraco-CMS#19713
* V16 QA Added acceptance tests for creating a document using blueprint
by @​nhudinh0309 in umbraco/Umbraco-CMS#19708
* Allow saving blueprints with validation errors by @​lauraneto in
umbraco/Umbraco-CMS#19748
* Make internal & private classes sealed where possible, to avoid code
for virtual dispatch by @​Henr1k80 in
umbraco/Umbraco-CMS#19719
* add missing translation for DA by @​rammi987 in
umbraco/Umbraco-CMS#19740
* Add a backing field for EditorUIAlias and track changes when its set.
by @​KevinJump in umbraco/Umbraco-CMS#19733
* Template with Block List field with Inline Editing Mode causes
Collection List View to shrink by @​NguyenThuyLan in
umbraco/Umbraco-CMS#19754
 ... (truncated)

## 16.2.0-rc2

<!-- Release notes generated using configuration in .github/release.yml
at release-16.2.0-rc2 -->

## What's Changed
### 📦 Dependencies
* build(deps): bump @​umbraco-ui/uui to 1.15.0 by @​iOvergaard in
umbraco/Umbraco-CMS#19981
### 🐛 Bug Fixes
* fix: pins the UmbracoExtension `@​hey-api/*` versions to that of the
Backoffice client by @​iOvergaard in
umbraco/Umbraco-CMS#20016
### ✍️ Documentation
* Chore: JSDocs for RTE CSS Props by @​leekelleher in
umbraco/Umbraco-CMS#20008


**Full Changelog**:
umbraco/Umbraco-CMS@release-16.2.0-rc...release-16.2.0-rc2

## 16.2.0-rc

<!-- Release notes generated using configuration in .github/release.yml
at release-16.2.0-rc -->

## What's Changed
### 🙌 Notable Changes
* UFM: JavaScript-like Expressions by @​leekelleher in
umbraco/Umbraco-CMS#19685
* Make logging more friendly for docker by @​Migaroez in
umbraco/Umbraco-CMS#19818
* Adds abstraction around boot time checks for database availability by
@​AndyButland in umbraco/Umbraco-CMS#19848
* Optimize document and media seeding by looking up from database in
batches by @​AndyButland in
umbraco/Umbraco-CMS#19890
* Added configuration option UseStrictDomainMatching, which allows
control over whether content is routed without a matching domain by
@​AndyButland in umbraco/Umbraco-CMS#19815
### 📦 Dependencies
* Bump linkifyjs from 4.3.1 to 4.3.2 in /src/Umbraco.Web.UI.Login by
@​dependabot[bot] in umbraco/Umbraco-CMS#19819
* Tiptap RTE: Upgraded to latest v2.x by @​leekelleher in
umbraco/Umbraco-CMS#19869
* build(deps): bump @​umbraco-ui/uui from 1.14.2 to 1.15.0-rc.0 by
@​iOvergaard in umbraco/Umbraco-CMS#19870
### 🚀 New Features
* V16: Siblings endpoints by @​nikolajlauridsen in
umbraco/Umbraco-CMS#19657
* UFM: Adds `markedExtension` extension-type by @​leekelleher in
umbraco/Umbraco-CMS#19684
* UFM: Make Block Settings data available by @​leekelleher in
umbraco/Umbraco-CMS#19686
* Adds background worker to check timeout state by @​iOvergaard in
umbraco/Umbraco-CMS#19702
* V16: Build Backoffice externals with Vite by @​iOvergaard in
umbraco/Umbraco-CMS#19716
* Tiptap RTE: Custom CSS Variables for min/max height/width by
@​leekelleher in umbraco/Umbraco-CMS#19841
* Provides an abstraction for creating the JavaScriptEncoder used in
SystemTextConfigurationEditorJsonSerializer by @​AndyButland in
umbraco/Umbraco-CMS#19849
* Tiptap RTE: Refactor Table menus to use `menu` extension-type by
@​leekelleher in umbraco/Umbraco-CMS#19789
### 🐛 Bug Fixes
* Amend accessibility modifiers on file upload property editor
components to support extension by @​PeterKvayt in
umbraco/Umbraco-CMS#19643
* Docs: Tree example by @​madsrasmussen in
umbraco/Umbraco-CMS#19624
* Hide Document/Media Collection Workspace View until the item is
created by @​madsrasmussen in
umbraco/Umbraco-CMS#19644
* Title returns "Server Error" in non-debug mode by @​PeterKvayt in
umbraco/Umbraco-CMS#19665
* Fix issue with preview in delivery API for MNTP property editor by
@​AndyButland in umbraco/Umbraco-CMS#19668
* Adds support for custom granular permissions when aggregating across
user groups by @​AndyButland in
umbraco/Umbraco-CMS#19660
* Fixes issues with creation of documents from blueprints that have
populated file upload properties by @​AndyButland in
umbraco/Umbraco-CMS#19655
* Clear member cache by older user name when member user name is updated
(16) by @​AndyButland in
umbraco/Umbraco-CMS#19690
* V16 QA Removed unused API acceptance tests by @​nhudinh0309 in
umbraco/Umbraco-CMS#19679
* V16 QA Added acceptance tests for granular document permission by
@​nhudinh0309 in umbraco/Umbraco-CMS#19546
* V16 QA Reverted npx command by @​nhudinh0309 in
umbraco/Umbraco-CMS#19699
* Fixes Block Catalogue Modal Filter by @​leekelleher in
umbraco/Umbraco-CMS#19700
* Fix issue forceHideContentEditorInOverlay not available in RTE by
@​NguyenThuyLan in umbraco/Umbraco-CMS#19698
* V16: Property editor file upload does not validate file types by
@​iOvergaard in umbraco/Umbraco-CMS#19714
* Fix failing integration tests in SQL Server by @​lauraneto in
umbraco/Umbraco-CMS#19725
* Populate name for content and media on URL picker if title is left
empty by @​AndyButland in
umbraco/Umbraco-CMS#19677
* Forward merge #​19720 to V16 by @​kjac in
umbraco/Umbraco-CMS#19735
* Include /.well-known/jwks in the paths covered by OpenIddict by @​kjac
in umbraco/Umbraco-CMS#19749
* Add flag to exclude trashed media by @​rammi987 in
umbraco/Umbraco-CMS#19746
* V16 Added acceptance tests for the regression issue #​16985 by
@​nhudinh0309 in umbraco/Umbraco-CMS#19712
* V16 Added acceptance tests for the regression issue #​19529 by
@​nhudinh0309 in umbraco/Umbraco-CMS#19713
* V16 QA Added acceptance tests for creating a document using blueprint
by @​nhudinh0309 in umbraco/Umbraco-CMS#19708
* Allow saving blueprints with validation errors by @​lauraneto in
umbraco/Umbraco-CMS#19748
* Make internal & private classes sealed where possible, to avoid code
for virtual dispatch by @​Henr1k80 in
umbraco/Umbraco-CMS#19719
* add missing translation for DA by @​rammi987 in
umbraco/Umbraco-CMS#19740
* Add a backing field for EditorUIAlias and track changes when its set.
by @​KevinJump in umbraco/Umbraco-CMS#19733
* Template with Block List field with Inline Editing Mode causes
Collection List View to shrink by @​NguyenThuyLan in
umbraco/Umbraco-CMS#19754
 ... (truncated)

Commits viewable in [compare
view](umbraco/Umbraco-CMS@release-16.1.1...release-16.2.0).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/frontend preview/backoffice Pull requests that can be previewed in a static version of the Backoffice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upload Field validation not working properly when choosing wrong file type.

3 participants