Skip to content

Upgrading YamlDotNet 17 to 18

Breaking17.1.0 → 18.1.0Breaking1Changed1Fixed1Other2

BreakingUpgrade verdict

1 breaking change.

  • Custom type inspectors must now implement two extra methods, otherwise the code will not compile.
1 item needs code or config changes
Breaking1
Adds parse method wrapper and caching to fix AoT compilation, breaking TypeInspectorSkeleton and ITypeInspector by adding 2 methods.
TypeInspectorSkeletonITypeInspectorHasParseMethodParse

Generated by DepDelta from published .NET assemblies. Not mixed with prose notes.

  • added: method ITypeInspector.HasParseMethod(Type type): bool
  • added: method ITypeInspector.Parse(string value, Type expectedType): object
  • added: method YamlAttributesTypeInspector.HasParseMethod(Type type): bool
  • added: method YamlAttributesTypeInspector.Parse(string value, Type expectedType): object
  • added: method CachedTypeInspector.HasParseMethod(Type type): bool
  • added: method CachedTypeInspector.Parse(string value, Type expectedType): object
  • added: method CompositeTypeInspector.HasParseMethod(Type type): bool
  • added: method CompositeTypeInspector.Parse(string value, Type expectedType): object
  • added: method NamingConventionTypeInspector.HasParseMethod(Type type): bool
  • added: method NamingConventionTypeInspector.Parse(string value, Type expectedType): object
  • added: method ReadableAndWritablePropertiesTypeInspector.HasParseMethod(Type type): bool
  • added: method ReadableAndWritablePropertiesTypeInspector.Parse(string value, Type expectedType): object
  • added: method ReflectionTypeInspector.HasParseMethod(Type type): bool
  • added: method ReflectionTypeInspector.Parse(string value, Type expectedType): object
  • added: method TypeInspectorSkeleton.HasParseMethod(Type type): bool
  • added: method TypeInspectorSkeleton.Parse(string value, Type expectedType): object