Skip to content

Commit 2bf280a

Browse files
committed
Release 0.49.0.
1 parent 0896e19 commit 2bf280a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/content/overview/version-history.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ weight: 30
1111
Version History
1212
===============
1313

14+
### 0.49.0
15+
16+
* **Breaking** The default value for the `UseAffectedRows` connection string option has changed from `true` to `false`. This provides better compatibility with Connector/NET's defaults and also with other ADO.NET libraries: [#600](https://github.com/mysql-net/MySqlConnector/issues/600).
17+
* If you are upgrading from an earlier version of MySqlConnector, either audit your uses of the return value of `ExecuteNonQuery` (it will now return the number of rows matched by the `WHERE` clause for `UPDATE` statements, instead of the number of rows whose values are actually changed), or add `UseAffectedRows=true` to your connection string.
18+
* If you are migrating (or have recently migrated) from Connector/NET to MySqlConnector, then no changes need to be made: MySqlConnector now exhibits the same default behaviour as Connector/NET.
19+
* Make `MySqlException` serializable: [#601](https://github.com/mysql-net/MySqlConnector/issues/601).
20+
* Set `MySqlException.Number` to `MySqlErrorCode.UnableToConnectToHost` when connecting fails: [#599](https://github.com/mysql-net/MySqlConnector/issues/599).
21+
* Populate `MySqlException.Data` dictionary: [#602](https://github.com/mysql-net/MySqlConnector/issues/602).
22+
1423
### 0.48.2
1524

1625
* Fix `InvalidCastException` in `MySqlDataReader.GetDateTime` when `AllowZeroDateTime=True`: [#597](https://github.com/mysql-net/MySqlConnector/issues/597).

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<Version>0.48.2</Version>
4+
<Version>0.49.0</Version>
55
<SignAssembly>true</SignAssembly>
66
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
77
<AssemblyOriginatorKeyFile>..\..\MySqlConnector.snk</AssemblyOriginatorKeyFile>

0 commit comments

Comments
 (0)