Bot releases are hidden (Show)
Published by yang-xiaodong almost 5 years ago
In this version, we have made major improvements to the code structure, which have introduced some destructive changes.
Publisher and Consumer are not compatible with older versions
This version is not compatible with older versions of the message protocol because we have improved the format in which messages are published and stored.
Interface changes
We have done a lot of refactoring of the code, and some of the interfaces may be incompatible with older versions
Detach the dashboard project
ISerializer
to support serialization of message body sent to MQ.ICapPublisher
to publish message with headers.Published by yang-xiaodong about 5 years ago
ConsumerInvoker
implementation. Thanks @hetaoos
Published by yang-xiaodong over 5 years ago
Published by yang-xiaodong over 5 years ago
CAP_WORKERID
and CAP_DATACENTERID
as the snowflake algorithm workerid and datacenterid.utf8mb4
. #305CapSubscribeAttribute
class to DotNetCore.CAP
project.Published by yang-xiaodong almost 6 years ago
Startup the CAP with the .NET Core 2.1 BackgroundService. #265
Improved message delivery performance. #261
Fixed PostgreSql version isolation feature bug. #256
Fixed SQL Server sql bug for dashboard search. #266
Published by yang-xiaodong almost 6 years ago
Published by yang-xiaodong almost 6 years ago
In order to support the "version isolation" feature, we introduced a new version field in version 2.4.0 to isolate different versions of the message, so this requires some adjustments to the database table structure. You can use the following SQL to add a version field to your database CAP related table.
MySQL
ALTER TABLE `cap.published` ADD Version VARCHAR(20) NULL;
ALTER TABLE `cap.received` ADD Version VARCHAR(20) NULL;
SQL Server
ALTER TABLE Cap.[Published] ADD Version VARCHAR(20) NULL;
ALTER TABLE Cap.[Received] ADD Version VARCHAR(20) NULL;
PostgreSQL
ALTER TABLE cap.published ADD "Version" VARCHAR(20) NULL;
ALTER TABLE cap.received ADD "Version" VARCHAR(20) NULL;
MongoDb
db.CapPublishedMessage.update({},{"$set" : {"Version" : "1"}});
db.CapReceivedMessage.update({},{"$set" : {"Version" : "1"}});
Published by yang-xiaodong almost 6 years ago
Published by yang-xiaodong about 6 years ago
In this version, we made some breaking changes for the publisher API, you can see this blog to understand the story behind.
If you have any migration question, please comment in issue #190.
app.UseCap()
from Startup.csBigint
and non auto-Increment. (#180)Published by yang-xiaodong over 6 years ago
Published by yang-xiaodong over 6 years ago
Because version 2.2.3 was not released to nuget, so released 2.2.4.
Published by yang-xiaodong over 6 years ago
Published by yang-xiaodong over 6 years ago
Published by yang-xiaodong over 6 years ago
Published by yang-xiaodong over 6 years ago
FailedRetryCount
does not increase when raised SubscribeNotFoundException. #90Published by yang-xiaodong over 6 years ago
TableNamePrefix
option from MySqlOptions
to EFOptions
.Published by yang-xiaodong over 6 years ago
Published by yang-xiaodong almost 7 years ago
Published by yang-xiaodong almost 7 years ago
Published by yang-xiaodong almost 7 years ago
IContentSerializer
interface, you can customize the serialized message content.IMessagePacker
interface, you can customize wapper of the message.