Skip to content

Release v0.7.0

Compare
Choose a tag to compare
@TristonianJones TristonianJones released this 13 Jan 22:25
· 450 commits to master since this release
4c3317a

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.