Releases: circe/circe
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
v0.14.3
This release contains Scala Native Support as well as small fixes.
Highlights
- Scala Native Support thanks to @armanbilge
- Adding
iemapTry
to Codec by @ikeyan in #1962 - Multiple test fixes and improvements by @isomarcte
New Contributors
- @jrozanski made their first contribution in #1969
- @jsoref made their first contribution in #1971
- @cgoldammer made their first contribution in #1976
- @taig made their first contribution in #2002
- @ikeyan made their first contribution in #1962
Full Changelog: v0.14.2...v0.14.3
v0.14.2
This release includes some improvements and bug-fixes as well as back-porting most of v0.15.0-M1 to v0.14.2. A big thank you to everyone who has contributed to this release.
Highlights
- Cross-Build jawn-module for Scala.js by @armanbilge in #1791
- DecodingFailure error message improved by @AL333Z in #1617
-- Note: This changes the error message string that you may have previously been using. - Encoder and Decoder for java.net.Uri by @sideeffffect in #1845
- Scala 3 Macro support for Literal by @i10416 in #1874
- Jawn is now compile-time-only for Literal by @armanbilge in #1882
- Scala 3 Macro Support for Pointer Literals by @zarthross in #1875
- Decoder instance now supports map2Eval error accumulation by @xuwei-k in #1891
printToAppendable
added as a side-effecting method by @armanbilge in #1855- Make main Bincompat with v0.14 by @zarthross in #1948
Full Changelog: v0.14.1...v0.14.2
Circe 0.14.1
This release differs from 0.14.0 only in that the Shapeless dependency for circe-generic has been updated from 2.3.6 to 2.3.7. Because of an issue in Shapeless 2.3.6, using circe-generic 0.14.0 in a project with a more recent Shapeless dependency (2.3.7+) may cause problems, so circe-generic users are encouraged to skip 0.14.0 and update directly to 0.14.1.
All 14 other modules are exactly the same as they were in 0.14.0, but because it's inconvenient to publish one module from this repository independently (and because people seem to like their versions to stay in sync), you get all of them again here.