Repository navigation
Remove JToken deserialization from an obsolete feature - #7458
Merged
Nigusu-Allehu merged 2 commits intoJun 8, 2026
Merged
Conversation
nkolev92
reviewed
Jun 6, 2026
nkolev92
approved these changes
Jun 8, 2026
nkolev92
left a comment
Member
There was a problem hiding this comment.
LGTM.
Make sure we mark this as a breaking change in our SDK. An issue works best probably that explicitly says what exactly we're removing.
No need to do any of the other breaking change mechanics since those are unaffected.
Contributor
|
Added When you commit this breaking change:
You can refer to the .NET SDK breaking change guidelines |
zivkan
approved these changes
Jun 8, 2026
Nigusu-Allehu
deleted the
dev-nyenework-remove-deserialization-from-obsolete
branch
June 8, 2026 20:59
1 of 3 tasks
This was referenced Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bug
Fixes: NuGet/Home#14935
Description
Raw search is an obsolete feature and this feature, It searches and store search results as
JTokens but they are only deserialized into an actual object here inPakcageSearchResourceV3. This PR removes the support for an obsolete constructor which enabled SearchAsync to do Raw Search.Note: In order for
SearchAsyncto be able to do raw search, the object created must have been created with the obsolete constructor in PackageSearchResourceV3. So this will only break users using the obsolete constructor.PR Checklist