Changelog of @hackage/minio-hs 1.7.0

Changelog

Version 1.7.0 -- Unreleased

  • Fix data type EventMessage to not export partial fields (#179)
  • Bump up min bound on time dep and fix deprecation warnings (#181)
  • Add dev flag to cabal for building with warnings as errors (#182)
  • Fix AWS region map (#185)
  • Fix XML generator tests (#187)
  • Add support for STS Assume Role API (#188)

Breaking changes in 1.7.0

  • Credentials type has been removed. Use CredentialValue instead.
  • Provider type has been replaced with CredentialLoader.
  • EventMessage data type is updated.

Version 1.6.0

  • HLint fixes - some types were changed to newtype (#173)
  • Fix XML generation test for S3 SELECT (#161)
  • Use region specific endpoints for AWS S3 in presigned Urls (#164)
  • Replace protolude with relude and build with GHC 9.0.2 (#168)
  • Support aeson 2 (#169)
  • CI updates and code formatting changes with ormolu 0.5.0.0

Version 1.5.3

  • Fix windows build
  • Fix support for Yandex Storage (#147)
  • Fix for HEAD requests to S3/Minio (#155)
  • Bump up some dependencies, new code formatting, Github CI, example fixes and other minor improvements.

Version 1.5.2

  • Fix region us-west-2 for AWS S3 (#139)
  • Build examples in CI
  • Disable live-server tests by default, but run them in CI
  • Drop support for GHC 8.2.x

Version 1.5.1

  • Add support for GHC 8.8

Version 1.5.0

  • Switch to faster map data type - all previous usage of Data.Map.Strict and Data.Set is replaced with Data.HashMap.Strict and Data.HashSet.
  • Add oiUserMetadata to parse and return user metadata stored with an object.
  • Add GetObjectResponse data type for the value returned by getObject. It now contains parsed ObjectInfo along with the conduit of object bytes.

Version 1.4.0

  • Expose runMinioRes and runMinioResWith (#129)
  • Improve Haddocks (#127)
  • Fix list objects APIs to return directory prefixes when run with recurse set to False (#126)
  • Use streaming signature for streaming payloads when on an insecure connection (#123)

Version 1.3.1

  • Add TLS helpers to check if server uses TLS, and to disable certificate validation for easier testing (#121)

Version 1.3.0

  • Retry requests that timeout using full-jitter backoff (#119)
  • Accept GetObjectOptions in statObject (#112)
  • Add encryption options to GetObjectOptions and PutObjectOptions (#111)
  • Add missing Haddock documentation (#110)
  • Add support for S3Select API (#108)
  • New travis with support for multiple GHCs (#106)
  • Fix region setting in presigned url functions (#107)

Version 1.2.0

  • Export Provider and findFirst to look for credentials (#103)

Version 1.1.0

This version brings the following changes:

  • Adds experimental Admin APIs (#88, #91, #93, #94, #95, #100)
  • Adds support for using Google Compute Storage service when S3 compatibility mode is enabled (#96, #99)

This version also brings some breaking changes (via #101):

  • Adds IsString instance to load server address, and updates initialization API to be more user friendly
  • Drops usage of data-default package and exposes explicit default values for various types used in the library.

Version 1.0.1

This version brings the following (non-breaking) changes:

  • Remove dependency on text-format (#86)
  • Remove direct dependency on exceptions (#87)
  • Adds lower-bounds on dependencies.

Version 1.0.0

This new release changes the following APIs to add new capabilities:

  • Copy Object API now supports more options for source and destination (#73)
  • get/put Object functions now support a wider set of options via a separate settings parameter (#71, #72)
  • getBucketPolicy and setBucketPolicy APIs are added (#82)
  • The library now uses UnliftIO (#83)

Version 0.3.2

This release brings the following changes:

  • Add removeIncompleteUpload API (#49)
  • Add presigned operations APIs (#56)
  • Add presigned Post Policy API (#58)
  • Skip SHA256 checksum header for secure connections (#65)
  • Remove resuming capability in PutObject (#67)
  • Add ListObjectsV1 API support (#66)
  • Add Bucket Notification APIs (#59)
  • Reverse #54 - tests fix.

Version 0.3.1

This is a bug-fix release:

  • Fix concurrency bug in limitedMapConcurrently (#53)
  • Fix tests related to listing incomplete uploads to accommodate MinIO server's changed behaviour to not list incomplete uploads. Note that running these tests against AWS S3 are expected to fail. (#54)

Version 0.3.0

This release includes a breaking change:

Users of the library need not call runResourceT explicitly after calling runMinio. This is now done, within the runMinio call making usage a bit simpler.

Other changes:

  • Export ListUploadsResult and ListObjectsResult (#48)
    • Also take max-keys as an argument for listObjects and max-uploads for listIncompleteUploads.
  • Add bucket and object name validation (#45)
  • Add bucketExists and headBucket APIs (#42)

Version 0.2.1

  • Update dependencies, and switch to Stackage LTS 8.5

Version 0.2.0

This is an interim release which brings some new features. However, the library is not complete and APIs may change.

  • Remove listIncompleteParts API and augment listIncompleteUploads API with information about aggregate size of parts uploaded.
  • Refactors error types and simpler error throwing/handling behaviour.
  • Add removeObject API to delete objects from the service.
  • Rename Network.Minio.getService to Network.Minio.listBuckets.
  • Add docs/API.md and examples directory with comprehensive documentation and examples of high-level APIs exported by the library.
  • Rename types:
    • Rename PartInfo -> PartTuple
    • Rename ListPartInfo -> ObjectPartInfo
  • Add a bucket region cache to avoid locating a bucket's region for every operation (mainly useful for AWS S3).
  • Add new copyObject API to perform server side object copying.
  • Rename putObjectFromSource API as putObject.
  • Separate out tests into two suites, one with a live-server and the other without any external dependencies.