Releases: sbt/contraband
Releases · sbt/contraband
0.4.2
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
Generates correct Scaladoc - #125
0.4.0
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
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
bug fixes
- Fixes "pattern var x in method equals is never used" warning in generated code. #108 by @razvan-panda
enhancement
0.3.1
enhancements
- Updates to sjson-new 0.8.1.
0.3.0
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