Skip to content

Commit d895afc

Browse files
committed
Release 2.3.0.
1 parent 16b956e commit d895afc

File tree

1 file changed

+29
-38
lines changed

1 file changed

+29
-38
lines changed

docs/content/overview/version-history.md

Lines changed: 29 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
lastmod: 2023-11-04
2+
lastmod: 2023-11-14
33
date: 2017-03-27
44
menu:
55
main:
@@ -11,63 +11,54 @@ weight: 30
1111

1212
# Version History
1313

14-
### 2.3.0 Beta 4
14+
### 2.3.0
1515

1616
* Support .NET 8.0.
1717
* Mark some serialization APIs as `[Obsolete]`.
1818
* Implement `DbBatchCommand.CreateParameter`: [#1352](https://github.com/mysql-net/MySqlConnector/issues/1352).
1919
* Optimizations: Use `IUtf8SpanFormattable`, `Ascii.FromUtf16`, `Guid(bigEndian: true)` constructor, argument-throwing helpers, etc.
20-
* Expose connection pool metrics: [#491](https://github.com/mysql-net/MySqlConnector/issues/491).
2120
* Support .NET Framework 4.8 (`net48`) TFM: [#1355](https://github.com/mysql-net/MySqlConnector/discussions/1355)
2221
* This allows `TlsVersion = TLSv1.3` to be used on .NET Framework 4.8.
22+
* Drop support for .NET 4.6.1 and .NET Core 3.1: [#636](https://github.com/mysql-net/MySqlConnector/issues/636), [#1273](https://github.com/mysql-net/MySqlConnector/issues/1273).
23+
* .NET 4.6.1 support ended on 26 April 2022, and .NET Core 3.1 on 13 December 2022.
24+
* The minimum supported versions are now .NET Framework 4.6.2 and .NET 6.0, although other frameworks should be supported via `netstandard2.0`.
25+
* `MySqlDataSource` is now available for all TFMs, not just .NET 7.0: [#1269](https://github.com/mysql-net/MySqlConnector/pull/1269).
26+
* This provides a single place to configure a MySQL connection and makes it easier to register `MySqlConnection` with dependency injection.
27+
* Add `MySqlDataSourceBuilder` class to configure `MySqlDataSource` instances.
28+
* Add `MySqlDataSource.Name` and `MySqlDataSourceBuilder.UseName`.
29+
* Microsoft.Extensions.Logging is now used as the core logging abstraction: [#1110](https://github.com/mysql-net/MySqlConnector/issues/1110).
30+
* `MySqlConnectorLogManager.Provider` can still be used to add a logging destination, but it is now deprecated.
31+
* Use `MySqlDataSourceBuilder.UseLoggerFactory` to configure logging.
32+
* Add new MySqlConnector.DependencyInjection package: [#1271](https://github.com/mysql-net/MySqlConnector/issues/1271).
33+
* `MySqlDataSource` and `MySqlConnection` can be registered with dependency injection by using `builder.Services.AddMySqlDataSource(connectionString)`.
34+
* This also configures logging automatically.
35+
* Expose connection pool metrics: [#491](https://github.com/mysql-net/MySqlConnector/issues/491).
2336
* Remove `COM_MULTI` protocol support: [#946](https://github.com/mysql-net/MySqlConnector/issues/946).
24-
* Reduce allocations on common code paths.
2537
* Support `ZEROFILL` columns in `MySqlDecimal`: [#1354](https://github.com/mysql-net/MySqlConnector/issues/1354).
2638
* Support higher-precision `DateTime` values: [#1379](https://github.com/mysql-net/MySqlConnector/issues/1379).
2739
* Use `ValueTask` in `MySqlBulkCopy` API for all TFMs: [#1364](https://github.com/mysql-net/MySqlConnector/issues/1364).
28-
* Fix bug when column name begins with `@` in `MySqlBulkCopy`: [#1365](https://github.com/mysql-net/MySqlConnector/issues/1365).
29-
* Ignore `MySqlDbType` when serializing enum values: [#1384](https://github.com/mysql-net/MySqlConnector/issues/1384).
30-
31-
### 2.3.0 Beta 3
32-
33-
* Fix version parsing for MariaDB 11.0 and later: [#1311](https://github.com/mysql-net/MySqlConnector/pull/1311).
34-
* Support per-query variables for `CommandBehavior.SchemaOnly` and `SingleRow`: [#1312](https://github.com/mysql-net/MySqlConnector/pull/1312).
35-
* Perform XA rollback when preparing a transaction fails: [#1348](https://github.com/mysql-net/MySqlConnector/issues/1348).
36-
* Implement faster parsing for result sets with multiple rows: [#1330](https://github.com/mysql-net/MySqlConnector/pull/1330).
37-
* Add `MySqlDataSource.Name` and `MySqlDataSourceBuilder.UseName`.
38-
* Fix potential error in reallocating an internal buffer when writing ASCII text.
39-
* Update handling of `ActivityStatus` to latest conventions: [#1334](https://github.com/mysql-net/MySqlConnector/pull/1334).
40-
* Reduce overhead of `CommandTimeout`: [#1338](https://github.com/mysql-net/MySqlConnector/pull/1338).
41-
* Thanks to [Diego Dupin](https://github.com/rusher), [JackBOBO](https://github.com/JackBOBO), and [Piotr Kiełkowicz](https://github.com/Kielek) for contributions to this release.
42-
43-
### 2.3.0 Beta 2
44-
40+
* **Breaking** This changes the return type of `WriteToServerAsync` from `Task<MySqlBulkCopyResult>` to `ValueTask<MySqlBulkCopyResult>` on .NET Framework
4541
* Support skipping metadata for prepared statements with MariaDB 10.6 and later: [#1301](https://github.com/mysql-net/MySqlConnector/pull/1301).
4642
* Support multiple authentication methods when connecting: [#1303](https://github.com/mysql-net/MySqlConnector/pull/1303).
43+
* Support per-query variables for `CommandBehavior.SchemaOnly` and `SingleRow`: [#1312](https://github.com/mysql-net/MySqlConnector/pull/1312).
4744
* Recycle `MySqlDataReader` objects: [#1277](https://github.com/mysql-net/MySqlConnector/issues/1277).
45+
* Perform XA rollback when preparing a transaction fails: [#1348](https://github.com/mysql-net/MySqlConnector/issues/1348).
46+
* Implement faster parsing for result sets with multiple rows: [#1330](https://github.com/mysql-net/MySqlConnector/pull/1330).
4847
* Optimize parameter encoding for ASCII strings: [#1296](https://github.com/mysql-net/MySqlConnector/pull/1296).
4948
* Use `TcpClient.ConnectAsync` overload with `CancellationToken` on .NET 5.0 and later: [#1291](https://github.com/mysql-net/MySqlConnector/pull/1291).
5049
* Fix cancellation when using a redirected connection: [#1305](https://github.com/mysql-net/MySqlConnector/pull/1305).
5150
* Fix `MySqlConnection.CloneWith` for connections created from a `MySqlDataSource`: [#1306](https://github.com/mysql-net/MySqlConnector/issues/1306).
5251
* Work around ephemeral PEM bug on Windows: [#1278](https://github.com/mysql-net/MySqlConnector/issues/1278).
53-
* Remove some unnecessary allocations.
54-
* Thanks to [Guillaume Boucher](https://github.com/gboucher90), [Diego Dupin](https://github.com/rusher), and [Nickolay Batov](https://github.com/stilettk) for contributions to this release.
55-
56-
### 2.3.0 Beta 1
57-
58-
* `MySqlDataSource` is now available for all TFMs, not just .NET 7.0: [#1269](https://github.com/mysql-net/MySqlConnector/pull/1269).
59-
* This provides a single place to configure a MySQL connection and makes it easier to register `MySqlConnection` with dependency injection.
60-
* Add `MySqlDataSourceBuilder` class to configure `MySqlDataSource` instances.
61-
* Microsoft.Extensions.Logging is now used as the core logging abstraction: [#1110](https://github.com/mysql-net/MySqlConnector/issues/1110).
62-
* `MySqlConnectorLogManager.Provider` can still be used to add a logging destination, but it is now deprecated.
63-
* Use `MySqlDataSourceBuilder.UseLoggerFactory` to configure logging.
64-
* Add new MySqlConnector.DependencyInjection package: [#1271](https://github.com/mysql-net/MySqlConnector/issues/1271).
65-
* `MySqlDataSource` and `MySqlConnection` can be registered with dependency injection by using `builder.Services.AddMySqlDataSource(connectionString)`.
66-
* This also configures logging automatically.
67-
* Drop support for .NET 4.6.1 and .NET Core 3.1: [#636](https://github.com/mysql-net/MySqlConnector/issues/636), [#1273](https://github.com/mysql-net/MySqlConnector/issues/1273).
68-
* .NET 4.6.1 support ended on 26 April 2022, and .NET Core 3.1 on 13 December 2022.
69-
* The minimum supported versions are now .NET Framework 4.6.2 and .NET 6.0, although other frameworks should be supported via `netstandard2.0`.
52+
* Reduce allocations on common code paths.
53+
* Fix bug when column name begins with `@` in `MySqlBulkCopy`: [#1365](https://github.com/mysql-net/MySqlConnector/issues/1365).
54+
* Ignore `MySqlDbType` when serializing enum values: [#1384](https://github.com/mysql-net/MySqlConnector/issues/1384).
7055
* Fix bug that didn't copy `MySqlDataSource` in `MySqlConnection.Clone`: [#1267](https://github.com/mysql-net/MySqlConnector/issues/1267).
56+
* Fix version parsing for MariaDB 11.0 and later: [#1311](https://github.com/mysql-net/MySqlConnector/pull/1311).
57+
* Fix potential error in reallocating an internal buffer when writing ASCII text.
58+
* Update handling of `ActivityStatus` to latest conventions: [#1334](https://github.com/mysql-net/MySqlConnector/pull/1334).
59+
* Reduce overhead of `CommandTimeout`: [#1338](https://github.com/mysql-net/MySqlConnector/pull/1338).
60+
* Reword end-of-stream message to be more generic: [#1383](https://github.com/mysql-net/MySqlConnector/issues/1383).
61+
* Thanks to [Guillaume Boucher](https://github.com/gboucher90), [JackBOBO](https://github.com/JackBOBO), [Piotr Kiełkowicz](https://github.com/Kielek), [Diego Dupin](https://github.com/rusher), and [Nickolay Batov](https://github.com/stilettk) for contributions to this release.
7162

7263
### 2.2.7
7364

0 commit comments

Comments
 (0)