From 6e7f96bc6d9cb3f7bc4fd8fb482f7480cd8f4deb Mon Sep 17 00:00:00 2001 From: Emanuele Sabellico Date: Fri, 14 Nov 2025 12:22:33 +0100 Subject: [PATCH] v1.7.0-alpha.0 --- CHANGELOG.md | 7 ++++--- README.md | 1 + deps/librdkafka | 2 +- lib/error.js | 2 +- lib/util.js | 2 +- package-lock.json | 6 +++--- package.json | 6 +++--- schemaregistry/package.json | 2 +- types/config.d.ts | 2 +- types/errors.d.ts | 2 +- 10 files changed, 17 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4656fcb..2ecd533e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,13 @@ v1.7.0 is a feature release. It is supported for all usage. ### Enhancements -1. Configurable batch size through the `js.consumer.max.batch.size` property +1. References librdkafka v2.12.1. Refer to the [librdkafka v2.12.1 release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.12.1) for more information. +2. Configurable batch size through the `js.consumer.max.batch.size` property and cache size through the `js.consumer.max.cache.size.per.worker.ms` property (#393). -2. Statistics callback now available when using the promisified API with all +3. Statistics callback now available when using the promisified API with all client types (#399). -3. Fix for at-least-once guarantee not ensured in case a seek happens on one +4. Fix for at-least-once guarantee not ensured in case a seek happens on one partition and there are messages being fetched about other partitions (#393). diff --git a/README.md b/README.md index 02e431d3..d61d5645 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ For guidelines on contributing please see [CONTRIBUTING.md](CONTRIBUTING.md) | 1.4.1 | 2.11.1 | | 1.5.0 | 2.11.1 | | 1.6.0 | 2.12.0 | +| 1.7.0 | 2.12.1 | This mapping is applicable if you're using a pre-built binary. Otherwise, you can check the librdkafka version with the following command: diff --git a/deps/librdkafka b/deps/librdkafka index 2f220884..e1db7eaa 160000 --- a/deps/librdkafka +++ b/deps/librdkafka @@ -1 +1 @@ -Subproject commit 2f2208847f7f91eaf54bcbd2cedf5dbb2dd3a3fe +Subproject commit e1db7eaa517f0a6438bc846a9c49ede73b9ea211 diff --git a/lib/error.js b/lib/error.js index e7fedd30..b29d1038 100644 --- a/lib/error.js +++ b/lib/error.js @@ -28,7 +28,7 @@ LibrdKafkaError.wrap = errorWrap; * @constant * @memberof RdKafka */ -// ====== Generated from librdkafka 2.12.0 file src-cpp/rdkafkacpp.h ====== +// ====== Generated from librdkafka 2.12.1 file src-cpp/rdkafkacpp.h ====== LibrdKafkaError.codes = { /* Internal errors to rdkafka: */ diff --git a/lib/util.js b/lib/util.js index a8a9322f..66740c54 100644 --- a/lib/util.js +++ b/lib/util.js @@ -52,4 +52,4 @@ util.dictToStringList = function (mapOrObject) { return list; }; -util.bindingVersion = '1.7.0'; +util.bindingVersion = '1.7.0-alpha.0'; diff --git a/package-lock.json b/package-lock.json index 2477721f..37f7c35c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@confluentinc/kafka-javascript", - "version": "1.7.0", + "version": "1.7.0-alpha.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@confluentinc/kafka-javascript", - "version": "1.7.0", + "version": "1.7.0-alpha.0", "hasInstallScript": true, "license": "MIT", "workspaces": [ @@ -10056,7 +10056,7 @@ }, "schemaregistry": { "name": "@confluentinc/schemaregistry", - "version": "1.7.0", + "version": "1.7.0-alpha.0", "license": "MIT", "dependencies": { "@aws-sdk/client-kms": "^3.637.0", diff --git a/package.json b/package.json index 1852a308..d2cc4725 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "@confluentinc/kafka-javascript", - "version": "1.7.0", + "version": "1.7.0-alpha.0", "description": "Node.js bindings for librdkafka", - "librdkafka": "2.12.0", - "librdkafka_win": "2.12.0", + "librdkafka": "2.12.1", + "librdkafka_win": "2.12.1", "main": "lib/index.js", "types": "types/index.d.ts", "scripts": { diff --git a/schemaregistry/package.json b/schemaregistry/package.json index 1bf8dd74..336e5d10 100644 --- a/schemaregistry/package.json +++ b/schemaregistry/package.json @@ -1,6 +1,6 @@ { "name": "@confluentinc/schemaregistry", - "version": "1.7.0", + "version": "1.7.0-alpha.0", "description": "Node.js client for Confluent Schema Registry", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/types/config.d.ts b/types/config.d.ts index 9bf72ff6..c7dc338a 100644 --- a/types/config.d.ts +++ b/types/config.d.ts @@ -1,4 +1,4 @@ -// ====== Generated from librdkafka 2.12.0 file CONFIGURATION.md ====== +// ====== Generated from librdkafka 2.12.1 file CONFIGURATION.md ====== // Code that generated this is a derivative work of the code from Nam Nguyen // https://gist.github.com/ntgn81/066c2c8ec5b4238f85d1e9168a04e3fb diff --git a/types/errors.d.ts b/types/errors.d.ts index fede3633..d65f3174 100644 --- a/types/errors.d.ts +++ b/types/errors.d.ts @@ -1,4 +1,4 @@ -// ====== Generated from librdkafka 2.12.0 file src-cpp/rdkafkacpp.h ====== +// ====== Generated from librdkafka 2.12.1 file src-cpp/rdkafkacpp.h ====== export const CODES: { ERRORS: { /* Internal errors to rdkafka: */ /** Begin internal error codes (**-200**) */