Skip to content

Commit

Permalink
azblob: Updating changelog for azblob 1.3.1 release (#22467)
Browse files Browse the repository at this point in the history
  • Loading branch information
souravgupta-msft authored Feb 28, 2024
1 parent 0cd16aa commit aadb25a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
8 changes: 1 addition & 7 deletions sdk/storage/azblob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
# Release History

## 1.3.1 (Unreleased)

### Features Added

### Breaking Changes
## 1.3.1 (2024-02-28)

### Bugs Fixed

* Re-enabled `SharedKeyCredential` authentication mode for non TLS protected endpoints.
* Use random write in `DownloadFile` method. Fixes [#22426](https://github.com/Azure/azure-sdk-for-go/issues/22426).

### Other Changes

## 1.3.0 (2024-02-12)

### Bugs Fixed
Expand Down
4 changes: 4 additions & 0 deletions sdk/storage/azblob/blob/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"crypto/rand"
"errors"
"fmt"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/log"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
"io"
"net/http"
Expand Down Expand Up @@ -3778,6 +3779,9 @@ func TestDownloadSmallBlockSize(t *testing.T) {
fbb := &fakeDownloadBlob{
contentSize: fileSize,
}

log.SetListener(nil) // no logging

blobClient, err := blockblob.NewClientWithNoCredential("https://fake/blob/path", &blockblob.ClientOptions{
ClientOptions: policy.ClientOptions{
Transport: fbb,
Expand Down
2 changes: 0 additions & 2 deletions sdk/storage/azblob/blockblob/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5742,7 +5742,6 @@ func TestUploadLogEvent(t *testing.T) {
listnercalled := false
log.SetEvents(azblob.EventUpload, log.EventRequest, log.EventResponse)
log.SetListener(func(cls log.Event, msg string) {
t.Logf("%s: %s\n", cls, msg)
if cls == azblob.EventUpload {
listnercalled = true
require.Equal(t, msg, "blob name path1/path2 actual size 270000000 block-size 4194304 block-count 65")
Expand Down Expand Up @@ -5795,7 +5794,6 @@ func TestRequestIDGeneration(t *testing.T) {
requestIdMatch := false
log.SetEvents(log.EventRequest)
log.SetListener(func(cls log.Event, msg string) {
t.Logf("%s: %s\n", cls, msg)
require.Contains(t, msg, "X-Ms-Client-Request-Id: azblob-test-request-id")
require.Contains(t, msg, "User-Agent: testApp/1.0.0-preview.2")
requestIdMatch = true
Expand Down

0 comments on commit aadb25a

Please sign in to comment.