Skip to content

Commit 93a7e7d

Browse files
Prepare for release (Azure#26844)
1 parent ae372e9 commit 93a7e7d

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

sdk/servicebus/Azure.Messaging.ServiceBus/CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
# Release History
22

3-
## 7.6.0-beta.1 (Unreleased)
3+
## 7.6.0 (2022-02-08)
44

5-
### Bugs Fixed
5+
### Acknowledgments
6+
Thank you to our developer community members who helped to make the Service Bus client library better with their contributions to this release:
67

7-
- Add a delay when retrying if we are being throttled by the service.
8+
- Max Hamulyak _([GitHub](https://github.com/kaylumah))_
89

910
### Features Added
1011

12+
- The `State` property has been added to `ServiceBusReceivedMessage` which indicates whether a message is `Active`, `Scheduled`, or `Deferred`.
13+
14+
- Extension methods have been added for registering the `ServiceBusAdministrationClient` via dependency injection for use in ASP.NET Core applications. _(A community contribution, courtesy of [kaylumah](https://github.com/kaylumah))_
15+
1116
- Support for cancellation tokens has been improved for AMQP operations, enabling earlier detection of cancellation requests without needing to wait for the configured timeout to elapse.
1217

18+
## 7.5.1 (2021-12-07)
19+
20+
### Bugs Fixed
21+
22+
- Add a delay when retrying if we are being throttled by the service.
23+
1324
## 7.5.0 (2021-11-10)
1425

1526
### Breaking Changes

sdk/servicebus/Azure.Messaging.ServiceBus/api/Azure.Messaging.ServiceBus.netstandard2.0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public partial class ServiceBusReceivedMessage
260260
internal ServiceBusReceivedMessage() { }
261261
public System.Collections.Generic.IReadOnlyDictionary<string, object> ApplicationProperties { get { throw null; } }
262262
public System.BinaryData Body { get { throw null; } }
263-
public string ContentType { get { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] set { } }
263+
public string ContentType { get { throw null; } }
264264
public string CorrelationId { get { throw null; } }
265265
public string DeadLetterErrorDescription { get { throw null; } }
266266
public string DeadLetterReason { get { throw null; } }

sdk/servicebus/Azure.Messaging.ServiceBus/src/Azure.Messaging.ServiceBus.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>Azure Service Bus is a fully managed enterprise integration message broker. Service Bus can decouple applications and services. Service Bus offers a reliable and secure platform for asynchronous transfer of data and state. This client library allows for both sending and receiving messages using Azure Service Bus. For more information about Service Bus, see https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview</Description>
4-
<Version>7.6.0-beta.1</Version>
4+
<Version>7.6.0</Version>
55
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
66
<ApiCompatVersion>7.5.0</ApiCompatVersion>
77
<PackageTags>Azure;Service Bus;ServiceBus;.NET;AMQP;$(PackageCommonTags)</PackageTags>

sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/ServiceBusReceivedMessage.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,7 @@ internal ServiceBusReceivedMessage(): this(body: default)
167167
/// Optionally describes the payload of the message, with a descriptor following the format of
168168
/// RFC2045, Section 5, for example "application/json".
169169
/// </remarks>
170-
public string ContentType
171-
{
172-
get => AmqpMessage.Properties.ContentType;
173-
[EditorBrowsable(EditorBrowsableState.Never)]
174-
set => throw new NotImplementedException("Content type cannot be set on a ServiceBusReceivedMessage");
175-
}
170+
public string ContentType => AmqpMessage.Properties.ContentType;
176171

177172
/// <summary>Gets the address of an entity to send replies to.</summary>
178173
/// <value>The reply entity address.</value>

0 commit comments

Comments
 (0)