ScalaPB v0.6.0 Release Notes
Release Date: 2017-01-07 // over 7 years ago-
- ๐ Support for custom names for fields: https://scalapb.github.io/customizations.html#custom-names This enables users to get around name conflicts in the generated code.
- โ Add messageCompanionForFieldNumber and enumCompanionForFieldNumber to retrive companion objects of message and enum fields by the field number.
- ๐ Support for Scala protocol buffers.
- 0๏ธโฃ Primitive wrappers are now the default.
scalapb.proto
: Add no_primitive_wrappers, deprecateprimitive_wrappers
.- โ Add support for custom collection types (representation of
repeated
in Scala can be almost any Scala collection. - โ Add support for custom types for keys and values of map<>.
- โ Added support for extensions (Scala.js compatible!).
๐ฅ BREAKING CHANGE:
- ๐ Custom options now work on both JVM and Scala.js. To migrate, remove
imports of
com.trueaccord.scalapb.Implicits
and use the newscalaDescriptor
wheneverdescriptor
orjavaDescriptor
have been used.