[Breaking change]: Separating ImageSharp and SQL Server dependencies #5
Labels
category/binary-incompatible
Existing binaries may encounter a breaking change in behavior.
category/source-incompatible
Source code may encounter a breaking change in behavior when targeting the new version.
cms/release/11.0.0
Description
In PR umbraco/Umbraco-CMS#12907 we separated the ImageSharp and SQL Server dependencies by:
Umbraco.Cms.Imaging.ImageSharp
project that contains theSixLabors.ImageSharp
andSixLabors.ImageSharp.Web
dependencies and moving all related code fromUmbraco.Cms.Infrastructure
andUmbraco.Cms.Web.Common
to this project;NPoco.SqlServer
dependency fromUmbraco.Cms.Infrastructure
toUmbraco.Cms.Persistence.SqlServer
and updating/moving all related code to this project;Umbraco.Cms.Targets
project that only contains the required dependencies and build targets and makeUmbraco.Cms
a metapackage that also includes the optional dependencies (thereby keeping existing behaviour when referencing this page).Version
Umbraco 11
Previous behavior
You were required to reference
Umbraco.Cms
in your website project to get all required dependencies and build targets, but this also included 'optional' dependencies like ImageSharp (for image manipulation), SQL Server and SQLite (for database provider/persistence support).New behavior
All required dependencies and build targets have moved to
Umbraco.Cms.Targets
andUmbraco.Cms
references this package in addition to these 'optional' packages:Umbraco.Cms.Imaging.ImageSharp
Umbraco.Cms.Persistence.Sqlite
Umbraco.Cms.Persistence.SqlServer
This means the existing package reference (and installation/upgrade instructions) can stay the same as before:
This is also the same as using the following package references, although you can now replace or remove some of the 'optional' package references:
Type of breaking change
Reason for change
This change was introduced because of the following reasons:
Recommended action
Users that extended the functionality of ImageSharp or depend on specific SQL Server implementations/references might need to update their code to account for the moved classes and dependencies.
Affected APIs
A list of all breaking changes is available on PR umbraco/Umbraco-CMS#12907 (comment).
The text was updated successfully, but these errors were encountered: