Skip to content

v0.4.0 - Enhanced Bucket/Object Support

Compare
Choose a tag to compare
@sloshy sloshy released this 06 Feb 00:08
· 172 commits to main since this release
c77f199

It's time for another new release of Pure AWS and this time it features enhanced operations for buckets and objects. Included are the following new features:

  • S3BucketOps is a new algebra for dealing with buckets. You can create, list, and delete buckets with this API. It has also been added to SimpleS3Client as bucketOps.
  • S3ObjectOps now has paginated object listing support using FS2. You can either get one page per-element, or you can get all pages at once. It has also been renamed in SimpleS3Client to objectOps so it's easier to tell it apart from bucketOps, which is a breaking change.
  • The s3-testing library is now fully bucket-aware, meaning you can create buckets and disable automatic bucket creation to get errors when trying to insert objects in buckets that do not exist. It also has pagination support that mimics the behavior of the AWS API.
  • All clients have new syncIn and asyncIn constructors that allow you to separate your effect types for client creation. Instead of Resource[F, Client[F]], they can now take the shape Resource[F, Client[G]]. This may be useful if you want to use different effects for creating the clients VS using them directly.

Changes to dependencies include:

  • Update scala-collection-compat to 2.4.1
  • Update AWS SDK to 2.15.77