Skip to content

Release v2.1.20 - 2015-09-10

Compare
Choose a tag to compare
@awood45 awood45 released this 10 Sep 18:49
· 4587 commits to version-3 since this release

Tag release v2.1.20

  • Feature - Aws::IAM - Added two new APIs that enable programmatic access to the
    AWS Identity and Access Management policy simulator.

  • Feature - Aws::S3::Object - Added a #move_to method that copies
    the object to the destination and then deletes the source object.

  • Issue - Aws::S3::Client - Added support for errors returned from
    Amazon S3 in the body of HTTP 200 responses. Previously only
    the #complete_multipart_upload operation handled these errors.
    Extended this to #copy_object and #upload_part_copy.

  • Issue - Aws::S3::Object - The #presigned_post method now respects
    the configured custom endpoint.

    obj = Aws::S3::Object.new("bucket", "key", endpoint: "http://custom-endpoint.com")
    obj.presigned_post.url
    #=> "http://bucket.custom-endpoint.com"
  • Issue - Aws::S3::Presigner - Added validation to #presigned_url to
    ensure the :key option is not an empty string. This prevents a
    presigned :get_object URL from becoming a presigned :list_objects
    request on the bucket.