Skip to content

Commit 8b196f1

Browse files
authored
Bump version to 0.3.0-RC1 and: (#122)
- change software version to be without v as other clients - use relative dev or example dependencies to avoid changing version in multiple places - updates to RELEASE section
1 parent b578b41 commit 8b196f1

File tree

7 files changed

+31
-52
lines changed

7 files changed

+31
-52
lines changed

.semaphore/semaphore.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ blocks:
143143
- cd examples/performance
144144
- npm install
145145
- bash -c '../../ci/tests/run_perf_test.sh'
146+
- rm -rf ./node_modules
146147

147148
- name: "Linux amd64: Release"
148149
dependencies: [ ]

CONTRIBUTING.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,20 +220,22 @@ Steps to update:
220220
node ci/librdkafka-defs-generator.js
221221
```
222222

223-
1. Run `npm install --lockfile-version 2` to build with the new version and fix any build errors that occur.
223+
1. Run `npm install` to build with the new version and fix any build errors that occur.
224224

225225
1. Run unit tests: `npm run test`
226226

227+
1. Change the librdkafka version in `semaphore.yml`
228+
227229
1. Update the version numbers referenced in the [`README.md`](https://github.com/confluentinc/confluent-kafka-javascript/blob/master/README.md) file to the new version.
228230

229231
## Releasing
230232

231-
1. Increment the `version` in `package.json`. Change the version in `client.js` and `README.md`. Change the librdkafka version in `semaphore.yml` and in `package.json`.
233+
1. Increment the `version` in `package.json`. Change the version in `util.js` too.
234+
If it's needed to change librdkafka version, see the **Updating librdkafka version** section.
232235
233236
1. Run `npm install` to update the `package-lock.json` file.
234237
235-
1. Create a PR and merge the above changes, and tag the merged commit with the new version, e.g. `git tag vx.y.z && git push origin vx.y.z`.
236-
This should be the same string as `version` in `package.json`.
238+
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`.
237239
238240
1. The CI will run on the tag, which will create the release artifacts in Semaphore CI.
239241

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ util.dictToStringList = function (mapOrObject) {
5252
return list;
5353
};
5454

55-
util.bindingVersion = 'v0.2.1';
55+
util.bindingVersion = '0.3.0-RC1';

package-lock.json

Lines changed: 17 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@confluentinc/kafka-javascript",
3-
"version": "v0.2.1",
3+
"version": "0.3.0-RC1",
44
"description": "Node.js bindings for librdkafka",
55
"librdkafka": "2.6.0",
66
"librdkafka_win": "2.6.0",
@@ -78,6 +78,7 @@
7878
"node": ">=18.0.0"
7979
},
8080
"workspaces": [
81+
".",
8182
"schemaregistry",
8283
"schemaregistry-examples"
8384
]

schemaregistry-examples/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"license": "ISC",
99
"description": "",
1010
"devDependencies": {
11-
"@confluentinc/kafka-javascript": "^0.2.0",
12-
"@confluentinc/schemaregistry": "^v0.2.1",
11+
"@confluentinc/kafka-javascript": "file:..",
12+
"@confluentinc/schemaregistry": "file:../schemaregistry",
1313
"axios": "^1.7.7",
1414
"uuid": "^10.0.0"
1515
}

schemaregistry/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@confluentinc/schemaregistry",
3-
"version": "v0.2.1",
3+
"version": "0.3.0-RC1",
44
"description": "Node.js client for Confluent Schema Registry",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
1111
"devDependencies": {
1212
"@bufbuild/buf": "^1.37.0",
1313
"@bufbuild/protoc-gen-es": "^2.0.0",
14-
"@confluentinc/kafka-javascript": "^0.2.0",
14+
"@confluentinc/kafka-javascript": "file:..",
1515
"@eslint/js": "^9.9.0",
1616
"@types/eslint__js": "^8.42.3",
1717
"@types/node": "^20.16.1",

0 commit comments

Comments
 (0)