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 e28ce874..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] + 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/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/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..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 @@ -258,3 +258,14 @@ 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. + +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) +- [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 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 3832bfb1..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": { @@ -160,6 +160,6 @@ }, "types": "./dist/index.d.ts", "engines": { - "node": ">=16 <=20" + "node": ">=16 <=22" } }