Skip to content

Version 0.2.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 03:39
· 81 commits to main since this release
v0.2.0
ecfdb9f

Added

  • Added Header.Validate(), Body.Validate() and Message.Validate() to the Go envelopepb package.
  • Added validateHeader(), validateBody() and validateMessage() to the TypeScript envelopepb package.

Changed

  • [BC] envelopepb.SetExtension() and SetBaggage() now accept any value with the relevant getter and setter methods, such as a *Header or *Body, and accept the value to set as a proto.Message. They are no longer generic, so calls that specify type arguments explicitly must remove them.
  • setExtension() and setBaggage() in the TypeScript envelopepb package now accept a Header or a Body.

Fixed

  • envelopepb.SetExtension() and SetBaggage() now panic if the value is a nil pointer, as well as when it is nil.