Bot releases are visible (Hide)
Published by github-actions[bot] about 1 month ago
Full Changelog: https://github.com/aaubry/YamlDotNet/compare/v16.1.1...v16.1.2
Published by github-actions[bot] about 1 month ago
Full Changelog: https://github.com/aaubry/YamlDotNet/compare/v16.1.0...v16.1.1
Full Changelog: https://github.com/aaubry/YamlDotNet/compare/v16.0.0...v16.1.0
Published by github-actions[bot] 3 months ago
Merge pull request #938 from MetaFight/array-cycles
ArrayNodeDeserializer can now deserialize circular references.
Merge pull request #935 from MrLuje/fsharp-collection
feat: properly handle FSharp List deserialization
Merge pull request #927 from lahma/optimize-scalar-load
Optimize YamlScalarNode.Load and YamlMappingNode.Load
Merge pull request #941 from EdwardCooke/ec-nullability
Fix bugs and add features
Breaking change notes
The ITypeConverter
object is now passed to many methods and is expected when some are called. You can get the typeconverter by calling BuildTypeConverter
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
and ObjectDeserializer
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 the DateTime8601Converter
and add the DateTimeConverter
with the doubleQuotes
constructor parameter set to true
. Example:
new SerializerBuilder()
.WithoutTypeConverter<YamlDotNet.Serialization.Converters.DateTime8601Converter>()
.WithTypeConverter(new YamlDotNet.Serialization.Converters.DateTimeConverter(doubleQuotes: true))
.Build();
on Mark
, Cursor
, SimpleKey
the position property data types changed from int
to long
Published by github-actions[bot] 4 months ago
Merge pull request #910 from lahma/symbols
Include symbols and deterministic build
Merge pull request #930 from MrLuje/fsharp-option
Add FSharpOption support
Published by github-actions[bot] 5 months ago
Merge pull request #808 from tomer-amir/fix-hash-code-infinite-recursion
Fix infinite recursion of the hash code function of YamlMappingNode
Merge pull request #924 from kasperk81/frameworknames
use correct framework
Published by github-actions[bot] 5 months ago
Merge pull request #903 from lahma/license-expression
Switch to using PackageLicenseExpression
Merge pull request #904 from airbreather/fix-656
Add a regression test for #656
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Update the NuGet API key
Merge pull request #897 from EdwardCooke/ec-net80-enumsasnumbers
Enables #773
Adds naming conventions for convert enums to/from scalars
Adds .NET8 binaries
Adds support for custom formatting of enums, easy to expose enums as integers or whatever else.
Quotes necessary enum strings (Null for example)
Breaking: For those that get impacted pass in NullNamingConvention.Instance to the EnumNamingConvetion arguments on the constructor
Breaking: Removed many of the redundant constructors for the classes, pass in the old default values to the new constructors
Merge pull request #898 from EdwardCooke/ec-removeoldframeworks
Breaking: Removes old frameworks, .net35, .net45
Merge pull request #895 from stijnherreman/issue-677
Make the type converters available to custom pre-processing phase visitors.
Merge pull request #899 from EdwardCooke/ec-includenet80
Added .net8 libraries to appveyor
Merge pull request #887 from dougbu/dougbu/blank.lines.886
Handle blank lines in Yaml.Text()
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Merge pull request #856 from prochnowc/code-generation-object
Added support for serialization and deserialization of 'object' to static code generation
Merge pull request #839 from stijnherreman/dateonly-timeonly
Implement DateOnly and TimeOnly converters.
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Merge pull request #824 from 64J0/64J0-patch-1
F# samples
Merge pull request #843 from EdwardCooke/ec-785-callbacks
Added on onserialized/onserializing and ondeserialized/ondeserializing
Published by github-actions[bot] about 1 year ago
Merge pull request #834 from EdwardCooke/ec-810-nullyamlstreamscalars
Support null values in YamlScalarNode for YamlStream
Merge pull request #835 from EdwardCooke/ec-817-keynotappliedtoquotedscalars
Set IsKey on quoted scalar keys
Merge pull request #836 from EdwardCooke/ec-815-datetimeoffset
Added a DateTimeOffsetConverter with a sample on usage
Merge pull request #837 from EdwardCooke/ec-792-testsinnonenglish
Fix tests running in cultures using different cultures
Merge pull request #841 from EdwardCooke/ec-838-utfcharsets
Escaped UTF-16/32 with UTF-8 surrogates
Published by github-actions[bot] about 1 year ago
Merge pull request #821 from rudolfolah/deserialize-generic-objects-error-message-and-sample
Deserialize generic objects sample
Merge pull request #825 from rbnswartz/rs/optimization-for-scanner
Use a span to reduce string allocations
Merge pull request #782 from hemnstill/mergingparser_with_aliases_try2
MergingParser deserializer can now handle nested NodeSequence with aliases (try2)
Merge pull request #778 from rutger-dijkstra/fix-block-level-quoted-strings
Quoted scalars are flow scalars only if flowLevel > 0
Merge pull request #832 from FyiurAmron/add_missing_methods_and_reorder
Add missing methods to (de)serializer interfaces and implementations
Merge pull request #827 from tymokvo/add-force-scalar-style
Add default scalar style
Published by github-actions[bot] over 1 year ago
Published by github-actions[bot] over 1 year ago