Changes announced April 28, 2023
Changes announced for Protocol Buffers on April 28, 2023.
Stricter validation for json_name
v24 will forbid embedded null characters in the
json_name
field option.
Going forward, any valid Unicode characters will be accepted, except
\u0000
. Null will still be allowed in field values.
Previously, the proto compiler allowed null characters, but support for this was
inconsistent across languages and implementations. To fix this, we are
clarifying the spec to say that null is not allowed in json_name
, and will be
rejected by the compiler.