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 google-protobuf and @types/google-protobuf #112

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2025

Bumps google-protobuf and @types/google-protobuf. These dependencies needed to be updated together.
Updates google-protobuf from 3.21.2 to 3.21.4

Release notes

Sourced from google-protobuf's releases.

v3.21.4

Release to fix bazel build layering issue in 3.21.3.

v3.21.3

This release consists of mostly minor changes:

  • Documentation link fixes
  • Updated code generator to work with upstream API changes
  • Groundwork for moving to Bazel modules
Changelog

Sourced from google-protobuf's changelog.

"""Generates package naming variables for use with rules_pkg."""

load("@​bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") load("@​rules_pkg//:providers.bzl", "PackageVariablesInfo")

_PROTOBUF_JAVASCRIPT_VERSION = "3.21.4"

def _package_naming_impl(ctx): values = {} values["version"] = _PROTOBUF_JAVASCRIPT_VERSION

if ctx.attr.platform != "":
    values["platform"] = ctx.attr.platform
    return PackageVariablesInfo(values = values)

infer from the current cpp toolchain.

toolchain = find_cpp_toolchain(ctx) cpu = toolchain.cpu system_name = toolchain.target_gnu_system_name

rename cpus to match what we want artifacts to be

if cpu == "systemz": cpu = "s390_64" elif cpu == "aarch64": cpu = "aarch_64" elif cpu == "ppc64": cpu = "ppcle_64"

use the system name to determine the os and then create platform names

if "apple" in system_name: values["platform"] = "osx-" + cpu elif "linux" in system_name: values["platform"] = "linux-" + cpu elif "mingw" in system_name: if cpu == "x86_64": values["platform"] = "win64" else: values["platform"] = "win32" else: values["platform"] = "unknown"

return PackageVariablesInfo(values = values)

package_naming = rule( implementation = _package_naming_impl, attrs = { # Necessary data dependency for find_cpp_toolchain. "_cc_toolchain": attr.label( default = Label("@​bazel_tools//tools/cpp:current_cc_toolchain"), ),

... (truncated)

Commits
  • 5aee743 Update version to 3.21.4
  • 4cd555a Update various workflow action versions for node 20 compatibility
  • dae06f2 fix generator build layering by correcting deps
  • fd8f7f7 belatedly update package.json version to 3.21.3
  • c4fbfe3 Adopt protobuf's .bazelrc to simplify cross-compilation
  • 8afb6eb Bump MODULE.bazel version to match protobuf_javascript_release.bzl
  • eb860eb Pin rules_python to 0.24.0 to fix release build error
  • 5d939db Bump version to 3.21.3
  • bd0540e Switch to bazel-contrib/setup-bazel
  • 0556059 Fix sha256 digest for protobuf http_archive (#210)
  • Additional commits viewable in compare view

Updates @types/google-protobuf from 3.15.6 to 3.15.12

Commits

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)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf-javascript) and [@types/google-protobuf](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/google-protobuf). These dependencies needed to be updated together.

Updates `google-protobuf` from 3.21.2 to 3.21.4
- [Release notes](https://github.com/protocolbuffers/protobuf-javascript/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-javascript/blob/main/protobuf_javascript_release.bzl)
- [Commits](protocolbuffers/protobuf-javascript@v3.21.2...v3.21.4)

Updates `@types/google-protobuf` from 3.15.6 to 3.15.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/google-protobuf)

---
updated-dependencies:
- dependency-name: google-protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/google-protobuf"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 24, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 24, 2025
@rlubke rlubke merged commit a282d24 into main Jan 24, 2025
27 checks passed
@rlubke rlubke deleted the dependabot/npm_and_yarn/multi-f0499227d0 branch January 24, 2025 20:15
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 javascript Pull requests that update Javascript code OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant