Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Releases: zalando-nakadi/fahrschein

0.23.0

21 Jul 10:40
b8b2828
Compare
Choose a tag to compare

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

30 May 20:57
68f1625
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.21.1...0.22.0

0.21.1

10 May 15:20
222c2e2
Compare
Choose a tag to compare

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.

  • Reverts the fahrschein-http-simple to runtime dependency by @otrosien in #329

Full Changelog: 0.21.0...0.21.1

0.21.0

04 May 13:31
9b2374e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.20.0...0.21.0

0.20.0

30 Mar 09:57
e8174dc
Compare
Choose a tag to compare

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 desired RequestFactory, and the desired Content-Encoding. Most notably, this enables Gzip-compression for consuming events by default, even if the SimpleRequestFactory 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

  • #296 #286 Bump postgresql from 9.4.1208 to 42.3.3 in /fahrschein-jdbc
  • #295 #285 Bump postgresql from 42.3.1 to 42.3.3 in /fahrschein-example

0.19.0

07 Feb 12:23
cacb90e
Compare
Choose a tag to compare

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

19 Jul 12:17
Compare
Choose a tag to compare
  • 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 method withAuthorizationProvider (along with withAccessTokenProvider) that accepts instances of AuthorizationProvider, which allows you to provide any authorization header in case bearer authorization is not your thing.

0.17.0

21 Apr 10:49
Compare
Choose a tag to compare
  • Deserialize problem details when type property is missing

0.16.0

30 Oct 20:57
Compare
Choose a tag to compare
  • Default to FullJitterBackoffStrategy
  • Support for OpenTracing span_ctx in metadata
  • Support for custom commit timeouts

0.15.0

14 Apr 10:19
Compare
Choose a tag to compare
  • Fixed ZignAccessTokenProvider
  • Log unexpected Throwables
  • Updated jackson version