From ce163a191c087ea6eb0cbd3dec0463656e13d208 Mon Sep 17 00:00:00 2001 From: Tommy Brunn Date: Tue, 28 Jun 2022 12:40:52 +0200 Subject: [PATCH] Bump version (v2.1.0) and update changelog --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc24fd107..83b2264ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ 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). +## [2.1.0] - 2022-06-28 + +### Added + - Add `pause` function to `eachMessage`/`eachBatch` to pause the current topic-partition #1364 + - The `KafkaMessage` type is now a union between the pre-Kafka 0.10 message format and the current #1401 + +### Fixed + - Fix 100% CPU utilization when all brokers are unavailable #1402 + - Fix persistent error when trying to produce after a topic authorization error #1385 + - Fix error when aborting or committing an empty transaction #1388 + - Don't re-process messages from a paused partition after breaking the consumption flow #1382 + ## [2.0.2] - 2022-05-31 ### Fixed diff --git a/package.json b/package.json index 7dc1f9e46..1fe1a21ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kafkajs", - "version": "2.0.2", + "version": "2.1.0", "description": "A modern Apache Kafka client for node.js", "author": "Tulio Ornelas ", "main": "index.js",