Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to google protobuf v26.0 #747

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions packages/protobuf-conformance/failing_tests_without_bigint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
# That means number values in JSON will be unsafe as well. If you plan to use
# protobuf-es on runtimes without BigInt support, make sure that the JSON data
# you consume does contains 64-bit values as strings instead of numbers.
# ERROR, test=Required.Proto3.JsonInput.Int64FieldMaxValueNotQuoted.ProtobufOutput: Failed to parse input or produce output. request=json_payload: "{\"optionalInt64\": 9223372036854774784}" requested_output_format: PROTOBUF message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=parse_error: "Error: cannot decode field protobuf_test_messages.proto3.TestAllTypesProto3.optional_int64 from JSON: 9223372036854775000: not a safe integer: 9223372036854775000"
# ERROR, test=Required.Proto3.JsonInput.Int64FieldMaxValueNotQuoted.JsonOutput: Failed to parse input or produce output. request=json_payload: "{\"optionalInt64\": 9223372036854774784}" requested_output_format: JSON message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=parse_error: "Error: cannot decode field protobuf_test_messages.proto3.TestAllTypesProto3.optional_int64 from JSON: 9223372036854775000: not a safe integer: 9223372036854775000"
# ERROR, test=Required.Proto3.JsonInput.Int64FieldMinValueNotQuoted.ProtobufOutput: Failed to parse input or produce output. request=json_payload: "{\"optionalInt64\": -9223372036854775808}" requested_output_format: PROTOBUF message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=parse_error: "Error: cannot decode field protobuf_test_messages.proto3.TestAllTypesProto3.optional_int64 from JSON: -9223372036854776000: not a safe integer: -9223372036854776000"
# ERROR, test=Required.Proto3.JsonInput.Int64FieldMinValueNotQuoted.JsonOutput: Failed to parse input or produce output. request=json_payload: "{\"optionalInt64\": -9223372036854775808}" requested_output_format: JSON message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=parse_error: "Error: cannot decode field protobuf_test_messages.proto3.TestAllTypesProto3.optional_int64 from JSON: -9223372036854776000: not a safe integer: -9223372036854776000"
# ERROR, test=Required.Proto3.JsonInput.Uint64FieldMaxValueNotQuoted.ProtobufOutput: Failed to parse input or produce output. request=json_payload: "{\"optionalUint64\": 18446744073709549568}" requested_output_format: PROTOBUF message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=parse_error: "Error: cannot decode field protobuf_test_messages.proto3.TestAllTypesProto3.optional_uint64 from JSON: 18446744073709550000: not a safe integer: 18446744073709550000"
# ERROR, test=Required.Proto3.JsonInput.Uint64FieldMaxValueNotQuoted.JsonOutput: Failed to parse input or produce output. request=json_payload: "{\"optionalUint64\": 18446744073709549568}" requested_output_format: JSON message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=parse_error: "Error: cannot decode field protobuf_test_messages.proto3.TestAllTypesProto3.optional_uint64 from JSON: 18446744073709550000: not a safe integer: 18446744073709550000"
Required.Proto3.JsonInput.Int64FieldMaxValueNotQuoted.ProtobufOutput
Required.Proto3.JsonInput.Int64FieldMaxValueNotQuoted.JsonOutput
Required.Proto3.JsonInput.Int64FieldMinValueNotQuoted.ProtobufOutput
Required.Proto3.JsonInput.Int64FieldMinValueNotQuoted.JsonOutput
Required.Proto3.JsonInput.Uint64FieldMaxValueNotQuoted.ProtobufOutput
Required.Proto3.JsonInput.Uint64FieldMaxValueNotQuoted.JsonOutput
Required.Proto2.JsonInput.Int64FieldMaxValueNotQuoted.JsonOutput
Required.Proto2.JsonInput.Int64FieldMaxValueNotQuoted.ProtobufOutput
Required.Proto2.JsonInput.Int64FieldMinValueNotQuoted.JsonOutput
Required.Proto2.JsonInput.Int64FieldMinValueNotQuoted.ProtobufOutput
Required.Proto2.JsonInput.Uint64FieldMaxValueNotQuoted.JsonOutput
Required.Proto2.JsonInput.Uint64FieldMaxValueNotQuoted.ProtobufOutput

# Without BigInt support, our implementation does not validate that 64-bit
# values are within bounds.
# ERROR, test=Required.Proto3.JsonInput.Int64FieldTooLarge: Should have failed to parse, but didn't. request=json_payload: "{\"optionalInt64\": \"9223372036854775808\"}" requested_output_format: JSON message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=json_payload: "{\"optionalInt64\":\"9223372036854775808\"}"
# ERROR, test=Required.Proto3.JsonInput.Int64FieldTooSmall: Should have failed to parse, but didn't. request=json_payload: "{\"optionalInt64\": \"-9223372036854775809\"}" requested_output_format: JSON message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=json_payload: "{\"optionalInt64\":\"-9223372036854775809\"}"
# ERROR, test=Required.Proto3.JsonInput.Uint64FieldTooLarge: Should have failed to parse, but didn't. request=json_payload: "{\"optionalUint64\": \"18446744073709551616\"}" requested_output_format: JSON message_type: "protobuf_test_messages.proto3.TestAllTypesProto3" test_category: JSON_TEST, response=json_payload: "{\"optionalUint64\":\"18446744073709551616\"}"
Required.Proto3.JsonInput.Int64FieldTooLarge
Required.Proto3.JsonInput.Int64FieldTooSmall
Required.Proto3.JsonInput.Uint64FieldTooLarge
Required.Proto2.JsonInput.Int64FieldTooLarge
Required.Proto2.JsonInput.Int64FieldTooSmall
Required.Proto2.JsonInput.Uint64FieldTooLarge

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading