protoc 36.0.0-rc1 → 36.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/cpp_file_options.proto +24 -0
- package/include/google/protobuf/cpp_options.proto +15 -0
- package/include/google/protobuf/json_enumvalue_options.proto +31 -0
- package/include/google/protobuf/json_options.proto +16 -0
- 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 -->v36.0-
|
|
4
|
+
This package provides the Protobuf compiler `protoc` <!-- inject: release.tag_name -->v36.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-36.0-rc-
|
|
4
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-
|
|
3
|
+
"name": "protoc-36.0-rc-2-linux-aarch_64.zip",
|
|
4
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-rc2/protoc-36.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-36.0-rc-
|
|
12
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-
|
|
11
|
+
"name": "protoc-36.0-rc-2-linux-x86_64.zip",
|
|
12
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-rc2/protoc-36.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-36.0-rc-
|
|
20
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-
|
|
19
|
+
"name": "protoc-36.0-rc-2-osx-aarch_64.zip",
|
|
20
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-rc2/protoc-36.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-36.0-rc-
|
|
28
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-
|
|
27
|
+
"name": "protoc-36.0-rc-2-osx-x86_64.zip",
|
|
28
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-rc2/protoc-36.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.0-rc-
|
|
36
|
-
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-
|
|
35
|
+
"name": "protoc-36.0-rc-2-win64.zip",
|
|
36
|
+
"browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v36.0-rc2/protoc-36.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
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Protocol Buffers - Google's data interchange format
|
|
2
|
+
// Copyright 2026 Google LLC. 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
|
+
edition = "2024";
|
|
9
|
+
|
|
10
|
+
package pb.file;
|
|
11
|
+
|
|
12
|
+
import "google/protobuf/descriptor.proto";
|
|
13
|
+
|
|
14
|
+
extend google.protobuf.FileOptions {
|
|
15
|
+
CppFileOptions cpp = 990
|
|
16
|
+
[feature_support = { edition_introduced: EDITION_2026 }];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
local message CppFileOptions {
|
|
20
|
+
// Use this option to change the namespace of cpp generated classes. When this
|
|
21
|
+
// option is not set, the package name will be used for determining the cpp
|
|
22
|
+
// namespace.
|
|
23
|
+
string namespace = 1;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Protocol Buffers - Google's data interchange format
|
|
2
|
+
// Copyright 2026 Google LLC. 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
|
+
edition = "2024";
|
|
9
|
+
|
|
10
|
+
package pb;
|
|
11
|
+
|
|
12
|
+
// This file is the user facing cpp language proto that bundles all descriptor
|
|
13
|
+
// type cpp language options.
|
|
14
|
+
|
|
15
|
+
import public "google/protobuf/cpp_file_options.proto";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Protocol Buffers - Google's data interchange format
|
|
2
|
+
// Copyright 2026 Google LLC. 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
|
+
edition = "2024";
|
|
9
|
+
|
|
10
|
+
package pb.enumvalue;
|
|
11
|
+
|
|
12
|
+
import "google/protobuf/descriptor.proto";
|
|
13
|
+
|
|
14
|
+
option java_package = "com.google.protobuf.util";
|
|
15
|
+
|
|
16
|
+
local message JsonEnumValueOptions {
|
|
17
|
+
// Allows user to specify a custom string to use when serializing an enum
|
|
18
|
+
// value to JSON.
|
|
19
|
+
//
|
|
20
|
+
// Sample usage:
|
|
21
|
+
// enum Foo {
|
|
22
|
+
// ...
|
|
23
|
+
// FOO_BAR = 42 [(pb.enumvalue.json).string = "my_custom_name"];
|
|
24
|
+
// }
|
|
25
|
+
string string = 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
extend google.protobuf.EnumValueOptions {
|
|
29
|
+
JsonEnumValueOptions json = 998
|
|
30
|
+
[feature_support = { edition_introduced: EDITION_2026 }];
|
|
31
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Protocol Buffers - Google's data interchange format
|
|
2
|
+
// Copyright 2026 Google LLC. 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
|
+
// A convenience proto that houses all JSON-related options.
|
|
9
|
+
|
|
10
|
+
edition = "2024";
|
|
11
|
+
|
|
12
|
+
package pb;
|
|
13
|
+
|
|
14
|
+
import public "google/protobuf/json_enumvalue_options.proto";
|
|
15
|
+
|
|
16
|
+
option java_package = "com.google.protobuf.util";
|
package/package.json
CHANGED