v2.0.0-beta7
Pre-release
Pre-release
Enhancements
- Breaking: Support
Pydanticv2 and dropping support for v1 #588 - Breaking: The attempting to access an unset
oneofnow raises anAttributeErrorfield. To see how to accessoneoffields now, refer to #558 and README.md. - Breaking: A custom
Enumhas been implemented to match the behaviour of being an open set. Any checks forisinstance(enum_member, enum.Enum)andissubclass(EnumSubclass, enum.Enum)will now returnFalse. This change also has the side effect of preventing any passthrough ofEnummembers (i.e.Foo.RED.GREENdoesn't work any more). See #293 for more info, this fixed many bugs related toEnumhandling. - Add support for
picklemethods #535 - Add support for
StructandValuetypes #551 - Add support for
Richpackage for pretty printing #508 - Improve support for streaming messages #518 #529
- Improve performance of serializing / de-serializing messages #545
- Improve the handling of message name collisions with typing by allowing the method / type of imports to be configured.
Refer to #582 and README.md. - Add a warning when calling a deprecated message #596
Bug Fixes
- Fix roundtrip parsing of
datetimes #534 - Fix accessing unset optional fields #523
- Fix
Messageequality comparison #513 - Fix behaviour with long comment messages #532
New Contributors
- @atomicflag made their first contribution in #513
- @JoshuaLeivers made their first contribution in #518
- @MicaelJarniac made their first contribution in #508
- @124C41p made their first contribution in #528
- @girtsf made their first contribution in #306
- @spietras made their first contribution in #422
- @lukasbindreiter made their first contribution in #534
- @cartesian-theatrics made their first contribution in #532
- @cclauss made their first contribution in #550
- @woodruffw made their first contribution in #551
- @atomicmac made their first contribution in #560
- @arunsathiya made their first contribution in #553
- @ii64 made their first contribution in #568
- @imcdo made their first contribution in #587
- @gatesn made their first contribution in #588
- @AdrienVannson made their first contribution in #596
- @JitPackJoyride made their first contribution in #593
Full Changelog: v.2.0.0b6...v.2.0.0b7