Skip to content

Latest commit

 

History

History
339 lines (244 loc) · 16.3 KB

CHANGELOG.md

File metadata and controls

339 lines (244 loc) · 16.3 KB

Changelog

0.21.0 - 2024-11-06

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).

0.20.0 - 2024-10-16

This release is an exact copy of v0.19.7, but now published under the com.kevel namespace.

0.19.7 - 2024-10-16

This release includes some bug fixes and dependency updates. It will also be last version of Apso published under the com.velocidi namespace. Future releases will start using the com.kevel namespace.

Added

  • Force empty line after top-level package statement (#727).

Changed

  • Update shapeless to 2.3.12 (#680).
  • Update aws-java-sdk-core to 1.12.726 (#681).
  • Update aws-java-sdk-core to 1.12.731 (#683).
  • Update cats-core to 2.12.0 (#684).
  • Update aws-java-sdk-s3 to 1.12.733 (#685).
  • Update aws-java-sdk-s3 to 1.12.739 (#687).
  • Update specs2-common, specs2-core, ... to 4.20.7 (#688).
  • Update aws-java-sdk-core to 1.12.742 (#689).
  • Update aws-java-sdk-s3 to 1.12.744 (#690).
  • Update scalafmt-core to 3.8.2 (#691).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.748 (#696).
  • Update circe-core, circe-generic, ... to 0.14.8 (#697).
  • Update sbt-mdoc to 2.5.3 (#698).
  • Update scalatest-core to 3.2.19 (#699).
  • Update aws-java-sdk-s3 to 1.12.750 (#700).
  • Update pekko-actor, ... to 1.0.3 (#701).
  • Update sbt-sonatype to 3.11.0 (#702).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.756 (#703).
  • Update circe-core, circe-generic, ... to 0.14.9 (#704).
  • Update aws-java-sdk-s3 to 1.12.759 (#705).
  • Update sbt to 1.10.1 (#706).
  • Update sbt-mdoc to 2.5.4 (#707).
  • Update specs2-common, specs2-core, ... to 4.20.8 (#708).
  • Update aws-java-sdk-core to 1.12.761 (#709).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.762 (#710).
  • Update commons-codec to 1.17.1 (#711).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.765 (#712).
  • Update unirest-java-core to 4.4.4 (#713).
  • Update scalafmt-core to 3.8.3 (#714).
  • Update sbt-sonatype to 3.11.1 (#715).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.767 (#716).
  • Update sbt-sonatype to 3.11.2 (#717).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.768 (#718).
  • Update aws-java-sdk-s3 to 1.12.769 (#719).
  • Update sbt-sonatype to 3.11.3 (#720).
  • Update aws-java-sdk-core to 1.12.770 (#721).
  • Update pekko-actor, ... to 1.1.0 (#722).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.771 (#723).
  • Update scala-library to 2.12.20 (#724).
  • Update circe-core, circe-generic, ... to 0.14.10 (#725).
  • Update log4j-core, log4j-slf4j-impl to 2.24.0 (#726).
  • Update aws-java-sdk-s3 to 1.12.772 (#728).
  • Update sshj to 0.39.0 (#729).
  • Update pekko-actor, ... to 1.1.1 (#730).
  • Update joda-time to 2.13.0 (#731).
  • Update sbt to 1.10.2 (#732).
  • Update scalacheck to 1.18.1 (#733).
  • Update sbt-mdoc to 2.6.0 (#734).
  • Update sbt-mdoc to 2.6.1 (#735).
  • Update scala-library to 2.13.15 (#736).
  • Update sbt-scalafix to 0.13.0 (#737).
  • Update nscala-time to 2.34.0 (#738).
  • Update log4j-core, log4j-slf4j-impl to 2.24.1 (#739).
  • Update pekko-http, pekko-http-core, ... to 1.1.0 (#740).
  • Update aws-java-sdk-core, aws-java-sdk-s3 to 1.12.773 (#741).
  • Update sbt-pgp to 2.3.0 (#742).
  • Update pekko-actor-testkit-typed to 1.1.2 (#743).
  • Update sbt-sonatype to 3.12.0 (#744).
  • Update sbt-sonatype to 3.12.2 (#746).
  • Update specs2-common, specs2-core, ... to 4.20.9 (#747).

Removed

  • Remove the coursier/cache-action step (#695).

Fixed

  • Fix race condition in LruCache when handling exceptions (#692).
  • Fix ValueMagnet implicit conversion from Any (#693).
  • Fix release date of 0.19.6 in the Changelog (#694).

0.19.6 - 2024-05-17

This release introduces a new configuration key, aws.s3.max-connections, for the maximum allowed connections of the S3 client.

Added

  • Add aws.s3.max-connections setting for S3 client (#677).

0.19.5 - 2024-05-02

This is a maintenance release focused on the update of Bouncy Castle's libraries provided in apso-io, dealing with CVE-2024-29857, CVE-2024-30171, CVE-2024-30172 and SNYK-JAVA-ORGBOUNCYCASTLE-6612984.

Security

  • Override bcprov-jdk18on transient dependency (#663).

0.19.4 - 2024-04-29

This is a maintenance release focused on dependency updates and security fixes. Most notably, this release updates the version of jackson-databind, which fixes CVE-2022-42004, CVE-2022-42003 and CVE-2020-36518.

Changed

  • Minor dependency updates.

Security

  • Force eviction of jackson-databind 2.13.1 (#660).

0.19.3 - 2024-02-26

Added

  • Add utcLocalDateTime to ApsoTimeDateTime (#628).

Changed

  • Minor dependency updates.

0.19.2 - 2024-02-20

This release focuses on the addition of new Pekko modules, along with multiple performance improvements.

It also fixes some issues with the retry logic when calling S3, where some errors were not being retried.

Added

  • Add Pekko subprojects (#616).

Changed

  • Ensure that all classes are compiled with Java 11 bytecode (#621).
  • Minor dependency updates.

Fixed

  • Fix compilation for Java 19+ (#611).
  • Small improvement to JsonConvert performance (#612).
  • Improve retry logic with S3 client (#613.
  • Mark Retry sleep as blocking (#614).
  • Improvement to JsonConvert performance 2.0 (#615).
  • Performance improvements converting Java Map to Json (#622).

0.19.1 - 2023-11-30

This release focuses on starting to use Java 11 and updating dependencies. The most notable dependency update is Unirest, to version 4.2.0, which solves concurrency issues when using W.

Changed

  • Update Unirest to version 4.2.0 (#583).
  • Start using Java 11 (#584).
  • Update other dependencies.

0.19.0 - 2023-10-07

This release focus mostly on updating dependencies and cleaning up code around apso-elasticsearch project.

Most notably, we deprecated CompositeIterator and improved method signature typing as part of our scala version update. We also dropped ElasticsearchTestkit and the apso-log project. Together, these modifications should allow users of this library to have less dependency update conflicts and provide easier update paths for Scala 3 while we wait for a release of Apso in Scala 3. ElasticsearchBulkInserter was modified to rely on ActorLogging instead of scala-logging (through apso-log) which represented a blocker for Scala 3 projects cross-compiling with Scala 2.13 and having apso-elasticsearch as a dependency.

Users of apso-log should migrate to scala-logging which provides LazyLogging and StrictLogging traits providing the same functionality of Logging and StrictLogging in Apso, respectively, while being available for Scala 2.13 and 3.

Several dependencies were update to their latest versions. You can see all the dependencies and their versions in here.

Changed

  • Stop depending on scala-logging for logging purposes inside ElasticsearchBulkInserter and use ActorLogging instead (#550).
  • Update Scala version to 2.13.12 (#540).
  • Update other dependencies.

Deprecated

  • Deprecate CompositeIterator (#488).

Removed

  • Remove Elasticsearch TestKit (#490).
  • Drop apso-log project (#549).

0.18.8 - 2023-04-27

This release includes several dependency updates, some updates to make existing APIs friendlier and a change to a Decoder for extra flexibility.

We have updated the Retry API to make it more convenient to override the default timeout in between sleeps. We previously had to do something like the following:

Retry.retry(maxRetries = 5, inBetweenSleep = Some(2.seconds))(f)

But are now able to provide a duration directly, without wrapping it in an Option:

Retry.retry(maxRetries = 5, inBetweenSleep = 2.seconds)(f)

We have also promoted the SFTP file descriptor credentials from a tuple to a dedicated data type:

case class Credentials(host: String, port: String, auth: Either[Identity, String])

Additionally, the Decoder for Squants's Currency was updated to become case insensitive. This means that, for example, both "usd" and "USD" now decode to the same USD currency.

Changed

  • Update circe-core, circe-generic, circe-literal, circe-parser to 0.14.5 (#441).
  • Update simplejmx to 2.2 (#443).
  • Add SFTP file descriptor credentials (#449).
  • Enchance Retry API (#450).
  • Update joda-time to 2.12.5 (#458).
  • Update bcpkix-jdk18on, bcprov-jdk18on to 1.73 (#463).
  • Update aws-java-sdk-core to 1.12.450 (#464).
  • Make the Decoder for Currency case insensitive (#467).
  • Update aws-java-sdk-s3 to 1.12.457 (#468).
  • Update scala-collection-compat to 2.10.0 (#469).

0.18.7 - 2023-02-28

Changed

  • Update elasticsearch-related dependencies to 7.16.x (#432).

0.18.6 - 2023-02-22

Changed

  • Update elasticsearch-related dependencies to the most recent version within the 7.x.x major version (#427).
  • Other dependency updates.

0.18.4 - 2022-05-20

Changed

  • Disable some Elasticsearch features on ElasticsearchTestKit (#262).
  • Allow Elasticsearch base path to be overridden on ElasticsearchTestKit (#263).
  • Dependency updates.

0.18.3 - 2022-05-11

This is a maintenance release, with only dependency updates.

0.18.2 - 2022-02-24

Removed

  • Remove Log4j dependency from apso-log (#153).
  • Remove TryWith in favor of scala 2.13 native resource management tools (#187).

0.18.1 - 2021-07-06

This is the first version with a Changelog, albeit not being the first version of Apso.

Changed

  • Update Scala, dependencies and plugins versions (#142).

The format is based on Keep a Changelog.