Repository navigation
Changelog:
- fixed transforming non-public Scala 3
enums: deriving transformations to and fromprivateandprivate[pkg]enums (and other non-public singletons), which worked in 2.1.0, failed in 2.1.1. Thanks to @johanmast for the report (#998, #1002) ::(non-emptyList) is supported as a collection again, as it was in 1.x. That includes total::[A]into::[B]transformations (mapping a non-empty list keeps it non-empty),.everyItemin DSL paths on::, and merging::with fallbacks (#989)- fixed a field whose type is a sealed trait or an
enumreached through a Scala 3exportalias, which crashed the derivation withExpected at least one subtype pattern-match case. Thanks to @fru1tworld for the regression test (#986, #987) - fixed the compile-error hint for missing default values: it suggested
.enableDefaultValueForType, which doesn't exist; it now names.enableDefaultValueOfType(#1007) - docs fixes: wrong flag and DSL method names in the cookbook and cheat sheet (e.g.
.enableIgnoreUnmatchedBeanSetters,.enableUnmatchedSubtypePolicyCheck), whichchimney-protobufsconversions needimport io.scalaland.chimney.protobufs._(EmptyandDurationdon't), and several broken examples (#1007) - Scala.js 1.23: Scala.js artifacts are now built with Scala.js 1.23.0, so Scala.js projects need sbt-scalajs (or the Scala.js CLI) 1.23.0 or newer to link them (#1004)
- bumped Hearth to 0.4.6 (test-scoped
kindlings-cats-integrationto 0.4.1), Scala Native to 0.5.13, scala-java-time to 2.11.0, sbt to 2.1.1
Agent skills
Chimney now has agent skills for coding agents (Claude Code, Codex, Cursor, Copilot, OpenCode, Gemini CLI, ...). The 10 skills cover:
- derivation of
Transformers,PartialTransformers,Patchers,Codecs andIsos; - flags and their customization;
- integrations, including your own types and macro extensions;
- migration from 1.x and from other mapping libraries;
- troubleshooting compilation errors.
In Claude Code:
/plugin marketplace add scalalandio/agent-skills
/plugin install chimney@scalaland
See the README for other agents.