---
title: "yamldotnet 18.0.0 Breaking Changes on NuGet | Since.dev"
description: "What each yamldotnet release removed, renamed or changed: 110 breaking changes in 6 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/yamldotnet
last_updated: 2026-12-04
---

# 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

Latest version `18.1.0`, released June 26, 2026. [Source repository](https://github.com/aaubry/YamlDotNet)

Packages on NuGet run on .NET. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [17.0.0](#v-17-0-0) to [18.0.0](#v-18-0-0): 2 breaking changes in 1 version.
- From [12.0.0](#v-12-0-0) to [18.0.0](#v-18-0-0): 106 breaking changes in 5 versions.

## yamldotnet 18.0.0 breaking changes

yamldotnet 18.0.0, released May 21, 2026: 2 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](https://github.com/aaubry/YamlDotNet/releases/tag/v18.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v18.0.0)

## yamldotnet 17.0.0 breaking changes

yamldotnet 17.0.0, released April 9, 2026: 10 breaking changes.

- **Removed** `YamlDotNet.Core.Tokens.Scalar.IsKey`  

YamlDotNet.Core.Tokens.Scalar.IsKey was removed in YamlDotNet 17.0.0 [nuget.org](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **Signature changed** `YamlDotNet.Serialization.Converters.DateTime8601Converter`  

Was class DateTime8601Converter; now class DateTime8601Converter : YamlDotNet.Serialization.Converters.ScalarConverterBase\<System.DateTime>. [nuget.org](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **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](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **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](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **Signature changed** `YamlDotNet.Serialization.Converters.DateTimeConverter`  

Was class DateTimeConverter; now class DateTimeConverter : YamlDotNet.Serialization.Converters.ScalarConverterBase\<System.DateTime>. [nuget.org](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **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](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **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](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **Signature changed** `YamlDotNet.Serialization.Converters.DateTimeOffsetConverter`  

Was class DateTimeOffsetConverter; now class DateTimeOffsetConverter : YamlDotNet.Serialization.Converters.ScalarConverterBase\<System.DateTimeOffset>. [nuget.org](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **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](https://www.nuget.org/packages/YamlDotNet/17.0.0)
- **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](https://www.nuget.org/packages/YamlDotNet/17.0.0)

## yamldotnet 16.0.0 breaking changes

yamldotnet 16.0.0, released July 14, 2024: 76 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](https://github.com/aaubry/YamlDotNet/releases/tag/v16.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v16.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v16.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v16.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v16.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v16.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v16.0.0)
- **Signature changed** `YamlDotNet.Core.Cursor.Index`  

Was int Index {get;}; now long Index {get;}. [nuget.org](https://www.nuget.org/packages/YamlDotNet/16.0.0)
- **Signature changed** `YamlDotNet.Core.Cursor.Line`  

Was int Line {get;}; now long Line {get;}. [nuget.org](https://www.nuget.org/packages/YamlDotNet/16.0.0)
- **Signature changed** `YamlDotNet.Core.Cursor.LineOffset`  

Was int LineOffset {get;}; now long LineOffset {get;}. [nuget.org](https://www.nuget.org/packages/YamlDotNet/16.0.0)

And 66 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## yamldotnet 15.1.0 breaking changes

yamldotnet 15.1.0, released January 23, 2024: 7 breaking changes.

- **Removed**  

Many redundant constructors were removed; call the new constructors and pass the old default values instead. [github.com](https://github.com/aaubry/YamlDotNet/releases/tag/v15.1.0)
- **Removed**  

Support for the .net35 and .net45 target frameworks was removed. [github.com](https://github.com/aaubry/YamlDotNet/releases/tag/v15.1.0)
- **Behavior changed**  

Enum strings that need it, such as Null, are now quoted when written, so existing output may change. [github.com](https://github.com/aaubry/YamlDotNet/releases/tag/v15.1.0)
- **Signature changed** `EnumNamingConvetion`  

Code that relied on the old constructor defaults must pass NullNamingConvention.Instance to the EnumNamingConvetion arguments on the constructor. [github.com](https://github.com/aaubry/YamlDotNet/releases/tag/v15.1.0)
- **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](https://www.nuget.org/packages/YamlDotNet/15.1.0)
- **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](https://www.nuget.org/packages/YamlDotNet/15.1.0)
- **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](https://www.nuget.org/packages/YamlDotNet/15.1.0)

## yamldotnet 13.0.0 breaking changes

yamldotnet 13.0.0, released February 7, 2023: 11 breaking changes.

- **Removed** `YamlDotNet.Serialization.DeserializerBuilder.WithStaticContext`  

YamlDotNet.Serialization.DeserializerBuilder.WithStaticContext was removed in YamlDotNet 13.0.0 [nuget.org](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **Removed** `YamlDotNet.Serialization.SerializerBuilder.WithStaticContext`  

YamlDotNet.Serialization.SerializerBuilder.WithStaticContext was removed in YamlDotNet 13.0.0 [nuget.org](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **Signature changed** `YamlDotNet.Serialization.NodeDeserializers.DictionaryNodeDeserializer`  

Was class DictionaryNodeDeserializer; now class DictionaryNodeDeserializer : YamlDotNet.Serialization.NodeDeserializers.DictionaryDeserializer. [nuget.org](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **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](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **Signature changed** `YamlDotNet.Serialization.NodeDeserializers.StaticDictionaryNodeDeserializer`  

Was class StaticDictionaryNodeDeserializer : YamlDotNet.Serialization.NodeDeserializers.DictionaryNodeDeserializer; now class StaticDictionaryNodeDeserializer : YamlDotNet.Serialization.NodeDeserializers.DictionaryDeserializer. [nuget.org](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **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](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **Signature changed** `YamlDotNet.Serialization.ObjectFactories.DefaultObjectFactory`  

Was sealed class DefaultObjectFactory; now sealed class DefaultObjectFactory : YamlDotNet.Serialization.ObjectFactories.ObjectFactoryBase. [nuget.org](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **Signature changed** `YamlDotNet.Serialization.ObjectFactories.DefaultObjectFactory.Create`  

Was object Create(System.Type type); now virtual object Create(System.Type type). [nuget.org](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **Signature changed** `YamlDotNet.Serialization.ObjectFactories.LambdaObjectFactory`  

Was sealed class LambdaObjectFactory; now sealed class LambdaObjectFactory : YamlDotNet.Serialization.ObjectFactories.ObjectFactoryBase. [nuget.org](https://www.nuget.org/packages/YamlDotNet/13.0.0)
- **Signature changed** `YamlDotNet.Serialization.ObjectFactories.LambdaObjectFactory.Create`  

Was object Create(System.Type type); now virtual object Create(System.Type type). [nuget.org](https://www.nuget.org/packages/YamlDotNet/13.0.0)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## yamldotnet 12.0.0 breaking changes

yamldotnet 12.0.0, released July 23, 2022: 4 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](https://github.com/aaubry/YamlDotNet/releases/tag/v12.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v12.0.0)
- **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](https://github.com/aaubry/YamlDotNet/releases/tag/v12.0.0)
- **Signature changed** `YamlDotNet.Core.Mark`  

Was sealed class Mark; now struct Mark. [nuget.org](https://www.nuget.org/packages/YamlDotNet/12.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
