Skip to content

18.0.0

Latest
Compare
Choose a tag to compare
@jenschude jenschude released this 02 May 10:22
· 30 commits to main since this release
e3db8cc

New Features

Java 11

The SDK is built with Java 11 now. We will also take advantage of different language features in future releases.

New Request Policy Middleware

It's now possible to create request policies based on the requests context. E.g. different timeouts and retries for POST and GET requests:

ProjectApiRoot b = ApiRootBuilder.of()
       ...
        .withRequestPolicies(policies -> policies
                .withRequestMatching(apiHttpRequest -> apiHttpRequest.getMethod().equals(ApiHttpMethod.POST),
                    policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(10)))
                .withRequestMatching(apiHttpRequest -> apiHttpRequest.getMethod().equals(ApiHttpMethod.GET),
                    policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(1)))
                .withAllOtherRequests(policyBuilder -> policyBuilder.withTimeout(Duration.ofSeconds(60))))
        .build(projectKey);

What's Changed

  • fix Delivery discriminators by @jenschude in #866
  • Update generated SDKs by @ct-sdks in #867
  • Update changelog by @ct-sdks in #865
  • Update generated SDKs by @ct-sdks in #870
  • Update java to 11 by @lojzatran in #844
  • Update generated SDKs by @ct-sdks in #871
  • Update generated SDKs by @ct-sdks in #872
  • Update generated SDKs by @ct-sdks in #873
  • Update generated SDKs by @ct-sdks in #877
  • Update generated SDKs by @ct-sdks in #879
  • DEVX-588 adding query predicate builder documentation by @barbara79 in #874
  • Update generated SDKs by @ct-sdks in #883
  • Update generated SDKs by @ct-sdks in #885
  • Update generated SDKs by @ct-sdks in #886
  • Add request specific policies by @jenschude in #882
  • chore(deps): lock file maintenance by @renovate in #881
  • chore(deps): update actions/setup-java digest to c5195ef by @renovate in #875
  • chore(deps): update actions/create-github-app-token action to v2 by @renovate in #869
  • chore(deps): update github/codeql-action digest to 97a2bfd by @renovate in #868
  • fix(deps): update all dependencies by @renovate in #858
  • revert junit-jupiter by @jenschude in #887
  • Update generated SDKs by @ct-sdks in #888
  • remove dataprovider library by @jenschude in #889
  • update junit by @jenschude in #890

Full Changelog: 17.30.0...18.0.0