protoc 27.0.0-rc2 → 27.0.0

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 -->v27.0-rc2<!-- end -->.
4
+ This package provides the Protobuf compiler `protoc` <!-- inject: release.tag_name -->v27.0<!-- 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-27.0-rc-2-linux-aarch_64.zip",
4
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0-rc2/protoc-27.0-rc-2-linux-aarch_64.zip",
3
+ "name": "protoc-27.0-linux-aarch_64.zip",
4
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-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-27.0-rc-2-linux-x86_64.zip",
12
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0-rc2/protoc-27.0-rc-2-linux-x86_64.zip",
11
+ "name": "protoc-27.0-linux-x86_64.zip",
12
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-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-27.0-rc-2-osx-aarch_64.zip",
20
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0-rc2/protoc-27.0-rc-2-osx-aarch_64.zip",
19
+ "name": "protoc-27.0-osx-aarch_64.zip",
20
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-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-27.0-rc-2-osx-x86_64.zip",
28
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0-rc2/protoc-27.0-rc-2-osx-x86_64.zip",
27
+ "name": "protoc-27.0-osx-x86_64.zip",
28
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-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-27.0-rc-2-win64.zip",
36
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0-rc2/protoc-27.0-rc-2-win64.zip",
35
+ "name": "protoc-27.0-win64.zip",
36
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protoc-27.0-win64.zip",
37
37
  "platform": "win32",
38
38
  "arch": "x64",
39
39
  "dotExe": true,
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -494,6 +494,7 @@ message FileOptions {
494
494
  optional bool java_generic_services = 17 [default = false];
495
495
  optional bool py_generic_services = 18 [default = false];
496
496
  reserved 42; // removed php_generic_services
497
+ reserved "php_generic_services";
497
498
 
498
499
  // Is this file deprecated?
499
500
  // Depending on the target platform, this can emit Deprecated annotations
@@ -858,6 +859,9 @@ message EnumValueOptions {
858
859
  // credentials.
859
860
  optional bool debug_redact = 3 [default = false];
860
861
 
862
+ // Information about the support window of a feature value.
863
+ optional FieldOptions.FeatureSupport feature_support = 4;
864
+
861
865
  // The parser stores options it doesn't recognize here. See above.
862
866
  repeated UninterpretedOption uninterpreted_option = 999;
863
867
 
@@ -1017,6 +1021,7 @@ message FeatureSet {
1017
1021
  UTF8_VALIDATION_UNKNOWN = 0;
1018
1022
  VERIFY = 2;
1019
1023
  NONE = 3;
1024
+ reserved 1;
1020
1025
  }
1021
1026
  optional Utf8Validation utf8_validation = 4 [
1022
1027
  retention = RETENTION_RUNTIME,
@@ -1066,11 +1071,24 @@ message FeatureSet {
1066
1071
 
1067
1072
  reserved 999;
1068
1073
 
1069
- extensions 1000; // for Protobuf C++
1070
- extensions 1001; // for Protobuf Java
1071
- extensions 1002; // for Protobuf Go
1072
-
1073
- extensions 9990; // for deprecated Java Proto1
1074
+ extensions 1000 to 9994 [
1075
+ declaration = {
1076
+ number: 1000,
1077
+ full_name: ".pb.cpp",
1078
+ type: ".pb.CppFeatures"
1079
+ },
1080
+ declaration = {
1081
+ number: 1001,
1082
+ full_name: ".pb.java",
1083
+ type: ".pb.JavaFeatures"
1084
+ },
1085
+ declaration = { number: 1002, full_name: ".pb.go", type: ".pb.GoFeatures" },
1086
+ declaration = {
1087
+ number: 9990,
1088
+ full_name: ".pb.proto1",
1089
+ type: ".pb.Proto1Features"
1090
+ }
1091
+ ];
1074
1092
 
1075
1093
  extensions 9995 to 9999; // For internal testing
1076
1094
  extensions 10000; // for https://github.com/bufbuild/protobuf-es
@@ -1093,6 +1111,9 @@ message FeatureSetDefaults {
1093
1111
 
1094
1112
  // Defaults of features that can't be overridden in this edition.
1095
1113
  optional FeatureSet fixed_features = 5;
1114
+
1115
+ reserved 1, 2;
1116
+ reserved "features";
1096
1117
  }
1097
1118
  repeated FeatureSetEditionDefault defaults = 1;
1098
1119
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "protoc",
3
- "version": "27.0.0-rc2",
4
- "upstreamVersion": "v27.0-rc2",
3
+ "version": "27.0.0",
4
+ "upstreamVersion": "v27.0",
5
5
  "description": "Installs the protocol buffer compiler \"protoc\" for you.",
6
6
  "bin": {
7
7
  "protoc": "protoc.cjs"