Skip to content

V17 - Removed obsoleted code from Cms.Api #19963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Aug 25, 2025

Conversation

NillasKA
Copy link
Member

Description

A ton of obsoleted code, that has been scheduled for removal in Umbraco 17 has been removed, and their usages has been adjusted (If there was any)

Mainly this PR is the removal of obsoleted code from the Umbraco.Cms.Api.Common

@NillasKA NillasKA changed the title V17 - Removed obseleted code from Cms.Api.Common V17 - Removed obsoleted code from Cms.Api.Common Aug 21, 2025
* Removing obsoleted constructors from AncestorsSelector.cs

* Removing obsoleted constructors from ChildrenSelector.cs

* Removing obsoleted code from DescendantsSelector.cs

* Removing obsoleted code from RequestCultureService.cs

* Removing obsoleted code from QueryOptionBase.cs
@NillasKA NillasKA changed the title V17 - Removed obsoleted code from Cms.Api.Common V17 - Removed obsoleted code from Cms.Api Aug 21, 2025
Copy link
Contributor

@AndyButland AndyButland left a comment

Choose a reason for hiding this comment

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

Looks good - just a little further clean-up we can do that I've noted inline.

@NillasKA NillasKA requested a review from AndyButland August 22, 2025 10:13
Copy link
Contributor

@AndyButland AndyButland left a comment

Choose a reason for hiding this comment

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

Looks mostly good to me now, but could you just check over and remove the ActivatorUtilitiesConstructor from all controllers where you have cleaned up to only have one constructor left please. It doesn't really do any harm, but it's not necessary unless there is more than one constructor, so we can remove it.

@NillasKA NillasKA requested a review from AndyButland August 22, 2025 12:22
@AndyButland AndyButland enabled auto-merge (squash) August 22, 2025 12:37
@AndyButland AndyButland merged commit 07abec2 into v17/dev Aug 25, 2025
25 checks passed
@AndyButland AndyButland deleted the v17/api-common-rm-obsoleted branch August 25, 2025 07:37
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.

2 participants