Tests needing fixing for recent minio
Also:
- set minimum tested version to 8.10
- remove building with cabal 3.6
- update stack.yaml to add crypton-connection
Update live server test env var handling
This change adds support for requesting temporary object storage
credentials using the STS API. Some breaking changes are introduced to
enable this support:
- `Credentials` type has been removed. Use the `CredentialValue` type
instead. Corresponding to this the type signature for `setCreds` has
changed, though the functionality is the same.
- The type alias `Provider` has been renamed to `CredentialLoader` to
avoid naming confusion.
This exports a new module for retrieving STS based credentials, however
they are not yet convenient to use in the library - the session token
needs to be included as a custom header and may not be possible with all
APIs.
This turns on the GHC option `-Werror` to ensure that warnings fail the
build in dev mode. The flag is enabled in the CI.
README is updated with cabal based instructions.
- Also update standard S3 endpoints
- Unify code that determines if path style or virtual style must be used for
regular and presigned requests
Fixes#160
* Disable live-server tests by default
- They will always be run by our CI
- Also update and fix example in README.
* Update examples and add them to build
- Also drop support for GHC 8.2.2
* Bump up version for new release
Use streaming signature to avoid reading the body twice in PutObject
requests, where the body can be upto 5GIB.
Note that the body is signed only used when the connection is not
using TLS.
- Also add .stylish-haskell.yaml
- Re-implements `limitedMapConcurrently` using STM
- Dependencies clean up in cabal file
- Fix shadow warnings and other build warnings
* Make CopyPartSource constructor private
... and make individual record accessors exported. This change allows
adding of additional record members to CopyPartSource without breaking
applications.
* Move high-level copyObject functions to CopyObject module
* Make copyObject use SourceInfo, DestinationInfo
... to allow supporting features like client-side and server-side
encryption subsequently.
- fix warnings in tests/LiveServer.hs
This change adds 3 functions to main API: presignedGetObjectURL,
presignedPutObjectURL and presignedHeadObjectURL.
A fourth more generic API is added to `Network.Minio.S3API` -
makePresignedURL.
Additionally, refactors signing code for readability and the ability
to reuse for pre-signing.