Version r2013.02.13 of the goamz package for interacting with AWS APIs
is available:
http://wiki.ubuntu.com/goamz
The following changes were made since the last announcement. Thanks to
the several people inside and outside of Canonical that contributed to
these features.
- Several operations on goamz/s3 will now automatically retry on known errors.
This makes it more bearable to deal with the eventual consistency and general
instability of the API.
- New multipart upload support.
Sending large files with automatic chunking and resuming can be done with:
multi, err := bucket.Multi("file/path")
check(err)
parts, err := multi.PutAll(theFile)
check(err)
err := multi.Complete(parts)
check(err)
More details in the documentation:
http://godoc.org/launchpad.net/goamz/s3#Multi
- New URL and SignedURL methods in s3.Bucket:
http://godoc.org/launchpad.net/goamz/s3#Bucket.URL
http://godoc.org/launchpad.net/goamz/s3#Bucket.SignedURL
- New iam package, by Francisco Souza:
http://godoc.org/launchpad.net/goamz/iam
- Several new regions in the goamz/aws package:
http://godoc.org/launchpad.net/goamz/aws
- Fixed signature bug related to the sorting of parameters in some payloads.
- PutBucket now handles LocationConstraint more properly.
- Support DreamHost S3-like service, and general non-standard
domain-based endpoints.
- Other minor bug fixes and improvements.
gustavo @
http://niemeyer.net