Skip to content

Releases: sbt/contraband

0.4.2

23 Jan 19:29
v0.4.2
c38efd7
Compare
Choose a tag to compare

v0.4.1...v0.4.2

Modifier

Contraband 0.4.2 adds ability to change the modifier.

package com.example @target(Scala)

type ModifierExample
@modifier("sealed")
{
  field: Int!
}

This generates sealed class ModifierExample as opposed to final class ModifierExample. #127 by @eed3si9n

Use valueOf for boxed type

Contraband 0.4.2 generates Integer.valueOf(field()) as opposed to new Integer(field()), which has been deprecated in JDK 9. #128 by @xuwei-k

0.4.1

06 Oct 18:41
v0.4.1
61ba96e
Compare
Choose a tag to compare

Generates correct Scaladoc - #125

0.4.0

12 Mar 15:14
v0.4.0
ffcbf06
Compare
Choose a tag to compare

breaking changes

  • Changes the generated copy method from being protected[this] to private[this]. #121 by @dwijnand

bug fixes

  • Fixes equals/hashCode inconsistencies in Java & Java/Scala mixed sources. #120 by @eed3si9n
  • Fixes the full codec generation to honour the "generateCodec" directive. #118 by @dwijnand

v0.3.3...v0.4.0

0.3.3

08 Mar 12:38
v0.3.3
168458b
Compare
Choose a tag to compare

bug fixes

  • Fixes the apply overloads codegen to use their respective constructor to ensure they continue to be public in
    the bytecode. #117 by @dwijnand

v0.3.2...v0.3.3

0.3.2

13 Dec 04:11
v0.3.2
Compare
Choose a tag to compare

bug fixes

  • Fixes "pattern var x in method equals is never used" warning in generated code. #108 by @razvan-panda

enhancement

0.3.1

13 Dec 02:14
v0.3.1
Compare
Choose a tag to compare

enhancements

  • Updates to sjson-new 0.8.1.

0.3.0

13 Dec 02:14
v0.3.0
Compare
Choose a tag to compare

enhancements

  • Adds a 'contrabandSjsonNewVersion' setting key, used to make sure the same version of sjson-new-core and
    sjson-new-scalajson are used. #70/#71 by @dwijnand

0.3.0-M9

17 Jul 05:17
v0.3.0-M9
Compare
Choose a tag to compare
0.3.0-M9 Pre-release
Pre-release
v0.3.0-M9

0.3.0-M9

0.3.0-M7

06 Jul 12:09
v0.3.0-M7
Compare
Choose a tag to compare
0.3.0-M7 Pre-release
Pre-release
v0.3.0-M7

0.3.0-M7

v0.3.0-M6

24 Jun 20:00
v0.3.0-M6
Compare
Choose a tag to compare
v0.3.0-M6 Pre-release
Pre-release
0.3.0-M6