Repository navigation
Update dependency JsonSubTypes to 2.2.0 - #421
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/jsonsubtypes-2.x
branch
from
October 8, 2026 00:18
37e7197 to
c914fa0
Compare
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.
This PR contains the following updates:
2.0.1→2.2.0Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
manuc66/JsonSubTypes (JsonSubTypes)
v2.2.0JsonSubTypes
Added
JsonSubtypesConverterexposesprotected static bool IsClosedGenericFormOf(Type objectType, Type genericType), so custom converters built on the public base can reuse the closed-generic base matching.Fixed
Base<>) now closes the generic subtype correctly (e.g.Nested1<int>forBase<int>) instead of failing. #177Property2.Valueinstead ofValue), matching stock Newtonsoft.Json error handling. #182Changed
JToken.FromObject/ToObjectreflection. A customJsonConverterregistered on the serializer for the discriminator type still takes the serializer-aware path on both read and write. Measured with BenchmarkDotNet on net10: single deserialize 2.54µs → 2.33µs, collection deserialize 10.21µs → 7.72µs, single serialize 1.54µs → 1.31µs, collection serialize 5.51µs → 4.86µs.CanConvertno longer claims types that merely implement an unrelated generic interface of the base type.Security
System.Net.HttpandSystem.Text.RegularExpressionsare pinned to the patched 4.3.4 and 4.3.1;NETStandard.Library 1.6.1otherwise resolves them to the vulnerable 4.3.0 versions.v2.1.0Added
JsonSubtypesConverterandJsonSubtypesByDiscriminatorValueConverterpublic and subclassable: custom subtype converters can now be built with a custom discriminator mapping and control over discriminator serialization, instead of being limited to the fluent builder. #138Fixed
Changed
Configuration
📅 Schedule: (in timezone America/Los_Angeles)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.