Skip to content

Commit

Permalink
Bump version (v2.0.0) and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevon committed May 5, 2022
1 parent 3c833ec commit 707827b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,36 @@ 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.0.0] - 2022-05-06

This is the first major version released in 4 years, and contains a few important breaking changes. **A [migration guide](https://kafka.js.org/docs/migration-guide-v2.0.0) has been prepared to help with the migration process.** Be sure to read it before upgrading from older versions of KafkaJS.

### Added
- Validate configEntries when creating topics #1309
- New `topics` argument for `consumer.subscribe` to subscribe to multiple topics #1313
- Support duplicate header keys #1132

### Removed
- **BREAKING:** Drop support for Node 10 and 12 #1333
- **BREAKING:** Remove deprecated enum `ResourceTypes` #1334
- **BREAKING:** Remove deprecated argument `topic` from `admin.fetchOffsets` #1335
- **BREAKING:** Remove deprecated method `getTopicMetadata` from admin client #1336
- **BREAKING:** Remove typo type `TopicPartitionOffsetAndMedata` #1338
- **BREAKING:** Remove deprecated error property originalError. Replaced by `cause` #1341

### Changed
- **BREAKING:** Change default partitioner to Java compatible #1339
- Improve consumer performance #1258
- **BREAKING:** Enforce request timeout by default #1337
- Honor default replication factor and partition count when creating topics #1305
- Increase default authentication timeout to 10 seconds #1340

### Fixed
- Fix invalid sequence numbers when producing concurrently with idempotent producer #1050 #1172
- Fix correlation id and sequence number overflow #1310
- Fix consumer not restarting on retriable connection errors #1304
- Avoid endless sleep loop #1323

## [1.16.0] - 2022-02-09

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kafkajs",
"version": "1.16.0",
"version": "2.0.0",
"description": "A modern Apache Kafka client for node.js",
"author": "Tulio Ornelas <ornelas.tulio@gmail.com>",
"main": "index.js",
Expand Down

0 comments on commit 707827b

Please sign in to comment.