---
title: "org.yaml:snakeyaml 2.0 Breaking Changes on Maven Central"
description: "What each org.yaml:snakeyaml release removed, renamed or changed: 29 breaking changes in 1 version on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/org.yaml:snakeyaml
last_updated: 2026-12-04
---

# 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

Latest version `2.7`, released August 30, 2026. 

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

## org.yaml:snakeyaml 2.0 breaking changes

org.yaml:snakeyaml 2.0, released February 26, 2023: 29 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](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.DumperOptions.FlowStyle.getStyleBoolean`  

org.yaml.snakeyaml.DumperOptions.FlowStyle.getStyleBoolean was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.events.ScalarEvent.getStyle`  

ScalarEvent.getStyle was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.nodes.Node.isResolved`  

Node.isResolved was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.nodes.ScalarNode.getStyle`  

ScalarNode.getStyle was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.scanner.ScannerImpl.isParseComments`  

ScannerImpl.isParseComments was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.scanner.ScannerImpl.setParseComments`  

ScannerImpl.setParseComments was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.TypeDescription.getListPropertyType`  

TypeDescription.getListPropertyType was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.TypeDescription.getMapKeyType`  

TypeDescription.getMapKeyType was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Removed** `org.yaml.snakeyaml.TypeDescription.getMapValueType`  

TypeDescription.getMapValueType was removed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.composer.Composer.<init>`  

The signature of Composer.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.constructor.BaseConstructor.<init>`  

The signature of BaseConstructor.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.constructor.Constructor.<init>`  

The signature of Constructor.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **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](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.constructor.SafeConstructor.<init>`  

The signature of SafeConstructor.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.error.Mark.<init>`  

The signature of Mark.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.events.CollectionStartEvent.<init>`  

The signature of CollectionStartEvent.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.events.MappingStartEvent.<init>`  

The signature of MappingStartEvent.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.events.ScalarEvent.<init>`  

The signature of ScalarEvent.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.events.SequenceStartEvent.<init>`  

The signature of SequenceStartEvent.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.nodes.CollectionNode.<init>`  

The signature of CollectionNode.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.nodes.CollectionNode.setFlowStyle`  

The signature of CollectionNode.setFlowStyle changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.nodes.MappingNode.<init>`  

The signature of MappingNode.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.nodes.ScalarNode.<init>`  

The signature of ScalarNode.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.nodes.SequenceNode.<init>`  

The signature of SequenceNode.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.parser.ParserImpl.<init>`  

The signature of ParserImpl.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.representer.Representer.<init>`  

The signature of Representer.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **Signature changed** `org.yaml.snakeyaml.scanner.ScannerImpl.<init>`  

The signature of ScannerImpl.\<init> changed in org.yaml:snakeyaml 2.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.0)
- **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](https://central.sonatype.com/artifact/org.yaml/snakeyaml/2.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.
