cel-go v0.4.2 Release Notes

Release Date: 2020-04-21 // about 4 years ago
  • ๐Ÿ›  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.