10000 Update to protobuf 30.1 and drop bazel workspace configuration by dibenede · Pull Request #229 · protocolbuffers/protobuf-javascript · GitHub
[go: up one dir, main page]

Skip to content

Update to protobuf 30.1 and drop bazel workspace configuration #229

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

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

dibenede
Copy link
Contributor

The proto descriptor API has changed to return absl::string_views instead of std::string, which is preventing users from building at HEAD.

This change bumps our dependency to protobuf 30.1 and migrates our code generator as needed so we can build with absl::string_view values.

At the same time, Bazel is getting ready to drop workspace support (disabled by default as of EOY2024/Bazel 8). Protobuf still seems to support both, but opportunistically taking this opportunity to just use Bazel models. We can temporarily add back workspace support if users actually need it.

The proto descriptor API has changed to return absl::string_views
instead of std::string, which is preventing users from building at
HEAD.

This change bumps our dependency to protobuf 30.1 and migrates our
code generator as needed so we can build with absl::string_view values.

At the same time, Bazel is getting ready to drop workspace support
(disabled by default as of EOY2024/Bazel 8). Protobuf still seems to
support both, but opportunistically taking this opportunity to just
use Bazel models. We can temporarily add back workspace support if
users actually need it.
@dibenede dibenede requested a review from lukesandberg March 17, 2025 17:51
@lukesandberg lukesandberg merged commit 5f41cae into protocolbuffers:main Mar 17, 2025
4 checks passed
@dibenede dibenede deleted the update-protobuf branch March 17, 2025 17:59
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.

2 participants
0