diff --git a/CHANGELOG.md b/CHANGELOG.md index abb19e9..525fe9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.13.0 + - All "map" types in the protocol that were previously of type `IndexMap` are now of type `Vec`, the value of `K` is stored as a field within `V`. - This was done to resolve and improve decoding speed. - If you were previously calling `.get()` on the map, the best way to migrate is to refactor your code to avoid the need to lookup by iterating over the items in the response instead. @@ -11,6 +13,8 @@ - The Debug impl for new type wrappers now passes directly to the inner type. The full list of new type wrappers is BrokerId, GroupId, ProducerId, TopicName and TransactionalId. For example GroupId was previously `GroupId("some group")` but is now `"some group"`. +- ApiKey is now non_exhaustive. +- Added `gzip`, `zstd`, `snappy` and `lz4` features to enable the different compression algorithms for records (All enabled by default) ## v0.12.0 diff --git a/Cargo.lock b/Cargo.lock index fe43ba7..9256411 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -947,7 +947,7 @@ checksum = "9dbbfed4e59ba9750e15ba154fdfd9329cee16ff3df539c2666b70f58cc32105" [[package]] name = "kafka-protocol" -version = "0.12.0" +version = "0.13.0" dependencies = [ "anyhow", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 589535a..3179910 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["protocol_codegen"] [package] name = "kafka-protocol" -version = "0.12.0" +version = "0.13.0" authors = [ "Diggory Blake ", "Charlotte McElwain ",