Skip to content

Releases: sbt/contraband

0.7.0

27 Oct 19:05
v0.7.0
8c4d504
Compare
Choose a tag to compare

about Contraband

Contraband is a GraphQL Schema dialect to define datatypes and APIs, which can generate Java or Scala and sjson-new codecs. Contraband 0.7.0 is cross published to:

sbt Version Published
1.x
2.0.0-M2

updates

  • Uses & instead of with for self-type ascription on Scala 3 by @eed3si9n in #187

behind the scene

Full Changelog: v0.6.0...v0.7.0

0.6.0

07 Oct 01:13
v0.6.0
afc4a04
Compare
Choose a tag to compare

Contraband 0.6.0 is cross published to:

sbt Version Published
1.x
2.0.0-M2

sbt 2.x migration

  • ci: Enable sbt 2.x build by @xuwei-k in #182
  • refactor: Prepare for Scala 3 by @xuwei-k in #164
  • refactor: Replaces deprecated unicode arrow by @xuwei-k in #166
  • refactor: Uses foldLeft instead of deprecated /: by @xuwei-k in #176
  • refactor: Add Scala 3 build by @xuwei-k in #171
  • refactor: Removes deprecated [this] qualifier by @xuwei-k in #180
  • refactor: Adds -Xsource:3 option. Avoid deprecated with by @xuwei-k in #181
  • ci: Update contrabandSjsonNewVersion. Enable sbt 2 scripted test by @xuwei-k in #184

other updates

hind the scene

new contributors

Full Changelog: v0.5.3...v0.6.0

0.5.3

30 Jan 04:23
v0.5.3
e2ffdea
Compare
Choose a tag to compare

Full Changelog: v0.5.2...v0.5.3

0.5.2

18 Jan 04:03
v0.5.2
106a608
Compare
Choose a tag to compare

Full Changelog: v0.5.1...v0.5.2

0.5.1

20 Dec 20:35
v0.5.1
9bd5a80
Compare
Choose a tag to compare
  • Contraband 0.5.1 modifies the code generation equals(...) to first perform this.eq(o.asInstanceOf[AnyRef]) for runtime performance improvement #153 by @jtjeferreira

Contraband is a GraphQL-based description language for datatypes and APIs. See documentation for more details.

0.5.0

14 Aug 18:01
v0.5.0
Compare
Choose a tag to compare

minor enhancements

  • Always use \n as line ending to avoid fluctuation #147 by @martijnhoekstra
  • Updates the default sjson-new to 0.9.0.
  • Uses ScalaJson instead of JSON4S. It was using an older version of JSON4S that does not work with Scala 2.12.12. #150 by @eed3si9n

0.4.6

06 Mar 22:01
v0.4.6
9d32bf1
Compare
Choose a tag to compare
  • Fixes Java code generation not emitting extra interfaces #146 by @eed3si9n

0.4.5

27 Feb 06:06
v0.4.5
Compare
Choose a tag to compare

Contraband 0.4.5 is cross built for sbt 0.13 and sbt 1 for the plugins. Its library part is cross built for 2.10, 2.11, 2.12, and 2.13.

  • Updates the URL in the generated code to HTTPS #141 by @jsoref
  • Supports raw type escape raw"Map[String, String]" #145 by @eed3si9n

See https://www.scala-sbt.org/contraband/ for more on Contraband.

0.4.4

14 Jul 13:37
v0.4.4
1336c66
Compare
Choose a tag to compare

Contraband 0.4.4 is cross built for sbt 0.13 and sbt 1 for the plugins. Its library part is cross built for 2.10, 2.11, 2.12, and 2.13.

Using sjson-new 0.8.3, the runtime now supports 2.10, 2.11, 2.12, and 2.13 as well.

See https://www.scala-sbt.org/contraband/ for more on Contraband.

0.4.3

25 Jan 03:02
v0.4.3
6390134
Compare
Choose a tag to compare

bug fixes

  • Fixes identifier conflict on js field when generating JSON codec with sjson-new. #131 by @wsargent