---
title: "github.com/jpsim/yams 6.0.0 Breaking Changes"
description: "What each github.com/jpsim/yams release removed, renamed or changed: 15 breaking changes in 9 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/jpsim/yams
last_updated: 2026-12-04
---

# github.com/jpsim/yams breaking changes

github.com/jpsim/yams 6.0.0 (May 15, 2025) is its newest release with breaking changes. The first: Behavior changed YamlError.duplicatedKeysInMapping. Every breaking API change we have recorded in github.com/jpsim/yams on Swift Package Index: 15 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.3.0`, released December 1, 2026. [Source repository](https://github.com/jpsim/Yams)

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 1 breaking change in 1 version.
- From [0.5.0](#v-0-5-0) to [6.0.0](#v-6-0-0): 14 breaking changes in 8 versions.

## github.com/jpsim/yams 6.0.0 breaking changes

github.com/jpsim/yams 6.0.0, released May 15, 2025: 1 breaking change.

- **Behavior changed** `YamlError.duplicatedKeysInMapping`  

The associated values of YamlError.duplicatedKeysInMapping now have Sendable-conforming types, so code that pattern-matches or stores those values may need updating. [github.com](https://github.com/jpsim/Yams/releases/tag/6.0.0)

## github.com/jpsim/yams 5.0.0 breaking changes

github.com/jpsim/yams 5.0.0: 1 breaking change.

- **Configuration changed**  

Building Yams now requires Swift 5.4 or later. Projects on older Swift toolchains must upgrade their toolchain before building this release. [github.com](https://github.com/jpsim/Yams/releases/tag/5.0.0)

## github.com/jpsim/yams 4.0.0 breaking changes

github.com/jpsim/yams 4.0.0: 1 breaking change.

- **Removed**  

Building Yams now needs Swift 5.1 or later, so older Swift toolchains can no longer build it. Upgrade the Swift toolchain before building. [github.com](https://github.com/jpsim/Yams/releases/tag/4.0.0)

## github.com/jpsim/yams 3.0.0 breaking changes

github.com/jpsim/yams 3.0.0: 3 breaking changes.

- **Behavior changed**  

When a String would otherwise be read back as a non-string value by the default Resolver, its YAML output now uses single quotes. Code comparing or parsing the emitted YAML text may see different output. [github.com](https://github.com/jpsim/Yams/releases/tag/3.0.0)
- **Default changed** `YAMLDecoder`  

YAMLDecoder merges YAML anchors without any opt-in. Documents that relied on anchors being left unmerged may decode differently. [github.com](https://github.com/jpsim/Yams/releases/tag/3.0.0)
- **Configuration changed**  

Yams can only be built with Swift 4.1 or later. Projects still on an older Swift toolchain must upgrade it before building this version. [github.com](https://github.com/jpsim/Yams/releases/tag/3.0.0)

## github.com/jpsim/yams 2.0.0 breaking changes

github.com/jpsim/yams 2.0.0: 2 breaking changes.

- **Renamed** `YamlError.reader`  

The byteOffset property was renamed to offset in YamlError.reader; update code that reads byteOffset. [github.com](https://github.com/jpsim/Yams/releases/tag/2.0.0)
- **Default changed** `Parser`  

The default encoding is now determined at run time from the String type's native encoding instead of a fixed value; pass an encoding explicitly if you depend on the old default. [github.com](https://github.com/jpsim/Yams/releases/tag/2.0.0)

## github.com/jpsim/yams 1.0.0 breaking changes

github.com/jpsim/yams 1.0.0: 1 breaking change.

- **Renamed** `ScalarRepresentableCustomizedForCodable`  

The protocol ScalarRepresentableCustomizedForCodable was renamed to YAMLEncodable. Update code that refers to the old name. [github.com](https://github.com/jpsim/Yams/releases/tag/1.0.0)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### github.com/jpsim/yams 0.7.0 breaking changes

github.com/jpsim/yams 0.7.0: 1 breaking change.

- **Removed**  

Building with -swift-version 3 is no longer supported, so projects still using Swift 3 mode must move to a newer Swift version. [github.com](https://github.com/jpsim/Yams/blob/0.7.0/CHANGELOG.md)

### github.com/jpsim/yams 0.6.0 breaking changes

github.com/jpsim/yams 0.6.0: 4 breaking changes.

- **Removed** `Constructor.defaultMap`  

defaultMap was split into defaultScalarMap, defaultMappingMap and defaultSequenceMap. Code using defaultMap must switch to these. [github.com](https://github.com/jpsim/Yams/blob/0.6.0/CHANGELOG.md)
- **Removed** `Constructor.Map`  

Map was split into ScalarMap, MappingMap and SequenceMap. Code that uses Map must switch to one of these. [github.com](https://github.com/jpsim/Yams/blob/0.6.0/CHANGELOG.md)

And 2 more in this version.

### github.com/jpsim/yams 0.5.0 breaking changes

github.com/jpsim/yams 0.5.0: 1 breaking change.

- **Behavior changed**  

Yams 0.5.0 can only be built with Swift 3.2 or later. Users on older Swift toolchains must upgrade before building. [github.com](https://github.com/jpsim/Yams/blob/0.5.0/CHANGELOG.md)

## Related packages

- [github.com/jpsim/sourcekitten](https://since.dev/packages/swift/github.com/jpsim/sourcekitten.md)

## 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.
