Skip to content

Commit f5cc8f3

Browse files
authored
[ServiceBus] prep release 7.12.0 (#34543)
* update changelog + samples for timeout * update classifiers * kashif comments
1 parent 6115a6a commit f5cc8f3

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

sdk/servicebus/azure-servicebus/CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# Release History
22

3-
## 7.11.5 (Unreleased)
3+
## 7.12.0 (2024-02-06)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- Updated `max_wait_time` on the ServiceBusReceiver constructor allowing users to change the default server timeout of 65 seconds when accepting a session on a Session-Enabled/Queues/Topics if NEXT_AVAILABLE_SESSION is used.
108

119
### Other Changes
1210

sdk/servicebus/azure-servicebus/azure/servicebus/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License.
44
# ------------------------------------
55

6-
VERSION = "7.11.5"
6+
VERSION = "7.12.0"

sdk/servicebus/azure-servicebus/samples/async_samples/session_pool_receive_async.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
async def message_processing(servicebus_client, queue_name):
2222
while True:
2323
try:
24+
# max_wait_time below is the maximum time the receiver will wait to connect to a session and to receive messages from the service
2425
async with servicebus_client.get_queue_receiver(queue_name, max_wait_time=1, session_id=NEXT_AVAILABLE_SESSION) as receiver:
2526
renewer = AutoLockRenewer()
2627
renewer.register(receiver, receiver.session)

sdk/servicebus/azure-servicebus/samples/sync_samples/session_pool_receive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
def message_processing(sb_client, queue_name, messages):
2121
while True:
2222
try:
23+
# max_wait_time below is the maximum time the receiver will wait to connect to a session and to receive messages from the service
2324
with sb_client.get_queue_receiver(queue_name, max_wait_time=1, session_id=NEXT_AVAILABLE_SESSION) as receiver:
2425
renewer = AutoLockRenewer()
2526
renewer.register(receiver, receiver.session)

sdk/servicebus/azure-servicebus/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@
4949
"Development Status :: 5 - Production/Stable",
5050
'Programming Language :: Python',
5151
'Programming Language :: Python :: 3 :: Only',
52-
'Programming Language :: Python :: 3.7',
5352
'Programming Language :: Python :: 3.8',
5453
'Programming Language :: Python :: 3.9',
5554
'Programming Language :: Python :: 3.10',
5655
'Programming Language :: Python :: 3.11',
56+
'Programming Language :: Python :: 3.12',
5757
'License :: OSI Approved :: MIT License',
5858
],
59-
python_requires=">=3.7",
59+
python_requires=">=3.8",
6060
zip_safe=False,
6161
packages=find_packages(exclude=[
6262
'tests',

0 commit comments

Comments
 (0)