0.8.0 removes static usage of the class (since it was broken anyway).
Various documentation issues have been fixed.
The ability to automatically retry service calls when SimpleDB is temporarily unavailable has been added.
batchPutAttributes now rejects attempts to batch too many items together. There is now a const, SimpleDB::MAX_ITEM_BATCH_SIZE, that you can use to manage how many items you batch together.
- Fixed an issue where queries containing a tilde (~) were causing SimpleDB to reject the request. Updated to use a modified rawurlencode to compensate.
- Made error messages more informative when curl errors.
- The 'expected' parameter to putAttributes and deleteAttributes is now optional as it should be.
I've released php-sdb-0.7.1 which removes a debug statement that shouldn't be there (and was always executing).
This release includes an update to the newer SimpleDB API version (2009-04-15), BoxUsage tracking and NextToken, as well as support for the February 2010 additions (ConsistentRead and conditional put/delete).
Select and BatchPutAttributes have been added to php-sdb courtesy of Matthew Lanham. Hats off to him :)
Fixed a bug causing QueryWithAttributes to fail when given multiple attributes.
I wasn't going to do this until later, but I suddenly needed it, so I went ahead and did it.
putAttributes now allows you to pass an array of values for a single attribute, and it will automatically handle splitting it into multiple name-value pairs for the request.
I've released a pair of point releases right together.
The first, 0.4.3, added support for the DomainMetadata API endpoint and allowed control over whether the class uses SSL (and whether it uses VERIFYHOST and VERIFYPEER if it does use SSL).
The second, 0.4.4, adds full human-readable error reporting. I also rearranged a few development targets, planning out 0.4.5 and 0.4.6 a bit better.
I've also decided (in a future revision) to drop the range check on the number of attributes passed to putAttributes. Amazon's servers do the checking; they'll report an error if the user sends too many, and I don't want to have to change the code if Amazon changes the limit later.
I've added QueryWithAttributes support. No more looping to GetAttributes on the results of Query :)
The first release of php-sdb supports enough operations on SimpleDB that you can get stuff done, but you should probably wait a bit before using this in a production environment; error reporting is extremely minimal.
The current release is 0.4.0, and supports:
- listing, creating, and deleting domains
- getting, adding, and deleting attributes
- the 'Query' API endpoint
I've planned out the next several point releases and the next minor version increment, so development should go fairly quickly. Any feedback would be appreciated :)