Skip to content

Conversation

etiennep-chromium
Copy link
Contributor

See https://protobuf.dev/editions/features/#repeated_field_encoding

In this PR, avoid encoding fields as packed when it shouldn't.
Decoding still supports both packed/unpacked fields.

See.
#1207

@etiennep-chromium etiennep-chromium changed the title Honour packed repeated fields encoding fix: Honour packed repeated fields encoding Aug 8, 2025
Copy link
Owner

@stephenh stephenh left a comment

Choose a reason for hiding this comment

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

This is an amazing PR @etiennep-chromium , ty! Happy to have any further fixes/contributors/etc. you'd like to see!

@stephenh stephenh merged commit 445ca02 into stephenh:main Aug 8, 2025
6 checks passed
stephenh pushed a commit that referenced this pull request Aug 8, 2025
## [2.7.6](v2.7.5...v2.7.6) (2025-08-08)

### Bug Fixes

* Honour packed repeated fields encoding ([#1208](#1208)) ([445ca02](445ca02))
@stephenh
Copy link
Owner

stephenh commented Aug 8, 2025

🎉 This issue has been resolved in version 2.7.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants