protoc 29.0.0-rc1 → 29.0.0-rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  protoc
2
2
  ======
3
3
 
4
- This package provides the Protobuf compiler `protoc` <!-- inject: release.tag_name -->v29.0-rc1<!-- end -->.
4
+ This package provides the Protobuf compiler `protoc` <!-- inject: release.tag_name -->v29.0-rc3<!-- end -->.
5
5
 
6
6
  ```shell script
7
7
  npm install --save-dev protoc
package/assets.json CHANGED
@@ -1,39 +1,39 @@
1
1
  [
2
2
  {
3
- "name": "protoc-29.0-rc-1-linux-aarch_64.zip",
4
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc1/protoc-29.0-rc-1-linux-aarch_64.zip",
3
+ "name": "protoc-29.0-rc-3-linux-aarch_64.zip",
4
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc3/protoc-29.0-rc-3-linux-aarch_64.zip",
5
5
  "platform": "linux",
6
6
  "arch": "arm64",
7
7
  "dotExe": false,
8
8
  "executable": "protoc-linux-aarch_64"
9
9
  },
10
10
  {
11
- "name": "protoc-29.0-rc-1-linux-x86_64.zip",
12
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc1/protoc-29.0-rc-1-linux-x86_64.zip",
11
+ "name": "protoc-29.0-rc-3-linux-x86_64.zip",
12
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc3/protoc-29.0-rc-3-linux-x86_64.zip",
13
13
  "platform": "linux",
14
14
  "arch": "x64",
15
15
  "dotExe": false,
16
16
  "executable": "protoc-linux-x86_64"
17
17
  },
18
18
  {
19
- "name": "protoc-29.0-rc-1-osx-aarch_64.zip",
20
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc1/protoc-29.0-rc-1-osx-aarch_64.zip",
19
+ "name": "protoc-29.0-rc-3-osx-aarch_64.zip",
20
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc3/protoc-29.0-rc-3-osx-aarch_64.zip",
21
21
  "platform": "darwin",
22
22
  "arch": "arm64",
23
23
  "dotExe": false,
24
24
  "executable": "protoc-osx-aarch_64"
25
25
  },
26
26
  {
27
- "name": "protoc-29.0-rc-1-osx-x86_64.zip",
28
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc1/protoc-29.0-rc-1-osx-x86_64.zip",
27
+ "name": "protoc-29.0-rc-3-osx-x86_64.zip",
28
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc3/protoc-29.0-rc-3-osx-x86_64.zip",
29
29
  "platform": "darwin",
30
30
  "arch": "x64",
31
31
  "dotExe": false,
32
32
  "executable": "protoc-osx-x86_64"
33
33
  },
34
34
  {
35
- "name": "protoc-29.0-rc-1-win64.zip",
36
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc1/protoc-29.0-rc-1-win64.zip",
35
+ "name": "protoc-29.0-rc-3-win64.zip",
36
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc3/protoc-29.0-rc-3-win64.zip",
37
37
  "platform": "win32",
38
38
  "arch": "x64",
39
39
  "dotExe": true,
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -55,6 +55,13 @@ option optimize_for = SPEED;
55
55
  // files it parses.
56
56
  message FileDescriptorSet {
57
57
  repeated FileDescriptorProto file = 1;
58
+
59
+ // Extensions for tooling.
60
+ extensions 536000000 [declaration = {
61
+ number: 536000000
62
+ type: ".buf.descriptor.v1.FileDescriptorSetExtension"
63
+ full_name: ".buf.descriptor.v1.buf_file_descriptor_set_extension"
64
+ }];
58
65
  }
59
66
 
60
67
  // The full set of known editions.
@@ -1252,6 +1259,13 @@ message SourceCodeInfo {
1252
1259
  optional string trailing_comments = 4;
1253
1260
  repeated string leading_detached_comments = 6;
1254
1261
  }
1262
+
1263
+ // Extensions for tooling.
1264
+ extensions 536000000 [declaration = {
1265
+ number: 536000000
1266
+ type: ".buf.descriptor.v1.SourceCodeInfoExtension"
1267
+ full_name: ".buf.descriptor.v1.buf_source_code_info_extension"
1268
+ }];
1255
1269
  }
1256
1270
 
1257
1271
  // Describes the relationship between generated code and its original source
@@ -0,0 +1,57 @@
1
+ // Protocol Buffers - Google's data interchange format
2
+ // Copyright 2023 Google Inc. All rights reserved.
3
+ //
4
+ // Use of this source code is governed by a BSD-style
5
+ // license that can be found in the LICENSE file or at
6
+ // https://developers.google.com/open-source/licenses/bsd
7
+
8
+ syntax = "proto2";
9
+
10
+ package pb;
11
+
12
+ import "google/protobuf/descriptor.proto";
13
+
14
+ option go_package = "google.golang.org/protobuf/types/gofeaturespb";
15
+
16
+ extend google.protobuf.FeatureSet {
17
+ optional GoFeatures go = 1002;
18
+ }
19
+
20
+ message GoFeatures {
21
+ // Whether or not to generate the deprecated UnmarshalJSON method for enums.
22
+ optional bool legacy_unmarshal_json_enum = 1 [
23
+ retention = RETENTION_RUNTIME,
24
+ targets = TARGET_TYPE_ENUM,
25
+ targets = TARGET_TYPE_FILE,
26
+ feature_support = {
27
+ edition_introduced: EDITION_2023,
28
+ edition_deprecated: EDITION_2023,
29
+ deprecation_warning: "The legacy UnmarshalJSON API is deprecated and "
30
+ "will be removed in a future edition.",
31
+ },
32
+ edition_defaults = { edition: EDITION_LEGACY, value: "true" },
33
+ edition_defaults = { edition: EDITION_PROTO3, value: "false" }
34
+ ];
35
+
36
+ enum APILevel {
37
+ // API_LEVEL_UNSPECIFIED results in selecting the OPEN API,
38
+ // but needs to be a separate value to distinguish between
39
+ // an explicitly set api level or a missing api level.
40
+ API_LEVEL_UNSPECIFIED = 0;
41
+ API_OPEN = 1;
42
+ API_HYBRID = 2;
43
+ API_OPAQUE = 3;
44
+ }
45
+
46
+ // One of OPEN, HYBRID or OPAQUE.
47
+ optional APILevel api_level = 2 [
48
+ retention = RETENTION_RUNTIME,
49
+ targets = TARGET_TYPE_MESSAGE,
50
+ targets = TARGET_TYPE_FILE,
51
+ feature_support = {
52
+ edition_introduced: EDITION_2023,
53
+ },
54
+ edition_defaults = { edition: EDITION_LEGACY, value: "API_LEVEL_UNSPECIFIED" },
55
+ edition_defaults = { edition: EDITION_2024, value: "API_OPAQUE" }
56
+ ];
57
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "protoc",
3
- "version": "29.0.0-rc1",
4
- "upstreamVersion": "v29.0-rc1",
3
+ "version": "29.0.0-rc3",
4
+ "upstreamVersion": "v29.0-rc3",
5
5
  "description": "Installs the protocol buffer compiler \"protoc\" for you.",
6
6
  "bin": {
7
7
  "protoc": "protoc.cjs"