Skip to content

Releases: IndicoDataSolutions/indico-client-java

6.0.0

13 Nov 17:06
ed9c774
Compare
Choose a tag to compare

Removes some inaccurate documentation. Fixes bugs (including names of tokens). Updates dependencies to address CVEs.
Adds the ability to craft raw graphql queries.

What's Changed

New Contributors

Full Changelog: 5.1.0...v6.0.0

5.1

27 Apr 20:00
134ae25
Compare
Choose a tag to compare
5.1

This release adds the ability to select a submission results file version, up to version 3/LATEST. The minimum platform version supported by this release is 5.1.

[BACKPORT] 4.11.4

20 Dec 18:34
Compare
Choose a tag to compare

4.11.4 applies the log4j-api v 2.17 update to the pre-kotlin rewrite version of the indico-client-java. This is for people unable to upgrade to 4.12.x only

4.12.2 - Log4j exploit patch

13 Dec 20:19
cbbd667
Compare
Choose a tag to compare

This updates log4j dependency to 2.15, addressing CVE 2021-44228.

4.12.1 - Retry Submission

15 Nov 21:03
db3e95a
Compare
Choose a tag to compare

Provides submission retry functionality.

4.12.0 -- Kotlin Rewrite

01 Nov 20:51
64d8b29
Compare
Choose a tag to compare

4.12.0 is the latest version including a rewrite of most of the code base in Kotlin. Much of the interfaces remain the same but there are some potentially breaking changes listed below for awareness:

  • SubmissionFilter builder() → Builder.
    
  • SubmissionFilter .oR() → or()
    
List<SubmissionFilter> filters = new ArrayList<>();
            filters.add(new SubmissionFilter.Builder().status(SubmissionStatus.COMPLETE).build());
            filters.add(new SubmissionFilter.Builder().status(SubmissionStatus.FAILED).build());
            SubmissionFilter subFilter = new SubmissionFilter.Builder().ors(filters).build();
  • refresh function is deprecated.

  • New exceptions are thrown from queries and mutations, although catching RuntimeException will still work.

  • IndicoClient is now an interface and the concrete implementation is IndicoKtorClient

IndicoConfig config = new IndicoConfig.Builder()
                .host("app.indico.io")
                .tokenPath("__TOKEN_PATH__")
                .build();

        try (IndicoClient client = new IndicoKtorClient(config)) {
  • Relies on kotlin runtime so requires additional dependencies for projects who cannot use automatic dependency resolution
  • Removed raw graphql class, seems it did not function properly.
  • Removed multiple obsolete examples.
  • Removed the “WorkflowJob” concept as it is obsolete and was causing confusion.
  • Deprecates some API features, especially those that have consumers add full objects to a query.
  • Objects in package com.indico.jobs moved to com.indico.query

4.11.1 - Version number jump and Duplication Id Support

17 Jun 15:30
51f42f4
Compare
Choose a tag to compare

This version supports sending a UUID along with a submission to ensure that, in the case of transient network errors or retries, the same file is not processed multiple times.

This version also pegs the version number of the client to the minimum major minor version of the platform. This version supports platform version 4.11.0 and up.

4.0.12

17 May 21:24
f8a0010
Compare
Choose a tag to compare

This release addresses client stability and errors in the logs sometimes seen regarding leaked connections. It also adds trace logging for additional information when troubleshooting.

Consumers should take note of the new .close() method on Blob storage objects, which now implements the AutoCloseable interface. It is important to call close() to indicate you are done with the object in order to free up underlying resources.