protoc 28.3.0 → 29.0.0-rc2
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 +1 -1
- package/assets.json +10 -10
- package/bin/protoc-linux-aarch_64 +0 -0
- package/bin/protoc-linux-x86_64 +0 -0
- package/bin/protoc-osx-aarch_64 +0 -0
- package/bin/protoc-osx-x86_64 +0 -0
- package/bin/protoc-win64.exe +0 -0
- package/include/google/protobuf/api.proto +1 -1
- package/include/google/protobuf/cpp_features.proto +14 -3
- package/include/google/protobuf/descriptor.proto +2 -5
- package/include/google/protobuf/java_features.proto +3 -3
- package/package.json +2 -2
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 -->
|
|
4
|
+
This package provides the Protobuf compiler `protoc` <!-- inject: release.tag_name -->v29.0-rc2<!-- 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-
|
|
4
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
3
|
+
"name": "protoc-29.0-rc-2-linux-aarch_64.zip",
|
|
4
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc2/protoc-29.0-rc-2-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-
|
|
12
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
11
|
+
"name": "protoc-29.0-rc-2-linux-x86_64.zip",
|
|
12
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc2/protoc-29.0-rc-2-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-
|
|
20
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
19
|
+
"name": "protoc-29.0-rc-2-osx-aarch_64.zip",
|
|
20
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc2/protoc-29.0-rc-2-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-
|
|
28
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
27
|
+
"name": "protoc-29.0-rc-2-osx-x86_64.zip",
|
|
28
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc2/protoc-29.0-rc-2-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-
|
|
36
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/
|
|
35
|
+
"name": "protoc-29.0-rc-2-win64.zip",
|
|
36
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v29.0-rc2/protoc-29.0-rc-2-win64.zip",
|
|
37
37
|
"platform": "win32",
|
|
38
38
|
"arch": "x64",
|
|
39
39
|
"dotExe": true,
|
|
Binary file
|
package/bin/protoc-linux-x86_64
CHANGED
|
Binary file
|
package/bin/protoc-osx-aarch_64
CHANGED
|
Binary file
|
package/bin/protoc-osx-x86_64
CHANGED
|
Binary file
|
package/bin/protoc-win64.exe
CHANGED
|
Binary file
|
|
@@ -166,7 +166,7 @@ message Method {
|
|
|
166
166
|
// The mixin construct implies that all methods in `AccessControl` are
|
|
167
167
|
// also declared with same name and request/response types in
|
|
168
168
|
// `Storage`. A documentation generator or annotation processor will
|
|
169
|
-
// see the effective `Storage.GetAcl` method after
|
|
169
|
+
// see the effective `Storage.GetAcl` method after inheriting
|
|
170
170
|
// documentation and annotations as follows:
|
|
171
171
|
//
|
|
172
172
|
// service Storage {
|
|
@@ -27,10 +27,10 @@ message CppFeatures {
|
|
|
27
27
|
feature_support = {
|
|
28
28
|
edition_introduced: EDITION_2023,
|
|
29
29
|
edition_deprecated: EDITION_2023,
|
|
30
|
-
deprecation_warning: "The legacy closed enum
|
|
30
|
+
deprecation_warning: "The legacy closed enum behavior in C++ is "
|
|
31
31
|
"deprecated and is scheduled to be removed in "
|
|
32
|
-
"edition 2025.
|
|
33
|
-
"
|
|
32
|
+
"edition 2025. See http://protobuf.dev/programming-guides/enum/#cpp for "
|
|
33
|
+
"more information",
|
|
34
34
|
},
|
|
35
35
|
edition_defaults = { edition: EDITION_LEGACY, value: "true" },
|
|
36
36
|
edition_defaults = { edition: EDITION_PROTO3, value: "false" }
|
|
@@ -53,4 +53,15 @@ message CppFeatures {
|
|
|
53
53
|
edition_defaults = { edition: EDITION_LEGACY, value: "STRING" },
|
|
54
54
|
edition_defaults = { edition: EDITION_2024, value: "VIEW" }
|
|
55
55
|
];
|
|
56
|
+
|
|
57
|
+
optional bool enum_name_uses_string_view = 3 [
|
|
58
|
+
retention = RETENTION_SOURCE,
|
|
59
|
+
targets = TARGET_TYPE_ENUM,
|
|
60
|
+
targets = TARGET_TYPE_FILE,
|
|
61
|
+
feature_support = {
|
|
62
|
+
edition_introduced: EDITION_2024,
|
|
63
|
+
},
|
|
64
|
+
edition_defaults = { edition: EDITION_LEGACY, value: "false" },
|
|
65
|
+
edition_defaults = { edition: EDITION_2024, value: "true" }
|
|
66
|
+
];
|
|
56
67
|
}
|
|
@@ -80,7 +80,7 @@ enum Edition {
|
|
|
80
80
|
EDITION_2024 = 1001;
|
|
81
81
|
|
|
82
82
|
// Placeholder editions for testing feature resolution. These should not be
|
|
83
|
-
// used or
|
|
83
|
+
// used or relied on outside of tests.
|
|
84
84
|
EDITION_1_TEST_ONLY = 1;
|
|
85
85
|
EDITION_2_TEST_ONLY = 2;
|
|
86
86
|
EDITION_99997_TEST_ONLY = 99997;
|
|
@@ -732,8 +732,6 @@ message FieldOptions {
|
|
|
732
732
|
optional bool debug_redact = 16 [default = false];
|
|
733
733
|
|
|
734
734
|
// If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
735
|
-
// Note: as of January 2023, support for this is in progress and does not yet
|
|
736
|
-
// have an effect (b/264593489).
|
|
737
735
|
enum OptionRetention {
|
|
738
736
|
RETENTION_UNKNOWN = 0;
|
|
739
737
|
RETENTION_RUNTIME = 1;
|
|
@@ -744,8 +742,7 @@ message FieldOptions {
|
|
|
744
742
|
|
|
745
743
|
// This indicates the types of entities that the field may apply to when used
|
|
746
744
|
// as an option. If it is unset, then the field may be freely used as an
|
|
747
|
-
// option on any kind of entity.
|
|
748
|
-
// in progress and does not yet have an effect (b/264593489).
|
|
745
|
+
// option on any kind of entity.
|
|
749
746
|
enum OptionTargetType {
|
|
750
747
|
TARGET_TYPE_UNKNOWN = 0;
|
|
751
748
|
TARGET_TYPE_FILE = 1;
|
|
@@ -30,10 +30,10 @@ message JavaFeatures {
|
|
|
30
30
|
feature_support = {
|
|
31
31
|
edition_introduced: EDITION_2023,
|
|
32
32
|
edition_deprecated: EDITION_2023,
|
|
33
|
-
deprecation_warning: "The legacy closed enum
|
|
33
|
+
deprecation_warning: "The legacy closed enum behavior in Java is "
|
|
34
34
|
"deprecated and is scheduled to be removed in "
|
|
35
|
-
"edition 2025.
|
|
36
|
-
"
|
|
35
|
+
"edition 2025. See http://protobuf.dev/programming-guides/enum/#java for "
|
|
36
|
+
"more information.",
|
|
37
37
|
},
|
|
38
38
|
edition_defaults = { edition: EDITION_LEGACY, value: "true" },
|
|
39
39
|
edition_defaults = { edition: EDITION_PROTO3, value: "false" }
|
package/package.json
CHANGED