Release v0.7.0
Improvements
[#399] Support for Protobuf Golang API v2.
Fixes
[#394] Update CheckedExprToAst
utility to handle constant expressions.
[#393] Update the conformance test version and Bazel build structure.
Breaking Changes
Value v. ConvertToNative
Calling Value()
on a proto-based object will likely return a *dynamicpb.Message
instance rather than the strongly typed proto message. Using ConvertToNative(reflect.TypeOf(&<DesiredType>{})
will produce the desired result.
DescriptorProto v. Descriptor
Top-level interfaces have shifted away from using the DescriptorProto
and FileDescriptorProto
messages directly in favor of the protobuf v2 API protoreflect.Descriptor
and protoreflect.FileDescriptor
.
Duration and Timestamp
The duration.go
and timestamp.go
object types are now derived from go-native time.Duration
and time.Time
respectively as the dependence on the protobuf counterparts was not actually necessary.