protoc 26.0.0 → 26.1.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 -->v26.0<!-- end -->.
4
+ This package provides the Protobuf compiler `protoc` <!-- inject: release.tag_name -->v26.1<!-- 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-26.0-linux-aarch_64.zip",
4
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.0/protoc-26.0-linux-aarch_64.zip",
3
+ "name": "protoc-26.1-linux-aarch_64.zip",
4
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-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-26.0-linux-x86_64.zip",
12
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.0/protoc-26.0-linux-x86_64.zip",
11
+ "name": "protoc-26.1-linux-x86_64.zip",
12
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-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-26.0-osx-aarch_64.zip",
20
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.0/protoc-26.0-osx-aarch_64.zip",
19
+ "name": "protoc-26.1-osx-aarch_64.zip",
20
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-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-26.0-osx-x86_64.zip",
28
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.0/protoc-26.0-osx-x86_64.zip",
27
+ "name": "protoc-26.1-osx-x86_64.zip",
28
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-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-26.0-win64.zip",
36
- "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.0/protoc-26.0-win64.zip",
35
+ "name": "protoc-26.1-win64.zip",
36
+ "browser_download_url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-win64.zip",
37
37
  "platform": "win32",
38
38
  "arch": "x64",
39
39
  "dotExe": true,
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,30 @@
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
+ extend google.protobuf.FeatureSet {
15
+ optional CppFeatures cpp = 1000;
16
+ }
17
+
18
+ message CppFeatures {
19
+ // Whether or not to treat an enum field as closed. This option is only
20
+ // applicable to enum fields, and will be removed in the future. It is
21
+ // consistent with the legacy behavior of using proto3 enum types for proto2
22
+ // fields.
23
+ optional bool legacy_closed_enum = 1 [
24
+ retention = RETENTION_RUNTIME,
25
+ targets = TARGET_TYPE_FIELD,
26
+ targets = TARGET_TYPE_FILE,
27
+ edition_defaults = { edition: EDITION_PROTO2, value: "true" },
28
+ edition_defaults = { edition: EDITION_PROTO3, value: "false" }
29
+ ];
30
+ }
@@ -0,0 +1,52 @@
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 java_package = "com.google.protobuf";
15
+ option java_outer_classname = "JavaFeaturesProto";
16
+
17
+ extend google.protobuf.FeatureSet {
18
+ optional JavaFeatures java = 1001;
19
+ }
20
+
21
+ message JavaFeatures {
22
+ // Whether or not to treat an enum field as closed. This option is only
23
+ // applicable to enum fields, and will be removed in the future. It is
24
+ // consistent with the legacy behavior of using proto3 enum types for proto2
25
+ // fields.
26
+ optional bool legacy_closed_enum = 1 [
27
+ retention = RETENTION_RUNTIME,
28
+ targets = TARGET_TYPE_FIELD,
29
+ targets = TARGET_TYPE_FILE,
30
+ edition_defaults = { edition: EDITION_PROTO2, value: "true" },
31
+ edition_defaults = { edition: EDITION_PROTO3, value: "false" }
32
+ ];
33
+
34
+ // The UTF8 validation strategy to use. See go/editions-utf8-validation for
35
+ // more information on this feature.
36
+ enum Utf8Validation {
37
+ // Invalid default, which should never be used.
38
+ UTF8_VALIDATION_UNKNOWN = 0;
39
+ // Respect the UTF8 validation behavior specified by the global
40
+ // utf8_validation feature.
41
+ DEFAULT = 1;
42
+ // Verifies UTF8 validity overriding the global utf8_validation
43
+ // feature. This represents the legacy java_string_check_utf8 option.
44
+ VERIFY = 2;
45
+ }
46
+ optional Utf8Validation utf8_validation = 2 [
47
+ retention = RETENTION_RUNTIME,
48
+ targets = TARGET_TYPE_FIELD,
49
+ targets = TARGET_TYPE_FILE,
50
+ edition_defaults = { edition: EDITION_PROTO2, value: "DEFAULT" }
51
+ ];
52
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "protoc",
3
- "version": "26.0.0",
4
- "upstreamVersion": "v26.0",
3
+ "version": "26.1.0",
4
+ "upstreamVersion": "v26.1",
5
5
  "description": "Installs the protocol buffer compiler \"protoc\" for you.",
6
6
  "bin": {
7
7
  "protoc": "protoc.cjs"