Releases: aws/aws-sdk-ruby
Release v2.1.4 - 2015-07-09
Tag release v2.1.4
- Feature - Aws::ECS - Amazon EC2 Container Service now supports the UDP
protocol. - Feature - Aws::IAM - Adds support for SSH Public Key Operations.
- Feature - Aws::SES - Adds support for cross-account sending, which is
available through the use of the sending authorization feature. - Feature - Aws::CodeCommit - Adds support for AWS CodeCommit.
- Feature - Aws::CodePipeline - Adds support for AWS CodePipeline.
Release v2.1.3 - 2015-07-07
Tag release v2.1.3
References:
#854, #855, #857, #860, #863, #865, #867
-
Feature - Aws::AutoScaling - Adds support for step policies. Step scaling
policies allow customers to scale their Auto Scaling groups based on the
magnitude of the alarm breach, giving them more control over how Auto Scaling
responds to an alarm breach and enables them to scale their groups faster. -
Feature - Aws::EC2 - Amazon Elastic Block Store snapshot copy support for
customer-managed encryption keys. -
Feature - Aws::EC2 - Added a
Aws::EC2::Route
resource class with the
associated#delete
and#replace
operations. -
Issue - Aws::DynamoDB - The Aws::DynamoDB::Client#stub_data method will
now observe the configured:simple_attributes
option and conditionally
accept and return simple attribute values. -
Issue - Resource - Fixed behavior of
#wait_until
optionmax_attempts: nil
to match documentation and allow unlimited retries. Default number of retries
remains at 10.
Release v2.1.2 - 2015-06-24
Tag release v2.1.2
References:
#850
- Feature - Aws::CloudFront - Can now set
:max_ttl
and:default_ttl
within
:cache_behaviors
. New API version2015-04-17
. - Feature - Aws::Lambda - Adds
java8
as a supported runtime. - Feature - Aws::CognitoSync - Add
ConcurrentModificationException
error. - Feature - Aws::CognitoIdentity - Add
ConcurrentModificationException
error. - Feature - Aws::ConfigService - You can now set up AWS Config to record changes
for specific resource types. - Feature - Aws::OpsWorks - You can specify which agent version will be used in
your AWS OpsWorks managed instances. - Feature - Aws::Glacier - Amazon Glacier now allows you to tag your Amazon
Glacier vaults for easier resource and cost management. Tags are labels that
you can define and associate with your vaults, and using tags adds filtering
capabilities to operations such as AWS cost reports. - Feature - Aws::Redshift - You can create automatic cross-region backups of
your KMS encrypted clusters for disaster recovery.
Release v2.1.1 - 2015-06-18
Tag release v2.1.1
References:
#833, #834, #837, #840, #841, #842, #843, #845, #846
-
Feature - Aws::ECS - Added support for environment variable overrides.
-
Feature - XML Parsing - Added support for the new Oga XML parser. This
is enabled by default when the gem is present. You can force this
by setting the XML parsing engine:Aws::Xml::Parser.engine = :oga
-
Issue - Aws::DynamoDB - Resolved an issue with pageable responses where the
paging token values contained attribute values. -
Issue - Aws::IAM - Added missing paginator configurations for the newer
IAM attached policy operations. -
Issue - PageableResponse - Resolved an issue where Enumerable was not
correctly getting mixed into pageable responses. -
Issue - Shared Credentials - Resolved an issue where the shared credentials
provider would fail to parse profiles which contained an inline comment. -
Feature - Aws::IAM - Added
Aws::IAM::User#exists?
. -
Feature - REPL - Added a short-cut inside the
aws.rb
REPL
for accessing a resource from a client.Aws> ec2 #=> #<Aws::EC2::Client> Aws> ec2.resource #=> #<Aws::EC2::Resource>
Release v2.1.0 - 2015-06-12
Tag release v2.1.0
References:
#770, #792, #804, #815, #835, #836, #839
-
Feature - Aws::EC2 - Adds support for Amazon VPC flow logs.
-
Feature - Aws::ECS - Adds the
#update_container_agent
method, as well
as paginator and waiter support. -
Feature - Aws::AutoScaling - Adds the
#describe_load_balancers
method,
and adding the:load_balancer_names
parameter to the
#update_auto_scaling_group
method. -
Feature - Fewer gem dependencies - Removed the dependency on the follow
two 3rd party gems:multi_json
builder
For JSON parsing and dumping, the SDK will attempt to use the
Oj
gem if available, and will fall back onJSON
from the Ruby
standard library.The only remaining gem dependency is
jmespath
. -
Feature - Service Types - Added struct classes for all AWS data types.
Previous versions used anonymous structure classes for response data.Aws::IAM::Types.constants #=> [:AccessKey, :AccessKeyLastUsed, :AccessKeyMetadata, ...]
Each of these data type classes are now fully documented in the
api reference docs. -
Feature - Examples - The API reference documentation can now load client
operation examples from disk. This allows users to contribute examples
to the documentation. It also allows for more targeted examples
than the auto-generated ones previously used.Examples are stored inside the examples folder at the root of this
repository. https://github.com/aws/aws-sdk-ruby/tree/master/examples -
Feature - Documentation - Significant work has gone into API reference
documentation. The changes made are based on user feedback. Some of
the many changes include:- More concise syntax examples
- Response structure examples
- Request and response data structures each documented as their own type
- Expanded resource interface documentation on inputs and return values
Expect more documentation improvements.
-
Feature - Smaller Gem - Reduced the size of the
aws-sdk-core
gem
by removing the AWS API documentation source files from the gemspec.
This reduces the total size of the gem by half. -
Feature - Stub Data - Added a
#stub_data
method toAws::Client
that
makes it trivial to generate response data structures.s3 = Aws::S3::Client.new s3.stub_data(:list_buckets) #=> #<struct Aws::S3::Types::ListBucketsOutput buckets=[], owner=#<struct Aws::S3::Types::Owner display_name="DisplayName", id="ID">>
You can also provide an optional hash of data to apply to the stub.
The data hash will be validated to ensure it is properly formed and
then it is applied. This makes it easy to generated nested response
data.s3.stub_data(:list_buckets, buckets:[{name:'aws-sdk'}]) #=> #<struct Aws::S3::Types::ListBucketsOutput buckets=[ #<struct Aws::S3::Types::Bucket name="aws-sdk", creation_date=nil> ], owner=#<struct Aws::S3::Types::Owner display_name="DisplayName", id="ID">>
-
Feature - Shared Response Stubs - You can now provide default stubs to a
client via the constructor and viaAws.config
. This can be very useful
if you need to stub client responses, but you are not constructing the
client.Aws.config[:s3] = { stub_responses: { list_buckets: { buckets: [{name:'aws-sdk'}]} } } s3 = Aws::S3::Client.new s3.list_buckets.buckets.map(&:name) #=> ['aws-sdk']
-
Issue - Response Stubbing - When using response stubbing, pagination
tokens will no longer be generated. This prevents stubbed responses
from appearing pageable when they are not. -
Issue - Aws::DynamoDB::Client - Resolved an issue where it was not
possible to stub attribute values. You can now stub DynamoDB responses
as expected:ddb = Aws::DynamoDB::Client.new(stub_responses:true) ddb.stub_responses(:get_item, item: { 'id' => 'value', 'color' => 'red' }) ddb.get_item(table_name:'table', key:{'id' => 'value'}) #=> #<struct Aws::DynamoDB::Types::GetItemOutput item={"id"=>"value", "color"=>"red"}, consumed_capacity=nil>
-
Feature - SSL Peer Verification - Added a method to configure a default
SSL CA certificate bundle to be used when verifying SSL peer certificates.
V1 did this by default, v2 is now opt-in only.Aws.use_bundled_cert!
This method can be very useful for Ruby users on Windows where OpenSSL
does not tend to have access to a valid SSL cert bundle. -
Feature - Eager auto-loading - Added a utility method that eagerly loads
classes and modules. This can help avoid thread-safety issues with
autoload affecting some versions Ruby.# autoload specific services (faster) Aws.eager_autoload!(services: %w(S3 EC2)) # autoload everything Aws.eager_autoload!
-
Issue - Response Stubbing - Clients with
stub_responses: true
were still
attempting to load credentials from ENV, and the EC2 instance metadata
service. Instead, stubbed clients will now construct fake static credentials. -
Upgrading - Pageable Responses - Due to frequent confusion caused by
having every response be decorated as pageable, only operations that can
possibly have multiple responses are now decorated.This ensures that if you call
#each
on a non-pageable response that
an appropriateNoMethodError
is raised instead of doing nothing. Simply
remove calls to#each
if you encounter this unlikely situation.s3 = Aws::S3::Client.new s3.head_object(bucket:'name', key:'key').each do |page| end #=> raises NoMethodError for #each, HEAD object is not pageable
This is correctly reflected now in the API reference documentation as
well. -
Upgrading - Seahorse::Model - The internal representation of AWS API models
has been updated. Users digging into internals of the API model will need
to update their code to deal with shape references.This change should not affect users of the public SDK interfaces.
Complex shapes, structures, lists, and maps, now use shape references
to nest other shapes. The entire API model now loaded when the service client
is defined. This eliminates the need to maintain a complex map of all
shapes and define them lazily. This has allows for massive simplifications
around API loading, especially when dealing with thread-safety concerns.
Release v2.0.48 - 2015-06-04
Tag release v2.0.48
References:
#828, #829, #830, #831, #832
-
Feature - Aws::CloudWatchLogs - Adds support for the
#put_subscription_filter
,
#describe_subscription_filters
, and#delete_subscription_filter
API
operations. -
Feature - Aws::CognitoIdentity - Adds support for the
#delete_identities
API operation, and hiding disabled identities with the#list_identities
API
operation. -
Feature - Aws::StorageGateway - Updated Aws::StorageGateway API to add support
for the#list_volume_initiators
API operation. -
Issue - Aws::DynamoDB - Resolve an issue where IO objects were not properly
marshaled, leading to runtime errors. -
Issue - Aws::S3 - Resolved an issue with the URL decoding of keys in the
response to a call toAws::S3::Client#list_objects
.
Release v2.0.47 - 2015-05-28
Tag release v2.0.47
- Feature - Aws::Lambda - Lambda now supports specifying an Amazon S3 object as
the function zip when creating and updating Lambda functions.
Release v2.0.46 - 2015-05-26
Tag release v2.0.46
- Feature - Aws::EFS - Amazon Elastic File System (Amazon EFS) is a file storage
service for Amazon Elastic Compute Cloud (Amazon EC2) instances. Amazon EFS is
easy to use and provides a simple interface that allows you to create and
configure file systems quickly and easily. With Amazon EFS, storage capacity
is elastic, growing and shrinking automatically as you add and remove files,
so your applications have the storage they need, when they need it.
Release v2.0.45 - 2015-05-21
Tag release v2.0.45
-
Feature - Aws::ElasticTranscoder - Elastic Transcoder now supports additional
formats, including MXF, FLAC, and OGA, and additional flexibility for your
output audio. You can use these formats to transcode files to the XDCAM format
or to a lossless audio format. -
Feature - Aws::Kinesis - The Amazon Kinesis API
#get_records
now includes a
new parameter:millis_behind_latest
: the number of milliseconds the
GetRecords response is from the end of the stream, indicating how far behind
real time a consumer is. -
Feature - Aws::KMS - Adds the
#update_alias
API, which allows you to update
the association of a key alias from one key to another within a region. -
Issue - Aws:SQS - Resolved an issue with the SQS queue poller and changing message
visibility timeouts.
Release v2.0.44 - 2015-05-18
Tag release v2.0.44
-
Issue - Aws::EC2 - Two waiters were added in v2.0.39 and then lost in v2.0.40
in this commit: f0fad0a.
The waiters did not get merged upstream and got squashed in the automated release.
Reverting this loss. Actual changes have also been merged upstream now. -
Feature - Aws::ElasticBeanstalk - Added resource names to
Aws::ElasticBeanstalk::Client configuration option settings. -
Feature - Aws::OpsWorks - Added support for custom auto-scaling based on
CloudWatch alarms. -
Feature - Aws::EC2 - Added support for the new Spot Fleet API operations.
-
Issue - Resolved a regression with presigned S3 urls where input parameters
that are normally sent as x-amz-* headers had to be serialized onto the
GET or PUT request. This restores the behavior where they are hoisted
onto the request uri as query string parameters.