We have released Buf v0.18.1.
This is a bug fix release. There was an issue where references to custom options in a separate file of a message type were not being reported. That's a lot of words, so as an example:
// a.proto
syntax = "proto2";
package a;
import "google/protobuf/descriptor.proto";
extend google.protobuf.FieldOptions {
optional Foo foo = 50001;
}
message Foo {
optional string bar = 1;
}
Then, assume b.proto imports a.proto:
// b.proto
syntax = "proto3";
package a;
import "a.proto";
message Baz {
// the actual name is (a.foo).bar
// previously, this would have resulted in no error
// with 0.18.1, this properly results in a build error
string bat = 1 [(a.foo).ban = "bam"];
}