Version Specific Upgrade Notes
This page covers specific upgrade documentation for specific versions.
If you are upgrading to a new minor or patch version, you can find information about the breaking changes in the Release Notes article.
Version 12 of Umbraco Workflow has a minimum dependency on Umbraco CMS core of
12.0.0
. It runs on .NET 7.Breaking changes
Version 12 contains a number of breaking changes. Presentation changes are not typically considered breaking - for reference the full details are listed below.
Presentation
- Replaces promises with async/await in AngularJS components.
- Adds
StateFactoryBase
type. - Removes
getAllTasksForGroupForRange
fromWorkflowResource
- usegetAllTasksForGroup
instead, with query params. - Removes
safeVariant
fromWorkflowResource
- logic is moved togenerateQuery
. - Removes
saveDocTypeConfig
fromWorkflowResource
- config is saved when saving settings. - Removes
getNewNodeConfig
fromWorkflowResource
- config is returned when getting settings. - Removes
getPathAndType
fromWorkflowResource
- function is moved toOfflineController
. - Renames
getSettingsForDisplay
togetSettings
onSettingsResource
.
Code
- Removes
IWorkflowVersion
interface. - Removes
SettingsTreeController
. - Removes
SaveContentTypeConfig
fromConfigController
. - Removes
GetNewNodeConfig
fromConfigController
. - Removes
ICaseInsensitiveSettingsDictionaryValueAccessor
. - Removes
EmailTemplatePath
fromWorkflowSettings
as value can not be modified. - Removes
FakeController
fromEmailTemplateRenderer
. - Removes
ProcessApproval(this WorkflowTaskPoco taskInstance, WorkflowAction action, int? userId, string comment, string? assignTo = null)
fromTaskInstanceExtensions
, use the implementation accepting an ActionWorkflowRequest and WorkflowInstancePoco instead. - Removes
ActionedByAdmin(WorkflowTaskPoco taskInstance, int? userId)
fromTaskInstanceExtensions
, use the implementation accepting a WorkflowTaskPoco, ActionWorkflowRequest and WorkflowInstancePoco instead. - Removes
Cancel(this WorkflowTaskPoco taskInstance, int? userId, string reason, DateTime? completedDate)
fromTaskInstanceExtensions
, use the implementation accepting an ActionWorkflowRequest and WorkflowInstancePoco instead. - Removes parameterless constructor from
PackageVersionModel
, use the constructor accepting theversion
parameter instead. - Removes
IsNightly
fromPackageVersionModel
. - Removes
CssStatus
fromWorkflowInstanceViewModel
, status should be derived fromStatus
orStatusName
. - Removes
CssStatus
fromWorkflowTaskSlim
, status should be derived fromStatus
orStatusName
. - Removes
ApprovalGroupId
,Path
,ContentTypeId
,CreatedDateTime
,RequestedById
,ActionedByUser
fromWorkflowTaskViewModel
. - Removes
GetChartData
fromIContentReviewService
, useIChartsService
instead. - Removes
GetFullyQualifiedContentEditorUrl(int? id, string baseUrl)
fromISettingsService
, use the implementation accepting an optionalReferrer
parameter instead. - Removes
Generate(IDictionary<string, object> dictionary, IDictionary<string, object>? additionalData = null)
fromServerVariablesSendingExecutor
, use the async implementation instead. - Moves
GetPathAndType
fromConfigController
toOfflineApprovalController
. OfflineApprovalController
constructor requires an additional parameter -IConfigService
.
Last modified 2mo ago