選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

release-notes.md 7.7 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. # Release Notes
  2. ## Version 2.5.0 (2019-03-30)
  3. **Features:**
  4. * Support Azure Service Bus. (#307)
  5. * Support In-Memory Storage. (#296)
  6. * Upgrade Dapper to version 1.60.1
  7. * Support read environment variables CAP_WORKERID and CAP_DATACENTERID as the snowflake algorithm workerid and datacenterid.
  8. **Bug Fixed:**
  9. * Modify MySQL cap table encoding to utf8mb4. (#305)
  10. * Move CapSubscribeAttribute class to DotNetCore.CAP project.
  11. * Fixed multiple instance snowflake algorithm generating primary key conflicts. (#294)
  12. ## Version 2.4.2 (2019-01-08)
  13. **Features:**
  14. * Startup the CAP with the .NET Core 2.1 BackgroundService. (#265)
  15. * Improved message delivery performance. #261
  16. **Bug Fixed:**
  17. * Fixed PostgreSql version isolation feature bug. (#256)
  18. * Fixed SQL Server sql bug for dashboard search. (#266)
  19. ## Version 2.4.1 (2018-12-19)
  20. **Bug Fixed:**
  21. * Fixed MongoDB version isolation feature bug. (#253)
  22. ## Version 2.4.0 (2018-12-08)
  23. **Features:**
  24. * Supported version options. (#220)
  25. * Upgrade nuget package to .net core 2.2.
  26. **Breaking Changes:**
  27. 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.
  28. **MySQL**
  29. ```sql
  30. ALTER TABLE `cap.published` ADD Version VARCHAR(20) NULL;
  31. ALTER TABLE `cap.received` ADD Version VARCHAR(20) NULL;
  32. ```
  33. **SQL Server**
  34. ```sql
  35. ALTER TABLE Cap.[Published] ADD Version VARCHAR(20) NULL;
  36. ALTER TABLE Cap.[Received] ADD Version VARCHAR(20) NULL;
  37. ```
  38. **PostgreSQL**
  39. ```sql
  40. ALTER TABLE cap.published ADD "Version" VARCHAR(20) NULL;
  41. ALTER TABLE cap.received ADD "Version" VARCHAR(20) NULL;
  42. ```
  43. **MongoDb**
  44. ```
  45. db.CapPublishedMessage.update({},{"$set" : {"Version" : "1"}});
  46. db.CapReceivedMessage.update({},{"$set" : {"Version" : "1"}});
  47. ```
  48. **Bug Fixed:**
  49. - Fixed different groups of the same topic name in one instance will cause routing bug. (#235)
  50. - Fixed message presistence bug. (#240)
  51. - Fixed RabbitMQ topic name contains numbers will cause exception bug. (#181)
  52. ## Version 2.3.1 (2018-10-29)
  53. **Features:**
  54. - Add Source Link Support
  55. - Upgrade dependent NuGet packages.
  56. **Bug Fixed:**
  57. - Fixed dashboard messages requeue error. (#205)
  58. - Adjustment snowflake workerId to random id.
  59. - Fixed flush unclaer data bug.
  60. ## Version 2.3.0 (2018-08-30)
  61. In this version, we made some breaking changes for the publisher API, you can see this blog to understand the story behind.
  62. If you have any migration question, please comment in issue (#190).
  63. **Breaking Changes:**
  64. - Removed app.UseCap() from Startup.cs
  65. - Message table primary key data type has been modified to Bigint and non auto-Increment. (#180)
  66. - New publisher Api. (#188)
  67. **Features:**
  68. - MongoDb supported. (#143)
  69. - Automatic commit transaction. (#191)
  70. **Bug Fixed:**
  71. - Fix message still sent if transaction faild bug. (#118)
  72. - Multiple events in one transaction. (#171)
  73. ## Version 2.2.5 (2018-07-19)
  74. **Features:**
  75. - Performance improvement
  76. **Bug Fixed:**
  77. - Fixed message enqueue exception.
  78. - Fixed Retry processor bugs.
  79. - Fixed Kafka producer exception log without logging when publish message.
  80. - Fixed Incorrect local IP address judgment of IPv6. (#140)
  81. - Fixed DateTime localization format conversion error to sql. (#139)
  82. - Fixed dashboard message page re-requeue and re-executed operate bug. (#158)
  83. - Fixed SendAsync or ExecuteAsync recursion retries bug. (#160)
  84. - Fixed configuration options of FailedThresholdCallback could not be invoke when the value less then three. (#161)
  85. ## Version 2.2.4 (2018-06-05)
  86. Because version 2.2.3 was not released to nuget, so released 2.2.4.
  87. ## Version 2.2.3 (2018-06-05)
  88. **Features:**
  89. - Improved log output.
  90. - Upgrade nuget packages.
  91. - Support pattern matching for consumer. (#132)
  92. **Bug Fixed:**
  93. - Fixed exception thrown when terminate the program with Ctrl+C. (#130)
  94. ## Version 2.2.2 (2018-04-28)
  95. **Features:**
  96. - Improved log output. #114
  97. - Add default timeout configuration for kafka client.
  98. - Rename configuration options FailedCallback to FailedThresholdCallback.
  99. **Bug Fixed:**
  100. - Fixed message enqueue exception.
  101. - Fixed retry processor bugs.
  102. - Fixed kafka producer exception log without logging when publish message.
  103. ## Version 2.2.1 (2018-04-18)
  104. **Bug Fixed:**
  105. - Fixed message enqueue bug in v2.2
  106. ## Version 2.2.0 (2018-04-17)
  107. **Features:**
  108. - Remove database queue mode. (#102)
  109. - Support for Diagnostics. (#112)
  110. - Upgrade dependent nuget packages.
  111. **Bug Fixed:**
  112. - Fixed bug of the FailedRetryCount does not increase when raised SubscribeNotFoundException. (#90)
  113. ## Version 2.1.4 (2018-03-16)
  114. **Features:**
  115. - Remove TableNamePrefix option from MySqlOptions to EFOptions.
  116. - Upgrade nuget package
  117. **Bug Fixed:**
  118. - Fixed the connection bug of getting message from table. (#83)
  119. - Fixed entityframework rename table name prefix bug. (#84)
  120. - Fixed sql server scripts bug of create table scheme. (#85)
  121. - Fixed thread safety issue about KafkaOptions.(#89)
  122. ## Version 2.1.3 (2018-01-24)
  123. **Features:**
  124. - Upgrade dependent nuget packages version.
  125. - NuGet package include xml doc now.
  126. - NuGet now contains the CAP symbol files.
  127. **Bug Fixed:**
  128. - Fixed thread conflict issue when sending messages with PublishAsync. (#80)
  129. - Fixed kafka received message sava failed may caused the mssage loss bug. (#78)
  130. - Fixed dashboard js syntax issue. (#77)
  131. ## Version 2.1.2 (2017-12-18)
  132. **Bug Fixed:**
  133. - Fixed and improve the performance of mysql processing messages. (#68) (#36)
  134. - Fixed dashboard manually trigger reconsumption bug. (#67)
  135. - Fixed mysql 5.5 table initialization bug. (#65)
  136. - Fixed mysql message queue executor bug. (#66)
  137. ## Version 2.1.1 (2017-11-28)
  138. **Bug Fixed:**
  139. - Fixed 'dotnet.exe' process incomplete quit when shutdown application (Ctrl+C). (#64)
  140. - Fixed failure to issue as expected of RabbitMQ SubscriberNotFoundException. (#63)
  141. - Fixed Sent async message in the loop causes an exception. (#62)
  142. ## Version 2.1.0 (2017-11-17)
  143. **Features:**
  144. - Interface display optimization of dashboard.
  145. - Adds a more friendly display when looks at the message content.
  146. - Now you can see the exception infomation in the message conent filed when message send or executed failed.
  147. - Optimize LAN to see Dashboard without authentication.
  148. - Add IContentSerializer interface, you can customize the serialized message content.
  149. - Add IMessagePacker interface, you can customize wapper of the message.
  150. - Upgrade the dependent package.
  151. **Bug Fixed:**
  152. - Fixed dashboard query bugs.
  153. - Fixed dashboard multilanguage display bugs.
  154. - Fixed RabbitMQ connection pool bug.
  155. - Fixed dashboard display bugs on mobile.
  156. ## Version 2.0.2 (2017-09-29)
  157. **Bug Fixed:**
  158. - Fixed asp.net core 2.0 startup error of MySql and PostgreSql. (#44
  159. ## Version 2.0.1 (2017-09-16)
  160. **Bug Fixed:**
  161. - DbContext services bug. (#44)
  162. - Dependency injection bug. (#45)
  163. ## Version 2.0.0 (2017-09-01)
  164. **Features:**
  165. * Supported .net standard 2.0.
  166. * Supported PostgreSQL 9.5+.
  167. * Supported asynchronous function subscriptions.
  168. * `ICapPublisher` api supported callback subsrciber.
  169. **Bug Fixed:**
  170. * Fixed multiple subscriber subscribe bug. (#38)
  171. * Fixed model binde bug. (#17) (#18)
  172. * Fixed database connection disposed bug. (#25)
  173. * Fixed consumer method injection context bug. (#34)
  174. ## Version 1.1.0 (2017-08-04)
  175. **Features:**
  176. - Support MySQL database persistent message.
  177. - Add message failed call-back in CapOptions.
  178. - Remove publish messages API of string name at `ICapPublisher`.
  179. **Bug Fixed:**
  180. - Fixed can not send message for string type. (#17)
  181. - Fixed model bind for type like datetime guid always failed. (#18)
  182. ## Version 1.0.1 (2017-07-25)
  183. **Features:**
  184. - ICapPublisher interface added synchronous publish API.
  185. - Add infinity retry failed processor.
  186. ## Version 1.0.0 (2017-07-19)
  187. - Project published