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 Umbraco CMS version 16 and regenerates the ModelsBuilder classes to reflect changes in the new version. The most significant changes involve updating property types for media models and removing explicit version strings from generated code attributes.
Umbraco CMS Version Upgrade:
Umbraco.Cmsfrom version 15.0.0 to 16.0.0 inDeliveryApiModelMapper.TestSite.csproj, ensuring compatibility with the latest features and bug fixes.Generated ModelsBuilder Code Updates:
GeneratedCodeAttributeusages in generated model classes, making the code less dependent on a specific Umbraco ModelsBuilder version. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]Media Model Property Type Improvements:
UmbracoBytes(fromstringtolong),UmbracoHeight, andUmbracoWidth(fromstringtoint) in bothImageandFilemodels, providing more accurate typing for these values. [1] [2]These changes ensure the project is up-to-date with the latest Umbraco CMS and improve the reliability and maintainability of the generated model code.