This repository has been archived by the owner on May 3, 2024. It is now read-only.
Releases: zalando-nakadi/fahrschein
Releases · zalando-nakadi/fahrschein
0.23.0
What's Changed
- Start 0.23.0 development by @otrosien in #336
- Upgrade dependencies: dropwizard-metrics, jackson-datatype-money, json-path by @otrosien in #335
- Document backoff strategies in README by @otrosien in #342
- Fix dependency compatibility table in README by @otrosien in #341
- Analyses the CVE report, upgrades vulnerable dependencies and suppresses false-positives by @otrosien in #340
- JUnit 4 to JUnit 5 migration by @otrosien in #344
- Add Fahrschein User-Agent to Nakadi requests by @otrosien in #350
Full Changelog: 0.22.0...0.23.0
0.22.0
0.21.1
What's Changed
This is a bugfix release, reverting a dependency change introduced in 0.21.0, which was breaking gradle builds that use fahrschein-http-simple without explicitly adding it as dependency See #328 for details.
Full Changelog: 0.21.0...0.21.1
0.21.0
What's Changed
- Document release process by @otrosien in #309
- Remove log4j from project by @otrosien in #306
- Cleanup deprecation warnings in tests by @otrosien in #305
- Exception while the cursor is being committed by @a-liut in #251
- Fixes CursorManager README example misleading by @otrosien in #312
- JavaNet RequestFactory implementation by @otrosien in #304
- Dependency cleanup by @otrosien in #321
- Remove test code duplication by @otrosien in #319
- Adds ZStandard compression support by @otrosien in #320
- JDK11 client: Avoid copying of headers by @otrosien in #322
- Add documentation by @MALPI in #315
Full Changelog: 0.20.0...0.21.0
0.20.0
General notes
- Support for Gzip encoding support for publishing and consuming events added. This is - intentionally - a breaking API change. Building the
NakadClient
requires passing the desiredRequestFactory
, and the desired Content-Encoding. Most notably, this enables Gzip-compression for consuming events by default, even if theSimpleRequestFactory
is used. Please check the README for details. - Nakadi's low-level API has one use-case: if you always want to read a topic from the beginning. This is incompatible with the idea of an external persistant storage for offsets. If offset persistance is needed, people should use the normal subscription APIs. This release marks the JDBC and Redis implementations as deprecated, and they will be removed in a future release. Please reach out to us, if your use-case requires one of these modules.
- Fahrschein-JDBC Schema migration included as Flyway migrations, please check the README.
- Introduction of Nakadi end-to-end tests using Testcontainers and docker-compose.
Features/Fixes
- #301 Support gzip encoding for request and response
- #300 Add Nakadi-Docker based integration tests
- #294 Deprecate external Cursor management
Updates
0.19.0
General notes
- Introduce automated release to maven central with github actions
- Introduction of new maintainers
- Introduction of Code of Conduct
- Updated contribution guidelines
Features/Fixes
- #240 Add
toString
for MetaData object - #254 Introduce error message for cursor commit timeouts
- #270 Declare exception in case of event publishing
Updates
- Some dependency updates in order to fix potential vulnerabilities
- HikariCP(2.4.3 -> 5.0.0)
- postgres driver(9.4.1208 -> 42.3.1)
- okhttp (3.8.1 -> 4.9.3)
- Spring (4.3.13.RELEASE -> 5.3.14)
- jackson (2.9.3 -> 2.13.1)
- log4j (2.7 -> 2.17.1)
0.18.0
- Support authorization tag for subscriptions (#235)
Now you can provide authorization section when creating a subscription:
nakadiClient.subscription("your_app", "your_event_type")
.withAuthorization(authorization()
.addAdmin("user", "you")
.addAdmin("user", "your_friend")
.addAdmin("user", "your_dog")
.withReaders(ANYONE)
.build())
.subscribe();
- Allow any type of authorization type, not only
Bearer
(#236)
NakadiClientBuilder
now has a methodwithAuthorizationProvider
(along withwithAccessTokenProvider
) that accepts instances ofAuthorizationProvider
, which allows you to provide any authorization header in case bearer authorization is not your thing.
0.17.0
- Deserialize problem details when
type
property is missing
0.16.0
- Default to
FullJitterBackoffStrategy
- Support for OpenTracing
span_ctx
in metadata - Support for custom commit timeouts
0.15.0
- Fixed ZignAccessTokenProvider
- Log unexpected Throwables
- Updated jackson version