Skip to content

Releases: dotnetcore/CAP

8.1.2

07 May 03:08
Compare
Choose a tag to compare

Bug Fixed

  • Fixed publish exception when event outside of transaction finishing scope. (#1521) Thanks @NikolozGob
  • Fixed PublishDelay synchronization method did not wait internally.

8.1.1

21 Apr 07:50
Compare
Choose a tag to compare

Features

  • Add more granular option for AzureServiceBus. (#1514)
  • Add new options SubscriberParallelExecuteThreadCount,SubscriberParallelExecuteBufferFactor to better support parallel execte subscriber. (#1513)
  • Delete obsolete option CustomerHeader.

8.1.0

19 Mar 11:52
Compare
Choose a tag to compare

Breaking Changes

Since version 7.2, in an effort to improve the performance on the publishing side, we have tasked the .NET thread pool with handling message publishing. However, because tasks in the thread pool are not guaranteed to be executed in order, and because ensuring linear publishing makes sense in certain use cases, we will revert to linear publishing starting with this version. At the same time, we are introducing a new option, EnablePublishParallelSend, to allow users to enable parallel message sending.

Features

  • Upgrade reference nuget packages.
  • Add new option EnablePublishParallelSend to support enable parallel message sending. (#1480) Thanks @yang-xiaodong
  • Dashboard k8s discovery respect the node port while configuring downstream request. (#1478) Thanks @3ldar
  • Allow mongo start transaction custom session handle. (#1485) Thanks @shkarface
  • SubscribeFilter Include MediumMessage in ConsumerContext. (#1464) Thanks @bschwehn
  • Add publishing async support for start transaction. (#1493) Thanks @yang-xiaodong
  • Azure Service Bus support configure additional message correlation header. (#1497) Thanks @demorgi
  • Allow configuring PostgreSQL using an Npgsql data source. (#1496) Thanks @jonekdahl
  • Allow configuring NATS using consumer options. (#1500) Thanks @yang-xiaodong

New Contributors

Full Changelog: v8.0.1...v8.1.0

8.0.1

25 Jan 01:36
e787869
Compare
Choose a tag to compare

Bug Fixed

  • Fixes publisher callback context propagation for OpenTelemetry. (#1454)
  • Fixes dashboard auth to make /ping and /health endpoints to allow anonymous requests. (#1475) Thanks @3ldar

8.0.0

14 Dec 14:00
Compare
Choose a tag to compare

Breaking Changes

DotNetCore.CAP.Dashboard removed DefaultAuthenticationScheme, UseChallengeOnAuth, DefaultChallengeScheme and AuthorizationPolicy options .

Now CAP dashboard auth/authz mechanism to leverage the "ASP.NET Core" way of doing it, see #1428.

  • Streamlined auth via asp.net middlewares. (#1434) Thanks @mviegas

Features

  • Fully Support .NET 8.
  • Add FallbackWindowLookbackSeconds option to configure the retry processor to pick up the backtrack time window for Scheduled or Failed status messages. (#1455) Thanks @apatozi
  • Update IConsumerRegister.Default.cs to make dispose thread safe. (#1438) Thanks @blashbul
  • Compatible with .NET 8's dependency injection KeyedService. (#1436) Thanks @EashShow
  • Add virtual method to custom delay backtrack time window during delayed publishing large messges. (#1429) Thanks @PoteRii

Bug Fixed

  • Fixed message infinite retry of messages after subscriber is removed. (#1456) Thanks @bschwehn
  • Fixed open telemetry context lost on consumer retry and Baggage Propagation. (#1452) Thanks @bschwehn
  • Fixed NATS do not handle reconnect if the nats server is forcibly shutdown and then restarted. (#1449) Thanks @davidterins
  • Fixed outbox pattern messages does not recovery when using DotNetCore.CAP.InMemoryStorage. (#1439) Thanks @davidterins
  • Fixed open telemetry subscriber thows null reference when using azure service bus without connection string. (#1432) Thanks @demorgi
  • Fixed double registration of event handler for azure service bus. (#1427) Thanks @demorgi
  • Fixed publish delay message not working in sql server transaction. (#1422) Thanks @xiangxiren

7.2.2

01 Nov 14:56
Compare
Choose a tag to compare

Features

  • NATS support consumer config DeliverPolicy, default to New. (#1404)
  • Be able to configure if to subscribe to custom producer topic. (#1409) @demorgi

Bug Fixed

  • Try to fixes RabbitMQ basicConsume TimeOutException. (#1405) @yang-xiaodong
  • Change MongoDb index from descending to ascending. (#1415) Thanks @ustaserdar
  • Fixed parent span for "Event Persistence" activity trace. (#1407) Thanks @blashbul
  • Fixed OpenTelemetry Dynatrace IsRemote flag. (#1402) Thanks @phmonte
  • Mark Mongo time serialized to local instance time by default. (#1400)
  • Fixed k8s dashboard meta query error in standalone mode. @yang-xiaodong
  • Azure Service Bus, consumer fails if subscription has session enabled. (#1396, #1397) Thanks @demorgi

7.2.1

08 Sep 14:48
Compare
Choose a tag to compare

Features

  • The options EnableConsumerPrefetch and UseDispatchingPerGroup will work together without interference. (#1399)

Bug Fixed

  • Fixed SqlServer sql case sensitive in dashboard query. (#1389)
  • Fixed Redis endpoint is null in DotNetCore.CAP.OpenTelemetry. (#1384)

7.2.0

30 Jul 13:31
Compare
Choose a tag to compare

Breaking Changes

  • Remove ProducerThreadCount configuration option. Now automatically send task managed by the .NET thread pool. (#1380)
  • Change the SnowflakeId from static singleton to dependency injection singleton. (#1322)

Features:

  • Add support for kubernetes discovery in dashboard. (#1362)
  • Message send task and consumer execute task managed by .net thread pool. (#1380)
  • Upgrade dependencies of NuGet packages.

Bug Fixed:

  • Fixed BasicQosOptions not working as expected for RabbitMQ transport. (#1318)
  • Revert BeginTransactionAsync support. (#1376)
  • Fixed SqlServer transaction rollback message still sent out. (#1378)

7.1.4

17 Jun 02:53
Compare
Choose a tag to compare

Features:

Bug Fixed:

  • Keep the originall stack when consumer exception occurs. (#1341) Thanks @tomyangOK
  • Fixed multiple invocations caused when the retry processor exceeded the FailedRetryInterval. (#1359) Thanks @li-zheng-hao
  • Fixed thread blocking when enable UseDispatchingPerGroup option. (#1356) Thanks @sampsonye @li-zheng-hao

7.1.3

17 May 05:07
Compare
Choose a tag to compare

Features

  • Allow Explicit to set AllowAnonymous for the dashboard API. (#1335)
  • Update dashboard UI style
  • Add Cancellation token for BeginTransactionAsync. (#1317) Thanks @denis-tsv

Bug Fixed