Skip to content

Commit 338ccb4

Browse files
committed
Release 2.0.0 Beta 5.
1 parent c368df3 commit 338ccb4

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

docs/content/overview/version-history.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
lastmod: 2021-10-02
2+
lastmod: 2021-10-16
33
date: 2017-03-27
44
menu:
55
main:
@@ -10,6 +10,12 @@ weight: 30
1010

1111
# Version History
1212

13+
### 2.0.0 Beta 5
14+
15+
* Update version to 2.0 due to scope of changes in the 1.4.0 beta releases.
16+
* Add `ActivitySource` for tracing: [#1036](https://github.com/mysql-net/MySqlConnector/issues/1036).
17+
* Build with .NET 6.0 RC 2.
18+
1319
### 1.4.0 Beta 4
1420

1521
* **Breaking** Remove `ConnectionIdlePingTime`: [#1042](https://github.com/mysql-net/MySqlConnector/issues/1042).

src/MySqlConnector/MySqlConnector.csproj

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,41 @@
44
<TargetFrameworks>net45;net461;net471;netstandard2.0;netstandard2.1;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
<Description>A truly async MySQL ADO.NET provider, supporting MySQL Server, MariaDB, Percona Server, Amazon Aurora, Azure Database for MySQL and more.</Description>
66
<Copyright>Copyright 2016–2021 Bradley Grainger</Copyright>
7-
<Authors>Bradley Grainger;Caleb Lloyd</Authors>
7+
<Authors>Bradley Grainger</Authors>
88
<AssemblyName>MySqlConnector</AssemblyName>
99
<PackageId>MySqlConnector</PackageId>
1010
<PackageReadmeFile>README.md</PackageReadmeFile>
1111
<PackageTags>mysql;mysqlconnector;async;ado.net;database;netcore</PackageTags>
12+
<PackageReleaseNotes>* **Breaking** Remove `ConnectionIdlePingTime`.
13+
* The `Connection Idle Ping Time` connection string option is still accepted, but has no effect.
14+
* If `Connection Reset = False`, `MySqlConnection.Open` will return a pooled connection (if one is available) without testing it for liveness (by pinging the server). This improves performance but may degrade reliability. (`Connection Reset = True`, which is the default, is still recommended for greatest reliability.)
15+
* If the server has closed the pooled connection, `MySqlConnection.Open` will succeed, but the first operation on that connection will fail. Command execution should be wrapped in a try/catch/retry loop to handle this scenario.
16+
* **Breaking** Change how option keys are serialized when retrieving the `MySqlConnectionStringBuilder.ConnectionString` property:
17+
* For example, `User Id` is now `User ID`, `DefaultCommandTimeout` is now `Default Command Timeout`, etc.
18+
* All existing connection strings are still valid, and all the previous aliases for connection string options are still accepted.
19+
* The primary connection string option key is listed first in the documentation at https://mysqlconnector.net/connection-options/.
20+
* **Breaking** Remove `netstandard1.3` target framework.
21+
* **Breaking** Seal `MySqlCommandBuilder` and `MySqlConversionException`.
22+
* Support .NET 6.0 RC 2.
23+
* **Breaking** Update the `MySqlBatch` (experimental API) to match the latest .NET 6.0 API changes.
24+
* Support `DateOnly` and `TimeOnly` structs.
25+
* Use `ZLibStream` for compression.
26+
* Add `ActivitySource` for tracing.
27+
* Make `MySqlError.Code` obsolete.
28+
* Use `ErrorCode` property instead.
29+
* Remove `BackgroundConnectionResetHelper`.
30+
* `MySqlConnectionStringBuilder.DeferConnectionReset` is obsolete and will always be treated as if it's `true`.
31+
* Add more values to `MySqlErrorCode`.
32+
* Reduce default log message severity.
33+
* Reword "recovering leaked sessions" log message.
34+
* Add `[Category]`, `[DefaultValue]`, and `[Description]` attributes to all `MySqlConnectionStringBuilder` properties.
35+
* Throw an informative exception if `DELIMITER` is used in a SQL statement.
36+
* Fix bug that failed to deserialize a binary row (from a prepared statement) correctly.
37+
* Fix incorrect value for `MySqlCommand.LastInsertedId` when executing multiple commands.
38+
* Remove inner exception for `UnableToConnectToHost` exception.
39+
* Fix bug executing stored procedures with backticks in their names.
40+
* Fix rare `ObjectDisposedException` that could be thrown when a connection timeout occurred.
41+
* Fix `MySqlConnectionStringBuilder.TryGetValue`.</PackageReleaseNotes>
1242
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1343
<Nullable>enable</Nullable>
1444
<CheckEolTargetFramework>false</CheckEolTargetFramework>

0 commit comments

Comments
 (0)