Skip to content

Releases: twitter/scrooge

Scrooge 20.8.1

27 Aug 17:41
Compare
Choose a tag to compare

20.8.1

  • scrooge-generator: The Scala generator no longer generates Proxy classes
    on structs by default. These can be opted into on a struct-by-struct
    basis by adding a Thrift annotation to a struct,
    (com.twitter.scrooge.scala.generateStructProxy = "true"). See struct Request
    in scrooge-generator-tests/src/test/resources/gold_file_input/gold.thrift
    for an example. 2a0f311b
  • scrooge-generator: Fixed a bug in the Java generated code where responses were
    often deserialized twice. 175e1358
  • scrooge-generator: Java-generated ServiceIface interfaces now extend
    c.t.f.thrift.AbstractThriftService. a36486fb
  • scrooge-generator: Reduced the size of generated Scala code. 1dc7e4f4

Scrooge 20.8.0 (DO NOT USE)

12 Aug 16:00
Compare
Choose a tag to compare

20.8.0

  • scrooge: replace deprecated ScalaTest 3.0 API with ScalaTest 3.1/3.2 API. 9878247b
  • scrooge-core: Change c.t.scrooge.ThriftStructMetaData from an abstract class to a trait
    to allow for mixin to classes that already extend other classes. 982e8530

Scrooge 20.7.0

22 Jul 17:08
Compare
Choose a tag to compare

20.7.0

  • scrooge-core: c.t.scrooge.ThriftStructMetaData has been changed from a concrete
    class to an abstract class with different implementations. To construct an object
    of ThriftStructMetaData, please now use one of the apply methods in the
    ThrifStructMetaData companion object. 05881d4d
  • scrooge-generator: Removed experiment-flag argument and replaced it with
    language-flag. Updated GeneratorFactory object and trait to match. 8fa0583c

Scrooge 20.6.0

24 Jun 22:19
Compare
Choose a tag to compare

No Changes

Scrooge 20.5.0

29 May 21:18
Compare
Choose a tag to compare
  • scrooge: Update sbt-bintray plugin to 0.5.6 which supports passing environment
    variables BINTRAY_USER and BINTRAY_PASS for username and password credentials
    respectively. 2df31ac2
  • scrooge-generator: Close open files in Importer. 74cfc670

Scrooge 20.4.1

26 Apr 06:47
Compare
Choose a tag to compare
  • scrooge-generator: Respect the proper order of separators in function declarations.
    b72a08c9

  • scrooge-generator: Optimized generated Scala code for compile time and smaller bytecode.
    Companion objects for thrift enum traits are no longer case objects. 2189d281

Scrooge 20.4.0 (DO NOT USE)

02 Apr 18:20
Compare
Choose a tag to compare

Scrooge 20.3.0

08 Mar 19:28
Compare
Choose a tag to compare
  • scrooge-generator: Add the ability to use a type in a file before you declare it.
    14148321

  • scrooge-linter: Removed the TransitivePersistence and DocumentedPersisted lint rules,
    as they aren't useful outside of Twitter. 80176dc0

  • scrooge-linter: Added the ability to load additional LintRule implementations dynamically
    via com.twitter.app.LoadService. 80176dc0

Scrooge 20.1.0

29 Jan 21:26
Compare
Choose a tag to compare
  • scrooge-core: Remove deprecated ServiceIfaceServiceType and toServiceIfaceService.
    390ad812

Scrooge 19.12.0

13 Dec 16:16
Compare
Choose a tag to compare

No Changes