Upgrade to Umbraco 15 #3
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the test site to use the latest major version of Umbraco CMS and its related models. The most significant changes are the upgrade of dependencies and generated code to support Umbraco 15, along with adjustments to model property types and code signatures to align with the new version's API.
Umbraco CMS and ModelsBuilder Upgrade:
DeliveryApiModelMapper.TestSite.csprojfromnet8.0tonet9.0, and upgraded theUmbraco.CmsNuGet package from version 13.0.0 to 15.0.0.Content.generated.cs,File.generated.cs,Folder.generated.cs,Home.generated.cs,Image.generated.cs) now referenceUmbraco.ModelsBuilder.Embedded v15.0.0+76ed170instead of v13.3.0. [1] [2] [3] [4] [5]API and Type Compatibility Updates:
IPublishedContentTypeCacheinstead of the deprecatedIPublishedSnapshotAccessor, reflecting API changes in Umbraco 15. [1] [2] [3] [4]UmbracoBytesin theFilemodel fromlongtostringto match new expectations in Umbraco 15.Generated Attribute and Property Updates:
[GeneratedCodeAttribute]annotations in model classes now reference the new version string, ensuring correct code generation metadata. [1] [2] [3] [4] [5] [6] [7] [8]These changes ensure compatibility with Umbraco 15 and .NET 9, and update the codebase to use the latest APIs and code generation standards.