Breaking changes
Migrated from betterproto to betterproto2 (again)
This time all the kinks should be worked out. You can see examples in this repo under scenarios/
Usages of this library have been tested in production by migrating from 1.0 to 2.0
Other changes
- Tests migrated from pytest to vedro
- Envoy protobufs upgraded to 1.36
Migration guide
I don't have a comprehensive guide, but I will say:
- Most if not all of the import paths should be the same or very similar
- The way to initialize objects should be the same, just construct an idiomatic class instance like you normally would
- Use the Struct, Value, and Any types from google.protobuf to serialize things like
maptypes andAnytypes (seescenarios/) - I suggest using a good type checker and not ignoring typing issues
Full Changelog: 1.0.3...2.0.0