Releases: circe/circe
v0.14.13
What's Changed
- Update sbt, scripted-plugin to 1.10.11 by @scala-steward in #2364
- Fix superfluous keys not being ignored by @MartinHH in #2369
- Introducing "downFields" for HCursor by @otobrglez in #2367
- Hierarchical configured enum codecs in Scala 3 by @grzegorz-bielski in #2370
New Contributors
- @otobrglez made their first contribution in #2367
- @grzegorz-bielski made their first contribution in #2370
Full Changelog: v0.14.12...v0.14.13
v0.14.12
v0.14.11
Community Updates
- fix(docs): adt example correct import by @perrin4869 in #2317
- fix: issue #2328 cursor operations broken by @solerf in #2331
- Add dependency in literal to jawn instead of optional to parser by @vandmo in #2316
- fix warning in build.sbt by @xuwei-k in #2336
- Make ArbitraryInstances extend ArbitraryInstances by @kubukoz in #2323
- Derivation for fat structures by @road21 in #2341
- Make it easier to derive a
Codec
without an explicitCodec
by @morgen-peschke in #2348 - Update docs around the testing artifact by @kubukoz in #2324
- update
.scalafmt.conf
. enforce new syntax by @xuwei-k in #2337
Dependency Updates
- Update sbt to 1.10.2 by @scala-steward in #2308
- Update munit to 1.0.2 by @scala-steward in #2307
- Update scalacheck to 1.18.1 by @scala-steward in #2309
- Update scala3-library, ... to 3.3.4 by @scala-steward in #2315
- Update sbt-scalajs, scalajs-compiler, ... to 1.17.0 by @scala-steward in #2314
- Update sbt-circe-org to 0.4.3 by @scala-steward in #2312
- Update scala-compiler, scala-library, ... to 2.12.20 by @scala-steward in #2306
- Update sbt, scripted-plugin to 1.10.3 by @scala-steward in #2319
- Update sbt, scripted-plugin to 1.10.4 by @scala-steward in #2321
- Update sbt, scripted-plugin to 1.10.5 by @scala-steward in #2325
- Update auxlib, clib, javalib, nativelib, ... to 0.5.6 by @scala-steward in #2327
- Update munit to 1.0.3 by @scala-steward in #2330
- Update sbt, scripted-plugin to 1.10.6 by @scala-steward in #2329
- Update sbt, scripted-plugin to 1.10.7 by @scala-steward in #2332
- Update sbt-scalajs, scalajs-compiler, ... to 1.18.1 by @scala-steward in #2334
- Update sbt-circe-org to 0.4.6 by @scala-steward in #2333
- Update munit to 1.0.4 by @scala-steward in #2335
- Update scalafmt-core to 3.8.4 by @scala-steward in #2338
- Update scalafmt-core to 3.8.5 by @scala-steward in #2340
- Update sbt-circe-org to 0.4.7 by @scala-steward in #2344
- Update scala3-library, ... to 3.3.5 by @scala-steward in #2350
- Update scalafmt-core to 3.8.6 by @scala-steward in #2347
- Update sbt, scripted-plugin to 1.10.10 by @scala-steward in #2358
- Update auxlib, clib, javalib, nativelib, ... to 0.5.7 by @scala-steward in #2354
- Update shapeless to 2.3.13 by @scala-steward in #2356
- Update scalafmt-core to 3.9.3 by @scala-steward in #2359
- Update scalafmt-core to 3.9.4 by @scala-steward in #2360
New Contributors
- @perrin4869 made their first contribution in #2317
- @solerf made their first contribution in #2331
- @vandmo made their first contribution in #2316
- @road21 made their first contribution in #2341
Full Changelog: v0.14.10...v0.14.11
v0.14.10
Project updates
circe-refined
has been removed from core, and moved to a separate repository by @hamnis in #2298
Community updates
- Reduced non-Stream deprecation warnings by @OddKristensen in #2288
- Use values from a constant pool when possible by @JD557 in #2291
- Add Json.traverse* methods by @sergeykolbasov in #1648
- remove
cats.instances
imports by @xuwei-k in #2304 - Bring back support for
Enumeration
in Scala 3 by @SakulK in #2303 - add some Pekko libs to README.md by @pjfanning in #2305
- pointer literal macro must not mangle already escaped pointers by @hamnis in #2285
- Use macros to fix stack overflow when deriving for local classes by @mrdziuban in #2287
Dependency updates
- Update sbt to 1.10.1 by @scala-steward in #2289
- Update sbt-circe-org to 0.4.2 by @scala-steward in #2292
- Update scalafmt-core to 3.8.3 by @scala-steward in #2293
- Update munit to 1.0.1 by @mzuehlke in #2296
- Update auxlib, clib, javalib, nativelib, ... to 0.5.5 by @scala-steward in #2301
- Update scodec-bits to 1.2.1 by @scala-steward in #2302
New Contributors
- @JD557 made their first contribution in #2291
- @SakulK made their first contribution in #2303
- @pjfanning made their first contribution in #2305
Full Changelog: v0.14.9...v0.14.10
v0.14.9
Important changes
Scala native 0.4 has been dropped in favor of 0.5 in #2254
Community changes
- Add Defer instances for Decoder and Encoder by @morgen-peschke in #2123
- Fix cursor history loss on SeqDecoder. by @rlecomte in #2284
Dependency/build updates
- Update scalafmt-core to 3.8.2 by @scala-steward in #2282
- Update nscplugin, sbt-scala-native to 0.5.4 by @scala-steward in #2254
New Contributors
- @morgen-peschke made their first contribution in #2123
- @rlecomte made their first contribution in #2284
Full Changelog: v0.14.8...v0.14.9
v0.14.8
Typelevel affiliate
circe is now a Typelevel affiliate project.
Community changes
- Support for KeyCodec[Double] by @an-tex in #1545
- Improve SeqDecoder performance by removing overhead by @jordiolivares in #1719
- Add missing rule to "unserializableCodec" in
CodecTests
by @satorg in #2273
Dependency updates
- Update sbt to 1.10.0 by @scala-steward in #2265
- Update shapeless to 2.3.11 by @scala-steward in #2270
- Update sbt-circe-org to 0.4.1 by @scala-steward in #2269
other
New Contributors
- @jordiolivares made their first contribution in #1719
- @an-tex made their first contribution in #1545
- @satorg made their first contribution in #2273
Full Changelog: v0.14.7...v0.14.8
v0.14.7
Notable changes
- Introduce forTypedProduct to work better with Scala 3 by @hamnis in #1998
- Move anonymous classes out of inlined code and into constructor methods by @joroKr21 in #2230
- Align Scala 3 semiauto derivation with
circe-generic
behavior in Scala 2 by @mrdziuban in #2258 - Add Encoder.derived and Codec.derived forwarders by @joroKr21 in #2228
Important
#2258 is binary compatible, but not source compatible. Meaning upgrading to this version may cause some code to fail compiling in Scala 3. This change is important as it fixes a glaring problem with the current derivation.
Maintainership updates
@zmccoy has resigned as a maintainer. Thanks for all your contributions and we wish you the best of luck going forward.
@hamnis has been added a maintainer.
Community Contributions
- feat: Add helpers to create nullable properties from
Option[A]
by @OddKristensen in #2127 - remove unused imports by @xuwei-k in #2202
- fix warnings scalafix rule by @xuwei-k in #2204
- use
setup-java
instead of deprecatedsetup-scala
by @xuwei-k in #2203 - Introduce forTypedProduct to work better with Scala 3 by @hamnis in #1998
- 2024 headers by @yurique in #2220
- README Maintainer update by @zmccoy in #2244
- Add hamnis as a maintainer by @hamnis in #2250
- Update Jack Henry Name by @zmccoy in #2245
- Support NonEmptySeq by @shagoon in #2247
- Fix microsite generation, update scala versions, update
sbt-circe-org
plugin version by @CJSmith-0141 in #2218 - Move anonymous classes out of inlined code and into constructor methods by @joroKr21 in #2230
- Making
of
methods on Configured Encoders/Decoders Private. by @zarthross in #2252 - Add Encoder.derived and Codec.derived forwarders by @joroKr21 in #2228
- Fix-2113 fix cursor`s traverse ACursor.pathToRoot by @iyfedorov in #2138
- Add link to hamnis profile by @hwup in #2257
- Align Scala 3 semiauto derivation with
circe-generic
behavior in Scala 2 by @mrdziuban in #2258 - Upgrade Scala 3 to 3.3.3 by @hamnis in #2251
- Add back some Encoder.AsObject by @zarthross #2261
Scala steward
- Update sbt-jmh to 0.4.6 by @scala-steward in #2194
- Update scalafmt-core to 3.7.14 by @scala-steward in #2193
- Update sbt to 1.9.6 by @scala-steward in #2197
- Update nscplugin, sbt-scala-native, ... to 0.4.15 by @scala-steward in #2192
- Update nscplugin, sbt-scala-native, ... to 0.4.16 by @scala-steward in #2205
- Update munit, munit-scalacheck to 1.0.0-M10 by @scala-steward in #2198
- Update sbt-scalajs, scalajs-compilr, ... to 1.14.0 by @scala-steward in #2201
- Update sbt to 1.9.7 by @scala-steward in #2210
- Update scalafmt-core to 3.7.17 by @scala-steward in #2215
- Update sbt to 1.9.8 by @scala-steward in #2224
- Update nscplugin, sbt-scala-native, ... to 0.4.17 by @scala-steward in #2229
- Update sbt to 1.9.9 by @scala-steward in #2235
- Update scalafmt-core to 3.8.1 by @scala-steward in #2243
- Update munit, munit-scalacheck to 1.0.0-M11 by @scala-steward in #2233
- Update sbt-jmh to 0.4.7 by @scala-steward in #2225
- Update refined, refined-scalacheck to 0.11.1 by @scala-steward in #2231
- Update jawn-parser to 1.5.1 by @scala-steward in #2167
- Update cats-core, cats-laws to 2.10.0 by @scala-steward in #2185
- Update sbt-scalajs, scalajs-compiler, ... to 1.16.0 by @scala-steward in #2240
- Update scodec-bits to 1.1.38 by @scala-steward in #2207
- Update scalacheck to 1.17.1 by @scala-steward in #2255
- Update discipline-core to 1.6.0 by @scala-steward in #2256
- Update sbt-circe-org to 0.4.0 by @scala-steward in #2259
New Contributors
- @OddKristensen made their first contribution in #2127
- @hamnis made their first contribution in #1998
- @yurique made their first contribution in #2220
- @shagoon made their first contribution in #2247
- @CJSmith-0141 made their first contribution in #2218
- @iyfedorov made their first contribution in #2138
- @hwup made their first contribution in #2257
- @mrdziuban made their first contribution in #2258
Full Changelog: v0.14.6...v0.14.7
v0.14.6
What's Changed
- Update sbt-typelevel-ci-release, ... to 0.4.19 by @scala-steward in #2109
- Update scodec-bits to 1.1.37 by @scala-steward in #2105
- Update CODEOWNERS by @zmccoy in #2118
- Update CODEOWNERS by @zmccoy in #2119
- Update nscplugin, sbt-scala-native, ... to 0.4.12 by @scala-steward in #2117
- Optimize JSON equality fail fast by @agourlay in #2107
- Update scalafmt-core to 3.7.3 by @scala-steward in #2121
- Update sbt-jmh to 0.4.5 by @scala-steward in #2152
- Update sbt-typelevel-ci-release, ... to 0.4.22 by @scala-steward in #2151
- Update sbt to 1.8.3 by @scala-steward in #2142
- Update nscplugin, sbt-scala-native, ... to 0.4.14 by @scala-steward in #2150
- Update sbt to 1.9.1 by @scala-steward in #2166
- Update scalafmt-core to 3.7.7 by @scala-steward in #2170
- Add JsonObject#toJson by @george-wilson-rea in #2139
- Fixes #2110 by @MartinHH in #2156
- #2132 fix Exponential Number Format by @rothaarNatalia in #2140
- Update sbt-scala-native-crossproject, ... to 1.3.1 by @scala-steward in #2129
- Update refined, refined-scalacheck to 0.10.3 by @scala-steward in #2116
- Fix 2104: Proxy remaining Codec methods by @solarized-fox in #2131
- improve adt docs by @drewfeelsblue in #2157
- Use sbt circe org for building by @lorandszakacs in #2045
- munit 1.0.0-M8 with test adaptation by @mzuehlke in #2176
- Update scalafmt-core to 3.7.10 by @scala-steward in #2177
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 by @scala-steward in #2164
- Update sbt to 1.9.3 by @scala-steward in #2179
- Update scala 2.X and circe-org by @zarthross in #2180
- Update sbt-scala-native-crossproject to 1.3.2 by @scala-steward in #2171
- Update scalafmt-core to 3.7.11 by @scala-steward in #2182
- Update scalafmt-core to 3.7.12 by @scala-steward in #2184
New Contributors
- @agourlay made their first contribution in #2107
- @george-wilson-rea made their first contribution in #2139
- @MartinHH made their first contribution in #2156
- @rothaarNatalia made their first contribution in #2140
- @solarized-fox made their first contribution in #2131
- @drewfeelsblue made their first contribution in #2157
- @mzuehlke made their first contribution in #2176
Full Changelog: v0.14.5...v0.14.6
What's Changed
- Update sbt-typelevel-ci-release, ... to 0.4.19 by @scala-steward in #2109
- Update scodec-bits to 1.1.37 by @scala-steward in #2105
- Update CODEOWNERS by @zmccoy in #2118
- Update CODEOWNERS by @zmccoy in #2119
- Update nscplugin, sbt-scala-native, ... to 0.4.12 by @scala-steward in #2117
- Optimize JSON equality fail fast by @agourlay in #2107
- Update scalafmt-core to 3.7.3 by @scala-steward in #2121
- Update sbt-jmh to 0.4.5 by @scala-steward in #2152
- Update sbt-typelevel-ci-release, ... to 0.4.22 by @scala-steward in #2151
- Update sbt to 1.8.3 by @scala-steward in #2142
- Update nscplugin, sbt-scala-native, ... to 0.4.14 by @scala-steward in #2150
- Update sbt to 1.9.1 by @scala-steward in #2166
- Update scalafmt-core to 3.7.7 by @scala-steward in #2170
- Add JsonObject#toJson by @george-wilson-rea in #2139
- Fixes #2110 by @MartinHH in #2156
- #2132 fix Exponential Number Format by @rothaarNatalia in #2140
- Update sbt-scala-native-crossproject, ... to 1.3.1 by @scala-steward in #2129
- Update refined, refined-scalacheck to 0.10.3 by @scala-steward in #2116
- Fix 2104: Proxy remaining Codec methods by @solarized-fox in #2131
- improve adt docs by @drewfeelsblue in #2157
- Use sbt circe org for building by @lorandszakacs in #2045
- munit 1.0.0-M8 with test adaptation by @mzuehlke in #2176
- Update scalafmt-core to 3.7.10 by @scala-steward in #2177
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 by @scala-steward in #2164
- Update sbt to 1.9.3 by @scala-steward in #2179
- Update scala 2.X and circe-org by @zarthross in #2180
- Update sbt-scala-native-crossproject to 1.3.2 by @scala-steward in #2171
- Update scalafmt-core to 3.7.11 by @scala-steward in #2182
- Update scalafmt-core to 3.7.12 by @scala-steward in #2184
- Update sbt to 1.9.4 by @scala-steward in #2188
- Update scalafmt-core to 3.7.13 by @scala-steward in #2191
- fix #2135 by @MartinHH in #2186
New Contributors
- @agourlay made their first contribution in #2107
- @george-wilson-rea made their first contribution in #2139
- @MartinHH made their first contribution in #2156
- @rothaarNatalia made their first contribution in #2140
- @solarized-fox made their first contribution in #2131
- @drewfeelsblue made their first contribution in #2157
- @mzuehlke made their first contribution in #2176
Full Changelog: v0.14.5...v0.14.6
v0.14.5
What's Changed
- Fix Issue #2088 by @zarthross in #2092
- Fixes #2093 by @Lasering in #2095
- Fix derivation bincompat on Scala 3 by @ybasket in #2090
- Add Dassault Systems to list of adopters by @batakpout in #2099
- Fixed build badge by @hnaderi in #2100
- fixed 2096 by @kailuowang in #2098
Scala Steward updates
- Update scala3-library, ... to 3.2.2 by @scala-steward in #2084
- Update scodec-bits to 1.1.35 by @scala-steward in #2087
- Update sbt-jmh to 0.4.4 by @scala-steward in #2086
- Update scalafmt-core to 3.7.2 by @scala-steward in #2102
New Contributors
- @batakpout made their first contribution in #2099
- @hnaderi made their first contribution in #2100
- @kailuowang made their first contribution in #2098
Full Changelog: v0.14.4...v0.14.5
v0.14.4
Warning for Scala 3
There are multiple issues in the current Scala 3 versions of this release. We'd recommend staying on 0.14.3 until we figure out the exact scope of the issues. See below for more information.
Highlights
- Add accumulative equivalent of
Json#as[A]
:asAccumulating[A]
by @Iltotore in #2046 - Use human-readable cursor history for DecodingFailure getMessage by @dantb in #1957
- (0.14.x) Add human-readable toString in errors by @kubukoz in #2075
- Derivation support for
transformNames
,useDefaults
,discriminator
, andstrictDecoding
in Scala 3 by @Lasering in #1800
What's Changed
- Update sbt-typelevel-ci-release, ... to 0.4.14 by @scala-steward in #2027
- Update scalafmt-core to 3.5.9 by @scala-steward in #2012
- Add Nix flake. by @zarthross in #2029
- Add Nike as adopter by @aloeAlika in #2034
- Update scalafmt-core to 3.6.0 by @scala-steward in #2043
- Update sbt-typelevel-ci-release, ... to 0.4.16 by @scala-steward in #2040
- Update sbt to 1.7.2 by @scala-steward in #2038
- Update refined, refined-scalacheck to 0.9.29 by @scala-steward in #1951
- Update scalacheck to 1.17.0 by @scala-steward in #2025
- Add accumulative equivalent of
Json#as[A]
:asAccumulating[A]
by @Iltotore in #2046 - Update sbt to 1.7.3 by @scala-steward in #2049
- Update scalafmt-core to 3.6.1 by @scala-steward in #2050
- Add Uberall and MomentFeed as adopters by @gondcs in #2056
- Update scala3-library, ... to 3.2.1 by @scala-steward in #2053
- Update cats-core, cats-laws to 2.9.0 by @scala-steward in #2058
- Update sbt-scalafmt to 2.5.0 by @scala-steward in #2059
- Update sbt-typelevel-ci-release, ... to 0.4.17 by @scala-steward in #2060
- Update sbt-scalajs, scalajs-compiler, ... to 1.12.0 by @scala-steward in #2064
- Use human-readable cursor history for DecodingFailure getMessage by @dantb in #1957
- Remove redundant time arbitraries by @armanbilge in #2052
- replace report.error with report.errorAndAbort by @i10416 in #1924
- Update munit, munit-scalacheck to 1.0.0-M7 by @scala-steward in #2061
- Update nscplugin, sbt-scala-native, ... to 0.4.9 by @scala-steward in #2065
- Update sbt-typelevel-ci-release, ... to 0.4.18 by @scala-steward in #2073
- (0.14.x) Add human-readable toString in errors by @kubukoz in #2075
- Update scalafmt-core to 3.7.0 by @scala-steward in #2076
- Update scalafmt-core to 3.7.1 by @scala-steward in #2077
- Normalize Module Name by @isomarcte in #2078
- Update sbt to 1.8.2 by @scala-steward in #2072
- Update scala-java-time to 2.5.0 by @scala-steward in #2066
- Update nscplugin, sbt-scala-native, ... to 0.4.10 by @scala-steward in #2082
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.0 by @scala-steward in #2080
- Derivation support for
transformNames
,useDefaults
,discriminator
, andstrictDecoding
in Scala 3 by @Lasering in #1800
New Contributors
- @aloeAlika made their first contribution in #2034
- @Iltotore made their first contribution in #2046
- @gondcs made their first contribution in #2056
- @dantb made their first contribution in #1957
- @Lasering made their first contribution in #1800
Full Changelog: v0.14.3...v0.14.4