Scrooge v22.7.0 Release Notes
-
๐ New Features
* scrooge-generator: Introduce a `AnnotatedFieldType` to abstract type annotations from `FieldType` definitions. Currently used to propagate thrift annotations inside of collection types. ``PHAB_ID=D911997`` ``PHAB_ID=D937932`` * scrooge-core: `c.t.scrooge.ThriftUnion.fieldInfoForUnionClass` API for retrieving `ThriftStructFieldInfo` for a `ThriftUnion` member class without having to instantiate it. ``PHAB_ID=D871986`` * scrooge-generator: Add @.generated annotation to Swift generated code ``PHAB_ID=D879262`` * scrooge-generator: Provide a `$STRUCT#unsetFields` method to allow bulk unsets ``PHAB_ID=D911135`` * ๐ scrooge-generator: support thrift validations on nested fields that are struct, union, and exception ``PHAB_ID=D911262``