Storage Client Library v0.5.0
Pre-release
Pre-release
Changes in v0.5:
- Default REST API version is 2014-02-14
- Added parameter sequence_number to the following functions:
- cloud_page_blob::create_async
- cloud_page_blob::open_write_async
- cloud_page_blob::upload_from_stream_async
- cloud_page_blob::upload_from_file_async
- cloud_page_blob::create
- cloud_page_blob::open_write
- cloud_page_blob::upload_from_stream
- cloud_page_blob::upload_from_file
- The client checks blob lease times and throws std::invalid_argument for invalid lease times. Previously, this would have been checked on the service and azure::storage::storage_exception would have been thrown.
- Improvements on error handling:
- azure::storage::storage_exception now has inner_exception populated with the actual underlying exception thrown
- azure::storage::storage_exception now has more information about errors on storage service side
- was/error_code_strings.h is added including messages for all possible error codes from storage service
- Improvements on Unit Tests:
- All test cases now print out test name and client reqeust ID
- Added new cases for containers listing and continuation token
- Unit Test configuraiton file is copied to output directory via CMake now, so no need to copy it manually under Linux
- Several fixes for bugs:
- Cannot generate SAS tokens for tables with upper-case letters in table name
- cloud_blob_istreambuf and cloud_blob_ostreambuf is set to a wrong position after seek() method is called.
- Content-MD5 header is incorrectly set when sending Put Page requests with page-write set to clear