Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sdk/servicebus/azure-servicebus/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@

### Breaking Changes

- Client side validation of input is now disabled by default. This means there will be no `msrest.exceptions.ValidationError` raised by the client SDK in the case of malformed input. An `azure.core.exceptions.HttpResponseError` may now be raised if the server refuses the request.

### Bugs Fixed

### Other Changes

- Updated minimum `azure-core` version to 1.24.0.
- Removed `msrest` dependency.
- Removed `azure-common` dependency.

## 7.8.3 (2023-03-09)

### Bugs Fixed
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicebus/azure-servicebus/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/servicebus/azure-servicebus",
"Tag": "python/servicebus/azure-servicebus_361137d481"
"Tag": "python/servicebus/azure-servicebus_f69b8e6a3c"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
cast
)
from contextlib import contextmanager
from msrest.serialization import TZ_UTC
from datetime import timezone

try:
from urlparse import urlparse
Expand Down Expand Up @@ -81,11 +81,11 @@


def utc_from_timestamp(timestamp):
return datetime.datetime.fromtimestamp(timestamp, tz=TZ_UTC)
return datetime.datetime.fromtimestamp(timestamp, tz=timezone.utc)


def utc_now():
return datetime.datetime.now(TZ_UTC)
return datetime.datetime.now(timezone.utc)


def build_uri(address, entity):
Expand Down
Loading