Skip to content

v3.0.0

Compare
Choose a tag to compare
@lance lance released this 27 Jul 18:52
4a371b3

⚠ BREAKING CHANGES

  • Validate the value of the cloud event extension based on the spec, https://github.com/cloudevents/spec/blob/master/spec.md#type-system
  • Change the modules name from cloudevents-sdk to cloudevents
  • Extension names are now validated during object creation. The values are defined by the specification, and can be lowercase(a-z) or digits(0-9) and must be no longer that 20 characters
  • Make the CloudEvent read-only and validate the input during object creation.
  • To augment an already created CloudEvent object, we have added a cloneWith method that takes attributes to add/update.