From 4f0c52de2c928dff0e2fb3afb550545de4e412c9 Mon Sep 17 00:00:00 2001 From: Tommy Brunn Date: Wed, 9 Feb 2022 10:16:09 +0100 Subject: [PATCH] Bump version (v1.16.0) and update changelog --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e4b579a7..bbeb9607d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,44 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.16.0] - 2022-02-09 + +### Added + - Allow manual heartbeating from inside `eachMessage` handler #1255 + - Add `rebalancing` consumer event #1067 #1079 + - Add overload typings for all event types #1202 + - Return `configSource` in `admin.decribeConfigs` #1023 + - Add `topics` property to `admin.fetchOffsets` to fetch offsets for multiple topics #992 #998 + - Improve error output from `admin.createTopic` #1104 + - Export Error classes #1254 + - Validate `brokers` list contains strings #1284 + - Throw error when failing to stop or disconnect consumer #960 + +### Changed + + - Don't commit offsets from `consumer.seek` when `autoCommit` is `false` #1012 + - Do not restart the consumer on non-retriable errors #1274 + - Downgrade consumer rebalance error log to `warn` #1279 + - Make default round-robin partitioner topic-aware #1112 + +### Fixed + - Fix `offset` type of `consumer.seek` #981 + - Fix crash when used in Electron app built with electron-builder #984 + - Improve performance of Fetch requests #985 + - Fix crash when using topics with name of built-in Javascript functions #995 + - Fix type of consumer constructor to require config object #1002 + - Fix message type to allow `null` key #1037 + - Respect `heartbeatInterval` when invoking `heartbeat` concurrently #1026 + - Fix type of `timestamp` of `LoggerEntryContent` to be string #1082 + - Fix return type of `admin.describeAcls` #1118 + - Fix consumer getting stuck in `DISCONNECTING` state if in-flight requests time out during disconnect #1208 + - Fix failed serialization of BigInts when logging #1234 + - Fix crash when committing offsets for a topic before consumer initialization #1235 + - Reauthenticate to all brokers on demand #1241 + - Remove unnecessary warn log when calling `admin.deleteTopicRecords` with offset `-1` #1265 + - Handle empty control batches #1256 + - Send empty topic array as null when fetching metadata #1184 + ## [1.15.0] - 2020-11-24 ### Added - Initial work for static membership #888 diff --git a/package.json b/package.json index bdd7aa605..c38b7da8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kafkajs", - "version": "1.15.0", + "version": "1.16.0", "description": "A modern Apache Kafka client for node.js", "author": "Tulio Ornelas ", "main": "index.js",