Releases: permutive-engineering/fs2-pubsub
v1.1.0
What's Changed
🐛 Bug fixes
- Fix gRPC decoding by @alejandrohdezma in #542
📈 Dependency updates
Full Changelog: v1.0.0...v1.1.0
v1.0.0
🎉 First release of the revamped fs2-pubsub
library
The fs2-google-pubsub
library has reborn as a new library: fs2-pubsub
.
The new library includes several improvements over the previous one, such as builder-pattern for creating the publishers/subscribers, better utilities around message or error handling or pureconfig support.
It is also fully-built in Scala!
Check out the README.md to see how the new library works and check the migration-guide in case you come from using fs2-google-pubsub
.
v0.22.2
What's Changed
- Deprecate everything inside the current library in favor of new
fs2-pubsub
by @alejandrohdezma in #534
Full Changelog: v0.22.1...v0.22.2
v0.22.1
📈 Dependency updates
Full Changelog: v0.22.0...v0.22.1
v0.22.0
What's Changed
- expose minDurationPerAckExtension and exactlyOnceDeliveryEnabled by @ChristianJohnston97 in #465
- Revert "expose minDurationPerAckExtension and exactlyOnceDeliveryEnabled" by @ChristianJohnston97 in #475
- Exactly once delivery GRPC support by @ChristianJohnston97 in #476
- Revert "Exactly once delivery GRPC support" by @chrisjl154 in #477
- update gcp pubsub version by @ChristianJohnston97 in #478
New Contributors
- @ChristianJohnston97 made their first contribution in #465
- @chrisjl154 made their first contribution in #477
Full Changelog: v0.21.0...v0.22.0
v0.21.0
v0.21.0
We have Scala 3 support! 🎉
What's Changed
- Port GHA from sbt-typelevel branch by @TimWSpence in #390
- Migrate to SBT Typelevel Plugin by @TimWSpence in #380
- Update sbt to 1.7.3 by @scala-steward in #416
- Dependency updates by @TimWSpence in #417
- Fix potential async leak by @TimWSpence in #418
Full Changelog: v0.20.0...v0.21.0
v0.18.1
Note this is the equivalent of v0.20.0, but still using CE2.
This release makes a change to the way we process messages from Pub/Sub which should considerably improve performance.
Changes from v0.18.0:
#330 Emit larger chunks in HTTP and gRPC consumers (based on @istreeter's #329, thanks @bastewart)
Note this change as a few caveats, please let us know if you experience any issues with this:
- In both consumer variants if any message in a chunk fails to
decode the errorHandler is invoked before any successfully
decoded messages in the chunk are emitted downstream; even
if the message which failed to decode comes after the successful
ones. - In the gRPC variant alone the stream may fail sooner if an internal
failure occurs in the Java library. This should not matter at all. - The user-provided errorHandler callback will now get called for all
messages in the chunk before the chunk gets emitted downstream
v0.20.0
This release makes a change to the way we process messages from Pub/Sub which should considerably improve performance.
Changes from v0.19.0:
#330 Emit larger chunks in HTTP and gRPC consumers (based on @istreeter's #329, thanks @bastewart)
Note this change as a few caveats, please let us know if you experience any issues with this:
- In both consumer variants if any message in a chunk fails to
decode theerrorHandler
is invoked before any successfully
decoded messages in the chunk are emitted downstream; even
if the message which failed to decode comes after the successful
ones. - In the gRPC variant alone the stream may fail sooner if an internal
failure occurs in the Java library. This should not matter at all. - The user-provided errorHandler callback will now get called for all
messages in the chunk before the chunk gets emitted downstream
v0.19.0
This release updates to use cats-effect 3 which causes breaking changes to the API.
Changes from v0.18.0
Dependency updates:
Dependency | Version |
---|---|
cats-effect | 3.2.9 |
fs2 | 3.1.2 |
http4s | 0.23.3 |
log4cats | 2.1.1 |
google-cloud-pubsub | 1.114.0* |
*This has been downgraded from 1.114.3 after an incorrect git merge, sorry!
v0.18.0
Note some previous 0.18.0.-*
pre-release versions used cats-effect 3, this release uses cats-effect 2.
This will be the final release on cats-effect which adds new features. Future releases on CE2 will be patch releases for security and the like.
Changes from v0.17.0
Features:
- (#308) Expose message attributes in
ConsumerRecord
- (#282) Fail stream on internal Google PubSub library error (gRPC consumer variant)
Breaking changes:
- (#274) Renames fields for consistency with GCP schemas
record
->data
andmetadata
->attributes
- (#240, #233) Add the ability to obtain authentication token from the GCP metadata endpoint (HTTP variant)
- If
serviceAccountPath
is not specified thedefault
service account token is retrieved - For more details see the following links:
- If
Dependency updates:
Dependency | Version |
---|---|
Scala 2.12 | 2.12.14 |
Scala 2.13 | 2.13.6 |
cats | 2.6.1 |
cats-effect | 2.5.3 |
fs2 | 2.5.9 |
http4s | 0.21.28 |
java-jwt | 3.18.2 |
jsoniter | 2.10.2 |
google-cloud-pubsub | 1.114.3 |