12 KiB
12 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.0.2 (2020-06-08)
Bug Fixes
- add correct types to improve TypeScript behavior (#202) (da365e0)
- fix references to constants - remove .js extension (#200) (c757a2b)
- use /lib in gitignore so src/lib is not ignored (#199) (fba3294)
Documentation
Miscellaneous
2.0.1 (2020-06-01)
Bug Fixes
- initialize CloudEvent's extensions property (#192) (0710166)
- introduce CloudEventV1 and CloudEventV03 interfaces (#194) (a5befbe)
Miscellaneous
- CI workflow to only upload report if CODACY_PROJECT_TOKEN is set (#193) (aa320e7)
- minor typos in guidance docs (#196) (15cd763)
2.0.0 (2020-05-27)
⚠ BREAKING CHANGES
- change CloudEvent to use direct object notation and get/set properties (#172)
- refactor HTTP bindings and specifications (#165)
- expose a version agnostic event emitter (#141)
- unmarshaller: remove asynchronous 0.3 unmarshaller API (#126)
Features
- add ValidationError type extending TypeError (#151) (09b0c76)
- expose a mode and version agnostic event receiver (#120) (54f242b)
- expose a version agnostic event emitter (#141) (250a0a1)
- unmarshaller: remove asynchronous 0.3 unmarshaller API (#126) (63ae1ad)
- formatter.js es6 (#87) (c36f194)
- use CloudEvents not cloudevents everywhere (#101) (05ecbde)
Bug Fixes
- ensure binary events can handle no content-type header (#134) (72a87df)
- Fix Express example installation (#77) (bb8e0f9)
- make application/json the default content type in binary mode (#118) (d9e9ae6)
- misspelled word (#113) (cd6a3ee)
- misspelled word (#115) (53524ac)
- protects the consts from being changed in other parts of the code. (fbcbcec)
- remove d.ts types. Fixes #83 (#84) (6c223e2)
- support mTLS in 1.0 Binary and Structured emitters (3a063d7)
- throw "no cloud event detected" if one can't be read (#139) (ef7550d)
Tests
- remove uuid require in spec_03_tests.js (#145) (c56c203)
- use constants in spec_03_tests.js (#144) (2882aff)
- use header constants in receiver tests (#131) (60bf05c)
- use header constants in unmarshaller tests (#60) (e087805)
lib
- change CloudEvent to use direct object notation and get/set properties (#172) (abc114b)
- refactor HTTP bindings and specifications (#165) (6f0b5ea)
Documentation
- add instructions and details to contributors guide (#105) (fd99cb1)
- add JSDocs for top level API objects (#140) (b283583)
- add maintainer guidelines for landing PRs (#177) (fdc79ae)
- organize README badges and remove TS example (#112) (07323e0)
- remove 0.1, 0.2 spec support from README (56036b0)
- remove repo structure docs (#111) (223a7c6)
- update README and examples with new API (#138) (b866edd)
Miscellaneous
- add action to detect and close stale issues (5a6cde5)
- add coverage GitHub action (#185) (349fe8e)
- add eslint configuration and npm script (3f238a0)
- add GitHub action for CI on master and prs (#181) (0fe57d1)
- add npm fix command (#74) (005d532)
- add standard-version and release script (f47bca4)
- adds files section in package.json (#147) (f8a62b2)
- es6 base64 parser (#75) (d042ef1)
- es6 parser (#98) (cd6decd)
- es6 unmarshaller (#108) (79ec3ef)
- fix CI code coverage publishing (#78) (8fb0ddf)
- Modify CI to also build backport branch(es) (#122) (c1fda94)
- remove note with bad link and non SDK docs (#109) (f30c814)
- update eslint rules to disallow var usage (e83db29)
- Update uuid dependency (42246ce)
- use es6 for cloudevents.js (#73) (12ac181)
1.0.0
Added
- Support for Spec v1.0
- Typescript types for Spec v1.0: see an example
Removed
- Unmarshaller docs from README, moving them to OLDOCS.md
0.3.2
Fixed
- Fix the special
datahandling: issue #33
0.3.1
Fixed
- Axios version to
0.18.1due the CVE-2019-10742 - Fix the
subjectattribute unmarshal error: issue #32