Tom McLaughlin
baee20dfb6
Support aeson 2 ( #169 )
2022-05-24 15:34:47 -07:00
Aditya Manthramurthy
bdac380c77
Replace protolude with relude and build with GHC 9.0.2 ( #168 )
...
- relude is a better and more commonly used library
- Add compiler warnings and fixes
- Update stack lts to 18.24
- Add explicit deriving strategies
2022-02-11 13:48:08 -08:00
Aditya Manthramurthy
c59b7066fc
Updates from new ormolu 0.4 ( #167 )
...
* Changes from formatter
* Fix github action run on master branch
2022-02-10 13:34:11 -08:00
Aditya Manthramurthy
193be59432
Update CI ( #166 )
2022-02-10 10:43:43 -08:00
Aditya Manthramurthy
c52f2811fe
Use single CI file based on kowainik ( #162 )
...
* Use single CI file based on kowainik
2021-03-22 09:36:01 -07:00
Aditya Manthramurthy
aa2382b2e9
Use region specific endpoints for AWS S3 in presigned Urls ( #164 )
...
- 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
2021-03-08 16:35:52 -08:00
Aditya Manthramurthy
b8cc1e57ee
Update formatting with latest ormolu 1.4 ( #163 )
2021-03-03 16:11:45 -08:00
Aditya Manthramurthy
73bc5b64a0
Fix XML generation test for S3 SELECT ( #161 )
...
- Test was failing because of non-unique ordering of CSV properties. It is fixed
by sorting the CSV properties before serialization.
2021-03-03 15:44:12 -08:00
Aditya Manthramurthy
5ab80384ae
Fix Actions CI ( #159 )
2021-01-05 12:30:28 -08:00
Aditya Manthramurthy
ab2c6b0b02
Bump up version for new release ( #158 )
2020-10-16 17:08:34 -07:00
Harshavardhana
787f638d45
Create CNAME
2020-08-02 19:18:12 -07:00
Aditya Manthramurthy
68a2b78010
Set continue-on-error at step level ( #157 )
...
* Set continue-on-error at step level
* Add windows cache dirs
2020-06-25 08:48:04 -07:00
Aditya Manthramurthy
a3538aa46c
CI: Add support for GHC 8.10, stack and live-server testing ( #156 )
...
* CI: Add support for GHC 8.10, stack and live-server testing
* Fix live-server tests for all platforms
* Fix windows tests
* Fix resourcet cleanup exceptions
* Mark minio-hs builds GHC 8.4, 8.8 on windows experimental
* Use minio with erasure code backend for tests
* Fix matrix combinations for cabal and stack
Co-authored-by: Krishnan Parthasarathi <kp@minio.io>
2020-06-24 10:35:11 -07:00
Alexander Vershilov
3dd235a1ad
Sent Accept-Encoding: identity in the head requests. ( #155 )
...
It appeared that some s3 servers (Yandex storage in particular)
honour `Accept-Encoding: gzip` request headeer. In such a case
servers can't send `Content-Length` header as transfer size differ
from the body size.
The simplest solution for this problem is to force http-client
to send `Accept-Encoding: identity` header in the HeadObject
request.
Co-authored-by: Aditya Manthramurthy <donatello@users.noreply.github.com>
2020-06-15 10:21:41 -07:00
Aditya Manthramurthy
8e5e51ceb8
Remove stylish-haskell config file ( #154 )
...
We are now using ormolu instead.
2020-06-15 09:59:51 -07:00
Aditya Manthramurthy
23fecbb469
Update code formatting and update dependencies (unliftio, protolude) ( #152 )
...
* Format code with ormolu
* Use latest unliftio-core
* Use latest protolude
2020-06-14 10:06:41 -07:00
Aditya Manthramurthy
ce23f7322a
Windows build ( #150 )
2020-05-29 15:54:41 -07:00
Aditya Manthramurthy
8e4874972b
Add github workflow ( #148 )
2020-05-29 11:45:32 -07:00
Aditya Manthramurthy
ae141fd6f5
Support for Yandex Object Storage ( #147 )
...
* Update src/Network/Minio/Sign/V4.hs
Co-authored-by: Sergey Ivanov <ivanovs-4@users.noreply.github.com
2020-05-20 16:04:45 -07:00
Aditya Manthramurthy
b9a3cfcd1d
Set upper bound on unliftio-core ( #146 )
2020-05-20 07:47:55 -07:00
Aditya Manthramurthy
9739376227
Fix live server test ( #142 )
...
* Update travis ghc to 8.8.2
* Fix live server test
2020-01-29 14:53:27 -08:00
Aditya Manthramurthy
d2a78df4eb
New release ( #140 )
...
* 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
2020-01-02 11:23:03 -08:00
Thomas Rodriguez
c31030beac
add us-west-2 region to minio data ( #139 )
2019-12-10 05:59:26 +00:00
Aditya Manthramurthy
1eafa68648
Bump up version for new release ( #138 )
2019-10-29 13:11:54 -07:00
Aditya Manthramurthy
410d342cd5
Build with GHC 8.8 ( #137 )
...
* Fix to build with GHC 8.8 and fix error handling bug
To work with the addition of MonadFail constraint to parseTimeM in the time
library, the underlying monad was changed from Either to Maybe as it has a
MonadFail instance.
* Update build to run tests against local minio server
2019-10-28 15:40:20 -07:00
Aditya Manthramurthy
1e6579b02b
Add GetObjectResponse data type ( #134 )
...
This allows retrieving the ObjectInfo of an object during the
getObject call.
2019-07-29 12:37:44 -07:00
Aditya Manthramurthy
777ca8f616
Fix user-metadata extraction ( #133 )
2019-07-24 15:07:31 -07:00
Aditya Manthramurthy
b39127778e
Add oiUserMetadata to ObjectInfo to return user metadata ( #132 )
2019-07-24 13:30:03 -07:00
Aditya Manthramurthy
04d1193201
Switch to more performant map data type ( #131 )
2019-07-24 12:52:18 -07:00
Harshavardhana
3291f8673c
Remove port :9000 for play.min.io ( #130 )
2019-07-24 10:07:54 -07:00
Aditya Manthramurthy
0bcb1c9b33
Update changelog to prepare for release ( #128 )
2019-07-10 09:58:07 -07:00
Krishnan Parthasarathi
abed05e523
Expose runMinioRes/runMinioResWith ( #129 )
...
... to allow applications to manage application resources along side
MinIO SDK's internal resources
2019-07-10 09:26:54 -07:00
Aditya Manthramurthy
8b908ceeed
Improve haddocks of top-level modules ( #127 )
2019-07-09 13:32:10 -07:00
Aditya Manthramurthy
cc930975c9
Fix listing to also return common prefixes ( #126 )
...
- Also bump up to 1.4.0 as this is a breaking change.
2019-07-09 12:20:05 -07:00
Aditya Manthramurthy
4a807fde56
Add streaming signature for PutObject ( #123 )
...
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.
2019-05-16 20:49:38 -07:00
Aditya Manthramurthy
909f1c482d
Update for new release ( #122 )
2019-05-13 12:26:46 -07:00
Aditya Manthramurthy
76e5651d5a
Add simple TLS helpers: ( #121 )
...
- Check if ConnectInfo is secure
- Option to disable TLS certificate validation (to make testing
easier).
2019-05-13 11:42:34 -07:00
Aditya Manthramurthy
663015fa9d
Update for new release ( #120 )
2019-05-10 16:09:07 -07:00
Krishnan Parthasarathi
005c6f8e65
Retry requests that timeout using full-jitter backoff ( #119 )
2019-05-10 15:41:08 -07:00
Aditya Manthramurthy
fdaa42101e
Build on GHC 8.6.5 ( #117 )
2019-05-09 18:05:35 -07:00
Aditya Manthramurthy
85f4bf557d
Fix warnings ( #116 )
2019-05-08 18:27:02 -07:00
Aditya Manthramurthy
bd455b2f70
Accept GetObjectOptions in statObject ( #112 )
2019-04-14 13:31:18 -07:00
ebozduman
af3b75e29e
MinIO & min.io replaces Minio & minio.io respectively ( #114 )
2019-04-13 00:25:25 +05:30
Aditya Manthramurthy
82bb60153f
Add encryption options to GetObjectOptions and PutObjectOptions ( #111 )
2019-04-08 11:50:38 -07:00
Aditya Manthramurthy
b1a11de8b3
Add missing Haddock documentation ( #110 )
2019-04-02 14:08:19 -07:00
Aditya Manthramurthy
aa9072de39
Build for GHC 8.6.4 ( #109 )
2019-03-08 20:55:49 -08:00
Aditya Manthramurthy
72bf08129c
Add support for S3Select API ( #108 )
2019-03-08 15:54:36 -08:00
Aditya Manthramurthy
ab7d04bb59
New travis with support for multiple GHCs ( #106 )
2019-02-26 15:58:23 -08:00
Aditya Manthramurthy
0fc264bbc2
Fix region setting in presigned url functions ( #107 )
...
- Also split out live server tests into individual functions
2019-02-26 15:45:36 -08:00
Aditya Manthramurthy
c8a32ad217
Update for new release ( #104 )
2018-07-06 10:42:48 -07:00