v0.4.0 - Enhanced Bucket/Object Support
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 toSimpleS3Client
asbucketOps
.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 inSimpleS3Client
toobjectOps
so it's easier to tell it apart frombucketOps
, 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
andasyncIn
constructors that allow you to separate your effect types for client creation. Instead ofResource[F, Client[F]]
, they can now take the shapeResource[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