No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

release-notes.md 8.5 KiB

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