yamldotnet breaking changes
yamldotnet 18.0.0 (May 21, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed ITypeInspector. Every breaking API change we have recorded in yamldotnet on NuGet: 110 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 18.1.0, released June 26, 2026. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
- From 17.0.0 to 18.0.0: 2 breaking changes in 1 version.
- From 12.0.0 to 18.0.0: 106 breaking changes in 5 versions.
yamldotnet 18.0.0 breaking changes
- Signature changed
ITypeInspector
Two methods were added to the ITypeInspector interface, so custom implementations must add them. A quick fix is to return false from HasParseMethod and return null or throw from Parse. github.com - Signature changed
TypeInspectorSkeleton
Two methods were added to the TypeInspectorSkeleton class, which breaks custom subclasses. A quick fix is to return false from HasParseMethod and return null or throw from Parse. github.com
yamldotnet 17.0.0 breaking changes
- Removed
YamlDotNet.Core.Tokens.Scalar.IsKey
YamlDotNet.Core.Tokens.Scalar.IsKey was removed in YamlDotNet 17.0.0 nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTime8601Converter
Was class DateTime8601Converter; now class DateTime8601Converter : YamlDotNet.Serialization.Converters.ScalarConverterBase<System.DateTime>. nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTime8601Converter.ReadYaml
Was object ReadYaml(YamlDotNet.Core.IParser parser, System.Type type, YamlDotNet.Serialization.ObjectDeserializer rootDeserializer); now virtual object ReadYaml(YamlDotNet.Core.IParser parser, System.Type type... nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTime8601Converter.WriteYaml
Was void WriteYaml(YamlDotNet.Core.IEmitter emitter, object value, System.Type type, YamlDotNet.Serialization.ObjectSerializer serializer); now virtual void WriteYaml(YamlDotNet.Core.IEmitter emitter, object value, System.Type type... nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTimeConverter
Was class DateTimeConverter; now class DateTimeConverter : YamlDotNet.Serialization.Converters.ScalarConverterBase<System.DateTime>. nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTimeConverter.ReadYaml
Was object ReadYaml(YamlDotNet.Core.IParser parser, System.Type type, YamlDotNet.Serialization.ObjectDeserializer rootDeserializer); now virtual object ReadYaml(YamlDotNet.Core.IParser parser, System.Type type... nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTimeConverter.WriteYaml
Was void WriteYaml(YamlDotNet.Core.IEmitter emitter, object value, System.Type type, YamlDotNet.Serialization.ObjectSerializer serializer); now virtual void WriteYaml(YamlDotNet.Core.IEmitter emitter, object value, System.Type type... nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTimeOffsetConverter
Was class DateTimeOffsetConverter; now class DateTimeOffsetConverter : YamlDotNet.Serialization.Converters.ScalarConverterBase<System.DateTimeOffset>. nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTimeOffsetConverter.ReadYaml
Was object ReadYaml(YamlDotNet.Core.IParser parser, System.Type type, YamlDotNet.Serialization.ObjectDeserializer rootDeserializer); now virtual object ReadYaml(YamlDotNet.Core.IParser parser, System.Type type... nuget.org - Signature changed
YamlDotNet.Serialization.Converters.DateTimeOffsetConverter.WriteYaml
Was void WriteYaml(YamlDotNet.Core.IEmitter emitter, object value, System.Type type, YamlDotNet.Serialization.ObjectSerializer serializer); now virtual void WriteYaml(YamlDotNet.Core.IEmitter emitter, object value, System.Type type... nuget.org
yamldotnet 16.0.0 breaking changes
- Default changed
YamlDotNet.Serialization.Converters.DateTime8601Converter
JsonCompatible dates now use the ISO 8601 format by default. To keep the old format, remove DateTime8601Converter and add DateTimeConverter with doubleQuotes set to true. github.com - Signature changed
Cursor
The position property data types on Cursor changed from int to long. Code that stores or passes these values as int must be updated. github.com - Signature changed
IPropertyDescriptor
Many methods now receive an IPropertyDescriptor describing the property being deserialized. It can be ignored if you do not need it. github.com - Signature changed
ITypeConverter
Many methods now receive an ITypeConverter and expect it when called. Get it by calling BuildTypeConverter on the serializer or deserializer builder and inject it into your class. github.com - Signature changed
Mark
The position property data types on Mark changed from int to long. Code that stores or passes these values as int must be updated. github.com - Signature changed
ObjectSerializer
The ObjectSerializer and ObjectDeserializer delegates are now passed to methods. They can be ignored if you do not need them. github.com - Signature changed
SimpleKey
The position property data types on SimpleKey changed from int to long. Code that stores or passes these values as int must be updated. github.com - Signature changed
YamlDotNet.Core.Cursor.Index
Was int Index {get;}; now long Index {get;}. nuget.org - Signature changed
YamlDotNet.Core.Cursor.Line
Was int Line {get;}; now long Line {get;}. nuget.org - Signature changed
YamlDotNet.Core.Cursor.LineOffset
Was int LineOffset {get;}; now long LineOffset {get;}. nuget.org
And 66 more in this version. Sign up to see every change
yamldotnet 15.1.0 breaking changes
- Removed
Many redundant constructors were removed; call the new constructors and pass the old default values instead. github.com - Removed
Support for the .net35 and .net45 target frameworks was removed. github.com - Behavior changed
Enum strings that need it, such as Null, are now quoted when written, so existing output may change. github.com - Signature changed
EnumNamingConvetion
Code that relied on the old constructor defaults must pass NullNamingConvention.Instance to the EnumNamingConvetion arguments on the constructor. github.com - Signature changed
YamlDotNet.Serialization.Utilities.ITypeConverter.ChangeType
Was object ChangeType(object value, System.Type expectedType); now object ChangeType(object value, System.Type expectedType, YamlDotNet.Serialization.INamingConvention enumNamingConvention). nuget.org - Signature changed
YamlDotNet.Serialization.Utilities.NullTypeConverter.ChangeType
Was object ChangeType(object value, System.Type expectedType); now object ChangeType(object value, System.Type expectedType, YamlDotNet.Serialization.INamingConvention enumNamingConvention). nuget.org - Signature changed
YamlDotNet.Serialization.Utilities.TypeConverter.ChangeType
Was static T ChangeType<T>(object value) static T ChangeType<T>(object value, System.Globalization.CultureInfo culture) static T ChangeType<T>(object value, System.IFormatProvider provider) static object ChangeType(object value... nuget.org
yamldotnet 13.0.0 breaking changes
- Removed
YamlDotNet.Serialization.DeserializerBuilder.WithStaticContext
YamlDotNet.Serialization.DeserializerBuilder.WithStaticContext was removed in YamlDotNet 13.0.0 nuget.org - Removed
YamlDotNet.Serialization.SerializerBuilder.WithStaticContext
YamlDotNet.Serialization.SerializerBuilder.WithStaticContext was removed in YamlDotNet 13.0.0 nuget.org - Signature changed
YamlDotNet.Serialization.NodeDeserializers.DictionaryNodeDeserializer
Was class DictionaryNodeDeserializer; now class DictionaryNodeDeserializer : YamlDotNet.Serialization.NodeDeserializers.DictionaryDeserializer. nuget.org - Signature changed
YamlDotNet.Serialization.NodeDeserializers.DictionaryNodeDeserializer.Deserialize
Was protected void Deserialize(System.Type tKey, System.Type tValue, YamlDotNet.Core.IParser parser, System.Func<YamlDotNet.Core.IParser, System.Type, object> nestedObjectDeserializer, System.Collections.IDictionary result) virtual bool... nuget.org - Signature changed
YamlDotNet.Serialization.NodeDeserializers.StaticDictionaryNodeDeserializer
Was class StaticDictionaryNodeDeserializer : YamlDotNet.Serialization.NodeDeserializers.DictionaryNodeDeserializer; now class StaticDictionaryNodeDeserializer : YamlDotNet.Serialization.NodeDeserializers.DictionaryDeserializer. nuget.org - Signature changed
YamlDotNet.Serialization.NodeDeserializers.StaticDictionaryNodeDeserializer.Deserialize
Was protected void Deserialize(System.Type tKey, System.Type tValue, YamlDotNet.Core.IParser parser, System.Func<YamlDotNet.Core.IParser, System.Type, object> nestedObjectDeserializer, System.Collections.IDictionary result) virtual bool... nuget.org - Signature changed
YamlDotNet.Serialization.ObjectFactories.DefaultObjectFactory
Was sealed class DefaultObjectFactory; now sealed class DefaultObjectFactory : YamlDotNet.Serialization.ObjectFactories.ObjectFactoryBase. nuget.org - Signature changed
YamlDotNet.Serialization.ObjectFactories.DefaultObjectFactory.Create
Was object Create(System.Type type); now virtual object Create(System.Type type). nuget.org - Signature changed
YamlDotNet.Serialization.ObjectFactories.LambdaObjectFactory
Was sealed class LambdaObjectFactory; now sealed class LambdaObjectFactory : YamlDotNet.Serialization.ObjectFactories.ObjectFactoryBase. nuget.org - Signature changed
YamlDotNet.Serialization.ObjectFactories.LambdaObjectFactory.Create
Was object Create(System.Type type); now virtual object Create(System.Type type). nuget.org
And 1 more in this version. Sign up to see every change
yamldotnet 12.0.0 breaking changes
- Behavior changed
Numbers that were written with the previous format may now be written differently. Check any output or comparisons that depend on the exact text of doubles and floats. github.com - Behavior changed
Strings that look like null, booleans or numbers are quoted when serialized. Output text for such strings will differ from earlier versions. github.com - Behavior changed
YamlException
The exception Message now contains only the original message. Start and end positions are available through the new ToString output, so code that parses Message for positions must change. github.com - Signature changed
YamlDotNet.Core.Mark
Was sealed class Mark; now struct Mark. nuget.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.