ScalaPB v0.6.0 Release Notes

Release Date: 2017-01-07 // over 7 years ago
  • Full Changelog

    • ๐Ÿ‘Œ 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, deprecate primitive_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 new scalaDescriptor whenever descriptor or javaDescriptor have been used.