Skip to content

Releases: twitter/scrooge

Scrooge 4.18.0

09 Jun 20:20
Compare
Choose a tag to compare
  • 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

21 Apr 21:17
Compare
Choose a tag to compare

No Changes

Scrooge 4.15.0

11 Mar 07:50
Compare
Choose a tag to compare
  • scrooge-core: c.t.s.ThriftUnion adds methods containedValue 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 deprecated encoder
    and decoder methods. Use encode and decode instead. RB_ID=

  • scrooge-core: Remove deprecated encoder and decoder methods
    from c.t.s.ThriftStructCodec. Use encode and decode 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 to ThriftMethod.SuccessType, instead of ThriftMethod.Args
    to ThriftMethod.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

06 Feb 16:54
Compare
Choose a tag to compare

No changes.

Scrooge 4.13.0

21 Dec 01:55
Compare
Choose a tag to compare
  • scrooge-linter: Add thrift definition linter warnings if generated
    thrift will exceed JVM HotSpot ClipInlining check.
    RB_ID=896379

Scrooge 4.12.0

23 Nov 03:09
Compare
Choose a tag to compare
  • 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

12 Oct 00:36
Compare
Choose a tag to compare
  • Add support for self-referencing types from pinsri via
    #244 RB_ID=
  • scrooge: Remove unmaintained bin/ directory. RB_ID=873411

Scrooge 4.10.0

08 Sep 01:29
Compare
Choose a tag to compare

No Changes

Scrooge 4.9.0

26 Aug 03:54
Compare
Choose a tag to compare

No Changes

Scrooge 4.8.0

08 Jul 18:29
Compare
Choose a tag to compare

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 to scroogeLanguages and is now a SettingKey[Seq[String]]
    instead of a SettingKey[String]. RB_ID=846198
  • Builds are now only for Java 8 and Scala 2.11. See the
    blog post for details. RB_ID=828898