Skip to content

chore: release 4.0.0 #341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

chore: release 4.0.0 #341

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 17, 2020

🤖 I have created a release *beep* *boop*

4.0.0 (2020-10-01)

⚠ BREAKING CHANGES

Features

  • add a constructor parameter for loose validation (#328) (1fa3a05)
  • add emitterFactory and friends (#342) (e334b6e)
  • add types to package.json (#216) (4265281)
  • 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)
  • formatter.js es6 (#87) (c36f194)
  • introduce browser support (#201) (8b2725b)
  • introduce Message, Serializer, Deserializer and Binding interfaces (#324) (f3953a9)
  • pass extension into the constructor. (#214) (0378f4c), closes #209
  • remove unused plugins (#262) (4014da2)
  • simplify validation logic/imports (#265) (4b54b27)
  • use CloudEvents not cloudevents everywhere (#101) (05ecbde)
  • use npm name cloudevents (#260) (565f867), closes #215
  • src: A CloudEvent should be readonly but provide a way to augment itself. (#234) (c7a8477)
  • src: add ext name validation (#246) (84f1ed9)
  • unmarshaller: remove asynchronous 0.3 unmarshaller API (#126) (63ae1ad)

Bug Fixes

  • Add Correct Headers to emitted Binary Event (#302) (ad0c434), closes #301
  • add correct types to improve TypeScript behavior (#202) (da365e0)
  • do not require an HTTP body on incoming binary event messages (a7c326b)
  • ensure binary events can handle no content-type header (#134) (72a87df)
  • ensure that data encoded as base64 is parsed as an object (#285) (ed9ea95)
  • ensure that event data can be an array, number, boolean or null (#281) (b99f728)
  • ensure that the HTTP receiver sanitizes headers in accept() (#239) (51035dc)
  • Fix Express example installation (#77) (bb8e0f9)
  • fix references to constants - remove .js extension (#200) (c757a2b)
  • initialize CloudEvent's extensions property (#192) (0710166)
  • introduce CloudEventV1 and CloudEventV03 interfaces (#194) (a5befbe)
  • make application/json the default content type in binary mode (#118) (d9e9ae6)
  • misspelled word (#113) (cd6a3ee)
  • misspelled word (#115) (53524ac)
  • package.json & package-lock.json to reduce vulnerabilities (#253) (2ed5f84)
  • package.json & package-lock.json to reduce vulnerabilities (#338) (eca43d9)
  • package.json to reduce vulnerabilities (d3e44ad)
  • parse method mutating its input (#231) (060b21b)
  • 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)
  • update browser name to cloudevents. (#292) (48d182b), closes #286
  • upgrade cloudevents from 3.0.1 to 3.1.0 (#335) (7423acb)
  • upgrade uuid from 8.0.0 to 8.1.0 (#220) (25077a9)
  • upgrade uuid from 8.1.0 to 8.2.0 (#250) (13bcdb4)
  • use /lib in gitignore so src/lib is not ignored (#199) (fba3294)

lib

  • change CloudEvent to use direct object notation and get/set properties (#172) (abc114b)
  • refactor HTTP bindings and specifications (#165) (6f0b5ea)
  • validate extension values (#251) (3c8273f)

Tests

  • implement pending tests leftover from TS rewrite (#315) (b5cf886)
  • inplement the cucumber conformance tests from cloudevents/spec (#238) (dca2811)
  • 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)

Miscellaneous

  • add an automated GH action for releases (#329) (a9114b7)
  • 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)
  • fix promise tests to break the build when they fail (#305) (a5249de), closes #303
  • add action to detect and close stale issues (5a6cde5)
  • add coverage GitHub action (#185) (349fe8e)
  • add cucumber.js to list of files to lint and /docs to .gitignore (#327) (17d4bc8)
  • 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)
  • add vscode task JSON and GitHub issue/pr templates (#268) (1613595)
  • adds files section in package.json (#147) (f8a62b2)
  • adds the return type for the extensions (#221) (5ab8164)
  • bump GH stale action to v3 (#243) (90a9984)
  • CI workflow to only upload report if CODACY_PROJECT_TOKEN is set (#193) (aa320e7)
  • combine v03 and v1 event interfaces, specs and schemas into single files(#270) (129ec48)
  • consolidate HTTP parsers and header maps into single files (#267) (45850e3)
  • es6 base64 parser (#75) (d042ef1)
  • es6 parser (#98) (cd6decd)
  • es6 unmarshaller (#108) (79ec3ef)
  • fix CI code coverage publishing (#78) (8fb0ddf)
  • minor typos in guidance docs (#196) (15cd763)
  • Modify CI to also build backport branch(es) (#122) (c1fda94)
  • move typedoc them to a dev dependency. (#279) (c76dda6), closes #278
  • no import star (#297) (31c2005)
  • Remove commented version import. (#319) (0adcc35)
  • remove note with bad link and non SDK docs (#109) (f30c814)
  • simplify ce version parsers (#274) (3d82fb6)
  • simplify parser logic and duplicated code (#269) (a6124cc)
  • ts formatter (#210) (90782a9)
  • typo (#313) (81623ac)
  • update eslint rules to disallow var usage (e83db29)
  • Update examples to use latest sdk changes (#282) (763838c)
  • Update examples to use the latest sdk version(2.0.2) (#206) (dcb3c4e)
  • Update README with correct links for the support specification versions (#321) (73f0bec), closes #320
  • Update readme with correct Receiver usage (#287) (e219a30)
  • Update references of master to main (#316) (4bf2eb8)
  • update the release script to signoff the commit (#307) (f3cc2b4)
  • validate cloudevent version agnostic (#311) (8ac3eb0)
  • actions: don't auto-close stale issues and pull requests (#235) (d65b013)
  • use es6 for cloudevents.js (#73) (12ac181)
  • webpack should publish to bundles not _bundles (#227) (7012433)
  • release: 2.0.0 (daf945c)
  • release: 2.0.1 (edad2a6)
  • release: 2.0.2 (b3d9dd2)
  • Update uuid dependency (42246ce)

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)
  • clean up spec compliance table on README.md (#252) (c496931)
  • generate api documentation as a GitHub workflow (#217) (44b791b)
  • improve readme receiver example (#309) (d590e3a)
  • organize README badges and remove TS example (#112) (07323e0)
  • Release Guidelines (#306) (08bf15d)
  • remove 0.1, 0.2 spec support from README (56036b0)
  • remove repo structure docs (#111) (223a7c6)
  • update badge name (#289) (3fab5f2)
  • update README with latest API changes (#347) (138de37)
  • update README with maintainer names (#337) (0a12146)
  • README: fix example typo (#208) (9857eda), closes #173
  • README: fix wrong order of arguments in the accept example (#224) (850e893), closes #222
  • README: Update readme to mention that CloudEvents are read-only now (#248) (de6f0a2)
  • update README and examples with new API (#138) (b866edd)
  • Update references of specific versions to use Latest Supported. (#211) (ed1d328), closes #160

This PR was generated with Release Please.

@github-actions github-actions bot force-pushed the release-v4.0.0 branch 2 times, most recently from f40c50e to 4243137 Compare October 1, 2020 15:43
@lance
Copy link
Member

lance commented Oct 1, 2020

@lholmquist something seems wrong with the changelog here. It should not have all of these commits. Locally, when I try to see what has changed between v3.2.0 and HEAD, I see this.

git log b9ed2619c0362390c221e9bf8bf61deea7bd83fd..HEAD --oneline
e334b6e (HEAD -> main, origin/main) feat: add emitterFactory and friends (#342)
a9114b7 chore: add an automated GH action for releases (#329)
eca43d9 fix: package.json & package-lock.json to reduce vulnerabilities (#338)
0a12146 docs: update README with maintainer names (#337)
1fa3a05 feat: add a constructor parameter for loose validation (#328)
7423acb fix: upgrade cloudevents from 3.0.1 to 3.1.0 (#335)
4779d89 chore(example): Replaced body parser with express JSON parser (#334)
6cd310c src(event)!: make the event's time property only a string (#330)
f3953a9 (v3.2.x) feat: introduce Message, Serializer, Deserializer and Binding interfaces (#324)
17d4bc8 chore: add cucumber.js to list of files to lint and /docs to .gitignore (#327)
73f0bec chore: Update README with correct links for the support specification versions (#321)
0adcc35 chore: Remove commented version import. (#319)
6e2390e fix: upgrade uuid from 8.2.0 to 8.3.0 (#317)
4bf2eb8 chore: Update references of master to main (#316)
b5cf886 test: implement pending tests leftover from TS rewrite (#315)
8ac3eb0 refactor: validate cloudevent version agnostic (#311)
81623ac chore: typo (#313)
b3624c2 docs: add ref to CoC and other things (#244)

However, the output from the GH Action shows this - 585 commits since b9ed261.

Run GoogleCloudPlatform/[email protected]
✖ no recent release PRs found
✔ found 585 commits since b9ed2619c0362390c221e9bf8bf61deea7bd83fd
✔ release as major: There are 9 BREAKING CHANGES and 12 features
✔ updating package-lock.json from 3.1.0 to 4.0.0
✖ file samples/package.json did not exist
✔ updating CHANGELOG.md
✔ updating package.json from 3.1.0 to 4.0.0
✔ update pull-request #341: chore: release 4.0.0
✔ adding label autorelease: pending to https://github.com/cloudevents/sdk-javascript/pull/341
✔ cloudevents/sdk-javascript find stale PRs with label "autorelease: pending"

@lance
Copy link
Member

lance commented Oct 1, 2020

I have opened an issue upstream to look into this.

@lholmquist
Copy link
Contributor

lholmquist commented Oct 1, 2020 via email

@lance
Copy link
Member

lance commented Oct 1, 2020

I wonder if we should close this PR then rerun the action now that we’ve updated the release-please action

At the risk of making things worse... I'm going to try this.

@lance
Copy link
Member

lance commented Oct 1, 2020

Closing to see if we can't get the action to work properly now that we've updated the release-please-action version.

@lance lance closed this Oct 1, 2020
@lance
Copy link
Member

lance commented Oct 1, 2020

Updated PR is the same #348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants