ScalaPB v0.9.0 Release Notes
-
- ๐ Experimental support for Scala 2.13.0. Notes:
- ScalaPB now generates
scala.Seq
by default for repeated fields (previously wasscala.collection.Seq
). This ensures usage of immutable Seqs on Scala 2.13 without breaking compatibility for old code. - The generated code compiles for Scala 2.13 and older version, so deprecation warnings are expected when compiling for 2.13. In a future release, we may have a generator that generates code that compiles cleanly, but only for 2.13.
- ScalaPB now generates
- ๐ ScalaPB code generator is published to maven as a plugin. This enabled Gradle and Maven protobuf plugins to download and invoke ScalaPB.
- โฌ๏ธ Dropped support for Scala 2.10.
- Custom collections are now required to provide an
iterator
method that returns anIterator[A]
over their elements. - ๐ Temporarily dropped support for Scala Native (pending on fastparse2 support)
- โฌ๏ธ Bumped fastparse to 2.1.0 (which is binary-incompatible with fastparse 1)
- โ Add support for custom map types (#410)
- โฌ๏ธ Upgrade to protobuf 3.7.1
- โ Removed deprecated com.trueaccord symbols
- โ Added
scalapb.GeneratedSealedOneof
as a base trait for all sealed oneofs. - Added
sealed_oneof_extends
option to allow adding base classes for sealed oneofs. - โ Add support for services & methods comments (scaladoc & runtime inspection)
- ๐ Experimental support for Scala 2.13.0. Notes: