Permalink
Browse files

1.5.1 release. https://aws.amazon.com/releasenotes/PHP/0724070929559591

  • Loading branch information...
1 parent d584e0a commit 116d4c3fe7e4528089ccff8dbf1f0a3c7be1e3ef @skyzyx skyzyx committed with amazonwebservices Jan 18, 2012
Showing with 2,067 additions and 547 deletions.
  1. +1 −0 .gitignore
  2. +6 −6 _compatibility_test/sdk_compatibility_test.php
  3. +6 −6 _compatibility_test/sdk_compatibility_test_cli.php
  4. +65 −6 _docs/CHANGELOG.md
  5. +4 −0 _docs/CONTRIBUTORS.md
  6. +1 −1 _docs/NOTICE.md
  7. +1 −1 _samples/cli-ec2_sorting_and_filtering.php
  8. +1 −1 _samples/cli-s3_get_urls_for_uploads.php
  9. +1 −1 _samples/cli-s3_progress_bar.php
  10. +1 −1 _samples/html-sdb_create_domain_data.php
  11. +1 −1 authentication/signable.interface.php
  12. +1 −1 authentication/signature_v2query.class.php
  13. +235 −0 authentication/signature_v3json.class.php
  14. +1 −1 authentication/signature_v3query.class.php
  15. +1 −1 authentication/signer.abstract.php
  16. +1 −1 extensions/s3browserupload.class.php
  17. +6 −4 extensions/s3streamwrapper.class.php
  18. +6 −7 lib/requestcore/requestcore.class.php
  19. +8 −8 package.xml
  20. +121 −81 sdk.class.php
  21. +322 −94 services/as.class.php
  22. +78 −70 services/cloudfront.class.php
  23. +3 −8 services/cloudwatch.class.php
  24. +806 −0 services/dynamodb.class.php
  25. +2 −3 services/ec2.class.php
  26. +32 −34 services/elasticache.class.php
  27. +2 −2 services/elasticbeanstalk.class.php
  28. +4 −4 services/elb.class.php
  29. +3 −3 services/emr.class.php
  30. +2 −2 services/importexport.class.php
  31. +64 −46 services/rds.class.php
  32. +63 −72 services/s3.class.php
  33. +2 −2 services/sdb.class.php
  34. +35 −5 services/ses.class.php
  35. +85 −15 services/sns.class.php
  36. +16 −17 services/sts.class.php
  37. +14 −3 utilities/array.class.php
  38. +1 −1 utilities/batchrequest.class.php
  39. +1 −1 utilities/complextype.class.php
  40. +14 −1 utilities/credential.class.php
  41. +2 −2 utilities/credentials.class.php
  42. +1 −1 utilities/gzipdecode.class.php
  43. +1 −1 utilities/hadoopbase.class.php
  44. +1 −1 utilities/hadoopbootstrap.class.php
  45. +1 −1 utilities/hadoopstep.class.php
  46. +1 −1 utilities/info.class.php
  47. +28 −19 utilities/json.class.php
  48. +1 −1 utilities/manifest.class.php
  49. +1 −1 utilities/mimetypes.class.php
  50. +1 −1 utilities/policy.class.php
  51. +1 −1 utilities/request.class.php
  52. +1 −1 utilities/response.class.php
  53. +2 −2 utilities/simplexml.class.php
  54. +1 −1 utilities/stacktemplate.class.php
  55. +1 −1 utilities/stepconfig.class.php
  56. +6 −1 utilities/utilities.class.php
