Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump betterproto from 2.0.0b6 to 2.0.0b7 #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2024

Bumps betterproto from 2.0.0b6 to 2.0.0b7.

Release notes

Sourced from betterproto's releases.

v2.0.0-beta7

Enhancements

  • Breaking: Support Pydantic v2 and dropping support for v1 #588
  • Breaking: The attempting to access an unset oneof now raises an AttributeError field. To see how to access oneof fields now, refer to #558 and README.md.
  • 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 preventing any passthrough of Enum members (i.e. Foo.RED.GREEN doesn't work any more). See #293 for more info, this fixed many bugs related to Enum handling.
  • Add support for pickle methods #535
  • Add support for Struct and Value types #551
  • Add support for Rich package 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 Message equality comparison #513
  • Fix behaviour with long comment messages #532

New Contributors

Full Changelog: danielgtaylor/python-betterproto@v.2.0.0b6...v.2.0.0b7

Changelog

Sourced from betterproto's changelog.

[2.0.0b7] - 2024-08-11

  • Breaking: Support Pydantic v2 and dropping support for v1 #588

  • Breaking: The attempting to access an unset oneof now raises an AttributeError field. To see how to access oneof fields now, refer to #558 and README.md.

  • 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 preventing any passthrough of Enum members (i.e. Foo.RED.GREEN doesn't work any more). See #293 for more info, this fixed many bugs related to Enum handling.

  • Add support for pickle methods #535

  • Add support for Struct and Value types #551

  • Add support for Rich package 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.

  • Fix roundtrip parsing of datetimes #534

  • Fix accessing unset optional fields #523

  • Fix Message equality comparison #513

  • Fix behaviour with long comment messages #532

  • Add a warning when calling a deprecated message #596

Commits
  • 1538e15 Bump version to 2.0.0b7 (#593)
  • 4e9a17c Add warnings when calling deprecated method (#596)
  • f96f516 fix: 3.10 style imports not resolving correctly (#594)
  • 5fdd0bb Update to Pydantic V2 (#588)
  • 8b59234 Handle typing collisions and add validation to a files module for overlaping ...
  • 7c6c627 Drop 3.7 from ci (#587)
  • 1f88b67 betterproto-rust-codec updated (#571)
  • c3c2055 fix: support pydantic-version google pb (#568)
  • df1ba91 Add betterproto.Enum copy and deepcopy implementations (#566)
  • 126b256 ci: Use GITHUB_OUTPUT envvar instead of set-output command (#553)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [betterproto](https://github.com/danielgtaylor/python-betterproto) from 2.0.0b6 to 2.0.0b7.
- [Release notes](https://github.com/danielgtaylor/python-betterproto/releases)
- [Changelog](https://github.com/danielgtaylor/python-betterproto/blob/master/CHANGELOG.md)
- [Commits](danielgtaylor/python-betterproto@v.2.0.0b6...v.2.0.0b7)

---
updated-dependencies:
- dependency-name: betterproto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants