Skip to main content

JSON Schema changes graded by open and closed content models

Comparing two versions of a JSON Schema catalog item now takes the schema's content model into account. Before, a property added to a closed schema (additionalProperties: false) was graded Safe, though old readers reject data that carries it. Now it is Dangerous: it breaks the FORWARD mode. The same addition to an open schema is Breaking, because old data may already carry that name with another value.

Protobuf changes graded by Buf's breaking-change categories

Comparing two versions of a Protobuf or gRPC catalog item now grades each change under one of Buf's four breaking-change categories: WIRE, WIRE_JSON, PACKAGE or FILE. The default is WIRE_JSON, as before. Each explanation now starts with the category, such as [WIRE_JSON], and says how the change grades under the other three. So you can see that renaming a field is safe on the wire but breaks JSON clients.