Skip to content

v5.0.1

Choose a tag to compare

@shadowsmind shadowsmind released this 26 Oct 20:58
· 58 commits to main since this release

mongo4s 5.0.1

A fix for users on Scala 3.10. Binary compatible with 5.0.0, checked by MiMa with no exclusions.

libraryDependencies += "org.mongo4s" %% "mongo4s-core" % "5.0.1"

Bug fixes

  • Code inlined into the caller carried Scala 3.10's deprecated ArrowAssoc. A derives WireCodec on a case
    class with a default parameter, and PrimaryKey.compound, warned at the user's call site on 3.10, which a build
    with -Werror refused to compile. Both build their pairs as tuples now.

Build

  • The integration tests compile on Scala 3.10 against the library built by 3.9 LTS, so what the library inlines
    into its callers is checked on the compiler they are moving to. With the 5.0.0 code they fail exactly as a user's
    build did.