Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

V1.0.0#117

Merged
vinjiang merged 12 commits into
Azure:masterfrom
XiaoningLiu:v1.0.0
Jan 11, 2018
Merged

V1.0.0#117
vinjiang merged 12 commits into
Azure:masterfrom
XiaoningLiu:v1.0.0

Conversation

@XiaoningLiu
Copy link
Copy Markdown
Member

2018.01 - version 1.0.0

All

  • Split azure-storage composer package into azure-storage-blob, azure-storage-table, azure-storage-queue, azure-storage-file and azure-storage-common packages.
  • Removed ServiceBuilder.php, moved static builder methods into BlobRestProxy, TableRestProxy, QueueRestProxy and FileRestProxy.
  • Moved method SharedAccessSignatureHelper::generateBlobServiceSharedAccessSignatureToken() into BlobSharedAccessSignatureHelper.
  • Moved method SharedAccessSignatureHelper::generateTableServiceSharedAccessSignatureToken() into TableSharedAccessSignatureHelper.
  • Moved method SharedAccessSignatureHelper::generateQueueServiceSharedAccessSignatureToken() into QueueSharedAccessSignatureHelper.
  • Moved method SharedAccessSignatureHelper::generateFileServiceSharedAccessSignatureToken() into FileSharedAccessSignatureHelper.
  • CommonMiddleWare constructor requires storage service version as parameter now.
  • AccessPolicy class is now an abstract class, added children classes BlobAccessPolicy, ContainerAccessPolicy, TableAccessPolicy, QueueAccessPolicy, FileAccessPolicy and ShareAccessPolicy.
  • Fixed a bug that Utilities::allZero() will return true for non-zero data chunks.
  • Deprecated PHP 5.5 support.

Blob

  • Created BlobSharedAccessSignatureHelper and moved method SharedAccessSignatureHelper::generateBlobServiceSharedAccessSignatureToken() into BlobSharedAccessSignatureHelper.
  • Added static builder methods createBlobService and createContainerAnonymousAccess into BlobRestProxy.
  • Added setUseTransactionalMD5 method for options of BlobRestProxy::CreateBlockBlob and BlobRestProxy::CreatePageBlobFromContent. Default false, enabling transactional MD5 validation will take more cpu and memory resources.
  • Removed dataSerializer parameter from BlobRextProxy constructor.
  • Fixed a bug that CopyBlobFromURLOptions not found.

Table

  • Created TableSharedAccessSignatureHelper and moved method SharedAccessSignatureHelper::generateTableServiceSharedAccessSignatureToken() into TableSharedAccessSignatureHelper.
  • Added static builder methods createTableService into TableRestProxy.
  • Removed dataSerializer parameter from TableRextProxy constructor.
  • Will change variable type according to EdmType specified when serializing table entity values.

Queue

  • Created QueueSharedAccessSignatureHelper and moved method SharedAccessSignatureHelper::generateQueueServiceSharedAccessSignatureToken() into QueueSharedAccessSignatureHelper.
  • Added static builder methods createQueueService into QueueRestProxy.
  • Removed dataSerializer parameter from QueueRextProxy constructor.

File

  • Created FileSharedAccessSignatureHelper and moved method SharedAccessSignatureHelper::generateFileServiceSharedAccessSignatureToken() into FileSharedAccessSignatureHelper.
  • Added static builder methods createFileService into FileRestProxy.
  • Added setUseTransactionalMD5 method for option of FileRestProxy::CreateFileFromContent. Default false, enabling transactional MD5 validation will take more cpu and memory resources.
  • Removed dataSerializer parameter from FileRextProxy constructor.

Copy link
Copy Markdown
Member

@yaxia yaxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too long to take a whole look. I think it is identical with the individual reviews I looked before. So signing off it.

@vinjiang vinjiang merged commit 89e7bcd into Azure:master Jan 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants