circe/circe-yaml
59.3
Adequate · 7 November 2026
1.7k
lines of production code
Scala
primary language
4
measurements over time
What this system is
Features
Add Scala Yaml backend for YAML parsing and printing
This change introduces a new implementation of the YAML parser and printer backed by the \scala-yaml\ library (version 0.3.0). Users can now parse YAML strings and readers into circe \Json\ objects and pretty-print \Json\ back to YAML using this new backend, which supports features like hexadecimal numbers, tagged integers, and alias resolution. The implementation includes dedicated parser and printer components along with comprehensive test coverage to ensure correct behavior.
circe-yaml-scalayaml/shared · high confidence
New PrinterBuilder with support for dropping empty objects and arrays
The circe-yaml module introduces a new PrinterBuilder that allows users to configure the YAML printer to drop empty objects and arrays via the withDropEmptyKeys method. This new builder is used by the updated PrinterImpl, which now checks for empty collections and omits them from the output when the option is enabled. The change also includes a refactored Parser that uses SafeConstructor with configurable loader options for alias and nesting limits, and updates to the package objects to expose the new syntax and default behaviors.
circe-yaml/src/main · high confidence
New YAML 1.2 parser and printer backed by SnakeYAML Engine
This change introduces a new \circe-yaml-v12\ module that provides YAML 1.2 parsing and printing capabilities using the SnakeYAML Engine library. The module includes a \Parser\ and \Printer\ implementation that maps circe's JSON AST to and from YAML 1.2 documents, supporting configuration options such as indentation, flow/block styles, and handling of empty keys. It also provides syntax extensions for convenient serialization (e.g., \asYaml.spaces2\) and exposes a \PrinterBuilder\ for customizing output formatting.
circe-yaml-v12/src/main · high confidence
Behavioural changes
Introduces common YAML parsing and printing abstractions
The circe-yaml-common/shared module now provides the foundational Parser and Printer traits that define the core YAML serialization interface. The Parser trait exposes methods for parsing YAML streams and decoding JSON objects, including safety limits for alias cycles and code points to prevent resource exhaustion. The Printer trait defines the contract for converting JSON to YAML strings, with configuration options for flow/block styles, line breaks, and string escaping. These abstractions serve as the backend-agnostic layer for YAML processing.
circe-yaml-common/shared · high confidence
Library restructured with multiple YAML backends and updated API
The library now supports three distinct YAML backends: \circe-yaml\ for YAML 1.1 (using SnakeYAML), \circe-yaml-v12\ for YAML 1.2 (using snakeyaml-engine), and \circe-yaml-scalayaml\ for Scala.js/Scala Native compatibility. The parsing API has been updated to \io.circe.yaml.parser\, introducing \parseDocuments\ for multi-document streams and reader-based streaming, while printing is now handled via \io.circe.yaml.syntax\ enrichment methods like \asYaml.spaces2\ and a configurable \Printer\ class. The project also introduces \.scalafmt.conf\ for code formatting, \.scalafix.conf\ for import organization, and a \scalastyle-config.xml\ for static analysis.
(repo-wide) · high confidence
Replace SnakeYAML-based parser and printer with new implementation
The existing YAML parser and printer, which relied on the \snakeyaml\ library, have been removed from the codebase. This change eliminates the previous implementation that used \org.yaml.snakeyaml\ for parsing YAML streams into Circe JSON and serializing JSON back to YAML, paving the way for the new module that utilizes \snakeyaml-engine\ to support YAML 1.2.
src/main · high confidence
Test coverage
Added test coverage for YAML parsing, printing, and escaping; Added test coverage for circe-yaml v12 module; Removal of ParserTests.scala.
Dependencies
Upgrade to circe 0.14.14 and Scala 2.13/3.3.7 with multi-platform support
The library has been upgraded to use circe 0.14.14, replacing the older circe-parser with circe-jawn for JSON parsing, and updated to support Scala 2.13.16 and Scala 3.3.7. The build now targets multiple platforms (JVM, JS, Native) for common components and introduces new modules for YAML 1.2 support via snakeyaml-engine 2.7 and YAML parsing via scala-yaml 0.3.1. Test dependencies have also been updated to ScalaTest 3.2.20, ScalaCheck 1.20.0, and discipline-core 1.7.0.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 62 → 59 (-2.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 74 → 74 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 47 → 47 (+0.0)
- Readiness 82 → 64 (-17.8)
- Security 70 → 70 (+0.0)
Resolved (1)
- Off-boarding risk: anonymized user #1
New (1)
- Off-boarding risk: anonymized user #1
Changes since last survey
- 2 commits — 2 feature/other, 0 fixes
By area
- (root) — 1 commit
- project/build.properties — 1 commit
Notable commits
- change: Update sbt, scripted-plugin to 1.13.1 (#574)
- change: Update scala3-library, ... to 3.3.9 (#573)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
circe/circe-yaml was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 7 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 5638640b42cc0a717e50391f7df624e4ecfd8c90 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-c34be012586e.