View
@@ -10,4 +10,5 @@ build
*output*
*_coverage_report*
_tests
+_vanity
*~
@@ -289,14 +289,14 @@
// Other
$int64_ok = (PHP_INT_MAX === 9223372036854775807);
-$ini_memory_limit = get_cfg_var('memory_limit');
-$ini_open_basedir = get_cfg_ini('open_basedir');
-$ini_safe_mode = get_cfg_ini('safe_mode');
-$ini_zend_enable_gc = get_cfg_ini('zend.enable_gc');
+$ini_memory_limit = get_ini('memory_limit');
+$ini_open_basedir = get_ini('open_basedir');
+$ini_safe_mode = get_ini('safe_mode');
+$ini_zend_enable_gc = get_ini('zend.enable_gc');
-function get_cfg_ini($config)
+function get_ini($config)
{
- $cfg_value = get_cfg_var($config);
+ $cfg_value = ini_get($config);
if ($cfg_value === false || $cfg_value === '' || $cfg_value === 0)
{
@@ -32,14 +32,14 @@
// Other
$int64_ok = (PHP_INT_MAX === 9223372036854775807);
-$ini_memory_limit = get_cfg_var('memory_limit');
-$ini_open_basedir = get_cfg_ini('open_basedir');
-$ini_safe_mode = get_cfg_ini('safe_mode');
-$ini_zend_enable_gc = get_cfg_ini('zend.enable_gc');
+$ini_memory_limit = get_ini('memory_limit');
+$ini_open_basedir = get_ini('open_basedir');
+$ini_safe_mode = get_ini('safe_mode');
+$ini_zend_enable_gc = get_ini('zend.enable_gc');
-function get_cfg_ini($config)
+function get_ini($config)
{
- $cfg_value = get_cfg_var($config);
+ $cfg_value = ini_get($config);
if ($cfg_value === false || $cfg_value === '' || $cfg_value === 0)
{
View
@@ -1,15 +1,74 @@
+# Changelog: 1.5.1 "Blue"
+Code name for Macintosh System 7. <http://en.wikipedia.org/wiki/System_7>
+
+Launched Wednesday, January 18, 2012.
+
+## Bug fixes and enhancements
+* [Documentation patch](https://github.com/amazonwebservices/aws-sdk-for-php/pull/13)
+* [Removed duplicate comment line.](https://github.com/amazonwebservices/aws-sdk-for-php/pull/17)
+* [CFRuntime credentials handling issue](https://forums.aws.amazon.com/thread.jspa?messageID=310388)
+* [PHP 5.2 bug in AWS SDK for PHP 1.5.x](https://forums.aws.amazon.com/thread.jspa?messageID=311543)
+* [[Bug] Custom Curl Opts Lost During Retry](https://forums.aws.amazon.com/thread.jspa?threadID=84835)
+* [json_last_error doesn't exist before php v 5.3.0](https://github.com/amazonwebservices/aws-sdk-for-php/pull/12)
+* [XML still being parsed when use_cache_flow is false](https://github.com/amazonwebservices/aws-sdk-for-php/pull/15)
+* [Bug ssl_verification option not respected for AmazonS3 ](https://forums.aws.amazon.com/thread.jspa?threadID=83710)
+* [[Bug] Compatibility test for Garbage Collector enabled should use ini_get](https://forums.aws.amazon.com/thread.jspa?threadID=84156)
+
+## Runtime
+* **Fixed:** Corrected an issue where calling `AmazonS3->get_object()` would continue to parse the content if caching was being leveraged. (Thanks [Eric Caron](http://www.ericcaron.com)!)
+* **Fixed:** The autoloader now returns `false` for any class it doesn't match, allowing subsequent autoloaders to catch the class name. (Thanks [Eric Caron](http://www.ericcaron.com)!)
+* **Fixed:** An issue that caused CloudWatch to fail to decompress gzipped data correctly has been resolved.
+* **Fixed:** Resolved an issue with passing explicit credentials without requiring a config file or a `CFCredentials` declaration.
+* **Fixed:** Resolved an issue which causes custom cURL options to be unset from the payload when retrying.
+
+## Services
+### AmazonAS
+* **New:** Support for Amazon SNS notifications and Tagging have been added to the SDK.
+
+### AmazonCloudFront
+* **Fixed:** Resolved an issue with disabling SSL verification.
+* **Fixed:** Resolved an issue where `AmazonCloudFront` were throwing warnings in `E_STRICT` mode.
+
+### AmazonCloudWatch
+* **Fixed:** Resolved an issue with decompressing gzipped data.
+
+### AmazonDynamoDB
+* **New:** Support for Amazon DynamoDB has been added to the SDK.
+* **New:** Amazon DynamoDB requires a default cache configuration to be set in the credential set, otherwise it will not function properly.
+
+### AmazonS3
+* **Fixed:** Resolved an issue with disabling SSL verification.
+* **Fixed:** Resolved multiple documentation issues. (Thanks [Aizat Faiz](http://aizatto.com) and [Jason Ardell](http://ardell.posterous.com/)!)
+* **Fixed:** Resolved an issue where `AmazonS3` were throwing warnings in `E_STRICT` mode.
+
+### AmazonSNS
+* **New:** Support for Short Messaging Service (SMS) endpoints has been added to the SDK.
+* **New:** Support for Subscription Attributes has been added to the SDK.
+
+## Utilities
+### CFJSON
+* **Fixed:** Support for the handling of JSON nulls in PHP 5.2 has been improved. (Thanks [David Chan](http://www.chandeeland.org)!)
+
+## Compatibility Test
+* **Fixed:** The SDK compatibility test now uses `ini_get()` instead of `get_cfg_var()` and `get_cfg_ini()` for more accurate test results.
+
+
+----
+
# Changelog: 1.5 "Allegro"
Code name for Mac OS 8.5. <http://en.wikipedia.org/wiki/Mac_OS_8#Mac_OS_8.5>
+Launched Wednesday, December 14, 2011
+
## Credentials
-!! BACKWARDS-INCOMPATIBLE CHANGE !! - The function signature of all service constructors has changed. Instead of passing a key and secret as the first and second parameters, the constructor now accepts a hash (associative array) containing `key` and `secret` keys. Please see the API reference documentation
+* !! BACKWARDS-INCOMPATIBLE CHANGE !! - The function signature of all service constructors has changed. Instead of passing a key and secret as the first and second parameters, the constructor now accepts a hash (associative array) containing `key` and `secret` keys. Please see the API reference documentation
## Runtime
-!! BACKWARDS-INCOMPATIBLE CHANGE !! - The function signature of all service constructors has changed. Instead of passing a key and secret as the first and second parameters, the constructor now accepts a hash (associative array) containing `key` and `secret` keys. If you are explicitly passing a key and secret to the constructor, you will need to change your code. If you are simply inheriting your default credentials from a config file, you don't need to make any changes beyond upgrading your config file to the new 1.5 format. Please see the API reference documentation for more information.
-!! BACKWARDS-INCOMPATIBLE CHANGE !! - The method by which the `config.inc.php` file maintains its list of credentials has been re-factored and updated to support managing multiple sets of credentials in a single location (e.g., development, staging, production).
-!! BACKWARDS-INCOMPATIBLE CHANGE !! - The `init()` method has been renamed to `factory()` to better reflect what it actually does.
-!! BACKWARDS-INCOMPATIBLE CHANGE !! - The `adjust_offset()` method has been removed. Instead, please ensure that the machine's time is set correctly using an [NTP server](https://secure.wikimedia.org/wikipedia/en/wiki/Network_Time_Protocol).
-!! BACKWARDS-INCOMPATIBLE CHANGE !! - In version 1.4 we enabled a mode where -- for services that supported it -- a set of temporary credentials were fetched and cached before the first request. This functionality has been reverted. The use of short-term credentials must be explicitly enabled by instantiating the `AmazonSTS` class and passing those credentials into the service constructor.
+* !! BACKWARDS-INCOMPATIBLE CHANGE !! - The function signature of all service constructors has changed. Instead of passing a key and secret as the first and second parameters, the constructor now accepts a hash (associative array) containing `key` and `secret` keys. If you are explicitly passing a key and secret to the constructor, you will need to change your code. If you are simply inheriting your default credentials from a config file, you don't need to make any changes beyond upgrading your config file to the new 1.5 format. Please see the API reference documentation for more information.
+* !! BACKWARDS-INCOMPATIBLE CHANGE !! - The method by which the `config.inc.php` file maintains its list of credentials has been re-factored and updated to support managing multiple sets of credentials in a single location (e.g., development, staging, production).
+* !! BACKWARDS-INCOMPATIBLE CHANGE !! - The `init()` method has been renamed to `factory()` to better reflect what it actually does.
+* !! BACKWARDS-INCOMPATIBLE CHANGE !! - The `adjust_offset()` method has been removed. Instead, please ensure that the machine's time is set correctly using an [NTP server](https://secure.wikimedia.org/wikipedia/en/wiki/Network_Time_Protocol).
+* !! BACKWARDS-INCOMPATIBLE CHANGE !! - In version 1.4 we enabled a mode where -- for services that supported it -- a set of temporary credentials were fetched and cached before the first request. This functionality has been reverted. The use of short-term credentials must be explicitly enabled by instantiating the `AmazonSTS` class and passing those credentials into the service constructor.
* **New:** Improved the user directory lookup for the config file.
* **Changed:** Made `set_region()` an alias of `set_hostname()`.
@@ -7,7 +7,11 @@ Contributions were provided under the Apache 2.0 License, as appropriate.
The following people have provided ideas, support and bug fixes:
* [arech8](http://developer.amazonwebservices.com/connect/profile.jspa?userID=154435) (bug fixes)
+* [Aizat Faiz](http://aizatto.com) (bug fixes)
* [Ben Lumley](http://github.com/benlumley) (bug fixes)
+* [David Chan](http://www.chandeeland.org) (bug fixes)
+* [Eric Caron](http://www.ericcaron.com) (bug fixes)
+* [Jason Ardell](http://ardell.posterous.com/) (bug fixes)
* [Jeremy Archuleta](http://code.google.com/u/jeremy.archuleta/) (bug fixes)
* [Paul Voegler](mailto:voegler@gmx.de) (bug fixes, bug reports, patches)
* [Peter Bowen](http://github.com/pzb) (feedback, bug reports)
View
@@ -9,7 +9,7 @@ See below for complete copyright and licensing notices.
<http://aws.amazon.com/php>
-Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
#! /usr/bin/env php
<?php
/*
- * Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright 2010 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
<?php
/*
- * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Oops, something went wrong.

0 comments on commit 116d4c3

Please sign in to comment.