Releases: sbt/contraband
0.7.0
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
behind the scene
Full Changelog: v0.6.0...v0.7.0
0.6.0
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 deprecatedwith
by @xuwei-k in #181 - ci: Update
contrabandSjsonNewVersion
. Enable sbt 2 scripted test by @xuwei-k in #184
other updates
- Mentions about
StringStringMap
in docs by @kpodsiad in #165 - Fixes typo in codegen header by @MasseGuillaume in #155
- Makes printing of field name more clear by @mdedetrich in #172
- Updates dependencies by @xuwei-k in #177
hind the scene
- refactor: Update Scala versions in test by @xuwei-k in #183
- fix: Fixes tests by @eed3si9n in #170
- Switch to Scala CLA by @eed3si9n in #169
- Update scalafmt by @xuwei-k in #173
- Run
scalafmtSbtCheck
task in CI by @xuwei-k in #174 - Adds dependabot.yml by @xuwei-k in #175
- Bump actions/setup-java from 3 to 4 by @dependabot in #178
- Bump actions/checkout from 3 to 4 by @dependabot in #179
new contributors
- @kpodsiad made their first contribution in #165
- @MasseGuillaume made their first contribution in #155
- @mdedetrich made their first contribution in #172
- @dependabot made their first contribution in #178
Full Changelog: v0.5.3...v0.6.0
0.5.3
0.5.2
0.5.1
- Contraband 0.5.1 modifies the code generation
equals(...)
to first performthis.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
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
0.4.5
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
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.