oauth2-1.0.0-beta.0 (2023-09-25)
oauth2-1.0.0 (2023-09-25)
v6.6.0-beta.0 (2023-09-25)
v6.6.0 (2023-09-25)
Implemented enhancements:
- Allow update of RoutingKey during Nack #1333
- Support credential refresh for OAuth 2/JWT authentication scenarios #956
Fixed bugs:
- Configured
MaxMessageSize
is not honoured #1378 - ConnectionFactory Authmechanisms has incorrect sharing between instances #1370
- Unknown reply code 312 #1331
Closed issues:
- Invalid parameter name in IManagementClient.DeleteExchangeBindingAsync #1375
- Closing connection in EventingBasicConsumer.Received event handler freezes execution of event handler and connection is never closed #1292
v6.5.0 (2023-03-25)
Implemented enhancements:
- Investigate the use of TaskCreationOptions.LongRunning #1318
- Exception during recovery causes recovery failure #658
Closed issues:
- Consumer tags aren't cleaned on channel close causing memory leak. #1302
- Impossible to use a ulong as a header value #1298
- Recovery does not appear to save consumer arguments #1293
- Timeout when opening a new channel after channel exception #1246
- Autorecovery for server-named queues loops indefinitely when consumer listen this queue #1238
- IModel.WaitForConfirmsOrDie* methods don't document that they close #1234
- Port #1223 to main #1225
- Better integrate max message size #1223
- 7.0 Release Checklist #1191
- Missing IRecoveryable implementation #998
- BasicGetResult body memory safety in 6.x+ #994
v6.4.0-rc.1 (2022-06-14)
This release adds the ability to specify a maximum message size when receiving data. The default values are:
- RabbitMQ .NET client 7.0.0 and beyond: 128MiB
- RabbitMQ .NET client 6.4.0 up to 7.0.0: no limit by default
Receiving a frame that specifies a content larger than the limit will throw an execption. This is to help prevent situations as described in this discussion.
To set a limit, use the set MaxMessageSize
on your ConnectionFactory
before opening connections:
// This sets the limit to 512MiB
var cf = new ConnectionFactory();
cf.MaxMessageSize = 536870912;
var conn = cf.CreateConnection()`
GitHub milestone: 6.4.0
Diff: link
GitHub milestone: 6.3.1
Diff: link
GitHub milestone: 6.3.0
Diff: link
GitHub milestone: 6.2.4
This release contains some important bug fixes:
- Fix connection leaks on auto recovery
- Fix buffer overflow when writing long strings
- Fix regression resulting in
ObjectDisposedException
- Fix regression that could affect consuming after auto recovery
GitHub milestone: 6.2.3
GitHub milestone: 6.2.2
6.2.0 was published incorrectly, resulting in version 6.2.1
GitHub milestone: 6.2.1
.
This releases primarily focuses on efficiency improvements and addressing
bugs introduced in 6.x
releases.
A full list of changes can be found in the GitHub milestone: 6.2.0
.
Key highlights include:
-
Concurrent publishing on a shared channel is now safer. We still recommend avoiding it when possible but safety properties have been improved by changing how outgoing frame sequences are serialised.
Contributed by @bollhals.
GitHub issue: #878
-
Batch publishing using
System.ReadOnlyMemory<byte>
payloads instead of byte arrays.Contributed by @danielmarbach.
This release continues with improvements to memory use and object allocations.
A full list of changes can be found in the GitHub milestone: 6.1.0
.
This major release of this client introduces substantial improvements in terms of memory footprint and throughput. They come at the cost of minor but important breaking API changes covered below.
The client now requires .NET Framework 4.6.1 or .NET Standard 2.0.
Earlier versions are no longer supported by the 6.x
series.
Key improvements in this release have been the result of hard work by our stellar community members (in no particular order): @stebet, @bording, @Anarh2404, @danielmarbach, and others.
A full list of changes can be found in the GitHub milestone: 6.0.0
.
The Switch to System.Memory (and Significantly Lower Memory Footprint that Comes with It)
The client now uses the System.Memory
library for message and command payloads. This significantly
reduces object allocation and GC pressure for heavy workloads but also
potentially requires application changes: consumer delivery payloads are now of instance System.ReadOnlyMemory<byte>
instead of byte[]
.
While there's an implicit conversion for these types,
instances of System.ReadOnlyMemory<byte>
must be copied or consumed/deserialised before delivery handler completes.
Holding on to delivered payloads and referencing them at a later point is no longer safe.
The same applies to publishers and the IModel.BasicPublish
method: prefer using System.ReadOnlyMemory<byte>
over byte[]
and dont' assume that this memory can be retained and used outside of the scope of the publishing
function.
GitHub issue: #732
All timeout arguments now use System.TimeSpan
values.
GitHub issue: #688
No major changes here but this is potentially breaking. Only public classes that were never meant to be publicly used have been turned internal to the client.
GitHub issue: #714
The client now requires .NET Framework 4.6.1 or .NET Standard 2.0. Earlier versions are no longer supported.
GitHub issue: #686
Microsoft.Diagnostics.Tracing.EventSource
dependency has been removed. It was an annoying
dependency to have for some environments.
The library now supports source linking.
GitHub issue: #697
Source packages are now also distributed via NuGet.
Added a TLS option to enforce CRL checks for server certificates.
GitHub issue: #500
Please see the milestone for all changes:
Selected highlights:
GitHub PR: rabbitmq-dotnet-client#702
GitHub PR: rabbitmq-dotnet-client#654
GitHub PR: rabbitmq-dotnet-client#578
GitHub PR: rabbitmq-dotnet-client#579
GitHub PR: rabbitmq-dotnet-client#636
GitHub PR: rabbitmq-dotnet-client#368
GitHub PR: rabbitmq-dotnet-client#389
GitHub PR: rabbitmq-dotnet-client#377
GitHub PR: rabbitmq-dotnet-client#354
GitHub PR: rabbitmq-dotnet-client#307
GitHub issue: rabbitmq-dotnet-client#271
GitHub issue: rabbitmq-dotnet-client#94
GitHub issue: rabbitmq-dotnet-client#156
GitHub issue: rabbitmq-dotnet-client#255
GitHub issue: rabbitmq-dotnet-client#264
GitHub issue: rabbitmq-dotnet-client#294
GitHub issue: rabbitmq-dotnet-client#291
GitHub issue: rabbitmq-dotnet-client#288
GitHub issue: rabbitmq-dotnet-client#226
GitHub issue: rabbitmq-dotnet-client#330
GitHub PR: rabbitmq-dotnet-client#325
GitHub issue: rabbitmq-dotnet-client#269
Contributed by Brandon Ording.
GitHub issue: rabbitmq-dotnet-client#270
Contributed by Brandon Ording.
GitHub issue: rabbitmq-dotnet-client#263
GitHub issue: rabbitmq-dotnet-client#257
4.1.0
was released on September 14th, 2016.
Switched to a "thread-per-model" approach in the ConsumerWorkService
.
The TaskScheduler property on ConnectionFactory
has been obsoleted and can no
longer be used to control concurrency.
Utility class changes:
BatchingWorkPool
has been removedConsumerWorkService
no longer has a constructor that takes aTaskScheduler
ConsumerWorkService.MAX_THUNK_EXECUTION_BATCH_SIZE
has been removedConsumerWorkService
no longer has theExecuteThunk
orRegisterKey
methods
Contributed by Brandon Ording and Szymon Kulec.
GH issue: rabbitmq-dotnet-client#251
GH issue: rabbitmq-dotnet-client#244
ConnectionFactory#CreateConnection
could deadlock in some circumstances.
GH issue: rabbitmq-dotnet-client#239.
GH issue: rabbitmq-dotnet-client#238
* This Changelog was automatically generated by github_changelog_generator