Skip to content

Release v0.4.2

Compare
Choose a tag to compare
@TristonianJones TristonianJones released this 21 Apr 00:14
· 479 commits to master since this release
33f7127

Fixes

  • Make the has() macro consistent with cel-spec for proto2 and proto3 message types.
  • Improve type resolution when there are multiple overloads with the same return type.
  • Remove shared state from the Env#Extend() call. #issues/333
  • Fix proto2 enum assignments during object constructions.
  • Make Attribute values Stringer implementations to make them human-readable in errors.

Breaking Changes

The Env#Extend() changes introduced a new method on the ref.TypeRegistry interface called Copy.
If the user has implemented a custom TypeRegistry, the Copy method is required in order to support
extension. If the TypeRegistry is immutable, it may trivially return itself.