Releases: fd4s/fs2-kafka
fs2-kafka v1.4.1
This release fixes an issue where consumers would not handle rebalances correctly. It also adds support for Scala 3.0.0-RC1 and drops support for Scala 3.0.0-M3.
Bugfix
Changes
fs2-kafka v2.0.0-M1
fs2-kafka 2.0.0-M1 is the first milestone release for fs2-kafka 2.0.0. The 2.x series continues to use cats-effect 2, and exists mainly as a stepping-stone to fs2-kafka 3.0.0, which will use cats-effect 3. It is not binary-compatible with previous versions of fs2-kafka, but there is only one source-breaking change apart from removal of deprecated functionality. Future milestones may make further breaking changes.
Changes
fs2-kafka v1.4.0
Enhancements
- Added Traverse and Bitraverse instances to the CommittableConsumerRecord, CommittableProducerRecords, ConsumerRecord and ProducerRecord (#409) @LMnet
- Made typeclass instances for classes from Java kafka library available to user code (#473) @bplommer
Changes
- Update testcontainers-scala-kafka, ... to 0.39.1 (#526) @scala-steward
- Update vulcan to 1.4.0 (#524) @scala-steward
- Update kafka-avro-serializer to 6.1.0 (#515) @scala-steward
- Update cats-kernel-laws, cats-laws to 2.4.1 (#519) @scala-steward
- Update sbt-mdoc to 2.2.17 (#513) @scala-steward
- Update testcontainers-scala-kafka, ... to 0.38.9 (#512) @scala-steward
- Update sbt to 1.4.7 (#508) @scala-steward
- Update sbt-dotty to 0.5.2 (#503) @scala-steward
- Update sbt-github-actions to 0.10.1 (#488) @scala-steward
- Update jline to 2.14.6 (#489) @scala-steward
Misc
fs2-kafka v1.3.1
Scala 3 support
This release adds support for Scala 3.0.0-M3. There are no other user-facing changes.
It is binary-compatible with previous v1.x releases, with the exception of v1.2.0, which should not be used.
Changes
- Update sbt-mdoc to 2.2.15 (#487) @scala-steward
- Scala 3 support (#416) @bplommer
v1.3.1-alpha
This release is for testing changes to GitHub Actions config - don't use it.
fs2-kafka v1.3.0
This release fixes an important bug in v1.2.0. Enormous thanks to @LMnet for finding and reporting it so quickly.
It is binary compatible with v1.0.0 and v1.1.0, but not with v1.2.0, which should not be used.
Bug fix
- Fixed 1.2.0 regression: lost guarantee of order for producer (#477)
Binary-breaking change
- Reintroduced
ConcurrentEffect
requirement for producers, breaking binary compatibility with v1.2.0
Updates
- Update kind-projector to 0.11.3 (#470) @scala-steward
fs2-kafka v1.2.0
Important regression (2020-01-18)
This release introduces a bug that breaks ordering guarantees for producers. Do not use.
Previous summary
This release provides several pieces of new and improved functionality, for which particular thanks are due to @LMnet. We have also made various API changes and deprecations in preparation for supporting Scala 3 and cats-effect 3.
New functionality
- Added stopConsuming method to the KafkaConsumer (#421) @LMnet
- Added commitSync and commitAsync methods to the KafkaConsumer (#420) @LMnet
- Added KafkaAdminClient methods alterConsumerGroupOffsets and deleteConsumerGroupOffsets (#408) @LMnet
- Partitions map stream (#405, #422) @LMnet
- Allow multiple KafkaProducer instances to share underlying resources (#436) @bplommer
Changes
- Improved ergonomics for instantiating
KafkaConsumer
,KafkaProducer
,TransactionalKafkaProducer
, andKafkaAdminClient
(#437, #447)- Factory methods in the
fs2.kafka
package object are deprecated in favour of (mostly) new methods on companion objects
- Factory methods in the
- Decompose consumer into traits (#429) @bplommer
KafkaConsumer
is now composed of several traits, which, unlikeKafkaConsumer
itself, are not sealed. By writing client code against these traits, it is possible to create mock implementations of them for testing.
Updates
- Update vulcan to 1.3.0 (#465) bplommer
- Update cats to 2.2.0 (#426) @nasadorian
- Update sbt-mdoc to 2.2.14 (#452) @scala-steward
- Update cats-effect-laws to 2.3.1 (#453) @scala-steward
- Update discipline-scalatest to 2.1.1 (#455) @scala-steward
- Update sbt to 1.4.6 (#458) @scala-steward
- Update fs2-core to 2.5.0 (#457) @scala-steward
- Update sbt-ci-release to 1.5.5 (#448) @scala-steward
- Update kafka-avro-serializer to 6.0.1 (#444) @scala-steward
- Update discipline-scalatest to 2.1.0 (#430) @scala-steward
- Update kind-projector to 0.11.1 (#432) @scala-steward
- Update sbt-mima-plugin to 0.8.1 (#412) @scala-steward
- Update scala to 2.12.12 (#403) @JackTreble
- Update kafka-avro-serializer to 6.0.0 (#402) @scala-steward
Miscellaneous
fs2-kafka v1.1.0
Changes
- Add producer metrics (#335) @janstenpickle
- Fix problem with emitting same data from stream after rebalance (#331) @vavr
Updates
- Update depedencies to latest versions (#392) @vlovgr
- Update cats-effect to 2.1.4
- Update fs2 to 2.4.3
- Update kafka-avro-serializer to 5.5.1
- Update fs2-core to 2.4.4 (#393) @scala-steward
- Update Kafka to 2.5.0 (#363) @vlovgr
- Update kafka-clients to 2.4.1 (#339) @scala-steward
- Update scala to 2.13.3 (#391) @vlovgr
- Update vulcan to 1.2.0 (#396) @scala-steward
Documentation
Miscellaneous
- Change to enable mima after 1.0.0 release (#341) @vlovgr
- Update depedencies to latest versions (#392) @vlovgr
- Update discipline-scalatest to 2.0.0
- Update embedded-kafka to 2.6.0
- Update discipline-scalatest to 2.0.1 (#394) @scala-steward
- Update sbt to 1.3.13 (#377) @scala-steward
- Update sbt-buildinfo to 0.10.0 (#386) @scala-steward
- Update sbt-ci-release to 1.5.3 (#357) @scala-steward
- Update sbt-header to 5.6.0 (#355) @scala-steward
- Update sbt-mdoc to 2.2.8 (#400) @scala-steward
- Update sbt-mima-plugin to 0.7.0 (#333) @scala-steward
- Update sbt-scalafmt to 2.4.2 (#383) @scala-steward
- Update sbt-unidoc to 0.4.3 (#319) @scala-steward
fs2-kafka v1.0.0
Changes
Updates
- Update fs2-core to 2.2.1 (#314) @scala-steward
- Update vulcan to 1.0.1 (#315) @scala-steward
Miscellaneous
- Update discipline-scalatest to 1.0.0-RC4 (#311) @vlovgr
- Update sbt to 1.3.7 (#307) @scala-steward
fs2-kafka v1.0.0-RC1
Changes
- Add
apply
functions forAvroSerializer
andAvroDeserializer
(#270) @bplommer - Add additional consumer functionality (#273) @vavr
- Add extractors for
CommittableConsumerRecord
andHeader
(#266) @hmagrahi - Change default
ProducerSettings#parallelism
to 10000 (#303) @vlovgr - Change group id to
com.github.fd4s
(#301) @vlovgr - Change to ensure revoked partition records are removed (#302) @vlovgr
- Change to maintain binary compatibility across minor versions (#306) @vlovgr
- Change to use writer schema from schema registry for deserialization (#282) @bplommer
- Rename
Serializer.Record
andDeserializer.Record
(#304, #269) @vlovgr @bplommer
Updates
- Update confluent serializer to 5.4.0 (#300) @vlovgr
- Update fs2 to 2.1.0 (#255) @scala-steward
- Update kafka to 2.4.0 (#300) @vlovgr
- Update scala to 2.13.1 (#262) @vlovgr
- Update vulcan to 1.0.0-RC1 (#305) @vlovgr
Miscellaneous
- Change to use sbt-ci-release (#283) @vlovgr
- A snapshot release is now being published for every push to the
master
branch. - The signing key for release artifacts has changed to
E97C 64AB 4987 7F74
.
- A snapshot release is now being published for every push to the
- Remove direct dependency on scalatest (#298) @vlovgr
- Remove release notes in favour of github releases (#287) @vlovgr
- Update discipline-scalatest to 1.0.0-RC2 (#297) @scala-steward
- Update embedded-kafka to 2.4.0 (#300) @vlovgr
- Update sbt to 1.3.6 (#290) @scala-steward
- Update sbt-ci-release to 1.5.0 (#292) @scala-steward
- Update sbt-gpg to 0.2.1 (#268) @scala-steward
- Update sbt-header to 5.4.0 (#296) @scala-steward
- Update sbt-mdoc to 2.1.1 (#295) @scala-steward
- Update sbt-scalafmt to 2.3.0 (#275) @scala-steward
- Update sbt-sonatype to 3.8.1 (#263) @scala-steward
- Update years in copyright license (#293) @vlovgr