Repository navigation
Found new managed modules references - #1350
Conversation
| }, | ||
| { | ||
| "name": "v1.3.0", | ||
| "digest": "b860d079d52f6b1d70f55ee40d0202b17e3431177495306b22b2e8a38e6afff8c54bb77e1699c79c5c3a7bab4f1d2cf059157f4ffa1bbf2918686fb58799deb3" |
There was a problem hiding this comment.
[Posted at 2026-12-04T20:34:27Z]
Intermediate transition
$ casdiff v1.2.2 \
v1.3.0 \
--format=markdown10 files changed: 0 removed, 0 renamed, 0 added, 10 changed content.
10 files changed: 0 removed, 0 renamed, 0 added, 10 changed content.
Files changed content:
buf/validate/conformance/cases/bytes.proto:
--- shake256:021ad16ef72d5244906bf3b69de9a4eed623a50661406eee9c847f5f2d4fbcacba91c3895d8d84e4836776a9fd93b250cad5d9c908dcce5e1e29bf91d56cc21f buf/validate/conformance/cases/bytes.proto
+++ shake256:ce44877ceb8057791ebf28949e587ca83c4b9580138791093be744c8f7d194a26dd2a053a1b08758fd1ad454c8b46b871b3c2ce151810b8b15966f9a8b72fccd buf/validate/conformance/cases/bytes.proto
@@ -64,6 +64,9 @@
message BytesPattern {
bytes val = 1 [(buf.validate.field).bytes.pattern = "^[\\x00-\\x7F]+$"];
}
+message BytesPatternUnanchored {
+ bytes val = 1 [(buf.validate.field).bytes.pattern = "\\S"];
+}
message BytesPrefix {
bytes val = 1 [(buf.validate.field).bytes.prefix = "\x99"];
}
buf/validate/conformance/cases/enums.proto:
--- shake256:944ae982aaa0e17b808d8eabd7041048aaf0a0bdb7b6286adbd021641285e3ac262378e45c720539c6f7ab7dbd8a6d41ddb750416344f9797f000e001dc7c3a1 buf/validate/conformance/cases/enums.proto
+++ shake256:e8db08f636106e6716c3a89bfa18a47dec10b47bd93801105861aec280e8deb21205a1f0bb28d9f58c76fbd9517ec9a9f206b0e6216eb019938d23432bfcbdba buf/validate/conformance/cases/enums.proto
@@ -75,10 +75,14 @@
}
message EnumNotIn {
- TestEnum val = 1 [(buf.validate.field).enum = {not_in: [1]}];
+ TestEnum val = 1 [(buf.validate.field).enum = {
+ not_in: [1]
+ }];
}
message EnumAliasNotIn {
- TestEnumAlias val = 1 [(buf.validate.field).enum = {not_in: [1]}];
+ TestEnumAlias val = 1 [(buf.validate.field).enum = {
+ not_in: [1]
+ }];
}
message EnumExternal {
buf/validate/conformance/cases/kitchen_sink.proto:
--- shake256:c26a277c8714ba94956e3071f5a15a491aadffdb13c0a6b4a2c010a9c0d67409e284d2fa8bae1d3ae7ae69b2feb8f451fdbff265509ae91d537e3745668dda35 buf/validate/conformance/cases/kitchen_sink.proto
+++ shake256:e790f9ea5503a6955f45c45dcb8a5700d35846e36600b08c0471d66f6062b4f2c3479220c0b7be814c6888bfff0f3dcc051c09a84545aa39ca566d79f7e8de40 buf/validate/conformance/cases/kitchen_sink.proto
@@ -48,8 +48,16 @@
]
}];
ComplexTestEnum enum_const = 11 [(buf.validate.field).enum.const = 2];
- google.protobuf.Any any_val = 12 [(buf.validate.field).any = {in: ["type.googleapis.com/google.protobuf.Duration"]}];
- repeated google.protobuf.Timestamp rep_ts_val = 13 [(buf.validate.field).repeated = {items: {timestamp: {gte: {nanos: 1000000}}}}];
+ google.protobuf.Any any_val = 12 [(buf.validate.field).any = {
+ in: ["type.googleapis.com/google.protobuf.Duration"]
+ }];
+ repeated google.protobuf.Timestamp rep_ts_val = 13 [(buf.validate.field).repeated = {
+ items: {
+ timestamp: {
+ gte: {nanos: 1000000}
+ }
+ }
+ }];
map<sint32, string> map_val = 14 [(buf.validate.field).map.keys.sint32.lt = 0];
bytes bytes_val = 15 [(buf.validate.field).bytes.const = "\x00\x99"];
oneof o {
buf/validate/conformance/cases/messages.proto:
--- shake256:69f27e3b39d0178cbff9d9a199c2e34633b3322002266d981fc20d227ea6aa7faff863532477a749b84444e8f78b15117e83f9b2b784b4a9bb31ddb09b2dc2a0 buf/validate/conformance/cases/messages.proto
+++ shake256:7969e46bcc89b0c6ed3f99d5c66e107521a24b0ad7716949d44b4bd64e1efab0a01955b7a3061b82eccaad514b18a4c48d94daf0d8273fa5505e19b85829f198 buf/validate/conformance/cases/messages.proto
@@ -55,7 +55,9 @@
message MessageWith3dInside {}
message MessageOneofSingleField {
- option (buf.validate.message).oneof = {fields: ["str_field"]};
+ option (buf.validate.message).oneof = {
+ fields: ["str_field"]
+ };
string str_field = 1;
bool bool_field = 2;
}
@@ -113,7 +115,9 @@
}
message MessageOneofUnknownFieldName {
- option (buf.validate.message).oneof = {fields: ["xxx"]};
+ option (buf.validate.message).oneof = {
+ fields: ["xxx"]
+ };
string str_field = 1;
}
@@ -130,7 +134,9 @@
}
message MessageOneofZeroFields {
- option (buf.validate.message).oneof = {fields: []};
+ option (buf.validate.message).oneof = {
+ fields: []
+ };
string str_field = 1;
bool bool_field = 2;
}
buf/validate/conformance/cases/numbers.proto:
--- shake256:be36cf1856081ac6ce5b5c30daa81ad250743b16b27ca2a94664cff032ad91fbd30e6a42d560b92a7df1e749c3794b086da455af98a167ab4298dcb1c78fae73 buf/validate/conformance/cases/numbers.proto
+++ shake256:5e75dc4322af2cf380488f172a051882a426d197a849163c32c16479ed5ca88e4e83b2bad4dea9167e32ebab6e91f77fef0fa1b23dc3ca92ec28533a0f8ec10d buf/validate/conformance/cases/numbers.proto
@@ -33,7 +33,9 @@
}];
}
message FloatNotIn {
- float val = 1 [(buf.validate.field).float = {not_in: [0]}];
+ float val = 1 [(buf.validate.field).float = {
+ not_in: [0]
+ }];
}
message FloatLT {
float val = 1 [(buf.validate.field).float.lt = 0];
@@ -110,7 +112,9 @@
}];
}
message DoubleNotIn {
- double val = 1 [(buf.validate.field).double = {not_in: [0]}];
+ double val = 1 [(buf.validate.field).double = {
+ not_in: [0]
+ }];
}
message DoubleLT {
double val = 1 [(buf.validate.field).double.lt = 0];
@@ -187,7 +191,9 @@
}];
}
message Int32NotIn {
- int32 val = 1 [(buf.validate.field).int32 = {not_in: [0]}];
+ int32 val = 1 [(buf.validate.field).int32 = {
+ not_in: [0]
+ }];
}
message Int32LT {
int32 val = 1 [(buf.validate.field).int32.lt = 0];
@@ -258,7 +264,9 @@
}];
}
message Int64NotIn {
- int64 val = 1 [(buf.validate.field).int64 = {not_in: [0]}];
+ int64 val = 1 [(buf.validate.field).int64 = {
+ not_in: [0]
+ }];
}
message Int64LT {
int64 val = 1 [(buf.validate.field).int64.lt = 0];
@@ -354,7 +362,9 @@
}];
}
message UInt32NotIn {
- uint32 val = 1 [(buf.validate.field).uint32 = {not_in: [0]}];
+ uint32 val = 1 [(buf.validate.field).uint32 = {
+ not_in: [0]
+ }];
}
message UInt32LT {
uint32 val = 1 [(buf.validate.field).uint32.lt = 5];
@@ -425,7 +435,9 @@
}];
}
message UInt64NotIn {
- uint64 val = 1 [(buf.validate.field).uint64 = {not_in: [0]}];
+ uint64 val = 1 [(buf.validate.field).uint64 = {
+ not_in: [0]
+ }];
}
message UInt64LT {
uint64 val = 1 [(buf.validate.field).uint64.lt = 5];
@@ -496,7 +508,9 @@
}];
}
message SInt32NotIn {
- sint32 val = 1 [(buf.validate.field).sint32 = {not_in: [0]}];
+ sint32 val = 1 [(buf.validate.field).sint32 = {
+ not_in: [0]
+ }];
}
message SInt32LT {
sint32 val = 1 [(buf.validate.field).sint32.lt = 0];
@@ -567,7 +581,9 @@
}];
}
message SInt64NotIn {
- sint64 val = 1 [(buf.validate.field).sint64 = {not_in: [0]}];
+ sint64 val = 1 [(buf.validate.field).sint64 = {
+ not_in: [0]
+ }];
}
message SInt64LT {
sint64 val = 1 [(buf.validate.field).sint64.lt = 0];
@@ -637,7 +653,9 @@
}];
}
message Fixed32NotIn {
- fixed32 val = 1 [(buf.validate.field).fixed32 = {not_in: [0]}];
+ fixed32 val = 1 [(buf.validate.field).fixed32 = {
+ not_in: [0]
+ }];
}
message Fixed32LT {
fixed32 val = 1 [(buf.validate.field).fixed32.lt = 5];
@@ -708,7 +726,9 @@
}];
}
message Fixed64NotIn {
- fixed64 val = 1 [(buf.validate.field).fixed64 = {not_in: [0]}];
+ fixed64 val = 1 [(buf.validate.field).fixed64 = {
+ not_in: [0]
+ }];
}
message Fixed64LT {
fixed64 val = 1 [(buf.validate.field).fixed64.lt = 5];
@@ -779,7 +799,9 @@
}];
}
message SFixed32NotIn {
- sfixed32 val = 1 [(buf.validate.field).sfixed32 = {not_in: [0]}];
+ sfixed32 val = 1 [(buf.validate.field).sfixed32 = {
+ not_in: [0]
+ }];
}
message SFixed32LT {
sfixed32 val = 1 [(buf.validate.field).sfixed32.lt = 0];
@@ -850,7 +872,9 @@
}];
}
message SFixed64NotIn {
- sfixed64 val = 1 [(buf.validate.field).sfixed64 = {not_in: [0]}];
+ sfixed64 val = 1 [(buf.validate.field).sfixed64 = {
+ not_in: [0]
+ }];
}
message SFixed64LT {
sfixed64 val = 1 [(buf.validate.field).sfixed64.lt = 0];
buf/validate/conformance/cases/repeated.proto:
--- shake256:92b5edbc4064a3c6d1abb204321fd7831d7f2d1e0000c7aa787210af04a803f0d986464bee60d35a821f1162590f4bc48e2a33a60a7e0ad8dc74c996d2acfdb1 buf/validate/conformance/cases/repeated.proto
+++ shake256:ca0148e4a87f4b3e50df8a2786c81af6cfd50b3634aeb5e09dadeca86e30604ff851e392476d65f8fbaff0c6ccdddf4e25c7d5b5cf3bb9987912feb051ac9c5b buf/validate/conformance/cases/repeated.proto
@@ -93,13 +93,19 @@
}];
}
message RepeatedEnumIn {
- repeated AnEnum val = 1 [(buf.validate.field).repeated.items.enum = {in: [0]}];
+ repeated AnEnum val = 1 [(buf.validate.field).repeated.items.enum = {
+ in: [0]
+ }];
}
message RepeatedEnumNotIn {
- repeated AnEnum val = 1 [(buf.validate.field).repeated.items.enum = {not_in: [0]}];
+ repeated AnEnum val = 1 [(buf.validate.field).repeated.items.enum = {
+ not_in: [0]
+ }];
}
message RepeatedEmbeddedEnumIn {
- repeated AnotherInEnum val = 1 [(buf.validate.field).repeated.items.enum = {in: [0]}];
+ repeated AnotherInEnum val = 1 [(buf.validate.field).repeated.items.enum = {
+ in: [0]
+ }];
enum AnotherInEnum {
ANOTHER_IN_ENUM_UNSPECIFIED = 0;
ANOTHER_IN_ENUM_A = 1;
@@ -107,7 +113,9 @@
}
}
message RepeatedEmbeddedEnumNotIn {
- repeated AnotherNotInEnum val = 1 [(buf.validate.field).repeated.items.enum = {not_in: [0]}];
+ repeated AnotherNotInEnum val = 1 [(buf.validate.field).repeated.items.enum = {
+ not_in: [0]
+ }];
enum AnotherNotInEnum {
ANOTHER_NOT_IN_ENUM_UNSPECIFIED = 0;
ANOTHER_NOT_IN_ENUM_A = 1;
@@ -115,14 +123,20 @@
}
}
message RepeatedAnyIn {
- repeated google.protobuf.Any val = 1 [(buf.validate.field).repeated.items.any = {in: ["type.googleapis.com/google.protobuf.Duration"]}];
+ repeated google.protobuf.Any val = 1 [(buf.validate.field).repeated.items.any = {
+ in: ["type.googleapis.com/google.protobuf.Duration"]
+ }];
}
message RepeatedAnyNotIn {
- repeated google.protobuf.Any val = 1 [(buf.validate.field).repeated.items.any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ repeated google.protobuf.Any val = 1 [(buf.validate.field).repeated.items.any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
message RepeatedMinAndItemLen {
repeated string val = 1 [(buf.validate.field).repeated = {
- items: {string: {len: 3}}
+ items: {
+ string: {len: 3}
+ }
min_items: 1
}];
}
@@ -133,7 +147,13 @@
];
}
message RepeatedDuration {
- repeated google.protobuf.Duration val = 1 [(buf.validate.field).repeated = {items: {duration: {gte: {nanos: 1000000}}}}];
+ repeated google.protobuf.Duration val = 1 [(buf.validate.field).repeated = {
+ items: {
+ duration: {
+ gte: {nanos: 1000000}
+ }
+ }
+ }];
}
message RepeatedExactIgnore {
repeated uint32 val = 1 [
buf/validate/conformance/cases/strings.proto:
--- shake256:09ccfebbc1aeb798c31b5e008ee1a27065542d91e1dcca727a3292b69652f2759f79cc05a039ee1fea2c9dcbba22978845f4a64dbd508b521caec62a66f96148 buf/validate/conformance/cases/strings.proto
+++ shake256:51cb36f49d26d8d19dc7c47e113a746bc7b4857e81117dd3c8cc849957bef8c78dc0fbcabb2b7e209b7a27dde967beaf221648f93539e23292e5b362c4bbfcc0 buf/validate/conformance/cases/strings.proto
@@ -88,6 +88,9 @@
message StringPatternEscapes {
string val = 1 [(buf.validate.field).string.pattern = "\\* \\\\ \\w"];
}
+message StringPatternUnanchored {
+ string val = 1 [(buf.validate.field).string.pattern = "\\S"];
+}
message StringPrefix {
string val = 1 [(buf.validate.field).string.prefix = "foo"];
}
buf/validate/conformance/cases/wkt_any.proto:
--- shake256:a6b3ceca0b094a92840340de09f1041bc6698a683f73327ce6dc093c6aa66a2d2cf3fd93966b8f8473a4287ab89628a23f29c74e9c402ce736e1312674ab2bc2 buf/validate/conformance/cases/wkt_any.proto
+++ shake256:d194a33bd8dc13bd7b56db8c4793c548cc2d3deebf1a49c98213b9f424e4454c1df5d8d6301a3a3884dad881a642eafb739e16b499fec99649ca0dc46e9c5408 buf/validate/conformance/cases/wkt_any.proto
@@ -28,26 +28,38 @@
google.protobuf.Any val = 1 [(buf.validate.field).required = true];
}
message AnyIn {
- google.protobuf.Any val = 1 [(buf.validate.field).any = {in: ["type.googleapis.com/google.protobuf.Duration"]}];
+ google.protobuf.Any val = 1 [(buf.validate.field).any = {
+ in: ["type.googleapis.com/google.protobuf.Duration"]
+ }];
}
message AnyNotIn {
- google.protobuf.Any val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ google.protobuf.Any val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
// The below messages should throw compilation errors due to incorrect types.
message AnyWrongTypeScalar {
- string val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ string val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
message AnyWrongTypeMessage {
message WrongType {
int32 val = 1;
}
- WrongType val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ WrongType val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
message AnyWrongTypeWrapper {
- google.protobuf.Int32Value val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ google.protobuf.Int32Value val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
message AnyWrongTypeWKT {
- google.protobuf.Timestamp val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ google.protobuf.Timestamp val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
buf/validate/conformance/cases/wkt_duration.proto:
--- shake256:a965c100b64084fc17084f1a112b0a00bc8e1ae292df0b912ee6066e387288b0e059d087109304897e86877edc87589bbc03b90462a9c932096e25f6a5722da7 buf/validate/conformance/cases/wkt_duration.proto
+++ shake256:40345acf588b9309d0145f4656a43625fabbe3dcdf5c5d690a001cbc4cf3aff6eabb654c76059000db1c7c2720350537aa4b41a91d586e5b30adb9f80de74d66 buf/validate/conformance/cases/wkt_duration.proto
@@ -42,7 +42,11 @@
}];
}
message DurationNotIn {
- google.protobuf.Duration val = 1 [(buf.validate.field).duration = {not_in: [{}]}];
+ google.protobuf.Duration val = 1 [(buf.validate.field).duration = {
+ not_in: [
+ {}
+ ]
+ }];
}
message DurationLT {
buf/validate/conformance/cases/wkt_field_mask.proto:
--- shake256:c6050fb682ab57054fc288f774df5e44ef4033d8ae062a6a4817584fa7ffb05024f680374e8641400ddb43b815735051cc80b9b9da1b01f5a3970affe7716a78 buf/validate/conformance/cases/wkt_field_mask.proto
+++ shake256:e5726d498e20865b97300411c0ce44a02fca0f6879ed59606e0e83aed0679e23ddf6e1da724fdb9e613b5c9782b7a3791ed127eddbdf60b1268b48cb56b33385 buf/validate/conformance/cases/wkt_field_mask.proto
@@ -27,7 +27,9 @@
}
message FieldMaskConst {
- google.protobuf.FieldMask val = 1 [(buf.validate.field).field_mask.const = {paths: ["a"]}];
+ google.protobuf.FieldMask val = 1 [(buf.validate.field).field_mask.const = {
+ paths: ["a"]
+ }];
}
message FieldMaskIn {
@@ -48,5 +50,7 @@
}
message FieldMaskExample {
- google.protobuf.FieldMask val = 1 [(buf.validate.field).field_mask.example = {paths: ["a"]}];
+ google.protobuf.FieldMask val = 1 [(buf.validate.field).field_mask.example = {
+ paths: ["a"]
+ }];
}
| }, | ||
| { | ||
| "name": "v1.3.0", | ||
| "digest": "bea80538e595fde996133620d01200f6262dde603dcafe8e6d96b9840c4e06eb3924bc94fb0ca7016b1b447d034121ee118e7e363950234908841cb6ab194e0f" |
There was a problem hiding this comment.
[Posted at 2026-12-04T20:34:28Z]
Intermediate transition
$ casdiff v1.2.2 \
v1.3.0 \
--format=markdown2 files changed: 0 removed, 0 renamed, 0 added, 2 changed content.
2 files changed: 0 removed, 0 renamed, 0 added, 2 changed content.
Files changed content:
README.md:
--- shake256:26622ee52e0fe9e7daa0bd4cdc14bef2dc25f8bfacc79d077db09aebb218bb34d9911e4f525ef8571efba1db405d1d2855b2213e8aa42c6db1724ac9179d15e0 README.md
+++ shake256:a2fa052e0d4f27b3d0168f60f86767e0693b25503b3548e0b20c74a046b430c9948fedb5b3db6f2541c4cc607a02da8044082ee6e36cd2b2eae0b01e11af88e1 README.md
@@ -38,7 +38,7 @@
- [`protovalidate-go`][pv-go] (Go)
- [`protovalidate-java`][pv-java] (Java)
-- [`protovalidate-python`][pv-python] (Python)
+- [`protovalidate-py`][pv-python] (Python)
- [`protovalidate-cc`][pv-cc] (C++)
- [`protovalidate-es`][pv-es] (TypeScript and JavaScript)
@@ -68,7 +68,7 @@
[pv-go]: https://github.com/bufbuild/protovalidate-go
[pv-java]: https://github.com/bufbuild/protovalidate-java
-[pv-python]: https://github.com/bufbuild/protovalidate-python
+[pv-python]: https://github.com/bufbuild/protovalidate-py
[pv-cc]: https://github.com/bufbuild/protovalidate-cc
[pv-es]: https://github.com/bufbuild/protovalidate-es
buf/validate/validate.proto:
--- shake256:91efa679610294ab0122eca974ac6123d9c8b7eebdda25188d60c7a8018a832da48d02b0355a5393dd9a916c4607381280654dcb50481b474c13ed535e32259e buf/validate/validate.proto
+++ shake256:f9e977d2d1925bc8deb59c388fdaccd7b3d84d3fa03c492ee2a0dce328d8cd41a189ca8375b08f232dc09e28d9fd1239e6a615391725857fcc13934ec1b82bde buf/validate/validate.proto
@@ -40,7 +40,7 @@
// [Go](https://github.com/bufbuild/protovalidate-go),
// [JavaScript/TypeScript](https://github.com/bufbuild/protovalidate-es),
// [Java](https://github.com/bufbuild/protovalidate-java),
-// [Python](https://github.com/bufbuild/protovalidate-python),
+// [Python](https://github.com/bufbuild/protovalidate-py),
// or [C++](https://github.com/bufbuild/protovalidate-cc).
package buf.validate;
@@ -105,7 +105,7 @@
// `Rule` represents a validation rule written in the Common Expression
// Language (CEL) syntax. Each Rule includes a unique identifier, an
// optional error message, and the CEL expression to evaluate. For more
-// information, [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+// information, [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
// ```proto
// message Foo {
@@ -145,7 +145,7 @@
// simpler syntax when defining CEL Rules where `id` and `message` derived from the `expression`. `id` will
// be same as the `expression`.
//
- // For more information, [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+ // For more information, [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
// ```proto
// message MyMessage {
@@ -159,7 +159,7 @@
repeated string cel_expression = 5;
// `cel` is a repeated field of type Rule. Each Rule specifies a validation rule to be applied to this message.
// These rules are written in Common Expression Language (CEL) syntax. For more information,
- // [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+ // [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
//
// ```proto
@@ -256,7 +256,7 @@
// simpler syntax when defining CEL Rules where `id` and `message` derived from the `expression`. `id` will
// be same as the `expression`.
//
- // For more information, [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+ // For more information, [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
// ```proto
// message MyMessage {
@@ -267,7 +267,7 @@
repeated string cel_expression = 29;
// `cel` is a repeated field used to represent a textual expression
// in the Common Expression Language (CEL) syntax. For more information,
- // [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+ // [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
// ```proto
// message MyMessage {
@@ -390,7 +390,7 @@
message PredefinedRules {
// `cel` is a repeated field used to represent a textual expression
// in the Common Expression Language (CEL) syntax. For more information,
- // [see our documentation](https://buf.build/docs/protovalidate/schemas/predefined-rules/).
+ // [see our documentation](https://protovalidate.com/schemas/predefined-rules/).
//
// ```proto
// message MyMessage {
@@ -3476,9 +3476,13 @@
}
];
- // `uuid` specifies that the field value must be a valid UUID as defined by
- // [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2). If the
- // field value isn't a valid UUID, an error message will be generated.
+ // `uuid` specifies that the field value must have the textual shape of a
+ // UUID as defined by
+ // [RFC 9562](https://datatracker.ietf.org/doc/html/rfc9562#section-4): 32
+ // hexadecimal digits in five dash-separated groups. Only the shape is
+ // enforced, so that UUID versions defined in the future are not rejected:
+ // the version and variant fields are not checked. If the field value isn't
+ // shaped like a UUID, an error message will be generated.
//
// ```proto
// message MyString {
@@ -3499,10 +3503,13 @@
}
];
- // `tuuid` (trimmed UUID) specifies that the field value must be a valid UUID as
- // defined by [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2) with all dashes
- // omitted. If the field value isn't a valid UUID without dashes, an error message
- // will be generated.
+ // `tuuid` (trimmed UUID) specifies that the field value must have the
+ // textual shape of a UUID as defined by
+ // [RFC 9562](https://datatracker.ietf.org/doc/html/rfc9562#section-4) with all
+ // dashes omitted: 32 hexadecimal digits. Only the shape is enforced, so
+ // that UUID versions defined in the future are not rejected: the version
+ // and variant fields are not checked. If the field value isn't shaped like
+ // a UUID without dashes, an error message will be generated.
//
// ```proto
// message MyString {
@@ -3828,7 +3835,7 @@
message: "must be a valid HTTP header name"
expression:
"rules.well_known_regex != 1 || this == '' || this.matches(!has(rules.strict) || rules.strict ?"
- "'^:?[0-9a-zA-Z!#$%&\\'*+-.^_|~\\x60]+$' :"
+ "'^:?[0-9a-zA-Z!#$%&\\'*+.^_|~\\x60-]+$' :"
"'^[^\\u0000\\u000A\\u000D]+$')"
},
(predefined).cel = {
@@ -4117,10 +4124,12 @@
}
];
- // `uuid` ensures that the field value encodes 128-bit UUID data as defined
- // by [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2).
- // The field must contain exactly 16 bytes representing the UUID. If the
- // field value isn't a valid UUID, an error message will be generated.
+ // `uuid` ensures that the field `value` is exactly 16 bytes long,
+ // the size of a UUID in binary form as defined by
+ // [RFC 9562](https://datatracker.ietf.org/doc/html/rfc9562#section-4).
+ // Only the length is enforced: the version and variant fields
+ // are not checked, and any 16 bytes are accepted.
+ // If the field value doesn't meet this rule, an error message is generated.
//
// ```proto
// message MyBytes {
| }, | ||
| { | ||
| "name": "v1.12.0", | ||
| "digest": "51d93a6ccdf68c814971e0e08300f08946630f0f36c435ac8f943f63c726ca5b0b03ed37b50201c320f3ae62ec4fce93998b6ef57c483ea14064d4195f8e050e" |
There was a problem hiding this comment.
[Posted at 2026-12-04T20:34:29Z]
Intermediate transition
$ casdiff v1.11.1 \
v1.12.0 \
--format=markdown3 files changed: 0 removed, 0 renamed, 0 added, 3 changed content.
3 files changed: 0 removed, 0 renamed, 0 added, 3 changed content.
Files changed content:
opentelemetry/proto/common/v1/common.proto:
--- shake256:8924404671f92edea390a2958ef52f377ef5a4d784d28927e77de9b2257a1d3d02ddba228e7087654b3c61eaa8e675db327f6b38a01f0154057f66bbdb7a67fc opentelemetry/proto/common/v1/common.proto
+++ shake256:db7cb0a6a20d3c392b6c0a94b2878765a2f4cfa564f52477a3bfdf83a8a3494bf93ef55d25ed1f509bbb0fef2f2704a55095d973cfab79640ae6e02b04ed67f1 opentelemetry/proto/common/v1/common.proto
@@ -78,14 +78,14 @@
// attributes, etc.
message KeyValue {
// The key name of the pair.
- // key_strindex MUST NOT be set if key is used.
+ // key_strindex MUST be zero if key is non-empty.
string key = 1;
// The value of the pair.
AnyValue value = 2;
// Reference to the string key in ProfilesDictionary.string_table.
- // key MUST NOT be set if key_strindex is used.
+ // key MUST be empty if key_strindex is non-zero.
//
// Note: This is currently used exclusively in the Profiling signal.
// Implementers of OTLP receivers for signals other than Profiling should
@@ -157,4 +157,4 @@
// These attribute keys are not part of entity's identity.
// These keys MUST exist in the containing {message}.attributes.
repeated string description_keys = 4;
-}
\ No newline at end of file
+}
opentelemetry/proto/profiles/v1development/profiles.proto:
--- shake256:95bd405e6552569fd04bbc810e1affa01cb46d251e836d1a113b4e04b5ff65668767f002c6df3539a3aead2fb2d5bf4f74e5bec3296d54e4a6d3f27dccbdcaad opentelemetry/proto/profiles/v1development/profiles.proto
+++ shake256:786222d59aaedb315e4fa222ba2c361fbe64b6e76cb8bdb4ca1781fdb34a0fa48142bdb7b42b5562d686bd8524993c4bf757a2c6aa3ae0b6d5ac9d175cd3375c opentelemetry/proto/profiles/v1development/profiles.proto
@@ -41,6 +41,11 @@
option java_outer_classname = "ProfilesProto";
option go_package = "go.opentelemetry.io/proto/otlp/profiles/v1development";
+// Current OTLP Profiles development version: 1.
+//
+// Increment this value by one for each incompatible Profiles schema change.
+// See docs/specification.md#profiles-development-version.
+
// Relationships Diagram
//
// ┌──────────────────┐ LEGEND
@@ -222,7 +227,7 @@
// Other resource groupings are possible as well and clarified via
// Resource.attributes and semantic conventions.
// Tools that visualize profiles SHOULD prefer displaying
- // resources_profiles[0].scope_profiles[0].profiles[0] by default.
+ // resource_profiles[0].scope_profiles[0].profiles[0] by default.
//
// [Since v1.4.0]
repeated ResourceProfiles resource_profiles = 1;
@@ -315,7 +320,7 @@
// unique Location with that index.
//
// - There is an optional N->1 relationship from locations to
-// mappings. For every nonzero Location.mapping_id there MUST be a
+// mappings. For every nonzero Location.mapping_index there MUST be a
// unique Mapping with that index.
// Represents a complete profile, including sample types, samples, mappings to
@@ -343,7 +348,7 @@
// The following fields 3-12 are informational, do not affect
// interpretation of results.
- // Time of collection (UTC) as nanoseconds since the UNIX epoch.
+ // Start time of the profile, in nanoseconds since the UNIX epoch (UTC).
//
// [Since v1.4.0]
fixed64 time_unix_nano = 3;
@@ -553,8 +558,8 @@
// A Stack represents a stack trace as a list of locations (leaf first).
// For example, the stack trace resulting from the call stack
// main -> foo -> bar would be encoded into the location_indices list
-// [2, 1, 0] which references the locations in location_table as:
-// [Location{"main"}, Location{"foo"}, Location{"bar"}].
+// [3, 2, 1] which references the locations in location_table as:
+// [Location{}, Location{"main"}, Location{"foo"}, Location{"bar"}].
//
// Status: [Alpha]
//
opentelemetry/proto/trace/v1/trace.proto:
--- shake256:7cd38a24a648fd280771c2b764b89f9128f2b73a46fc82cac267e49ad420b64782aed458d65701a410ffeacd42d0e762ae257b19e1c4cf9b2cfc437cb946ecfc opentelemetry/proto/trace/v1/trace.proto
+++ shake256:b5d046116673cc103dfd6da93cd007eb5eef30c35e9c30d7efea8b632eb75a99f4e09e9c61f7cbae61c0b997455b7e34c5b8936f99c475c3bfffa35bc592c0e4 opentelemetry/proto/trace/v1/trace.proto
@@ -85,7 +85,7 @@
// A Span represents a single operation performed by a single component of the system.
//
-// The next available field id is 17.
+// The next available field id is 18.
message Span {
// A unique identifier for a trace. All spans from the same trace share
// the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
@@ -305,6 +305,19 @@
// An optional final status for this span. Semantically when Status isn't set, it means
// span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
Status status = 15;
+
+ // type identifies the semantic convention definition this span follows,
+ // for example "http.client.request" or "gen_ai.client.inference".
+ // Unlike name, type is low-cardinality and stable across instances.
+ // An empty value means the span does not follow a known definition or
+ // the instrumentation does not yet populate it.
+ //
+ // [Optional].
+ //
+ // Status: [Development]
+ //
+ // [Since v1.12.0]
+ string type = 17;
}
// The Status type defines a logical error model that is suitable for different
@@ -359,7 +372,7 @@
// Bit 8 (`HAS_IS_REMOTE`) indicates whether the value is known.
// Bit 9 (`IS_REMOTE`) indicates whether the span or link is remote.
//
- // [Since v1.2.0]
+ // [Since v1.2.0]
SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 0x00000100;
// [Since v1.2.0]
SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 0x00000200;
| { | ||
| "module_name": "bufbuild/protovalidate", | ||
| "latest_reference": "v1.2.2" | ||
| "latest_reference": "v1.3.0" |
There was a problem hiding this comment.
[Posted at 2026-12-04T20:34:30Z]
Overall transition
$ casdiff v1.2.2 \
v1.3.0 \
--format=markdown2 files changed: 0 removed, 0 renamed, 0 added, 2 changed content.
Files changed content:
README.md:
--- shake256:26622ee52e0fe9e7daa0bd4cdc14bef2dc25f8bfacc79d077db09aebb218bb34d9911e4f525ef8571efba1db405d1d2855b2213e8aa42c6db1724ac9179d15e0 README.md
+++ shake256:a2fa052e0d4f27b3d0168f60f86767e0693b25503b3548e0b20c74a046b430c9948fedb5b3db6f2541c4cc607a02da8044082ee6e36cd2b2eae0b01e11af88e1 README.md
@@ -38,7 +38,7 @@
- [`protovalidate-go`][pv-go] (Go)
- [`protovalidate-java`][pv-java] (Java)
-- [`protovalidate-python`][pv-python] (Python)
+- [`protovalidate-py`][pv-python] (Python)
- [`protovalidate-cc`][pv-cc] (C++)
- [`protovalidate-es`][pv-es] (TypeScript and JavaScript)
@@ -68,7 +68,7 @@
[pv-go]: https://github.com/bufbuild/protovalidate-go
[pv-java]: https://github.com/bufbuild/protovalidate-java
-[pv-python]: https://github.com/bufbuild/protovalidate-python
+[pv-python]: https://github.com/bufbuild/protovalidate-py
[pv-cc]: https://github.com/bufbuild/protovalidate-cc
[pv-es]: https://github.com/bufbuild/protovalidate-es
buf/validate/validate.proto:
--- shake256:91efa679610294ab0122eca974ac6123d9c8b7eebdda25188d60c7a8018a832da48d02b0355a5393dd9a916c4607381280654dcb50481b474c13ed535e32259e buf/validate/validate.proto
+++ shake256:f9e977d2d1925bc8deb59c388fdaccd7b3d84d3fa03c492ee2a0dce328d8cd41a189ca8375b08f232dc09e28d9fd1239e6a615391725857fcc13934ec1b82bde buf/validate/validate.proto
@@ -40,7 +40,7 @@
// [Go](https://github.com/bufbuild/protovalidate-go),
// [JavaScript/TypeScript](https://github.com/bufbuild/protovalidate-es),
// [Java](https://github.com/bufbuild/protovalidate-java),
-// [Python](https://github.com/bufbuild/protovalidate-python),
+// [Python](https://github.com/bufbuild/protovalidate-py),
// or [C++](https://github.com/bufbuild/protovalidate-cc).
package buf.validate;
@@ -105,7 +105,7 @@
// `Rule` represents a validation rule written in the Common Expression
// Language (CEL) syntax. Each Rule includes a unique identifier, an
// optional error message, and the CEL expression to evaluate. For more
-// information, [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+// information, [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
// ```proto
// message Foo {
@@ -145,7 +145,7 @@
// simpler syntax when defining CEL Rules where `id` and `message` derived from the `expression`. `id` will
// be same as the `expression`.
//
- // For more information, [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+ // For more information, [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
// ```proto
// message MyMessage {
@@ -159,7 +159,7 @@
repeated string cel_expression = 5;
// `cel` is a repeated field of type Rule. Each Rule specifies a validation rule to be applied to this message.
// These rules are written in Common Expression Language (CEL) syntax. For more information,
- // [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+ // [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
//
// ```proto
@@ -256,7 +256,7 @@
// simpler syntax when defining CEL Rules where `id` and `message` derived from the `expression`. `id` will
// be same as the `expression`.
//
- // For more information, [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+ // For more information, [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
// ```proto
// message MyMessage {
@@ -267,7 +267,7 @@
repeated string cel_expression = 29;
// `cel` is a repeated field used to represent a textual expression
// in the Common Expression Language (CEL) syntax. For more information,
- // [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
+ // [see our documentation](https://protovalidate.com/schemas/custom-rules/).
//
// ```proto
// message MyMessage {
@@ -390,7 +390,7 @@
message PredefinedRules {
// `cel` is a repeated field used to represent a textual expression
// in the Common Expression Language (CEL) syntax. For more information,
- // [see our documentation](https://buf.build/docs/protovalidate/schemas/predefined-rules/).
+ // [see our documentation](https://protovalidate.com/schemas/predefined-rules/).
//
// ```proto
// message MyMessage {
@@ -3476,9 +3476,13 @@
}
];
- // `uuid` specifies that the field value must be a valid UUID as defined by
- // [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2). If the
- // field value isn't a valid UUID, an error message will be generated.
+ // `uuid` specifies that the field value must have the textual shape of a
+ // UUID as defined by
+ // [RFC 9562](https://datatracker.ietf.org/doc/html/rfc9562#section-4): 32
+ // hexadecimal digits in five dash-separated groups. Only the shape is
+ // enforced, so that UUID versions defined in the future are not rejected:
+ // the version and variant fields are not checked. If the field value isn't
+ // shaped like a UUID, an error message will be generated.
//
// ```proto
// message MyString {
@@ -3499,10 +3503,13 @@
}
];
- // `tuuid` (trimmed UUID) specifies that the field value must be a valid UUID as
- // defined by [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2) with all dashes
- // omitted. If the field value isn't a valid UUID without dashes, an error message
- // will be generated.
+ // `tuuid` (trimmed UUID) specifies that the field value must have the
+ // textual shape of a UUID as defined by
+ // [RFC 9562](https://datatracker.ietf.org/doc/html/rfc9562#section-4) with all
+ // dashes omitted: 32 hexadecimal digits. Only the shape is enforced, so
+ // that UUID versions defined in the future are not rejected: the version
+ // and variant fields are not checked. If the field value isn't shaped like
+ // a UUID without dashes, an error message will be generated.
//
// ```proto
// message MyString {
@@ -3828,7 +3835,7 @@
message: "must be a valid HTTP header name"
expression:
"rules.well_known_regex != 1 || this == '' || this.matches(!has(rules.strict) || rules.strict ?"
- "'^:?[0-9a-zA-Z!#$%&\\'*+-.^_|~\\x60]+$' :"
+ "'^:?[0-9a-zA-Z!#$%&\\'*+.^_|~\\x60-]+$' :"
"'^[^\\u0000\\u000A\\u000D]+$')"
},
(predefined).cel = {
@@ -4117,10 +4124,12 @@
}
];
- // `uuid` ensures that the field value encodes 128-bit UUID data as defined
- // by [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2).
- // The field must contain exactly 16 bytes representing the UUID. If the
- // field value isn't a valid UUID, an error message will be generated.
+ // `uuid` ensures that the field `value` is exactly 16 bytes long,
+ // the size of a UUID in binary form as defined by
+ // [RFC 9562](https://datatracker.ietf.org/doc/html/rfc9562#section-4).
+ // Only the length is enforced: the version and variant fields
+ // are not checked, and any 16 bytes are accepted.
+ // If the field value doesn't meet this rule, an error message is generated.
//
// ```proto
// message MyBytes {
| { | ||
| "module_name": "bufbuild/protovalidate-testing", | ||
| "latest_reference": "v1.2.2" | ||
| "latest_reference": "v1.3.0" |
There was a problem hiding this comment.
[Posted at 2026-12-04T20:34:31Z]
Overall transition
$ casdiff v1.2.2 \
v1.3.0 \
--format=markdown10 files changed: 0 removed, 0 renamed, 0 added, 10 changed content.
Files changed content:
buf/validate/conformance/cases/bytes.proto:
--- shake256:021ad16ef72d5244906bf3b69de9a4eed623a50661406eee9c847f5f2d4fbcacba91c3895d8d84e4836776a9fd93b250cad5d9c908dcce5e1e29bf91d56cc21f buf/validate/conformance/cases/bytes.proto
+++ shake256:ce44877ceb8057791ebf28949e587ca83c4b9580138791093be744c8f7d194a26dd2a053a1b08758fd1ad454c8b46b871b3c2ce151810b8b15966f9a8b72fccd buf/validate/conformance/cases/bytes.proto
@@ -64,6 +64,9 @@
message BytesPattern {
bytes val = 1 [(buf.validate.field).bytes.pattern = "^[\\x00-\\x7F]+$"];
}
+message BytesPatternUnanchored {
+ bytes val = 1 [(buf.validate.field).bytes.pattern = "\\S"];
+}
message BytesPrefix {
bytes val = 1 [(buf.validate.field).bytes.prefix = "\x99"];
}
buf/validate/conformance/cases/enums.proto:
--- shake256:944ae982aaa0e17b808d8eabd7041048aaf0a0bdb7b6286adbd021641285e3ac262378e45c720539c6f7ab7dbd8a6d41ddb750416344f9797f000e001dc7c3a1 buf/validate/conformance/cases/enums.proto
+++ shake256:e8db08f636106e6716c3a89bfa18a47dec10b47bd93801105861aec280e8deb21205a1f0bb28d9f58c76fbd9517ec9a9f206b0e6216eb019938d23432bfcbdba buf/validate/conformance/cases/enums.proto
@@ -75,10 +75,14 @@
}
message EnumNotIn {
- TestEnum val = 1 [(buf.validate.field).enum = {not_in: [1]}];
+ TestEnum val = 1 [(buf.validate.field).enum = {
+ not_in: [1]
+ }];
}
message EnumAliasNotIn {
- TestEnumAlias val = 1 [(buf.validate.field).enum = {not_in: [1]}];
+ TestEnumAlias val = 1 [(buf.validate.field).enum = {
+ not_in: [1]
+ }];
}
message EnumExternal {
buf/validate/conformance/cases/kitchen_sink.proto:
--- shake256:c26a277c8714ba94956e3071f5a15a491aadffdb13c0a6b4a2c010a9c0d67409e284d2fa8bae1d3ae7ae69b2feb8f451fdbff265509ae91d537e3745668dda35 buf/validate/conformance/cases/kitchen_sink.proto
+++ shake256:e790f9ea5503a6955f45c45dcb8a5700d35846e36600b08c0471d66f6062b4f2c3479220c0b7be814c6888bfff0f3dcc051c09a84545aa39ca566d79f7e8de40 buf/validate/conformance/cases/kitchen_sink.proto
@@ -48,8 +48,16 @@
]
}];
ComplexTestEnum enum_const = 11 [(buf.validate.field).enum.const = 2];
- google.protobuf.Any any_val = 12 [(buf.validate.field).any = {in: ["type.googleapis.com/google.protobuf.Duration"]}];
- repeated google.protobuf.Timestamp rep_ts_val = 13 [(buf.validate.field).repeated = {items: {timestamp: {gte: {nanos: 1000000}}}}];
+ google.protobuf.Any any_val = 12 [(buf.validate.field).any = {
+ in: ["type.googleapis.com/google.protobuf.Duration"]
+ }];
+ repeated google.protobuf.Timestamp rep_ts_val = 13 [(buf.validate.field).repeated = {
+ items: {
+ timestamp: {
+ gte: {nanos: 1000000}
+ }
+ }
+ }];
map<sint32, string> map_val = 14 [(buf.validate.field).map.keys.sint32.lt = 0];
bytes bytes_val = 15 [(buf.validate.field).bytes.const = "\x00\x99"];
oneof o {
buf/validate/conformance/cases/messages.proto:
--- shake256:69f27e3b39d0178cbff9d9a199c2e34633b3322002266d981fc20d227ea6aa7faff863532477a749b84444e8f78b15117e83f9b2b784b4a9bb31ddb09b2dc2a0 buf/validate/conformance/cases/messages.proto
+++ shake256:7969e46bcc89b0c6ed3f99d5c66e107521a24b0ad7716949d44b4bd64e1efab0a01955b7a3061b82eccaad514b18a4c48d94daf0d8273fa5505e19b85829f198 buf/validate/conformance/cases/messages.proto
@@ -55,7 +55,9 @@
message MessageWith3dInside {}
message MessageOneofSingleField {
- option (buf.validate.message).oneof = {fields: ["str_field"]};
+ option (buf.validate.message).oneof = {
+ fields: ["str_field"]
+ };
string str_field = 1;
bool bool_field = 2;
}
@@ -113,7 +115,9 @@
}
message MessageOneofUnknownFieldName {
- option (buf.validate.message).oneof = {fields: ["xxx"]};
+ option (buf.validate.message).oneof = {
+ fields: ["xxx"]
+ };
string str_field = 1;
}
@@ -130,7 +134,9 @@
}
message MessageOneofZeroFields {
- option (buf.validate.message).oneof = {fields: []};
+ option (buf.validate.message).oneof = {
+ fields: []
+ };
string str_field = 1;
bool bool_field = 2;
}
buf/validate/conformance/cases/numbers.proto:
--- shake256:be36cf1856081ac6ce5b5c30daa81ad250743b16b27ca2a94664cff032ad91fbd30e6a42d560b92a7df1e749c3794b086da455af98a167ab4298dcb1c78fae73 buf/validate/conformance/cases/numbers.proto
+++ shake256:5e75dc4322af2cf380488f172a051882a426d197a849163c32c16479ed5ca88e4e83b2bad4dea9167e32ebab6e91f77fef0fa1b23dc3ca92ec28533a0f8ec10d buf/validate/conformance/cases/numbers.proto
@@ -33,7 +33,9 @@
}];
}
message FloatNotIn {
- float val = 1 [(buf.validate.field).float = {not_in: [0]}];
+ float val = 1 [(buf.validate.field).float = {
+ not_in: [0]
+ }];
}
message FloatLT {
float val = 1 [(buf.validate.field).float.lt = 0];
@@ -110,7 +112,9 @@
}];
}
message DoubleNotIn {
- double val = 1 [(buf.validate.field).double = {not_in: [0]}];
+ double val = 1 [(buf.validate.field).double = {
+ not_in: [0]
+ }];
}
message DoubleLT {
double val = 1 [(buf.validate.field).double.lt = 0];
@@ -187,7 +191,9 @@
}];
}
message Int32NotIn {
- int32 val = 1 [(buf.validate.field).int32 = {not_in: [0]}];
+ int32 val = 1 [(buf.validate.field).int32 = {
+ not_in: [0]
+ }];
}
message Int32LT {
int32 val = 1 [(buf.validate.field).int32.lt = 0];
@@ -258,7 +264,9 @@
}];
}
message Int64NotIn {
- int64 val = 1 [(buf.validate.field).int64 = {not_in: [0]}];
+ int64 val = 1 [(buf.validate.field).int64 = {
+ not_in: [0]
+ }];
}
message Int64LT {
int64 val = 1 [(buf.validate.field).int64.lt = 0];
@@ -354,7 +362,9 @@
}];
}
message UInt32NotIn {
- uint32 val = 1 [(buf.validate.field).uint32 = {not_in: [0]}];
+ uint32 val = 1 [(buf.validate.field).uint32 = {
+ not_in: [0]
+ }];
}
message UInt32LT {
uint32 val = 1 [(buf.validate.field).uint32.lt = 5];
@@ -425,7 +435,9 @@
}];
}
message UInt64NotIn {
- uint64 val = 1 [(buf.validate.field).uint64 = {not_in: [0]}];
+ uint64 val = 1 [(buf.validate.field).uint64 = {
+ not_in: [0]
+ }];
}
message UInt64LT {
uint64 val = 1 [(buf.validate.field).uint64.lt = 5];
@@ -496,7 +508,9 @@
}];
}
message SInt32NotIn {
- sint32 val = 1 [(buf.validate.field).sint32 = {not_in: [0]}];
+ sint32 val = 1 [(buf.validate.field).sint32 = {
+ not_in: [0]
+ }];
}
message SInt32LT {
sint32 val = 1 [(buf.validate.field).sint32.lt = 0];
@@ -567,7 +581,9 @@
}];
}
message SInt64NotIn {
- sint64 val = 1 [(buf.validate.field).sint64 = {not_in: [0]}];
+ sint64 val = 1 [(buf.validate.field).sint64 = {
+ not_in: [0]
+ }];
}
message SInt64LT {
sint64 val = 1 [(buf.validate.field).sint64.lt = 0];
@@ -637,7 +653,9 @@
}];
}
message Fixed32NotIn {
- fixed32 val = 1 [(buf.validate.field).fixed32 = {not_in: [0]}];
+ fixed32 val = 1 [(buf.validate.field).fixed32 = {
+ not_in: [0]
+ }];
}
message Fixed32LT {
fixed32 val = 1 [(buf.validate.field).fixed32.lt = 5];
@@ -708,7 +726,9 @@
}];
}
message Fixed64NotIn {
- fixed64 val = 1 [(buf.validate.field).fixed64 = {not_in: [0]}];
+ fixed64 val = 1 [(buf.validate.field).fixed64 = {
+ not_in: [0]
+ }];
}
message Fixed64LT {
fixed64 val = 1 [(buf.validate.field).fixed64.lt = 5];
@@ -779,7 +799,9 @@
}];
}
message SFixed32NotIn {
- sfixed32 val = 1 [(buf.validate.field).sfixed32 = {not_in: [0]}];
+ sfixed32 val = 1 [(buf.validate.field).sfixed32 = {
+ not_in: [0]
+ }];
}
message SFixed32LT {
sfixed32 val = 1 [(buf.validate.field).sfixed32.lt = 0];
@@ -850,7 +872,9 @@
}];
}
message SFixed64NotIn {
- sfixed64 val = 1 [(buf.validate.field).sfixed64 = {not_in: [0]}];
+ sfixed64 val = 1 [(buf.validate.field).sfixed64 = {
+ not_in: [0]
+ }];
}
message SFixed64LT {
sfixed64 val = 1 [(buf.validate.field).sfixed64.lt = 0];
buf/validate/conformance/cases/repeated.proto:
--- shake256:92b5edbc4064a3c6d1abb204321fd7831d7f2d1e0000c7aa787210af04a803f0d986464bee60d35a821f1162590f4bc48e2a33a60a7e0ad8dc74c996d2acfdb1 buf/validate/conformance/cases/repeated.proto
+++ shake256:ca0148e4a87f4b3e50df8a2786c81af6cfd50b3634aeb5e09dadeca86e30604ff851e392476d65f8fbaff0c6ccdddf4e25c7d5b5cf3bb9987912feb051ac9c5b buf/validate/conformance/cases/repeated.proto
@@ -93,13 +93,19 @@
}];
}
message RepeatedEnumIn {
- repeated AnEnum val = 1 [(buf.validate.field).repeated.items.enum = {in: [0]}];
+ repeated AnEnum val = 1 [(buf.validate.field).repeated.items.enum = {
+ in: [0]
+ }];
}
message RepeatedEnumNotIn {
- repeated AnEnum val = 1 [(buf.validate.field).repeated.items.enum = {not_in: [0]}];
+ repeated AnEnum val = 1 [(buf.validate.field).repeated.items.enum = {
+ not_in: [0]
+ }];
}
message RepeatedEmbeddedEnumIn {
- repeated AnotherInEnum val = 1 [(buf.validate.field).repeated.items.enum = {in: [0]}];
+ repeated AnotherInEnum val = 1 [(buf.validate.field).repeated.items.enum = {
+ in: [0]
+ }];
enum AnotherInEnum {
ANOTHER_IN_ENUM_UNSPECIFIED = 0;
ANOTHER_IN_ENUM_A = 1;
@@ -107,7 +113,9 @@
}
}
message RepeatedEmbeddedEnumNotIn {
- repeated AnotherNotInEnum val = 1 [(buf.validate.field).repeated.items.enum = {not_in: [0]}];
+ repeated AnotherNotInEnum val = 1 [(buf.validate.field).repeated.items.enum = {
+ not_in: [0]
+ }];
enum AnotherNotInEnum {
ANOTHER_NOT_IN_ENUM_UNSPECIFIED = 0;
ANOTHER_NOT_IN_ENUM_A = 1;
@@ -115,14 +123,20 @@
}
}
message RepeatedAnyIn {
- repeated google.protobuf.Any val = 1 [(buf.validate.field).repeated.items.any = {in: ["type.googleapis.com/google.protobuf.Duration"]}];
+ repeated google.protobuf.Any val = 1 [(buf.validate.field).repeated.items.any = {
+ in: ["type.googleapis.com/google.protobuf.Duration"]
+ }];
}
message RepeatedAnyNotIn {
- repeated google.protobuf.Any val = 1 [(buf.validate.field).repeated.items.any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ repeated google.protobuf.Any val = 1 [(buf.validate.field).repeated.items.any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
message RepeatedMinAndItemLen {
repeated string val = 1 [(buf.validate.field).repeated = {
- items: {string: {len: 3}}
+ items: {
+ string: {len: 3}
+ }
min_items: 1
}];
}
@@ -133,7 +147,13 @@
];
}
message RepeatedDuration {
- repeated google.protobuf.Duration val = 1 [(buf.validate.field).repeated = {items: {duration: {gte: {nanos: 1000000}}}}];
+ repeated google.protobuf.Duration val = 1 [(buf.validate.field).repeated = {
+ items: {
+ duration: {
+ gte: {nanos: 1000000}
+ }
+ }
+ }];
}
message RepeatedExactIgnore {
repeated uint32 val = 1 [
buf/validate/conformance/cases/strings.proto:
--- shake256:09ccfebbc1aeb798c31b5e008ee1a27065542d91e1dcca727a3292b69652f2759f79cc05a039ee1fea2c9dcbba22978845f4a64dbd508b521caec62a66f96148 buf/validate/conformance/cases/strings.proto
+++ shake256:51cb36f49d26d8d19dc7c47e113a746bc7b4857e81117dd3c8cc849957bef8c78dc0fbcabb2b7e209b7a27dde967beaf221648f93539e23292e5b362c4bbfcc0 buf/validate/conformance/cases/strings.proto
@@ -88,6 +88,9 @@
message StringPatternEscapes {
string val = 1 [(buf.validate.field).string.pattern = "\\* \\\\ \\w"];
}
+message StringPatternUnanchored {
+ string val = 1 [(buf.validate.field).string.pattern = "\\S"];
+}
message StringPrefix {
string val = 1 [(buf.validate.field).string.prefix = "foo"];
}
buf/validate/conformance/cases/wkt_any.proto:
--- shake256:a6b3ceca0b094a92840340de09f1041bc6698a683f73327ce6dc093c6aa66a2d2cf3fd93966b8f8473a4287ab89628a23f29c74e9c402ce736e1312674ab2bc2 buf/validate/conformance/cases/wkt_any.proto
+++ shake256:d194a33bd8dc13bd7b56db8c4793c548cc2d3deebf1a49c98213b9f424e4454c1df5d8d6301a3a3884dad881a642eafb739e16b499fec99649ca0dc46e9c5408 buf/validate/conformance/cases/wkt_any.proto
@@ -28,26 +28,38 @@
google.protobuf.Any val = 1 [(buf.validate.field).required = true];
}
message AnyIn {
- google.protobuf.Any val = 1 [(buf.validate.field).any = {in: ["type.googleapis.com/google.protobuf.Duration"]}];
+ google.protobuf.Any val = 1 [(buf.validate.field).any = {
+ in: ["type.googleapis.com/google.protobuf.Duration"]
+ }];
}
message AnyNotIn {
- google.protobuf.Any val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ google.protobuf.Any val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
// The below messages should throw compilation errors due to incorrect types.
message AnyWrongTypeScalar {
- string val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ string val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
message AnyWrongTypeMessage {
message WrongType {
int32 val = 1;
}
- WrongType val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ WrongType val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
message AnyWrongTypeWrapper {
- google.protobuf.Int32Value val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ google.protobuf.Int32Value val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
message AnyWrongTypeWKT {
- google.protobuf.Timestamp val = 1 [(buf.validate.field).any = {not_in: ["type.googleapis.com/google.protobuf.Timestamp"]}];
+ google.protobuf.Timestamp val = 1 [(buf.validate.field).any = {
+ not_in: ["type.googleapis.com/google.protobuf.Timestamp"]
+ }];
}
buf/validate/conformance/cases/wkt_duration.proto:
--- shake256:a965c100b64084fc17084f1a112b0a00bc8e1ae292df0b912ee6066e387288b0e059d087109304897e86877edc87589bbc03b90462a9c932096e25f6a5722da7 buf/validate/conformance/cases/wkt_duration.proto
+++ shake256:40345acf588b9309d0145f4656a43625fabbe3dcdf5c5d690a001cbc4cf3aff6eabb654c76059000db1c7c2720350537aa4b41a91d586e5b30adb9f80de74d66 buf/validate/conformance/cases/wkt_duration.proto
@@ -42,7 +42,11 @@
}];
}
message DurationNotIn {
- google.protobuf.Duration val = 1 [(buf.validate.field).duration = {not_in: [{}]}];
+ google.protobuf.Duration val = 1 [(buf.validate.field).duration = {
+ not_in: [
+ {}
+ ]
+ }];
}
message DurationLT {
buf/validate/conformance/cases/wkt_field_mask.proto:
--- shake256:c6050fb682ab57054fc288f774df5e44ef4033d8ae062a6a4817584fa7ffb05024f680374e8641400ddb43b815735051cc80b9b9da1b01f5a3970affe7716a78 buf/validate/conformance/cases/wkt_field_mask.proto
+++ shake256:e5726d498e20865b97300411c0ce44a02fca0f6879ed59606e0e83aed0679e23ddf6e1da724fdb9e613b5c9782b7a3791ed127eddbdf60b1268b48cb56b33385 buf/validate/conformance/cases/wkt_field_mask.proto
@@ -27,7 +27,9 @@
}
message FieldMaskConst {
- google.protobuf.FieldMask val = 1 [(buf.validate.field).field_mask.const = {paths: ["a"]}];
+ google.protobuf.FieldMask val = 1 [(buf.validate.field).field_mask.const = {
+ paths: ["a"]
+ }];
}
message FieldMaskIn {
@@ -48,5 +50,7 @@
}
message FieldMaskExample {
- google.protobuf.FieldMask val = 1 [(buf.validate.field).field_mask.example = {paths: ["a"]}];
+ google.protobuf.FieldMask val = 1 [(buf.validate.field).field_mask.example = {
+ paths: ["a"]
+ }];
}
| { | ||
| "module_name": "opentelemetry/opentelemetry", | ||
| "latest_reference": "v1.11.1" | ||
| "latest_reference": "v1.12.0" |
There was a problem hiding this comment.
[Posted at 2026-12-04T20:34:32Z]
Overall transition
$ casdiff v1.11.1 \
v1.12.0 \
--format=markdown3 files changed: 0 removed, 0 renamed, 0 added, 3 changed content.
Files changed content:
opentelemetry/proto/common/v1/common.proto:
--- shake256:8924404671f92edea390a2958ef52f377ef5a4d784d28927e77de9b2257a1d3d02ddba228e7087654b3c61eaa8e675db327f6b38a01f0154057f66bbdb7a67fc opentelemetry/proto/common/v1/common.proto
+++ shake256:db7cb0a6a20d3c392b6c0a94b2878765a2f4cfa564f52477a3bfdf83a8a3494bf93ef55d25ed1f509bbb0fef2f2704a55095d973cfab79640ae6e02b04ed67f1 opentelemetry/proto/common/v1/common.proto
@@ -78,14 +78,14 @@
// attributes, etc.
message KeyValue {
// The key name of the pair.
- // key_strindex MUST NOT be set if key is used.
+ // key_strindex MUST be zero if key is non-empty.
string key = 1;
// The value of the pair.
AnyValue value = 2;
// Reference to the string key in ProfilesDictionary.string_table.
- // key MUST NOT be set if key_strindex is used.
+ // key MUST be empty if key_strindex is non-zero.
//
// Note: This is currently used exclusively in the Profiling signal.
// Implementers of OTLP receivers for signals other than Profiling should
@@ -157,4 +157,4 @@
// These attribute keys are not part of entity's identity.
// These keys MUST exist in the containing {message}.attributes.
repeated string description_keys = 4;
-}
\ No newline at end of file
+}
opentelemetry/proto/profiles/v1development/profiles.proto:
--- shake256:95bd405e6552569fd04bbc810e1affa01cb46d251e836d1a113b4e04b5ff65668767f002c6df3539a3aead2fb2d5bf4f74e5bec3296d54e4a6d3f27dccbdcaad opentelemetry/proto/profiles/v1development/profiles.proto
+++ shake256:786222d59aaedb315e4fa222ba2c361fbe64b6e76cb8bdb4ca1781fdb34a0fa48142bdb7b42b5562d686bd8524993c4bf757a2c6aa3ae0b6d5ac9d175cd3375c opentelemetry/proto/profiles/v1development/profiles.proto
@@ -41,6 +41,11 @@
option java_outer_classname = "ProfilesProto";
option go_package = "go.opentelemetry.io/proto/otlp/profiles/v1development";
+// Current OTLP Profiles development version: 1.
+//
+// Increment this value by one for each incompatible Profiles schema change.
+// See docs/specification.md#profiles-development-version.
+
// Relationships Diagram
//
// ┌──────────────────┐ LEGEND
@@ -222,7 +227,7 @@
// Other resource groupings are possible as well and clarified via
// Resource.attributes and semantic conventions.
// Tools that visualize profiles SHOULD prefer displaying
- // resources_profiles[0].scope_profiles[0].profiles[0] by default.
+ // resource_profiles[0].scope_profiles[0].profiles[0] by default.
//
// [Since v1.4.0]
repeated ResourceProfiles resource_profiles = 1;
@@ -315,7 +320,7 @@
// unique Location with that index.
//
// - There is an optional N->1 relationship from locations to
-// mappings. For every nonzero Location.mapping_id there MUST be a
+// mappings. For every nonzero Location.mapping_index there MUST be a
// unique Mapping with that index.
// Represents a complete profile, including sample types, samples, mappings to
@@ -343,7 +348,7 @@
// The following fields 3-12 are informational, do not affect
// interpretation of results.
- // Time of collection (UTC) as nanoseconds since the UNIX epoch.
+ // Start time of the profile, in nanoseconds since the UNIX epoch (UTC).
//
// [Since v1.4.0]
fixed64 time_unix_nano = 3;
@@ -553,8 +558,8 @@
// A Stack represents a stack trace as a list of locations (leaf first).
// For example, the stack trace resulting from the call stack
// main -> foo -> bar would be encoded into the location_indices list
-// [2, 1, 0] which references the locations in location_table as:
-// [Location{"main"}, Location{"foo"}, Location{"bar"}].
+// [3, 2, 1] which references the locations in location_table as:
+// [Location{}, Location{"main"}, Location{"foo"}, Location{"bar"}].
//
// Status: [Alpha]
//
opentelemetry/proto/trace/v1/trace.proto:
--- shake256:7cd38a24a648fd280771c2b764b89f9128f2b73a46fc82cac267e49ad420b64782aed458d65701a410ffeacd42d0e762ae257b19e1c4cf9b2cfc437cb946ecfc opentelemetry/proto/trace/v1/trace.proto
+++ shake256:b5d046116673cc103dfd6da93cd007eb5eef30c35e9c30d7efea8b632eb75a99f4e09e9c61f7cbae61c0b997455b7e34c5b8936f99c475c3bfffa35bc592c0e4 opentelemetry/proto/trace/v1/trace.proto
@@ -85,7 +85,7 @@
// A Span represents a single operation performed by a single component of the system.
//
-// The next available field id is 17.
+// The next available field id is 18.
message Span {
// A unique identifier for a trace. All spans from the same trace share
// the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
@@ -305,6 +305,19 @@
// An optional final status for this span. Semantically when Status isn't set, it means
// span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
Status status = 15;
+
+ // type identifies the semantic convention definition this span follows,
+ // for example "http.client.request" or "gen_ai.client.inference".
+ // Unlike name, type is low-cardinality and stable across instances.
+ // An empty value means the span does not follow a known definition or
+ // the instrumentation does not yet populate it.
+ //
+ // [Optional].
+ //
+ // Status: [Development]
+ //
+ // [Since v1.12.0]
+ string type = 17;
}
// The Status type defines a logical error model that is suitable for different
@@ -359,7 +372,7 @@
// Bit 8 (`HAS_IS_REMOTE`) indicates whether the value is known.
// Bit 9 (`IS_REMOTE`) indicates whether the span or link is remote.
//
- // [Since v1.2.0]
+ // [Since v1.2.0]
SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 0x00000100;
// [Since v1.2.0]
SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 0x00000200;
No description provided.