Merged pull requests:
- Fix build warnings in API #1718 (lukebakken)
- Change OTel attribute messaging.operation to messaging.operation.type #1716 (iinuwa)
- Throw when lease not acquired. This can happen then the rate limiter doesn't allow queuing or is generally wrongly configured #1714 (danielmarbach)
v7.0.0-rc.14 (2024-10-24)
Implemented enhancements:
- Make handling of publisher confirmations transparent to the user #1682
Merged pull requests:
- Remove
ChannelOptions
internal class #1712 (lukebakken) - Xml doc updates for the rate limiting #1711 (danielmarbach)
- Only add
x-dotnet-pub-seq-no
when tracking enabled #1710 (lukebakken) - Safeguarding against duplicate sequence numbers #1709 (danielmarbach)
v7.0.0-rc.13 (2024-10-22)
Merged pull requests:
- Address some more TODOs #1708 (lukebakken)
- Upgrade NET6.0 to NET8.0 since NET6.0 is soon EOL #1707 (danielmarbach)
- Leverage
System.Threading.RateLimiting
#1706 (lukebakken) - Enforce maximum outstanding publisher confirms, if set #1703 (lukebakken)
- Isolate publisher confirmation code #1702 (lukebakken)
- Integrate
Channel
intoChannelBase
#1700 (lukebakken)
v7.0.0-rc.12 (2024-10-08)
Implemented enhancements:
- Allow DateTime for Headers in IBasicProperties #1691
- Polyfill language gaps #1688
- DispatchConsumerConcurrency might be misplaced on the connection factory #1668
- Consider using
AsyncManualResetEvent
when handling flow state #1644
Fixed bugs:
- Intermittent flakiness of v7.0 RC #1676
Merged pull requests:
- Fix exception when refreshing oauth2 token #1690 (BreakingBread0)
- Track publisher confirmations automatically #1687 (lukebakken)
- Move code to appropriate directories that match namespace structure #1685 (lukebakken)
- AsyncDisposable #1684 (danielmarbach)
- Event args cancellation #1683 (danielmarbach)
- Async flow control #1681 (danielmarbach)
- Make channel events async #1680 (danielmarbach)
- Make session events async #1679 (danielmarbach)
- Use unique queue and exchange names #1678 (lukebakken)
- Make connection events async #1677 (danielmarbach)
- Sequence Number non-blocking #1675 (danielmarbach)
- Try to address some test flakes #1672 (lukebakken)
v7.0.0-rc.11 (2024-09-12)
Merged pull requests:
- Follow-up to #1669 - per-channel dispatch concurrency #1671 (lukebakken)
- Minor cleanup in AutoRecovery classes #1670 (danielmarbach)
- Allow the dispatcher concurrency to be overriden per channel #1669 (danielmarbach)
v7.0.0-rc.10 (2024-09-10)
Merged pull requests:
- Require
IChannel
forAsyncDefaultBasicConsumer
#1667 (lukebakken) - Add test to demonstrate
IChannel
thread-safety #1665 (lukebakken)
v7.0.0-rc.9 (2024-09-06)
Closed issues:
- Re-review use of
Task
vsValueTask
in API #1645
Merged pull requests:
- Clean up
IChannelExtensions
#1664 (lukebakken) - Fix
NextPublishSeqNo
when retrieved concurrently #1662 (lukebakken) - Finish up version 7 release #1661 (lukebakken)
- Added ability to use Issuer to receive Token Endpoint for the OAuth2ClientBuilder #1656 (Lyphion)
- Consistently use
Task
orValueTask
in APIs #1646 (lukebakken)
Closed issues:
- Re-review use of
Task
vsValueTask
in API #1645
Merged pull requests:
- Added ability to use Issuer to receive Token Endpoint for the OAuth2ClientBuilder #1656 (Lyphion)
- Consistently use
Task
orValueTask
in APIs #1646 (lukebakken)
v7.0.0-rc.8 (2024-08-06)
Fixed bugs:
- Automatic recovery fails if the channel is disposed #1647
- Timer leak and potential JWT/OAuth2 expiry in TimerBasedCredentialRefresher [OAuth2] #1639
Merged pull requests:
- Refactor credential refresh #1649 (lukebakken)
v7.0.0-rc.7 (2024-07-31)
Merged pull requests:
- Fix object disposed exception during channel Recovery #1648 (lukebakken)
- Support cancellation on the flow control block #1643 (danielmarbach)
- Align Reject with Ack/Nack #1642 (danielmarbach)
- Add cancellation token overload to channel extensions #1641 (danielmarbach)
- use async consumer only #1638 (bollhals)
v7.0.0-rc.6 (2024-07-22)
Implemented enhancements:
- Nullable Reference Types #1596
Fixed bugs:
- NullReferenceException when setting null Uri into ConnectionFactory #1622
- RabbitMQActivitySource.Deliver cannot be used by types that implement Consumer #1621
Merged pull requests:
- simplify IncomingCommand.ReturnBuffers handling #1636 (bollhals)
- Move
Deliver
OTEL activity to consumer dispatchers #1633 (lukebakken)
v7.0.0-rc.5 (2024-07-09)
Implemented enhancements:
- Testability of HandleBasicDeliver in IAsyncBasicConsumer #1630
Fixed bugs:
- Connection recovery issue when docker container stopped / started. #1623
Closed issues:
- Back-port #1616 to 6.x #1617
Merged pull requests:
- Replace ReadOnlyBasicProperties with IReadOnlyBasicProperties #1631 (Tornhoof)
- make IncomingCommand a class and simplify code around it #1628 (bollhals)
- Add NRT for the whole client assembly #1626 (bollhals)
v7.0.0-rc.4 (2024-07-02)
Closed issues:
- "Serialized to wrong size" exception when call
BasicPublish
#1620
Merged pull requests:
- Fix issue when recovery takes longer than recovery interval #1624 (lukebakken)
- Avoid boxing in IEndpointResolverExtensions.cs #1619 (lechu445)
v7.0.0-rc.3 (2024-06-27)
Implemented enhancements:
- Expose ConnectionFactory.DispatchConsumersAsync as a ReadOnly property on IConnection #1610
Merged pull requests:
- Ensure that arguments passed to recorded entities are copied. #1616 (lukebakken)
- Add
DispatchConsumersAsyncEnabled
property onIConnection
(#1611) #1615 (lukebakken) - change InboundFrame to a class #1613 (bollhals)
- Make
BasicProperties
a class #1609 (lukebakken)
v7.0.0-rc.2 (2024-06-21)
Fixed bugs:
- Issues with 7.0rc1 IAsyncBasicConsumer's method #1601
- [OTel] Activity is not produced for BasicConsumeAsync on .NET Framework #1533
Closed issues:
- "Ship" public API #1570
Merged pull requests:
- docs: update badge #1608 (WeihanLi)
- Make
ReadonlyBasicProperties
a class. #1607 (lukebakken) - remove CancellationTokenSource from DispatcherChannelBase #1606 (bollhals)
- fix some quick wins #1603 (bollhals)
- Remove in from async methods #1602 (Tornhoof)
- nuget CPM support #1599 (WeihanLi)
- Update CHANGELOG #1598 (lukebakken)
- Use default value for
RabbitMQActivitySource.UseRoutingKeyAsOperationName
#1595 (lukebakken) - downgrade dependencies #1594 (WeihanLi)
v7.0.0-rc.1 (2024-06-04)
Implemented enhancements:
- Ensure RabbitMQ.Client.OpenTelemetry is published to NuGet correctly #1591
- Review TaskExtensions #1425
- Support cancellation #1420
Fixed bugs:
- Calling channel.CloseAsync from within AsyncEventingBasicConsumer handler causes deadlock #1567
- MaxMessageSize actually limits frame size #1356
- Calling Dispose on AutorecoveringModel that has already shutdown throws NullRefException #825
- Opening a channel inside a consumer interface callback times out waiting for continuation #650
Closed issues:
- Incorrect comments in some public member documentation #1109
- CallbackException not raised for AsyncEventingBasicConsumer #1038
- Unhelpful exception message when clientProvidedName is too long #980
- Pool workers to handle incoming deliveries, ACKs etc. #906
- AutorecoveringConnection prevents AppDomain.Unload() of enclosing AppDomain #826
- NullReferenceException when writing a frame on a connection being closed by the server #822
- Log what TLS version(s) is enabled on the system #765
Merged pull requests:
- Ship PublicAPI #1593 (lukebakken)
- Ensure OpenTelemetry project is set up like OAuth2 #1592 (lukebakken)
- Add test to demonstrate that #825 is fixed #1590 (lukebakken)
- Update copyright message #1589 (lukebakken)
- Change test to match code provided by @neilgreatorex #1588 (lukebakken)
- Add test demonstrating that #1573 is fixed #1587 (lukebakken)
- Demonstrate that #1038 is fixed #1585 (lukebakken)
- Handle AppDomain unload #1583 (lukebakken)
- Use ConcurrentDictionary #1580 (lukebakken)
- Fix two flaky tests #1579 (lukebakken)
- Add test that creates
IChannel
within async consumer callback #1578 (lukebakken) - Remove two unnecessary
.Cast<>()
usages #1577 (lukebakken) - Truncate long client provided names #1576 (lukebakken)
- Misc changes from lukebakken/amqp-string #1575 (lukebakken)
- Fix ShutdownInitiator in
CloseAsync
#1574 (lukebakken) - Can't close channel from consumer dispatcher #1568 (lukebakken)
- Adding proper OpenTelemetry integration via. registration helpers and better context propagation #1528 (stebet)
v7.0.0-alpha.6 (2024-05-16)
Implemented enhancements:
- Using the wrong consumer dispatcher type should throw an exception #1408
Fixed bugs:
- 7.0.0-alpha.2 - Unexpected Exception: Unable to read data from the transport connection: Connection reset by peer #1464
- Do not create exceptions just for logging #1440
- Only throw
RabbitMQ.Client
-specific exceptions. #1439
Merged pull requests:
- Enforce max message size with mutiple content frames #1566 (lukebakken)
- Various editor suggestions #1563 (lukebakken)
- Misc changes #1560 (lukebakken)
- Enable
rabbitmq-client
event logging when tests are verbose #1559 (lukebakken) - More
CancellationToken
todos #1555 (lukebakken) - Fix
TestThatDeletedQueueBindingsDontReappearOnRecovery
#1554 (lukebakken) TestPublishRpcRightAfterReconnect
improvements #1553 (lukebakken)- Better exception message when a continuation times out #1552 (lukebakken)
- Separate out connection recovery tests #1549 (lukebakken)
v7.0.0-alpha.5 (2024-04-22)
Implemented enhancements:
- add suport for wasm #1518
- Optimise dependencies needed for v7 release #1480
- Add net 6.0 so that conditional packages can be defined #1479
- ClientArrayPool tracking is already supported by ArrayPool #1421
Closed issues:
- Remove sync API #1472
Merged pull requests:
- Replace
lock
withSemaphoreSlim
#1539 (lukebakken) - Fix the flaky
TestConsumerRecoveryOnClientNamedQueueWithOneRecovery
test #1538 (lukebakken) - Add
CancellationToken
toAsync
members ofIChannel
#1535 (lukebakken) - Add build step to check for
inet_error
#1525 (lukebakken) - Add a test that closes a connection with Toxiproxy #1522 (lukebakken)
- Fix small typos in ConnectionFactory #1521 (markbosch)
- Remove a lot of unused code #1517 (lukebakken)
- Remove TODO #1516 (lukebakken)
- Remove
ClientArrayPool
#1515 (lukebakken) - #1480 Use conditional packages for v7 release #1481 (thompson-tomo)
v7.0.0-alpha.4 (2024-03-05)
Merged pull requests:
- Make handling of server-originated methods async #1508 (lukebakken)
- Continue simplifying code #1507 (lukebakken)
- Continue removing sync API #1506 (lukebakken)
- Use RabbitMQ 3.13 on Windows GHA #1505 (lukebakken)
- Remove more synchronous code #1504 (lukebakken)
v7.0.0-alpha.3 (2024-02-20)
Implemented enhancements:
- Consider re-trying opening connections in a specific scenario #1448
- Trimming and AOT compatibility of this library #1410
- Reduce allocations by using pooled memory and recycling memory streams #694
- Consider adding static analysis #444
Fixed bugs:
- HandleMainLoopException puts exception StackTrace in the EventSource Message #1493
Closed issues:
- Async API - socket read timeout has no effect #1492
- Deadlock when closing a channel in the Received Event #1382
- Enable long-running tests on a cron schedule. #1157
- Heap size grows when publishing a very large batch of messages #1106
- IModel.IsClosed set to false after dispose #1086
- WaitForConfirmsOrDie won't return if DeliveryTag on the client is diverged from the server #1043
- Bug in topology-auto-recovery functionality #1035
- Model.Close does not await CloseAsync #1011
- Discussion: Supported frameworks #867
- Evaluating how to support tracing and OpenTelemetry #776
Merged pull requests:
- Remove more synchronous code. #1501 (lukebakken)
- Update codeql.yml #1499 (lukebakken)
- Address lack of Socket read timeout for async reads #1497 (lukebakken)
- Port #1494 to
main
#1495 (lukebakken) - Re-organize test projects #1491 (lukebakken)
- InternalsVisibleTo enhancements #1488 (WeihanLi)
- Remove synchronous API #1473 (lukebakken)
- Add more use of CancellationToken in Async methods. #1468 (lukebakken)
- Add test code for issue #1464 #1466 (lukebakken)
- Add test to prove bindings are restored by topology recovery #1460 (lukebakken)
- Ensure delivery tag is decremented for client-side exception #1453 (lukebakken)
- Enable long running tests #1451 (lukebakken)
- Add test that demonstrates the current behavior of a recovered channe… #1450 (lukebakken)
- Retry more connections in test suite #1449 (lukebakken)
- Use
Microsoft.CodeAnalysis.PublicApiAnalyzers
#1447 (lukebakken) - Trimming and AOT compatibility #1411 (eerhardt)
- Add OpenTelemetry support via ActivitySource #1261 (stebet)
v7.0.0-alpha.2 (2023-12-14)
Fixed bugs:
- 7.0: Stack overflow "ExchangeDeclareAsync" #1444
Closed issues:
- Port #1438 to main #1441
Merged pull requests:
- Port #1434 to
main
#1442 (lukebakken) - Fix #1429 #1431 (lukebakken)
- Add cancellation to initial socket connection #1428 (lukebakken)
- Ensure that the underlying timer for
Task.Delay
is canceled. #1426 (lukebakken)
v6.8.1 (2023-12-11)
v6.8.1-rc.1 (2023-12-11)
Fixed bugs:
- When using assembly binding redirect a connection error is shown #1434
- Queue Fails to Delete with Orphaned Binding #1376
v6.8.0 (2023-12-05)
Fixed bugs:
- Opening multiple connections from a
ConnectionFactory
withCredentialsRefresher
makes the second connection fail #1429
v6.8.0-rc.1 (2023-12-01)
Closed issues:
- Should IModelExensions be named IModelExtensions (with a "t")? #1430
- Review async RPC continuations, await, and ConfigureAwait #1427
v7.0.0-alpha.1 (2023-11-20)
Closed issues:
- Xunit parallel test execution #1412
- Port "Implement Full Async Channel" PR to
main
#1308 - ConnectionRecovery recovers models before consumers #1076
- connection topology recover can miss restore consumers #1047
- Proposal: Full async channel interface (IModel) #970
- AMQP 0-9-1 Channel (IModel) API with async methods #843
Merged pull requests:
- Make TcpClientAdapter public #1417 (lukebakken)
- Removed ReceiveBufferSize and SendBufferSize to improve message rates #1415 (lukebakken)
- Clarify Unix Time units in AmqpTimestamp #1407 (ngbrown)
- Implement asynchronous methods. #1347 (lukebakken)
v6.7.0 (2023-11-16)
v6.7.0-rc.2 (2023-11-16)
v6.7.0-rc.1 (2023-11-15)
Fixed bugs:
- 6.5.0 can cause application freeze due to TaskScheduler change #1357
Closed issues:
v7.0.0-alpha.0 (2023-10-16)
Implemented enhancements:
- Remove the use of Moq #1369
- remove APIGen project #924 (bollhals)
- Ability to do concurrent dispatches both on the async as well as the sync consumer #866 (danielmarbach)
- simplify missed heartbeat recognition #854 (bollhals)
- eliminate allocations from InboundFrame #848 (bollhals)
Fixed bugs:
- If CreateConnection is called on a thread with a non-default TaskScheduler it will attempt to start the MainLoop on that scheduler. #1355
- Fix flaky connection recovery tests. #1148 (lukebakken)
- Typo in Extension class name #922 (JeremyMahieu)
Merged pull requests:
- Update GHA for NuGet publishing #1406 (lukebakken)
- Update package dependencies #1403 (lukebakken)
- Ensure tests that interact with RabbitMQ do not run in parallel #1402 (lukebakken)
- Add certs and rabbitmq.conf to enable TLS testing on GHA #1398 (lukebakken)
- Add workflow to test OAuth2 #1397 (lukebakken)
- Use latest CI resources on Windows #1394 (lukebakken)
- Remove use of Moq #1393 (lukebakken)
- Ensure that the order of arguments is
expected
,actual
, take two! #1386 (lukebakken) - Ensure that the order of arguments is
expected
,actual
#1385 (lukebakken) - Update API documentation of MaxMessageSize #1381 (MarcialRosales)
- Fix #1378 #1380 (MarcialRosales)
- fix typo #1377 (WeihanLi)
- Update package references #1372 (lukebakken)
- Misc Windows CI updates #1366 (lukebakken)
- Support OAuth2 authentication #1346 (MarcialRosales)
- Implement QueueDeclareAsync #1345 (lukebakken)
- Build using traversal project #1344 (lukebakken)
- Follow-up to PR #1332 #1340 (lukebakken)
- Add a missing constant for NO_ROUTE #1332 (michaelklishin)
- Updates from the 6.x branch #1328 (lukebakken)
- Misc updates #1326 (lukebakken)
- Fix consumer recovery with server-named queues #1325 (lukebakken)
- Port #1317 to main #1323 (lukebakken)
- Ignore global.json #1319 (michaelklishin)
- Add custom filtering and exception handling to topology recovery #1312 (rosca-sabina)
- Adding fully asynchronous versions of connect and publish. #1311 (stebet)
- Part 2 of #1308 - Port Interlocked.cs from #982 #1310 (lukebakken)
- Part 1 of #1308 - renaming IModel and related names #1309 (lukebakken)
- Fix build warning #1307 (lukebakken)
- Port #1304 - Add event for recovering consumer #1305 (Zerpet)
- Update package versions #1295 (lukebakken)
- Remove unused StringExtension.cs #1290 (Pliner)
- Address some test flakes #1288 (lukebakken)
- Bump testing versions on Windows #1285 (lukebakken)
- Removed an unnecessary comment #1276 (3baaady07)
- fix: add unsigned short support in table deserialisation #1270 (gytsen)
- Minimal System.IO.Pipelines integration to prepare for full-async work #1264 (stebet)
- Add exception logging on WriteLoop #1262 (Turnerj)
- Fixing header parsing bug #1260 (stebet)
- CI updates #1256 (lukebakken)
- change ref to in and use Unsafe.AsRef #1247 (bollhals)
- Merge pull request #1224 from rabbitmq/rabbitmq-dotnet-client-1223-6.x #1226 (lukebakken)
- Add ability to specify maximum message size #1218 (lukebakken)
- Misc updates #1215 (lukebakken)
- thread-safe Random generation #1207 (amiru3f)
- Use new Task.WaitAsync() to cancel an await call #1206 (ArminShoeibi)
- Fix perpetual auto-recovery problem #1204 (mot256)
- [REVERTED] Use file-scoped namesapces in RabbitMQ.Client project #1202 (ArminShoeibi)
- Add related headers to streams feature in Headers.cs #1201 (ArminShoeibi)
- Run "dotnet format" #1197 (lukebakken)
- Reduce message body size to help fix flaky test #1193 (lukebakken)
- Ensure target frameworks make sense for 7.0 #1189 (lukebakken)
- Restore readonly #1188 (lukebakken)
- Update AsyncDefaultBasicConsumer.cs #1186 (lukebakken)
AutorecoveringModel.IsClosed
should returntrue
if model is unusable #1179 (onematchfox)- Reference
RUNNING_TESTS.md
fromCONTRIBUTING.md
#1175 (onematchfox) - Add test to try and repro #1168 #1173 (lukebakken)
- Fix Concourse CI #1169 (lukebakken)
- Port rabbitmq/rabbitmq-dotnet-client #950 to main #1165 (lukebakken)
- Add TimeOut to Abort call in dispose #1164 (lukebakken)
- Port PR #1145 to main, manually #1161 (lukebakken)
- Do not setup dotnet on Win runner #1152 (lukebakken)
- Try different docker image #1151 (lukebakken)
- Add Windows GitHub build #1149 (lukebakken)
- Merge pull request #1141 from rabbitmq/lukebakken/fix-appveyor #1143 (lukebakken)
- Clean-up the library's project file. #1124 (teo-tsirpanis)
- simplify code around RabbitMQCtl #1111 (bollhals)
- introduce Connection Config class #1110 (bollhals)
- improve basic properties read / write #1100 (bollhals)
- Fix typo in comment for IConnection #1099 (GitHubPang)
- use ref instead of in for generic T + interface #1098 (bollhals)
- Fix minor typo #1097 (GitHubPang)
- introduce struct BasicProperties for basicPublish #1096 (bollhals)
- fix a typo in comments of WaitForConfirmsOrDieAsync #1095 (ArminShoeibi)
- Fix typo in RUNNING_TESTS.md #1094 (GitHubPang)
- Remove unneeded comment #1092 (GitHubPang)
- Fix XML doc for AmqpTcpEndpoint #1091 (GitHubPang)
- Fix incorrect RemotePort #1090 (GitHubPang)
- Add CodeQL code security analysis workflow #1085 (MirahImage)
- Fix comments in ConnectionFactory #1084 (GitHubPang)
- Don't record consumers if topology recovery is off #1082 (Pliner)
- Typos #1080 (sungam3r)
- Recover models together with consumers #1077 (bollhals)
- add DeliveryModes convenience enum #1063 (Jalalx)
- Fix misspelling and add missing words in comments #1053 (GitHubPang)
- Feature/recover topology if connection problem #1051 (pierresetteskog)
- Resolve #1039 Confirms Failure should use ShutdownInitiator.Library #1040 (StevenBonePgh)
- Fix typo in ConnectionFactory.cs #1034 (GitHubPang)
- Removing bounds checks when serializing commands/frames. #1030 (stebet)
- split connection, enable nullable and remove SoftProtocolException #1029 (bollhals)
- Remove batch publishing as its optimizations are now performed for "regular" publishes/outgoing frames #1028 (bollhals)
- Performance counters (metrics) #1027 (bollhals)
- Workaround: Fixing analyzer build errors on VS2019 v16.9 #1026 (stebet)
- Replacing nUnit with xUnit and parallelizing tests where possible. #1025 (stebet)
- remove unused classes #1022 (bollhals)
- fix always throwing exception on session close #1020 (bollhals)
- remove socket.poll #1018 (bollhals)
- Code cleanups and performance optimizations. #1017 (stebet)
- Framing benchmarks and optimizations #1016 (stebet)
- Fix Semaphore Disposed Exception in AsyncConsumerWorkService #1015 (ashneilson)
- #1012 Fixed exception when consumer tag cannot be found in the consumers dictionary #1013 (LamarLugli)
- Drop deprecated members of framing #1010 (bollhals)
- Various cleanups of Connection / Model #1009 (bollhals)
- Reduce close / abort methods in public API #1008 (bollhals)
- Simplify recordings in AutorecoveringConnection #1007 (bollhals)
- Update EventingBasicConsumer.cs #1006 (riddletd)
- Simplify connection recovery #1004 (bollhals)
- add two test applications #1003 (bollhals)
- simplify CloseReason handling & improve AutorecoveringConnection eventing #1002 (bollhals)
- Remove Experimental from EventingBasicConsumer doc #1001 (kjnilsson)
- 8.0: implement WaitForConfirmsAsync #999 (bollhals)
- Consumer dispatcher improvements #997 (bollhals)
- reduce allocations #996 (bollhals)
- minor cleanup of (unused / rarely used) classes #992 (bollhals)
- 8.0: implement BasicPublishMemory #990 (bollhals)
- some more wire formatting improvements #989 (bollhals)
- 8.0: improve eventing #986 (bollhals)
- Speeding up shortstr/longstr (de)serialization. #985 (stebet)
- Speeding up decimal (de)serialization. #984 (stebet)
- Cleaning up and adding more benchmarks. #983 (stebet)
- 7.0: update target framework from net461 to netcoreapp3.1 #971 (bollhals)
- Structify the Framing.Impl methods #962 (bollhals)
- Update IModel Documentation #958 (JKamsker)
- Minor improvements to GitHub Actions CI build. #954 (stebet)
- Replace Travis with GitHub Actions #952 (asbjornu)
- Make sure OnCallbackException is executed for AsyncConsumers #946 (BarShavit)
- Breaking public API change: fold IAutorecoveringConnection [back] into IConnection #943 (michaelklishin)
- Switch FxCop to PrivateAssets="All" #941 (danielmarbach)
- Use span directly instead of reader / writer for methods & properties #936 (bollhals)
- Expose events ConsumerTagChangeAfterRecovery and QueueNameChangeAfterRecovery #935 (paulomf)
- Remove IAsyncConnectionFactory #933 (danielmarbach)
- Add FxCop with only ConfigureAwait rule enabled for now #932 (danielmarbach)
- Code cleanups #931 (stebet)
- Update dependencies to latest versions #929 (lukebakken)
- change from Memory to ReadOnlyMemory #928 (bollhals)
- change AmqpVersion to struct #927 (bollhals)
- Command Id instead of class & method id #925 (bollhals)
- Running Tests docs: quotes for setting env vars in windows #921 (JeremyMahieu)
- reduce the amount of times we rent / return from arraypool #919 (bollhals)
- Switch to Mozilla Public License 2.0 (MPL 2.0) #916 (dcorbacho)
- simplify ack/nack handling #912 (bollhals)
- cache the frameHeaderBuffer & rentedArray #911 (bollhals)
- Reduce work allocations #910 (bollhals)
- More descriptive exception in WriteShortstr #908 (tmasternak)
- Rename ProcessingConcurrency to ConsumerDispatchConcurrency #905 (danielmarbach)
- Getting rid of Command allocations #902 (bollhals)
- Pull ProcessingConcurrency into connection factory interface #899 (danielmarbach)
- Missing ConfigureAwait in TcpClientAdapter #897 (danielmarbach)
- Edit docs #896 (JeremyMahieu)
- 7.x: remove deprecated message publishing method overloads #895 (danielmarbach)
- Do DNS resolution before connection attempt #893 (JeremyMahieu)
- precompute sizes and and simplify BasicProperties presence #890 (bollhals)
- add size hint variable for PublishBatch creation #888 (bollhals)
- use cached empty BasicProperties when null #887 (bollhals)
- Refactor: extracted RabbitMQ node management functions from IntegrationFixture #884 (pergh)
- Switch WorkPool of ConsumerWorkService to channels #882 (danielmarbach)
- Move BinaryTableValue to public section #880 (BenBorn)
- fix issue 868 #878 (bollhals)
- Fix AppVeyor build #871 (lukebakken)
- Prep for 6.1.1 #870 (lukebakken)
- Implement BasicPublishBatch with ReadOnlyMemory #865 (danielmarbach)
- Report a Uri scheme of "amqps" in AmqpTcpEndpoint.ToString() iff SslOption is enabled #864 (ghost)
- Re-merge pull request #855 from bollhals/remove.task.yield #863 (lukebakken)
- Fix RabbitMQ version parsing #862 (lukebakken)
- Unify on IModel #858 (danielmarbach)
- remove task yield #855 (bollhals)
- Delete AutoClose from SessionManager #852 (Pliner)
- Adding BinaryPrimitives support for NETSTANDARD targets #851 (stebet)
- Fixing rethrown exceptions to properly preserve stackframes. #850 (stebet)
- throw ArgumentOutOfRangeException when table key is too long (> 255) #849 (bollhals)
- Deletion of unreachable code #847 (Pliner)
- Deletion of unused UseBackgroundThreadsForIO #846 (Pliner)
- simplify WriteShortstr #845 (bollhals)
- Frame optimizations #844 (stebet)
- Minor improvements and optimizations #842 (bollhals)
v6.6.0 (2023-09-25)
v6.6.0-beta.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
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
.
A full list of changes can be found in the GitHub milestone: 6.2.0
.
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