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

Add disallowment of setting numpy singleton arrays and multi-dimensio… #9788

Merged
merged 2 commits into from
Apr 14, 2022

Conversation

zhangskz
Copy link
Member

Add disallowment of setting numpy singleton arrays and multi-dimensional arrays to fields/repeated fields to CHANGES.txt, which was missed in a previous git sync and 3.20.0 release (release notes have been updated). This is a minor breaking change and should be documented. (#9782)

…nal arrays to fields/repeated fields to CHANGES.txt, which was missed in a previous git sync
CHANGES.txt Outdated
@@ -73,6 +73,8 @@
JSON serializations with UTF-8 or other non-ASCII encodings.
* Added experimental support for directly assigning numpy scalars and array.
* Improve the calculation of public_dependencies in DescriptorPool.
* Disallow setting fields to numpy singleton arrays or repeated fields to numpy
multi-dimensional arrays.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you call out more clearly that this is a breaking change and what the solution is?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Also fixed in release notes.

@zhangskz zhangskz merged commit acd24bc into protocolbuffers:3.20.x Apr 14, 2022
@zhangskz zhangskz deleted the 3.20.x branch April 14, 2022 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants