Skip to content

Conversation

@xander1421
Copy link

Closes #955

Summary

Regenerate proto files with protoc_plugin 25.0.0 to add protobuf 6.x compatibility.

Changes

  • Update protobuf constraint to >=6.0.0 <7.0.0
  • Regenerate proto files with newer protoc-gen-dart
  • Remove local google/protobuf/timestamp.pb.dart (now imported from package:protobuf/well_known_types/)

The regenerated files use package:protobuf/well_known_types/ for wellknown types instead of local copies, matching the standard protobuf Dart ecosystem conventions.

Breaking Change

Requires protobuf ^6.0.0. Users on protobuf 4.x will need to upgrade.

Testing

All existing tests pass with the regenerated proto files.

Regenerate proto files with protoc_plugin 25.0.0 which generates
code compatible with protobuf 6.x.

Changes:
- Update protobuf constraint to >=6.0.0 <7.0.0
- Regenerate proto files with newer protoc-gen-dart
- Remove local google/protobuf/timestamp.pb.dart (now imported from package:protobuf/well_known_types/)

The regenerated files use package:protobuf/well_known_types/ for
wellknown types instead of local copies, matching the standard
protobuf Dart ecosystem conventions.

BREAKING CHANGE: Requires protobuf ^6.0.0. Users on protobuf 4.x
will need to upgrade.

Closes livekit#955
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Your Name seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@hiroshihorie
Copy link
Member

Thank you for the PR, but I will close this one in favor of #957 (Basically the same)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add protobuf 6.x compatibility

3 participants