Version Specific Upgrade Notes
Version specific documentation for upgrading to new major versions of Umbraco Forms.
This page covers specific upgrade documentation for when migrating to major 13 of Umbraco Forms.
Version Specific Upgrade Notes History
Version 13 of Umbraco Forms has a minimum dependency on Umbraco CMS core of 13.0.0. It runs on .NET 8.
Deploy add-on for Umbraco Forms has been renamed from Umbraco.Deploy.Forms to Umbraco.Forms.Deploy.
Breaking changes
Version 13 contains a number of breaking changes. If you do run into any, they should be straightforward to adjust and recompile.
For reference, the full details are listed here:
Behavior
The configuration option
UseSemanticFieldsetRenderingwas removed and considered astrue. This means the improved, semantic fieldset rendering is now used in the default theme for all installations.The
ExecuteWorkflowAsyncconfiguration option was removed.
Dependencies
Umbraco CMS dependency was updated to
13.0.0.
Code
The following updates describe the more significant changes to the codebase and public API:
Amended
IWorkflowExecutionService,IRecordService,IRecordSetActionTypeandIWorkflowTypemethods related to workflow execution to be asynchronous. These methods now have anAsyncsuffix and will return a awaitableTask.An overload for the HTML helper
RenderUmbracoFormDependenciesthat internally required service location was removed. It should now be called providing the parameter for anIUrlHelper, with@Html.RenderUmbracoFormDependencies(Url).
These updates are more minor. We don't expect many projects to be affected by them as they are in areas that are not typical extension points:
DataSourceCacheRefresherwas made internal.HideFieldwas removed fromFieldTypeandIFieldType.RenderInputTypewith a value ofRenderInputType.Hiddencan be used here instead.The default implementation for the
Existsmethod previously added toIBaseServicewas removed.The obsolete overload for method
AddDataConsentFieldonFieldsetContainerExtensionswas removed.The method
CanUserViewEntrieswas added to theIFormsSecurityinterface.The static methods
TryCreateAttachment,TrackAttachmentFileStreamandDisposeAttachmentFileStreamsonBaseEmailWorkflowTypewere removed (instance methods are available to use instead).The obsolete constructor on the
SaveAsFileworkflow type was removed.The obsolete overload for method
TransformXMLonXsltHelperwas removed.The obsolete overloads for method
ValidateFieldonFieldTypewere removed.The obsolete overload for method
GetFormSecurityByUserIdonFormSecurityControllerBasewas removed.The
PopulatePageElementsmethod was added to theIFormRenderingServiceinterface.The
Settingclass was renamed toSettingAttribute.PreValueFileControllerhas a changed constructor.FileUploadhas a changed constructor.ExecuteWorkflowsWithResultonIWorkflowExecutionServicewas renamed toExecuteWorkflowsand the void method with that name was removed.The string constants used to define GUIDs for each provider type were made consistently upper-case.
FileUploadandPreValueFileControllerhave changed constructors to add support for server-side file validation.HTML helpers such as
RenderFormsScriptsnow returnIHtmlContent.The constructor for workflow notifications was amended to add a parameter for the current
Record.The
ITypeinterface now defines aCreatedproperty.
Legacy version specific upgrade notes
You can find the version specific upgrade notes for versions out of support in the Legacy documentation on GitHub.
Last updated
Was this helpful?