From 16d0c0f91f153224ba27f9906aa1575027668ab0 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Thu, 28 Sep 2023 10:03:26 -0400 Subject: [PATCH 1/6] Governance docs per CE PR 1226 (#565) Signed-off-by: Doug Davis --- MAINTAINERS.md | 9 +++++++++ README.md | 7 +++++++ RELEASE_GUIDELINES.md => RELEASING.md | 0 3 files changed, 16 insertions(+) create mode 100644 MAINTAINERS.md rename RELEASE_GUIDELINES.md => RELEASING.md (100%) diff --git a/MAINTAINERS.md b/MAINTAINERS.md new file mode 100644 index 00000000..d68d8ba9 --- /dev/null +++ b/MAINTAINERS.md @@ -0,0 +1,9 @@ +# Maintainers + +Current active maintainers of this SDK: + +- [Lance Ball](https://github.com/lance) +- [Daniel Bevenius](https://github.com/danbev) +- [Lucas Holmquist](https://github.com/lholmquist) +- [Fabio Jose](https://github.com/fabiojose) +- [Helio Frota](https://github.com/helio-frota) diff --git a/README.md b/README.md index 30653da2..c69f5577 100644 --- a/README.md +++ b/README.md @@ -258,3 +258,10 @@ how SDK projects are for how PR reviews and approval, and our [Code of Conduct](https://github.com/cloudevents/spec/blob/master/community/GOVERNANCE.md#additional-information) information. + +## Additional SDK Resources + +- [List of current active maintainers](MAINTAINERS.md) +- [How to contribute to the project](CONTRIBUTING.md) +- [SDK's License](LICENSE) +- [SDK's Release process](RELEASING.md) diff --git a/RELEASE_GUIDELINES.md b/RELEASING.md similarity index 100% rename from RELEASE_GUIDELINES.md rename to RELEASING.md From f93f89600267eb58ad67ceb0a2b511e068dc1184 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Tue, 17 Oct 2023 10:49:20 -0400 Subject: [PATCH 2/6] add link to our security mailing list (#568) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c69f5577..465f5809 100644 --- a/README.md +++ b/README.md @@ -259,6 +259,10 @@ for how PR reviews and approval, and our [Code of Conduct](https://github.com/cloudevents/spec/blob/master/community/GOVERNANCE.md#additional-information) information. +If there is a security concern with one of the CloudEvents specifications, or +with one of the project's SDKs, please send an email to +[cncf-cloudevents-security@lists.cncf.io](mailto:cncf-cloudevents-security@lists.cncf.io). + ## Additional SDK Resources - [List of current active maintainers](MAINTAINERS.md) From 245bae92d1c84b4a44fe7aae2f82c5a90818f1c5 Mon Sep 17 00:00:00 2001 From: Tim Nunamaker Date: Tue, 5 Dec 2023 07:36:13 -0600 Subject: [PATCH 3/6] chore: Update compatible node version (#573) * chore: Update compatible node version Signed-off-by: Tim Nunamaker * Add Node.js 21 to the CI matrix Signed-off-by: Tim Nunamaker --------- Signed-off-by: Tim Nunamaker --- .github/workflows/nodejs-ci-action.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs-ci-action.yml b/.github/workflows/nodejs-ci-action.yml index e28ce874..8505fd07 100644 --- a/.github/workflows/nodejs-ci-action.yml +++ b/.github/workflows/nodejs-ci-action.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x, 21.x] steps: - uses: actions/checkout@v2 diff --git a/package.json b/package.json index 3832bfb1..123eb331 100644 --- a/package.json +++ b/package.json @@ -160,6 +160,6 @@ }, "types": "./dist/index.d.ts", "engines": { - "node": ">=16 <=20" + "node": ">=16 <=21" } } From c65afe94d2320eae9b8b74de9b1e1bd8793baa6a Mon Sep 17 00:00:00 2001 From: Rathan Kumar Date: Tue, 16 Apr 2024 19:26:25 +0530 Subject: [PATCH 4/6] chore: updated check mark symbol to show some green checkboxes (#582) Signed-off-by: Rathan Kumar --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 465f5809..b40b8de3 100644 --- a/README.md +++ b/README.md @@ -191,37 +191,37 @@ There you will find Express.js, TypeScript and Websocket examples. | Core Specification | [v0.3](https://github.com/cloudevents/spec/blob/v0.3/spec.md) | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/spec.md) | | ------------------ | ------------------------------------------------------------- | ------------------------------------------------------------- | -| CloudEvents Core | :heavy_check_mark: | :heavy_check_mark: | +| CloudEvents Core | :white_check_mark: | :white_check_mark: | --- | Event Formats | [v0.3](https://github.com/cloudevents/spec/tree/v0.3) | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/spec.md#event-format) | | ----------------- | ----------------------------------------------------- | ----------------------------------------------------- | | AVRO Event Format | :x: | :x: | -| JSON Event Format | :heavy_check_mark: | :heavy_check_mark: | +| JSON Event Format | :white_check_mark: | :white_check_mark: | --- | Protocol Bindings | [v0.3](https://github.com/cloudevents/spec/tree/v0.3) | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/spec.md#protocol-binding) | | ---------------------- | ----------------------------------------------------- | ----------------------------------------------------- | | AMQP Protocol Binding | :x: | :x: | -| HTTP Protocol Binding | :heavy_check_mark: | :heavy_check_mark: | -| Kafka Protocol Binding | :x: | :heavy_check_mark: | -| MQTT Protocol Binding | :heavy_check_mark: | :x: | +| HTTP Protocol Binding | :white_check_mark: | :white_check_mark: | +| Kafka Protocol Binding | :x: | :white_check_mark: | +| MQTT Protocol Binding | :white_check_mark: | :x: | | NATS Protocol Binding | :x: | :x: | --- | Content Modes | [v0.3](https://github.com/cloudevents/spec/tree/v0.3) | [v1.0](https://github.com/cloudevents/spec/blob/v1.0/http-protocol-binding.md#13-content-modes) | | ---------------------- | ----------------------------------------------------- | ----------------------------------------------------- | -| HTTP Binary | :heavy_check_mark: | :heavy_check_mark: | -| HTTP Structured | :heavy_check_mark: | :heavy_check_mark: | -| HTTP Batch | :heavy_check_mark: | :heavy_check_mark: | -| Kafka Binary | :heavy_check_mark: | :heavy_check_mark: | -| Kafka Structured | :heavy_check_mark: | :heavy_check_mark: | -| Kafka Batch | :heavy_check_mark: | :heavy_check_mark: -| MQTT Binary | :heavy_check_mark: | :heavy_check_mark: | -| MQTT Structured | :heavy_check_mark: | :heavy_check_mark: | +| HTTP Binary | :white_check_mark: | :white_check_mark: | +| HTTP Structured | :white_check_mark: | :white_check_mark: | +| HTTP Batch | :white_check_mark: | :white_check_mark: | +| Kafka Binary | :white_check_mark: | :white_check_mark: | +| Kafka Structured | :white_check_mark: | :white_check_mark: | +| Kafka Batch | :white_check_mark: | :white_check_mark: +| MQTT Binary | :white_check_mark: | :white_check_mark: | +| MQTT Structured | :white_check_mark: | :white_check_mark: | ## Community From e7626077ed22b2bcbfa71b0403a58ac187c57cba Mon Sep 17 00:00:00 2001 From: Remi Cattiau Date: Wed, 12 Jun 2024 04:04:01 -0700 Subject: [PATCH 5/6] fix: allow Node 22 and use it by default (#587) Signed-off-by: Remi Cattiau --- .github/workflows/api-docs.yaml | 2 +- .github/workflows/nodejs-ci-action.yml | 22 +++++++++++----------- .github/workflows/publish-to-npm.yml | 6 +++--- package.json | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/api-docs.yaml b/.github/workflows/api-docs.yaml index c5f38fd3..8a47eaa6 100644 --- a/.github/workflows/api-docs.yaml +++ b/.github/workflows/api-docs.yaml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Generate API documentation run: npm install && npm run build:schema && npm run generate-docs diff --git a/.github/workflows/nodejs-ci-action.yml b/.github/workflows/nodejs-ci-action.yml index 8505fd07..93b53b23 100644 --- a/.github/workflows/nodejs-ci-action.yml +++ b/.github/workflows/nodejs-ci-action.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x, 20.x, 21.x] + node-version: [16.x, 18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Test on Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci @@ -31,18 +31,18 @@ jobs: name: Code coverage runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true - name: Generate coverage report - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - run: npm ci - run: npm run build --if-present - run: npm run coverage - name: Upload coverage report to storage - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: coverage path: coverage/lcov.info @@ -52,15 +52,15 @@ jobs: needs: coverage runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Download coverage report from storage - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: coverage - name: Upload coverage report to codacy - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - run: | ( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published" env: diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index 838c16f9..219c833f 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -9,10 +9,10 @@ jobs: contents: read id-token: write steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '22.x' registry-url: 'https://registry.npmjs.org' - run: npm install -g npm - run: npm ci diff --git a/package.json b/package.json index 123eb331..b2326f9f 100644 --- a/package.json +++ b/package.json @@ -160,6 +160,6 @@ }, "types": "./dist/index.d.ts", "engines": { - "node": ">=16 <=21" + "node": ">=16 <=22" } } From 154e9137177f36de87dba3a4d2803d0e6c9e9e14 Mon Sep 17 00:00:00 2001 From: Lucas Holmquist Date: Wed, 12 Jun 2024 11:23:17 -0400 Subject: [PATCH 6/6] chore(main): release 8.0.1 (#574) Signed-off-by: Lucas Holmquist --- CHANGELOG.md | 13 +++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b26112a..e3a81ba5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [8.0.1](https://github.com/cloudevents/sdk-javascript/compare/v8.0.0...v8.0.1) (2024-06-12) + + +### Bug Fixes + +* allow Node 22 and use it by default ([#587](https://github.com/cloudevents/sdk-javascript/issues/587)) ([e762607](https://github.com/cloudevents/sdk-javascript/commit/e7626077ed22b2bcbfa71b0403a58ac187c57cba)) + + +### Miscellaneous + +* Update compatible node version ([#573](https://github.com/cloudevents/sdk-javascript/issues/573)) ([245bae9](https://github.com/cloudevents/sdk-javascript/commit/245bae92d1c84b4a44fe7aae2f82c5a90818f1c5)) +* updated check mark symbol to show some green checkboxes ([#582](https://github.com/cloudevents/sdk-javascript/issues/582)) ([c65afe9](https://github.com/cloudevents/sdk-javascript/commit/c65afe94d2320eae9b8b74de9b1e1bd8793baa6a)) + ## [8.0.0](https://github.com/cloudevents/sdk-javascript/compare/v7.0.2...v8.0.0) (2023-07-24) ### ⚠ BREAKING CHANGES diff --git a/package-lock.json b/package-lock.json index 7911bd1c..a6140d35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cloudevents", - "version": "8.0.0", + "version": "8.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cloudevents", - "version": "8.0.0", + "version": "8.0.1", "license": "Apache-2.0", "dependencies": { "ajv": "^8.11.0", diff --git a/package.json b/package.json index b2326f9f..0237eeea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cloudevents", - "version": "8.0.0", + "version": "8.0.1", "description": "CloudEvents SDK for JavaScript", "main": "dist/index.js", "scripts": {