Skip to content

Commit 78a3abd

Browse files
authored
Apply suggestions from code review
1 parent 255ec88 commit 78a3abd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
## [2.0.0b7] - 2024-08-11
1111

1212
- **Breaking**: Support `Pydantic` v2 and dropping support for v1 [#588](https://github.com/danielgtaylor/python-betterproto/pull/588)
13-
- **Breaking**: The `Message.__getattribute__` method now raises an `AttributeError` when attempting to access an unset `oneof`
13+
- **Breaking**: The attempting to access an unset `oneof` now raises an `AttributeError`
1414
field. To see how to access `oneof` fields now, refer to [#558](https://github.com/danielgtaylor/python-betterproto/pull/558)
1515
and [README.md](https://github.com/danielgtaylor/python-betterproto#one-of-support).
16-
- **Breaking**: A custom Enum has been implemented to match the behaviour of being an open set. This has the side effect of
17-
preventing any passthrough of Enum members (i.e. Foo.RED.GREEN doesn't work any more)
16+
- **Breaking**: A custom `Enum` has been implemented to match the behaviour of being an open set. Any checks for `isinstance(enum_member, enum.Enum)` and `issubclass(EnumSubclass, enum.Enum)` will now return `False`. This change also has the side effect of
17+
preventing any passthrough of `Enum` members (i.e. `Foo.RED.GREEN` doesn't work any more). See [#293](https://github.com/danielgtaylor/python-betterproto/pull/293) for more info, this fixed many bugs related to `Enum` handling.
1818

1919
- Add support for `pickle` methods [#535](https://github.com/danielgtaylor/python-betterproto/pull/535)
2020
- Add support for `Struct` and `Value` types [#551](https://github.com/danielgtaylor/python-betterproto/pull/551)
2121
- Add support for [`Rich` package](https://rich.readthedocs.io/en/latest/index.html) for pretty printing [#508](https://github.com/danielgtaylor/python-betterproto/pull/508)
2222
- Improve support for streaming messages [#518](https://github.com/danielgtaylor/python-betterproto/pull/518) [#529](https://github.com/danielgtaylor/python-betterproto/pull/529)
2323
- Improve performance of serializing / de-serializing messages [#545](https://github.com/danielgtaylor/python-betterproto/pull/545)
24-
- Improve handling of typing collisions.
24+
- Improve the handling of message name collisions with typing by allowing the method / type of imports to be configured.
2525
Refer to [#582](https://github.com/danielgtaylor/python-betterproto/pull/582)
2626
and [README.md](https://github.com/danielgtaylor/python-betterproto#configuration-typing-imports).
27-
- Fix bugs when converting to / from Python due to `_Timestamp` [#534](https://github.com/danielgtaylor/python-betterproto/pull/534)
27+
- Fix roundtrip parsing of `datetime`s [#534](https://github.com/danielgtaylor/python-betterproto/pull/534)
2828
- Fix accessing unset optional fields [#523](https://github.com/danielgtaylor/python-betterproto/pull/523)
2929
- Fix `Message` equality comparison [#513](https://github.com/danielgtaylor/python-betterproto/pull/513)
3030
- Fix behaviour with long comment messages [#532](https://github.com/danielgtaylor/python-betterproto/pull/532)

0 commit comments

Comments
 (0)