Skip to content

Commit

Permalink
Release 0.13 (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored Oct 15, 2024
1 parent 523b313 commit 6f3dbd8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## v0.13.0

- All "map" types in the protocol that were previously of type `IndexMap<K, V>` are now of type `Vec<V>`, the value of `K` is stored as a field within `V`.
- This was done to resolve <https://github.com/tychedelia/kafka-protocol-rs/issues/84> 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.
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["protocol_codegen"]

[package]
name = "kafka-protocol"
version = "0.12.0"
version = "0.13.0"
authors = [
"Diggory Blake <[email protected]>",
"Charlotte McElwain <[email protected]>",
Expand Down

0 comments on commit 6f3dbd8

Please sign in to comment.