Skip to content

Flatten SiteContentType and bump EPiServer.CMS to 13.0.2 - #67

Merged
bjuris merged 2 commits into
mainfrom
feature/CMS-52433-flatten-site-content-type
May 19, 2026
Merged

Flatten SiteContentType and bump EPiServer.CMS to 13.0.2#67
bjuris merged 2 commits into
mainfrom
feature/CMS-52433-flatten-site-content-type

Conversation

@bjuris

@bjuris bjuris commented May 19, 2026

Copy link
Copy Markdown
Member

Flattens the SiteContentType attribute wrapper in the Alloy.Mvc template and updates all page and block model classes to use [ContentType(...)] directly, matching how StartPage already declares its content type. For the models that previously relied on the wrapper's default GroupName, the value is now set explicitly so behavior is preserved.

Also bumps EPiServer.CMS and EPiServer.Cms.UI.AspNetIdentity from 13.0.0 to 13.0.2 in Alloy.Mvc, Cms.Empty, and Cms.Item to pick up patched transitive dependencies that resolve NU1902/NU1903 audit failures for MailKit 4.15.1 and System.Security.Cryptography.Xml 10.0.2.

Fixes: CMS-52433

bjuris added 2 commits May 19, 2026 11:45
Removes the SiteContentType attribute wrapper from the Alloy.Mvc
template and updates all page and block model classes to use
[ContentType(...)] directly, matching how StartPage already declares
its content type. For the models that previously relied on the
wrapper's default GroupName the value is now set explicitly so
behavior is preserved.

Fixes: CMS-52433
@bjuris
bjuris marked this pull request as ready for review May 19, 2026 09:59
@bjuris
bjuris requested a review from a team as a code owner May 19, 2026 09:59

@JohanPetersson JohanPetersson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this/these templates are not shipped. The templates we ship are located in

@bjuris
bjuris merged commit df6e965 into main May 19, 2026
2 checks passed
@bjuris
bjuris deleted the feature/CMS-52433-flatten-site-content-type branch May 19, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants