-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
Fix bugs and add features #941
Merged
Merged
Conversation
This file contains 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
This feature has been released in version 16.0.0. |
The changes from 8c1dbad are breaking but aren't listed in the release notes. Would be good to update them to include a note of that too. |
Release notes updated |
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.
Fix #922 - large files fail to parse
Fix #893 - JSON Compatible and non numeric numbers (.inf/nan/e+)
BREAKING Fix #891 - Use ISO8601 for Json Dates by default.
BREAKING Feat: #890 - Support custom converters by attributes
Feat: #884 - IEnumerable and other interface support in AoT
Fix #845 - DateTime/Json Compatible
Feat: #781 - Case insensitive field and property matching
Feat #763 - Non nullable properties/fields throw exception when enabled.
Feat #763 - Required fields throw exception when not set when enabled.
Feat #586 - EnumMember attribute on enums
Additionally
BREAKING - Support easily serializing/deserializing objects in IYamlTypeConverter implementations.
Removed the .net 7 target
Notes:
The
ITypeConverter
object is now passed to many methods and is expected when some are called. You can get the typeconverter by callingBuildTypeConverter
on the serializerbuilder and deserializerbuilder. This typeconverter should be treated as a singleton and injected into the constructor of your class.The
IPropertyDescriptor
is now passed into a lot of methods. It can be safely disregarded if you don't need it. It contains information about the property containing the object being deserialized.The delegates
ObjectSerializer
andObjectDeserializer
are also being passed around. They can be disregarded if you don't need them.To revert to the old date/time formats for
JsonCompatable
remove theDateTime8601Converter
and add theDateTimeConverter
with thedoubleQuotes
constructor parameter set totrue
. Example: