Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move onLoad() to onAttach() for CRAN
- Loading branch information
Showing
4 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# CHANGES TO aws.ec2metadata 0.1.3 | ||
# aws.ec2metadata 0.1.4 | ||
|
||
* Previous `.onLoad()` functionality added in 0.1.3 is now moved to `.onAttach()` to comply with CRAN policy. | ||
|
||
# aws.ec2metadata 0.1.3 | ||
|
||
* Added a function `instance_document()` that returns a list of the ["instance identity document"](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-documents.html) information. This is useful for identifying the region an instance is running in. | ||
* When the package is loaded on an EC2 instance (as identified by `is_ec2()` during package load), the package attempts to set the `AWS_DEFAULT_REGION` environment variable if it has not already been specified. This helps handle request signing. | ||
|
||
# CHANGES TO aws.ec2metadata 0.1.2 | ||
# aws.ec2metadata 0.1.2 | ||
|
||
* Added a function `is_ec2()` that returns a logical based on whether metadata is retrievable. | ||
|
||
# CHANGES TO aws.ec2metadata 0.1.1 | ||
# aws.ec2metadata 0.1.1 | ||
|
||
* Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters