Releases: twitter/scrooge
Scrooge 4.18.0
-
scrooge-adaptive: Add support for adaptive decoding, that learns
from field access patterns and optimizes the decoder to cheaply
skip over unused fields.RB_ID=908416
-
scrooge-generator: Scala code generation support for annotations on enums
RB_ID=917467
Scrooge 4.16.0
No Changes
Scrooge 4.15.0
-
scrooge-core:
c.t.s.ThriftUnion
adds methodscontainedValue
and
unionStructFieldInfo
. These were already a part of the generated Scala
implementations for unions, but now it is defined on the trait.RB_ID=909576
-
scrooge-core: Removed
c.t.s.ThriftStructCodec
deprecatedencoder
anddecoder
methods. Useencode
anddecode
instead.RB_ID=
-
scrooge-core: Remove deprecated
encoder
anddecoder
methods
fromc.t.s.ThriftStructCodec
. Useencode
anddecode
instead.
RB_ID=909714
-
scrooge-generator: Add parsing, AST, and Scala code generation
support for annotations on enums, enum fields, services, and
service methods.RB_ID=908556
-
scrooge-generator: Fix default values for collections in scala bindings
RB_ID=908152
-
scrooge-generator: MethodIfaceBuilder#newMethodIface now returns
a MethodIface.RB_ID=907700
-
scrooge-generator: Scala's types for ServiceIfaces are now a
Service
from
ThriftMethod.Args
toThriftMethod.SuccessType
, instead ofThriftMethod.Args
toThriftMethod.Result
. This is a breaking API change though it should generally
be easy to adapt existing code to it.RB_ID=908846
Scrooge 4.14.0
No changes.
Scrooge 4.13.0
- scrooge-linter: Add thrift definition linter warnings if generated
thrift will exceed JVM HotSpot ClipInlining check.
RB_ID=896379
Scrooge 4.12.0
- scrooge-generator: Remove check for 22 args when generating scala
ServiceIface. Now that we no longer support Scala 2.10 we can always
generate a case class for the generated scala ServiceIface.
RB_ID=882203
- scrooge-generator: Don't allow Structs and Typedefs with the same
identifier. Structs and typedefs should not have the same name. This
makes it difficult to properly support self-referencing types.
RB_ID=881684
- scrooge-generator: Fix pathological case for self-referencing
types with Java generation.RB_ID=880813
Scrooge 4.11.0
- Add support for self-referencing types from
pinsri
via
#244RB_ID=
- scrooge: Remove unmaintained bin/ directory.
RB_ID=873411
Scrooge 4.10.0
No Changes
Scrooge 4.9.0
No Changes
Scrooge 4.8.0
Breaking API Changes
- scrooge-sbt-plugin: Allow scrooge to build bindings for more than one
language. To reflect this,ScroogeSBT.autoImport.scroogeLanguage
has been
renamed toscroogeLanguages
and is now aSettingKey[Seq[String]]
instead of aSettingKey[String].
RB_ID=846198
- Builds are now only for Java 8 and Scala 2.11. See the
blog post for details.RB_ID=828898