You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

release-notes.md 15 KiB

5 years ago
3 years ago
5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. # Release Notes
  2. ## Version 5.0.1 (2021-04-07)
  3. **Features:**
  4. * Add KafkaOptions.MainConfig to AutoCreateTopic. (#810)
  5. * Add support rewriting the default configuration of Kafka consumer. (#822)
  6. * Add DefaultChallengeScheme dashboard options to specify dashboard auth challenge scheme. (#815)
  7. **Bug Fixed:**
  8. * Fixed topic selector in IConsumerServiceSelector. (#806)
  9. * Update AWS topic subscription and SQS access policy generation. (#808)
  10. * Fixed memory leak when using transction to publish message. (#816)
  11. * Fixed SQL content filter on IMonitoringApi.PostgreSql.cs. (#814)
  12. * Fixed the expiration time display problem in the dashboard due to time zone issues (#820)
  13. * Fixed the creation timing of Kafka automatically creating Topic. (#823)
  14. * Fixed Dashboard metric not update. (#819)
  15. ## Version 5.0.0 (2021-03-23)
  16. **Features:**
  17. * Upgrade to .NET Standard 2.1 and support .NET 5. (#727)
  18. * Replace Newtonsoft.Json to System.Text.Json. (#740)
  19. * Support NATS Transport. (#595,#743)
  20. * Enabling publiser confirms for RabbitMQ. (#730)
  21. * Support query subscription from DI implementation factory. (#756)
  22. * Add options to create lazy queue for RabbitMQ. (#772)
  23. * Support to add custom tags for Consul. (#786)
  24. * Support custom group and topic prefiex. (#780)
  25. * Renemae DefaultGroup option to DefaultGroupName.
  26. * Add auto create topic at startup for Kafka. (#795,#744)
  27. **Bug Fixed:**
  28. * Fixed retrying process earlier than consumer registration to DI. (#760)
  29. * Fixed Amazon SQS missing pagination topics. (#765)
  30. * Fixed RabbitMQ MessageTTL option to int type. (#787)
  31. * Fixed Dashboard auth. (#793)
  32. * Fixed ClientProvidedName could not be renamed for RabbitMQ. (#791)
  33. * Fixed EntityFramework transaction will not rollback when exception occurred. (#798)
  34. ## Version 3.1.2 (2020-12-03)
  35. **Features:**
  36. * Support record the exception message in the headers. (#679)
  37. * Support consul service check for https. (#722)
  38. * Support custom producer threads count options for sending. (#731)
  39. * Upgrade dependent nuget packages to latest.
  40. **Bug Fixed:**
  41. * Fixed InmemoryQueue expired messages are not removed bug. (#691)
  42. * Fixed Executor key change lead to possible null reference exception. (#698)
  43. * Fixed Postgresql delete expires data logic error. (#714)
  44. ## Version 3.1.1 (2020-09-23)
  45. **Features:**
  46. * Add consumer parameter with interface suppport. (#669)
  47. * Add custom correlation id and message id support. (#668)
  48. * Enhanced custom serialization support. (#641)
  49. **Bug Fixed:**
  50. * Solve the issue of being duplicated executors from different assemblies. (#666)
  51. * Added comparer to remove duplicate ConsumerExecutors. (#653)
  52. * Add re-enable the auto create topics configuration item for Kafka, it's false by default. now is true. (#635)
  53. * Fixed postgresql transaction rollback invoke bug. (#640)
  54. * Fixed SQLServer table name customize bug. (#632)
  55. ## Version 3.1.0 (2020-08-15)
  56. **Features:**
  57. * Add Amazon SQS support. (#597)
  58. * Remove Dapper and replace with ADO.NET in storage project. (#583)
  59. * Add debug symbols package to nuget.
  60. * Upgrade dependent nuget package version to latest.
  61. * English docs grammar correction. Thanks @mzorec
  62. **Bug Fixed:**
  63. * Fix mysql transaction rollback bug. (#598)
  64. * Fix dashboard query bug. (#600)
  65. * Fix mongo db query bug. (#611)
  66. * Fix dashboard browser language detection bug. (#631)
  67. ## Version 3.0.4 (2020-05-27)
  68. **Bug Fixed:**
  69. * Fix kafka consumer group does not works bug. (#541)
  70. * Fix cast object to primitive types failed bug. (#547)
  71. * Fix subscriber primitive types convert exception. (#568)
  72. * Add conosole app sample.
  73. * Upgrade Confluent.Kafka to 1.4.3
  74. ## Version 3.0.3 (2020-04-01)
  75. **Bug Fixed:**
  76. * Change ISubscribeInvoker interface access modifier to public. (#537)
  77. * Fix rabbitmq connection may be reused when close forced. (#533)
  78. * Fix dahsboard message reexecute button throws exception bug. (#525)
  79. ## Version 3.0.2 (2020-02-05)
  80. **Bug Fixed:**
  81. - Fixed diagnostics event data object error. (#504 )
  82. - Fixed RabbitMQ transport check not working. (#503 )
  83. - Fixed Azure Service Bus subscriber error. (#502 )
  84. ## Version 3.0.1 (2020-01-19)
  85. **Bug Fixed:**
  86. * Fixed Dashboard requeue and reconsume failed bug. (#482 )
  87. * Fixed Azure service bus null reference exception. (#483 )
  88. * Fixed type cast exception from storage. (#473 )
  89. * Fixed SqlServer connection undisponse bug. (#477 )
  90. ## Version 3.0.0 (2019-12-30)
  91. **Breaking Changes:**
  92. In this version, we have made major improvements to the code structure, which have introduced some destructive changes.
  93. * Publisher and Consumer are not compatible with older versions
  94. 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.
  95. * Interface changes
  96. We have done a lot of refactoring of the code, and some of the interfaces may be incompatible with older versions
  97. * Detach the dashboard project
  98. **Features:**
  99. * Supports .NET Core 3.1.
  100. * Upgrade dependent packages.
  101. * New serialization interface `ISerializer` to support serialization of message body sent to MQ.
  102. * Add new api for `ICapPublisher` to publish message with headers.
  103. * Diagnostics event structure and names improved. #378
  104. * Support consumer method to read the message headers. #472
  105. * Support rename message storage tables. #435
  106. * Support for Kafka to write such as Offset and Partition to the header. #374
  107. * Improved the processor retry interval time. #444
  108. **Bug Fixed:**
  109. * Fixed SqlServer dashboard sql query bug. #470
  110. * Fixed Kafka health check bug. #436
  111. * Fixed dashboard bugs. #412 #404
  112. * Fixed transaction bug for sql server when using EF. #402
  113. ## Version 2.6.0 (2019-08-29)
  114. **Features:**
  115. * Improvement Diagnostic support. Thanks [@gfx687](https://github.com/gfx687)
  116. * Improvement documention. https://cap.dotnetcore.xyz
  117. * Improvement `ConsumerInvoker` implementation. Thanks [@hetaoos](https://github.com/hetaoos)
  118. * Support multiple consumer threads. (#295)
  119. * Change DashboardMiddleware to async. (#390) Thanks [@liuzhenyulive](https://github.com/liuzhenyulive)
  120. **Bug Fixed:**
  121. * SQL Server Options Bug.
  122. * Fix transaction scope disposed bug. (#365)
  123. * Fix thread safe issue of ICapPublisher bug. (#371)
  124. * Improved Ctrl+C action raised exception issue.
  125. * Fixed asynchronous exception catching bug of sending.
  126. * Fix MatchPoundUsingRegex "." not escaped bug (#373)
  127. ## Version 2.5.1 (2019-06-21)
  128. **Features:**
  129. * Improved logs record.
  130. * Upgrade dependent nuget packages version. (MySqlConnector, confluent-kafka-dotnet-1.0 )
  131. * NodeId type change to string of DiscoveryOptions for Consul. (#314)
  132. * Change the IConsumerServiceSelector interface access modifier to public. (#333)
  133. * Improved RabbitMQOptions to provide extensions option to configure the client original configuration. (#350)
  134. * Add index for MongoDB CAP collections. (#353)
  135. **Bugs Fixed:**
  136. * Fixed consumer re-register transport bug. (#329)
  137. * Handle messages retrieval failure. (#324)
  138. * Fixed DiagnosticListener null reference exception bug. (#335)
  139. * Add subscription name validation for the AzureServerBus. (#344)
  140. * Fixed thread safety issues of publisher. (#331)
  141. ## Version 2.5.0 (2019-03-30)
  142. **Features:**
  143. * Support Azure Service Bus. (#307)
  144. * Support In-Memory Storage. (#296)
  145. * Upgrade Dapper to version 1.60.1
  146. * Support read environment variables CAP_WORKERID and CAP_DATACENTERID as the snowflake algorithm workerid and datacenterid.
  147. **Bug Fixed:**
  148. * Modify MySQL cap table encoding to utf8mb4. (#305)
  149. * Move CapSubscribeAttribute class to DotNetCore.CAP project.
  150. * Fixed multiple instance snowflake algorithm generating primary key conflicts. (#294)
  151. ## Version 2.4.2 (2019-01-08)
  152. **Features:**
  153. * Startup the CAP with the .NET Core 2.1 BackgroundService. (#265)
  154. * Improved message delivery performance. #261
  155. **Bug Fixed:**
  156. * Fixed PostgreSql version isolation feature bug. (#256)
  157. * Fixed SQL Server sql bug for dashboard search. (#266)
  158. ## Version 2.4.1 (2018-12-19)
  159. **Bug Fixed:**
  160. * Fixed MongoDB version isolation feature bug. (#253)
  161. ## Version 2.4.0 (2018-12-08)
  162. **Features:**
  163. * Supported version options. (#220)
  164. * Upgrade nuget package to .net core 2.2.
  165. **Breaking Changes:**
  166. 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.
  167. **MySQL**
  168. ```sql
  169. ALTER TABLE `cap.published` ADD Version VARCHAR(20) NULL;
  170. ALTER TABLE `cap.received` ADD Version VARCHAR(20) NULL;
  171. ```
  172. **SQL Server**
  173. ```sql
  174. ALTER TABLE Cap.[Published] ADD Version VARCHAR(20) NULL;
  175. ALTER TABLE Cap.[Received] ADD Version VARCHAR(20) NULL;
  176. ```
  177. **PostgreSQL**
  178. ```sql
  179. ALTER TABLE cap.published ADD "Version" VARCHAR(20) NULL;
  180. ALTER TABLE cap.received ADD "Version" VARCHAR(20) NULL;
  181. ```
  182. **MongoDb**
  183. ```
  184. db.CapPublishedMessage.update({},{"$set" : {"Version" : "1"}});
  185. db.CapReceivedMessage.update({},{"$set" : {"Version" : "1"}});
  186. ```
  187. **Bug Fixed:**
  188. - Fixed different groups of the same topic name in one instance will cause routing bug. (#235)
  189. - Fixed message presistence bug. (#240)
  190. - Fixed RabbitMQ topic name contains numbers will cause exception bug. (#181)
  191. ## Version 2.3.1 (2018-10-29)
  192. **Features:**
  193. - Add Source Link Support
  194. - Upgrade dependent NuGet packages.
  195. **Bug Fixed:**
  196. - Fixed dashboard messages requeue error. (#205)
  197. - Adjustment snowflake workerId to random id.
  198. - Fixed flush unclaer data bug.
  199. ## Version 2.3.0 (2018-08-30)
  200. In this version, we made some breaking changes for the publisher API, you can see this blog to understand the story behind.
  201. If you have any migration question, please comment in issue (#190).
  202. **Breaking Changes:**
  203. - Removed app.UseCap() from Startup.cs
  204. - Message table primary key data type has been modified to Bigint and non auto-Increment. (#180)
  205. - New publisher Api. (#188)
  206. **Features:**
  207. - MongoDb supported. (#143)
  208. - Automatic commit transaction. (#191)
  209. **Bug Fixed:**
  210. - Fix message still sent if transaction faild bug. (#118)
  211. - Multiple events in one transaction. (#171)
  212. ## Version 2.2.5 (2018-07-19)
  213. **Features:**
  214. - Performance improvement
  215. **Bug Fixed:**
  216. - Fixed message enqueue exception.
  217. - Fixed Retry processor bugs.
  218. - Fixed Kafka producer exception log without logging when publish message.
  219. - Fixed Incorrect local IP address judgment of IPv6. (#140)
  220. - Fixed DateTime localization format conversion error to sql. (#139)
  221. - Fixed dashboard message page re-requeue and re-executed operate bug. (#158)
  222. - Fixed SendAsync or ExecuteAsync recursion retries bug. (#160)
  223. - Fixed configuration options of FailedThresholdCallback could not be invoke when the value less then three. (#161)
  224. ## Version 2.2.4 (2018-06-05)
  225. Because version 2.2.3 was not released to nuget, so released 2.2.4.
  226. ## Version 2.2.3 (2018-06-05)
  227. **Features:**
  228. - Improved log output.
  229. - Upgrade nuget packages.
  230. - Support pattern matching for consumer. (#132)
  231. **Bug Fixed:**
  232. - Fixed exception thrown when terminate the program with Ctrl+C. (#130)
  233. ## Version 2.2.2 (2018-04-28)
  234. **Features:**
  235. - Improved log output. #114
  236. - Add default timeout configuration for kafka client.
  237. - Rename configuration options FailedCallback to FailedThresholdCallback.
  238. **Bug Fixed:**
  239. - Fixed message enqueue exception.
  240. - Fixed retry processor bugs.
  241. - Fixed kafka producer exception log without logging when publish message.
  242. ## Version 2.2.1 (2018-04-18)
  243. **Bug Fixed:**
  244. - Fixed message enqueue bug in v2.2
  245. ## Version 2.2.0 (2018-04-17)
  246. **Features:**
  247. - Remove database queue mode. (#102)
  248. - Support for Diagnostics. (#112)
  249. - Upgrade dependent nuget packages.
  250. **Bug Fixed:**
  251. - Fixed bug of the FailedRetryCount does not increase when raised SubscribeNotFoundException. (#90)
  252. ## Version 2.1.4 (2018-03-16)
  253. **Features:**
  254. - Remove TableNamePrefix option from MySqlOptions to EFOptions.
  255. - Upgrade nuget package
  256. **Bug Fixed:**
  257. - Fixed the connection bug of getting message from table. (#83)
  258. - Fixed entityframework rename table name prefix bug. (#84)
  259. - Fixed sql server scripts bug of create table scheme. (#85)
  260. - Fixed thread safety issue about KafkaOptions.(#89)
  261. ## Version 2.1.3 (2018-01-24)
  262. **Features:**
  263. - Upgrade dependent nuget packages version.
  264. - NuGet package include xml doc now.
  265. - NuGet now contains the CAP symbol files.
  266. **Bug Fixed:**
  267. - Fixed thread conflict issue when sending messages with PublishAsync. (#80)
  268. - Fixed kafka received message sava failed may caused the mssage loss bug. (#78)
  269. - Fixed dashboard js syntax issue. (#77)
  270. ## Version 2.1.2 (2017-12-18)
  271. **Bug Fixed:**
  272. - Fixed and improve the performance of mysql processing messages. (#68) (#36)
  273. - Fixed dashboard manually trigger reconsumption bug. (#67)
  274. - Fixed mysql 5.5 table initialization bug. (#65)
  275. - Fixed mysql message queue executor bug. (#66)
  276. ## Version 2.1.1 (2017-11-28)
  277. **Bug Fixed:**
  278. - Fixed 'dotnet.exe' process incomplete quit when shutdown application (Ctrl+C). (#64)
  279. - Fixed failure to issue as expected of RabbitMQ SubscriberNotFoundException. (#63)
  280. - Fixed Sent async message in the loop causes an exception. (#62)
  281. ## Version 2.1.0 (2017-11-17)
  282. **Features:**
  283. - Interface display optimization of dashboard.
  284. - Adds a more friendly display when looks at the message content.
  285. - Now you can see the exception infomation in the message conent filed when message send or executed failed.
  286. - Optimize LAN to see Dashboard without authentication.
  287. - Add IContentSerializer interface, you can customize the serialized message content.
  288. - Add IMessagePacker interface, you can customize wapper of the message.
  289. - Upgrade the dependent package.
  290. **Bug Fixed:**
  291. - Fixed dashboard query bugs.
  292. - Fixed dashboard multilanguage display bugs.
  293. - Fixed RabbitMQ connection pool bug.
  294. - Fixed dashboard display bugs on mobile.
  295. ## Version 2.0.2 (2017-09-29)
  296. **Bug Fixed:**
  297. - Fixed asp.net core 2.0 startup error of MySql and PostgreSql. (#44
  298. ## Version 2.0.1 (2017-09-16)
  299. **Bug Fixed:**
  300. - DbContext services bug. (#44)
  301. - Dependency injection bug. (#45)
  302. ## Version 2.0.0 (2017-09-01)
  303. **Features:**
  304. * Supported .net standard 2.0.
  305. * Supported PostgreSQL 9.5+.
  306. * Supported asynchronous function subscriptions.
  307. * `ICapPublisher` api supported callback subsrciber.
  308. **Bug Fixed:**
  309. * Fixed multiple subscriber subscribe bug. (#38)
  310. * Fixed model binde bug. (#17) (#18)
  311. * Fixed database connection disposed bug. (#25)
  312. * Fixed consumer method injection context bug. (#34)
  313. ## Version 1.1.0 (2017-08-04)
  314. **Features:**
  315. - Support MySQL database persistent message.
  316. - Add message failed call-back in CapOptions.
  317. - Remove publish messages API of string name at `ICapPublisher`.
  318. **Bug Fixed:**
  319. - Fixed can not send message for string type. (#17)
  320. - Fixed model bind for type like datetime guid always failed. (#18)
  321. ## Version 1.0.1 (2017-07-25)
  322. **Features:**
  323. - ICapPublisher interface added synchronous publish API.
  324. - Add infinity retry failed processor.
  325. ## Version 1.0.0 (2017-07-19)
  326. - Project published