aws 0.25 → 0.25.1
raw patch · 3 files changed
+10/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Aws/S3/Core.hs +6/−2
- CHANGELOG.md +3/−0
- aws.cabal +1/−1
Aws/S3/Core.hs view
@@ -626,7 +626,9 @@ XML.NodeElement e | elName e == "Version" -> do eTag <- force "Missing object ETag" $ el $/ elContent "ETag" size <- forceM "Missing object Size" $ el $/ elContent "Size" &| textReadInt- storageClass <- forceM "Missing object StorageClass" $ el $/ elContent "StorageClass" &| return . parseStorageClass+ storageClass <- case el $/ elContent "StorageClass" &| parseStorageClass of+ (x:_) -> return x+ [] -> return Standard return ObjectVersion{ oviKey = key , oviVersionId = versionId@@ -672,7 +674,9 @@ lastModified <- forceM "Missing object LastModified" $ el $/ elContent "LastModified" &| time eTag <- force "Missing object ETag" $ el $/ elContent "ETag" size <- forceM "Missing object Size" $ el $/ elContent "Size" &| textReadInt- storageClass <- forceM "Missing object StorageClass" $ el $/ elContent "StorageClass" &| return . parseStorageClass+ storageClass <- case el $/ elContent "StorageClass" &| parseStorageClass of+ (x:_) -> return x+ [] -> return Standard owner <- case el $/ Cu.laxElement "Owner" &| parseUserInfo of (x:_) -> fmap' Just x [] -> return Nothing
CHANGELOG.md view
@@ -5,6 +5,9 @@ most users. I recommend using smart constructors and {} matching syntax whenever possible when interacting with aws types. +- 0.25.1+ - S3: Make getBucket support Google Object Storage, which does+ not include StorageClass in its response, by defaulting to Standard. - 0.25 - [breaking change] Added poTagging constructor to PutObject - Switch from no longer maintained cryptonite to crypton.
aws.cabal view
@@ -1,5 +1,5 @@ Name: aws-Version: 0.25+Version: 0.25.1 Synopsis: Amazon Web Services (AWS) for Haskell Description: Bindings for Amazon Web Services (AWS), with the aim of supporting all AWS services. To see a high level overview of the library, see the README at <https://github.com/aristidb/aws/blob/master/README.md>. Homepage: http://github.com/aristidb/aws