Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ schemaregistry-examples
build
.github
.vscode
.semaphore
.semaphore
examples
test
e2e
bench
ci
proto
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# confluent-kafka-javascript v0.3.0

v0.3.0 is a limited availability feature release. It is supported for all usage.

## Features

1. References librdkafka v2.6.0. Refer to the [librdkafka v2.6.0 release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.6.0) for more information.


# confluent-kafka-javascript v0.2.1

v0.2.1 is a limited availability release. It is supported for all usage.
Expand Down
16 changes: 15 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,25 @@ Steps to update:
1. Increment the `version` in `package.json`. Change the version in `util.js` too.
If it's needed to change librdkafka version, see the **Updating librdkafka version** section.

1. Run `npm run prepack` to verify package version.

1. Run `npm install` to update the `package-lock.json` file.

1. Create a PR and merge the above changes, and tag the merged commit with the new version. This should be the same string as `version` in `package.json`.

1. The CI will run on the tag, which will create the release artifacts in Semaphore CI.

1. Create a new GitHub release with the tag, and upload the release artifacts from Semaphore CI.
The release title should be the same string as `version` in `package.json`.
The release title should be the same string as `version` in `package.json`.

1. build schemaregistry project to prepare for the release:
`(cd schemaregistry && npm run build)`

1. Clear any file that isn't ignored by `.npmignore`

1. In case it's a release candidate add `--tag rc` to the following commands,
to avoid setting it as latest one

1. Publish Kafka client, with `--dry-run` first: `npm publish --dry-run --workspace=. --otp=<otp_here>`

1. Publish Schema Registry client, with `--dry-run` first: `npm publish --dry-run --workspace=schemaregistry --otp=<otp_here>`
2 changes: 1 addition & 1 deletion ci/update-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function getBranch(cb) {
}

function getPackageVersion(tag, branch) {
let baseVersion = `v${tag.major}.${tag.minor}.${tag.patch}`;
let baseVersion = `${tag.major}.${tag.minor}.${tag.patch}`;


// publish with a -devel suffix for EA and RC releases.
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@confluentinc/kafka-javascript",
"version": "0.3.0-RC1",
"version": "0.3.0",
"description": "Node.js bindings for librdkafka",
"librdkafka": "2.6.0",
"librdkafka_win": "2.6.0",
Expand Down Expand Up @@ -82,4 +82,4 @@
"schemaregistry",
"schemaregistry-examples"
]
}
}
2 changes: 1 addition & 1 deletion schemaregistry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@confluentinc/schemaregistry",
"version": "0.3.0-RC1",
"version": "0.3.0",
"description": "Node.js client for Confluent Schema Registry",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down