Skip to content

Releases: adzerk/apso

v0.25.2

07 Oct 10:07
377e5ed
Compare
Choose a tag to compare

This release introduces a new configuration key, aws.s3.max-error-retry, for the maximum number of retry attempts for failed retryable requests of the S3 client.

Added

  • Add aws.s3.max-error-retry config to S3Bucket (#909).

Changed

  • Update mdoc version to 0.25.1 (#892).
  • Update sbt, scripted-plugin to 1.11.5 (#893).
  • Update pekko-actor, ... to 1.2.0 (#894).
  • Update unirest-java-core to 4.5.1 (#895).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.790 (#896).
  • Update aws-java-sdk-s3 to 1.12.791 (#897).
  • Update sbt, scripted-plugin to 1.11.6 (#898).
  • Update scalacheck to 1.19.0 (#899).
  • Update typesafe:config to 1.4.5 (#900).
  • Update scala-logging to 3.9.6 (#901).
  • Update bcpkix-jdk18on, bcprov-jdk18on to 1.82 (#902).
  • Update scalafmt-core to 3.9.10 (#903).
  • Update pekko-actor, ... to 1.2.1 (#904).
  • Update specs2-core, specs2-junit, ... to 4.22.0 (#905).
  • Update circe-core, circe-generic, ... to 0.14.15 (#906).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.792 (#907).

v0.25.1

20 Aug 12:51
e4b6692
Compare
Choose a tag to compare

This release adds retries to S3Bucket's listing methods - getObjectsWithMatchingPrefix and getFilesInFolder and
adjusts the retry log levels for transient errors.

Changed

  • Update version mdoc var to 0.25.0 (#888).
  • Add retries to S3Bucket listing methods (#889).
  • Adjust S3 retry log levels for transient errors (#890).

v0.25.0

18 Aug 10:37
v0.25.0
1a6cc67
Compare
Choose a tag to compare

In this release, we are removing the specs2_5 and specs2_4 modules. This decision is based on the fact that at this point in time the upstream library exposes equivalent functionality and there is no point in maintaining a parallel implementation.

You might be interested in the recommended migration:

  • CustomMatchers: reason about File and Serializable directly.
  • FutureExtraMatchers: use specs2 matchers for Future.
  • JceTestHelper and JreVersionTestHelper: copy the implementation to your project if needed.

Changed

  • Update typesafe:config to 1.4.4 (#874).
  • Test single element time/date ranges (#875).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.788 (#876).
  • Update pekko-actor, ... to 1.1.5 (#877).
  • Update unirest-java-core to 4.5.0 (#878).
  • Fix README Maven Central badge link (#879).
  • Update commons-codec to 1.19.0 (#880).
  • Update testkit reference in README (#881).
  • Update sbt, scripted-plugin to 1.11.4 (#882).
  • Update scalafmt-core to 3.9.9 (#883).

Removed

  • Remove redundant methods from testkits (#884).
  • Remove test kits (#886).

v0.24.1

09 Jul 08:00
03df85e
Compare
Choose a tag to compare

This release updates scala-pool (included in the apso-io module) to 0.5.0. This new version of scala-pool comes with native support for Scala 3.

Changed

  • Update sbt, scripted-plugin to 1.11.3 (#869).
  • Update scala-pool to 0.5.0 (#870).

v0.24.0

02 Jul 17:34
c4b35aa
Compare
Choose a tag to compare

This release adds a module for specs2 v5 and renames the testkit module to keep consistency.

Added

  • Add module for specs2 v5: apso-specs2_5 (#862).

Changed

  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.786 (#857).
  • Update aws-java-sdk-s3 to 1.12.787 (#858).
  • Update pekko-actor, ... to 1.1.4 (#859).
  • Update circe-core, circe-generic, ... to 0.14.14 (#860).
  • Change deprecated sonatype snapshots repo definition (#861).
  • Rename apso-testkit module to apso-specs2_4 (#862).
  • Update scalafmt-core to 3.9.8 (#863).
  • Update sbt-scalafmt to 2.5.5 (#864).

Removed

  • Remove publish of aggregate root module apso (#867).

v0.23.0

09 Jun 17:06
5f1a966
Compare
Choose a tag to compare

This release removes the dependency on nscala-time from apso-time, relying solely on org.joda.time's API. This avoids introducing this dependency to any downstream users.

Changed

  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.783 (#840).
  • Update scalafmt-core to 3.9.6 (#841).
  • Update sbt-scalafix to 0.14.3 (#842).
  • Update scala3-library to 3.3.6 (#843).
  • Update unirest-java-core to 4.4.7 (#844).
  • Update sshj to 0.40.0 (#845).
  • Update pekko-http, pekko-http-core, ... to 1.2.0 (#846).
  • Update sbt to 1.11.0 and remove dependency on sbt-sonatype (#847).
  • Update scalafmt-core to 3.9.7 (#850).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.784 (#851).
  • Update sbt, scripted-plugin to 1.11.1 (#852).
  • Update aws-java-sdk-s3 to 1.12.785 (#853).
  • Update bcpkix-jdk18on, bcprov-jdk18on to 1.81 (#854).
  • Update sbt, scripted-plugin to 1.11.2 (#855).

Removed

  • Remove nscala-time dependency (#849).

v0.22.1

30 Apr 13:43
v0.22.1
63a5684
Compare
Choose a tag to compare

This release reintroduces the config.Cache.implementation method in apso-caching, now typed in both the cache key and value and returning a Scaffeine instance. This should make lower-level cache usages easier.

Added

  • Add implementation method to apso-caching config class (#833).

Changed

  • Add Scaffeine api mappings (#835).
  • Compile API documentation in CI (#836).
  • Update scalafmt-core to 3.9.5 (#838).

Fixed

  • Fix non-determinism in CachedFunctionExtrasSpec failure eviction (#832).
  • Remove nil crossScalaVersions for root project (#837).

v0.22.0

23 Apr 18:27
Compare
Choose a tag to compare

This release includes full support for Scala 3, now that apso-caching is ported. apso-caching's API has breaking changes; check the README for the updated documentation.

In addition, the performance of the flattenedKeyValueSet in apso-circe was improved.

Added

  • Port apso-caching to Scaffeine (#821).
  • Start cross-compiling apso-caching to Scala 3 (#827).

Changed

  • Update sbt-mdoc to 2.7.0 (#822).
  • Use builders and avoid Sets in flattenedKeyValueSet (#825).
  • Avoid specifying a default value for the maximum cache size (#826).
  • Update sbt-mdoc to 2.7.1 (#828).
  • Update unirest-java-core to 4.4.6 (#829).
  • Update circe-core, circe-generic, ... to 0.14.13 (#830).

Removed

  • Remove LruCache (#818).
  • Remove scala-collection-compat dependency listing (#824).

v0.21.1

09 Apr 15:02
ec5190b
Compare
Choose a tag to compare

This is a patch release towards 0.22.0, in which we expect to have full support for Scala 3. We have started cross-publishing most modules to Scala 3. Currently, only apso-caching is not yet available in Scala 3.

In this release we have dropped the apso-elasticsearch module. It's usefulness was debatable since it was pinned to a specific Elasticsearch version.

We have also improved the implementation of the list method of S3FileDescriptor, making it much faster in those scenarios where a bucket contains multiple files.

Added

  • Start cross-compiling most modules to Scala 3 (#807).

Changed

  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.778 (#758).
  • Update log4j-core, log4j-slf4j-impl to 2.24.2 (#760).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.779 (#761).
  • Update sbt, scripted-plugin to 1.10.6 (#762).
  • Update sbt-pgp to 2.3.1 (#763).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.780 (#764).
  • Update log4j-core, log4j-slf4j-impl to 2.24.3 (#765).
  • Update sbt-mdoc to 2.6.2 (#766).
  • Update sbt, scripted-plugin to 1.10.7 (#767).
  • Install sbt in GitHub actions (#768).
  • Update commons-codec to 1.17.2 (#769).
  • Update pekko-actor, ... to 1.1.3 (#770).
  • Update nscala-time to 3.0.0 (#771).
  • Update sbt-scalafmt to 2.5.3 (#772).
  • Update scalafmt-core to 3.8.4 (#773).
  • Update sbt-scalafix to 0.14.0 (#774).
  • Update bcpkix-jdk18on, bcprov-jdk18on to 1.80 (#775).
  • Update scala-library to 2.13.16 (#776).
  • Update sbt-scalafmt to 2.5.4 (#777).
  • Update scalafmt-core to 3.8.5 (#778).
  • Update cats-core to 2.13.0 (#779).
  • Update scalafmt-core to 3.8.6 (#780).
  • Update commons-codec to 1.18.0 (#782).
  • Update joda-time to 2.13.1 (#783).
  • Update scala-collection-compat to 2.13.0 (#784).
  • Update sbt-mdoc to 2.6.3 (#785).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.781 (#786).
  • Update sbt-mdoc to 2.6.4 (#787).
  • Update scalafmt-core to 3.9.0 (#788).
  • Update SCM connection string (#789).
  • Update sbt-scalafix to 0.14.2 (#790).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.782 (#791).
  • Update scalafmt-core to 3.9.1 (#792).
  • Update scalafmt-core to 3.9.2 (#793).
  • Update shapeless to 2.3.13 (#794).
  • Update sbt, scripted-plugin to 1.10.8 (#795).
  • Update sbt, scripted-plugin to 1.10.10 (#796).
  • Update scalafmt-core to 3.9.3 (#797).
  • Update scalafmt-core to 3.9.4 (#798).
  • Update circe-core, circe-generic, ... to 0.14.12 (#799).
  • Update sbt, scripted-plugin to 1.10.11 (#800).
  • Update sbt-mdoc to 2.6.5 (#801).
  • Update specs2-common, specs2-core, ... to 4.21.0 (#802).
  • Have a single build.sbt file (#803).
  • Move elasticsearch-pekko to elasticsearch (#806).
  • Update joda-time to 2.14.0 (#817).

Removed

  • Remove Guava option from apso-caching (#810).
  • Remove apso-elasticsearch (#811).
  • Drop support for Scala 2.12 (#813).
  • Remove custom Timestamp implementation from caching (#814).

Fixed

  • Make fromFullPaths tail recursive (#759).
  • Fix CI badge (#781).
  • Remove Scala Steward pins related to Elasticsearch dependencies (#816).
  • Avoid fetching all prefixes when listing S3 files under a directory (#819).

v0.21.0

06 Nov 16:07
b62d082
Compare
Choose a tag to compare

In this release we have added a uri method to the FileDescriptor data type. The uri method can be used to produce a java.net.URI from a FileDescriptor.

import com.kevel.apso.io._

val localFD = FileDescriptor("file:///tmp/one/two/three")
localFD.uri
// Returns java.net.URI = file:///tmp/one/two/three

val s3FD = FileDescriptor("s3://my-bucket/key")
s3FD.uri
// Returns java.net.URI = s3://my-bucket/key

Added

  • Add a uri method to FileDescriptor (#756).

Changed

  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.776 (#749).
  • Update sbt, scripted-plugin to 1.10.3 (#750).
  • Update aws-java-sdk-s3 to 1.12.777 (#751).
  • Update sbt, scripted-plugin to 1.10.4 (#752).
  • Update bcpkix-jdk18on, bcprov-jdk18on to 1.79 (#753).
  • Update unirest-java-core to 4.4.5 (#754).
  • Update sbt, scripted-plugin to 1.10.5 (#755).