From c7dbdba85e57be93a816064ed56dadccd18e24af Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 2 Feb 2024 16:28:28 +0000
Subject: [PATCH] deps: bump @bufbuild/protobuf from 1.6.0 to 1.7.2 (#167)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [@bufbuild/protobuf](https://github.com/bufbuild/protobuf-es/tree/HEAD/packages/protobuf) from 1.6.0 to 1.7.2.
Sourced from Full Changelog: https://github.com/bufbuild/protobuf-es/compare/v1.7.1...v1.7.2 Full Changelog: https://github.com/bufbuild/protobuf-es/compare/v1.7.0...v1.7.1 This release adds support for extensions, a Protobuf language feature that allows to extend a message with an additional field. For example: message User {
extensions 100 to 200;
} extend User {
optional uint32 age = 100;
}
Release notes
@bufbuild/protobuf
's releases.
v1.7.2
What's Changed
@timostamm
in bufbuild/protobuf-es#688@tehwalris
in bufbuild/protobuf-es#690@timostamm
in bufbuild/protobuf-es#689@timostamm
in bufbuild/protobuf-es#691New Contributors
@tehwalris
made their first contribution in bufbuild/protobuf-es#690v1.7.1
What's Changed
@timostamm
in bufbuild/protobuf-es#683@bufbuild/protoplugin
by @timostamm
in bufbuild/protobuf-es#682@timostamm
in bufbuild/protobuf-es#685v1.7.0
What's Changed
syntax = "proto2";
For the extension age
, we generate a new export const age: Extension<User, number>
. You can set the extension field with the function setExtension
:
import { setExtension } from "@bufbuild/protobuf";
import { User, age } from "./example_pb.js";
const user = new User();
setExtension(user, age, 77);
... (truncated)
31daf8c
Release 1.7.2 (#699)07ebb3e
Bump prettier from 3.1.1 to 3.2.4 (#697)eeb911a
Fix proto3 extension presence for singular, non-optional scalar (#689)8a021d7
Add missing extension to import of descriptor-set for module resolution NodeN...c912f62
Release 1.7.1 (#686)f52e9d8
Fix parsing JSON null in proto2 (#685)175bc97
Avoid parsing feature-set defaults at module initialization (#683)db0bd03
Release 1.7.0 (#678)10884a2
Use Map instead of record objects in createRegistryFromDescriptors (#670)5a226ed
Support extensions (#666)