From bacaaeb12ba0095a291dd685b4f5471cdfb5bcc4 Mon Sep 17 00:00:00 2001 From: JitPackJoyride Date: Sun, 11 Aug 2024 21:07:44 +0100 Subject: [PATCH] chore: changes to changelog from PR comments --- CHANGELOG.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd19f8f88..d38a25849 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,15 +10,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.0.0b7] - 2024-08-11 - **Breaking**: Support `Pydantic` v2 and dropping support for v1 [#588](https://github.com/danielgtaylor/python-betterproto/pull/588) -- **Breaking**: The `Message.__getattribute__` method now raises an `AttributeError` when attempting to access an unset `oneof` - field. - The previous behavior is accessible via `Message.__unsafe_get` [#510](https://github.com/danielgtaylor/python-betterproto/pull/510). - To see how to use the new behavior, refer to [#558](https://github.com/danielgtaylor/python-betterproto/pull/558) +- **Breaking**: The `Message.__getattribute__` method now raises an `AttributeError` when attempting to access an unset `oneof` + field. To see how to access `oneof` fields now, refer to [#558](https://github.com/danielgtaylor/python-betterproto/pull/558) and [README.md](https://github.com/danielgtaylor/python-betterproto#one-of-support). +- **Breaking**: A custom Enum has been implemented to match the behaviour of being an open set. This has the side effect + prevents any passthrough of Enum members (i.e. Foo.RED.GREEN doesn't work any more) - Add support for `pickle` methods [#535](https://github.com/danielgtaylor/python-betterproto/pull/535) - Add support for `Struct` and `Value` types [#551](https://github.com/danielgtaylor/python-betterproto/pull/551) -- Add support for `Enum`'s `copy` and `deepcopy` methods [#566](https://github.com/danielgtaylor/python-betterproto/pull/566) - 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) - Improve support for streaming messages [#518](https://github.com/danielgtaylor/python-betterproto/pull/518) [#529](https://github.com/danielgtaylor/python-betterproto/pull/529) - Improve performance of serializing / de-serializing messages [#545](https://github.com/danielgtaylor/python-betterproto/pull/545) @@ -28,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix bugs when converting to / from Python due to `_Timestamp` [#534](https://github.com/danielgtaylor/python-betterproto/pull/534) - Fix accessing unset optional fields [#523](https://github.com/danielgtaylor/python-betterproto/pull/523) - Fix `Message` equality comparison [#513](https://github.com/danielgtaylor/python-betterproto/pull/513) -- Fix behavior with long comment messages [#532](https://github.com/danielgtaylor/python-betterproto/pull/532) +- Fix behaviour with long comment messages [#532](https://github.com/danielgtaylor/python-betterproto/pull/532) ## [2.0.0b6] - 2023-06-25