You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CloudEvent should only allow [^a-z|0-9$] for extension names #228
Per the spec's naming conventions, attribute names should be all lower case, with nothing but a-z and 0-9 in the name. This module currently does not enforce that.
CloudEvents attribute names MUST consist of lower-case letters ('a' to 'z') or digits ('0' to '9') from the ASCII character set. Attribute names SHOULD be descriptive and terse and SHOULD NOT exceed 20 characters in length.
Activity
lholmquist commentedon Jul 6, 2020
Is the "-" also allowed. reading the spec, it doesn't look like it. If that is the case, then we will need to update the examples
lance commentedon Jul 6, 2020
It is not allowed. Only alphanumeric characters.
https://github.com/cloudevents/spec/blob/master/spec.md#attribute-naming-convention
lholmquist commentedon Jul 6, 2020
Should we make this a semver-major change then?
lance commentedon Jul 7, 2020
Yes - we will have a semver major release as soon as the typescript version lands, so it should land with that.