org.yaml:snakeyaml breaking changes
org.yaml:snakeyaml 2.0 (February 26, 2023) is its newest release with breaking changes, 29 of them. The first: Removed org.yaml.snakeyaml.DumperOptions.FlowStyle.fromBoolean. Every breaking API change we have recorded in org.yaml:snakeyaml on Maven Central: 29 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.7, released August 30, 2026.
Packages on Maven Central run on Java. Java end of life dates.
org.yaml:snakeyaml 2.0 breaking changes
- Removed
org.yaml.snakeyaml.DumperOptions.FlowStyle.fromBoolean
org.yaml.snakeyaml.DumperOptions.FlowStyle.fromBoolean was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.DumperOptions.FlowStyle.getStyleBoolean
org.yaml.snakeyaml.DumperOptions.FlowStyle.getStyleBoolean was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.events.ScalarEvent.getStyle
ScalarEvent.getStyle was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.nodes.Node.isResolved
Node.isResolved was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.nodes.ScalarNode.getStyle
ScalarNode.getStyle was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.scanner.ScannerImpl.isParseComments
ScannerImpl.isParseComments was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.scanner.ScannerImpl.setParseComments
ScannerImpl.setParseComments was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.TypeDescription.getListPropertyType
TypeDescription.getListPropertyType was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.TypeDescription.getMapKeyType
TypeDescription.getMapKeyType was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Removed
org.yaml.snakeyaml.TypeDescription.getMapValueType
TypeDescription.getMapValueType was removed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.composer.Composer.<init>
The signature of Composer.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.constructor.BaseConstructor.<init>
The signature of BaseConstructor.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.constructor.Constructor.<init>
The signature of Constructor.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.constructor.CustomClassLoaderConstructor.<init>
Was CustomClassLoaderConstructor(Class<?>, ClassLoader) CustomClassLoaderConstructor(ClassLoader); now CustomClassLoaderConstructor(Class<?>, ClassLoader, org.yaml.snakeyaml.LoaderOptions) CustomClassLoaderConstructor(ClassLoader... central.sonatype.com - Signature changed
org.yaml.snakeyaml.constructor.SafeConstructor.<init>
The signature of SafeConstructor.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.error.Mark.<init>
The signature of Mark.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.events.CollectionStartEvent.<init>
The signature of CollectionStartEvent.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.events.MappingStartEvent.<init>
The signature of MappingStartEvent.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.events.ScalarEvent.<init>
The signature of ScalarEvent.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.events.SequenceStartEvent.<init>
The signature of SequenceStartEvent.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.nodes.CollectionNode.<init>
The signature of CollectionNode.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.nodes.CollectionNode.setFlowStyle
The signature of CollectionNode.setFlowStyle changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.nodes.MappingNode.<init>
The signature of MappingNode.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.nodes.ScalarNode.<init>
The signature of ScalarNode.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.nodes.SequenceNode.<init>
The signature of SequenceNode.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.parser.ParserImpl.<init>
The signature of ParserImpl.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.representer.Representer.<init>
The signature of Representer.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.scanner.ScannerImpl.<init>
The signature of ScannerImpl.<init> changed in org.yaml:snakeyaml 2.0 central.sonatype.com - Signature changed
org.yaml.snakeyaml.Yaml.loadAs
Was <T> T loadAs(String, Class<T>) <T> T loadAs(java.io.InputStream, Class<T>) <T> T loadAs(java.io.Reader, Class<T>); now <T> T loadAs(String, Class<? super T>) <T> T loadAs(java.io.InputStream, Class<? super T>) <T> T... central.sonatype.com
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.