Download Latest Version v2.0.0 source code.zip (2.1 MB) Google Add to Preferred Sources
Home / 1.11.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-07-11 1.9 kB
v1.11.0 source code.tar.gz 2026-07-11 1.7 MB
v1.11.0 source code.zip 2026-07-11 2.0 MB
Totals: 3 Items   3.7 MB 0

[!note] This release was sponsored completely by users' contributions! It will also probably be the last release in 1.x line where I contributed anything, and where changes were ported into the 2.x line. From this moment development of 1.x is parked on the line-1.x branch from which we could release things if there were any contributions or bugfixes from the community. Meanwhile the master now will be containing the 2.x development branch, which I hope to release on Scala 3.9.0 right after it's released (see 2.0.0-M4).

Changelog:

  • added TransformedNamesComparison.CamelSnakeCaseEquality (chimney.readthedocs.io) - a built-in snake_case <-> camelCase name-matching predicate, so matching e.g. user_name against userName no longer requires hand-rolling a custom TransformedNamesComparison, by @ajozwik (#912, closes [#831])

    scala source.into[Target] .enableCustomFieldNameComparison(TransformedNamesComparison.CamelSnakeCaseEquality) .transform

  • added TransformedNamesComparison.IgnorePrefix (chimney.readthedocs.io) - a base comparison that matches a source name to a target name after stripping a fixed prefix from the source side; this is common for code-generated types such as Protobuf enums whose variants repeat the enum name as a prefix. It is intentionally left non-sealed so you extend it with your own prefix, by @YannMoisan (#912, originally [#871]) - thank you for your first contribution!

    ```scala case object FooNamesComparison extends TransformedNamesComparison.IgnorePrefix("Foo")

    source.into[Target] .enableCustomFieldNameComparison(FooNamesComparison) .transform ```

Source: README.md, updated 2026-07-11