Releases: cloudevents/sdk-javascript
CloudEvents v4.0.0 Release
⚠ BREAKING CHANGES
- Remove All API's that are labeled "Remove in 4.0" (#362)
- event: make the event's time property only a string (#330)
Features
-
add a constructor parameter for loose validation (#328) (1fa3a05)
-
add EventEmitter to Emitter and singleton paradigm (25f9c48)
-
allow ensureDelivery to be able to ensure delivery on emit (43d9e01)
-
introduce Message, Serializer, Deserializer and Binding interfaces (#324) (f3953a9)
-
Remove All API's that are labeled "Remove in 4.0" (#362) (875f700)
Bug Fixes
-
extend Node.js IncomingHttpHeaders in our Headers type (#346) (f6be285)
-
improve error messages when validating extensions (9f86cfd)
-
package.json & package-lock.json to reduce vulnerabilities (132f052)
-
package.json & package-lock.json to reduce vulnerabilities (#338) (eca43d9)
Tests
Documentation
-
add Emitter logic example (bda8581)
Miscellaneous
-
tag v3.2.0 as release-v3.2.0 for release-please (#353) (765b81c)
-
ci,releases: bump release-please-action to 2.5.5 (#350) (c4afacb)
-
update release please to the latest release(2.4.1) (#345) (76688c4)
-
event: make the event's time property only a string (#330) (6cd310c)
-
example: Replaced body parser with express JSON parser (#334) (4779d89)
-
add cucumber.js to list of files to lint and /docs to .gitignore (#327) (17d4bc8)
-
Update README with correct links for the support specification versions (#321) (73f0bec), closes #320
3.2.0
3.2.0 (2020-09-11)
Features
- add a constructor parameter for loose validation (#328) (a0e7281)
- introduce Message, Serializer, Deserializer and Binding interfaces (#324) (e2eb476)
Bug Fixes
- upgrade cloudevents from 3.0.1 to 3.1.0 (#335) (6732194)
- upgrade uuid from 8.2.0 to 8.3.0 (#317) (e433f9a)
Documentation
Tests
Miscellaneous
- example: Replaced body parser with express JSON parser (#334) (e6204af)
- add cucumber.js to list of files to lint and /docs to .gitignore (#327) (ef05f27)
- Remove commented version import. (#319) (ffb1a13)
- typo (#313) (d78d101)
- Update README with correct links for the support specification versions (#321) (198abb6), closes #320
- Update references of master to main (#316) (9b44dfa)
- validate cloudevent version agnostic (#311) (3d2f01a)
Release 3.1.0
3.1.0 (2020-08-11)
Bug Fixes
- Add Correct Headers to emitted Binary Event (#302) (ad0c434), closes #301
- ensure that data encoded as base64 is parsed as an object (#285) (ed9ea95)
- update browser name to cloudevents. (#292) (48d182b), closes #286
Miscellaneous
- fix promise tests to break the build when they fail (#305) (a5249de), closes #303
- no import star (#297) (31c2005)
- Update examples to use latest sdk changes (#282) (763838c)
- Update readme with correct Receiver usage (#287) (e219a30)
- update the release script to signoff the commit (#307) (f3cc2b4)
Documentation
Release 3.0.1
v3.0.0
⚠ 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.