Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump MySqlConnector from 2.2.7 to 2.3.1 #225

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 17, 2023

Bumps MySqlConnector from 2.2.7 to 2.3.1.

Release notes

Sourced from MySqlConnector's releases.

2.3.1

MySqlConnector

  • Add db.client.connections.timeouts counter to metrics: #1392.
  • Allow empty schemaRestrictions array to be passed to GetSchema: #1394.
  • Use higher-resolution timestamps for duration metrics: #1395.
  • Possibly Breaking Use seconds as the units for duration metrics; change type to double: #1396.
  • Thanks to @​Thorium for contributions to this release.

MySqlConnector.DependencyInjection

  • Add AddKeyedMySqlDataSource to support keyed services: #1391.
  • Update Microsoft.Extensions.DependencyInjection.Abstractions dependency to 8.0.0.

2.3.0

  • Support .NET 8.0.
    • Mark some serialization APIs as [Obsolete].
    • Implement DbBatchCommand.CreateParameter: #1352.
    • Optimizations: Use IUtf8SpanFormattable, Ascii.FromUtf16, Guid(bigEndian: true) constructor, argument-throwing helpers, etc.
  • Support .NET Framework 4.8 (net48) TFM: #1355.
    • This allows TlsVersion = TLSv1.3 to be used on .NET Framework 4.8.
  • Drop support for .NET 4.6.1 and .NET Core 3.1: #636, #1273.
    • .NET 4.6.1 support ended on 26 April 2022, and .NET Core 3.1 on 13 December 2022.
    • The minimum supported versions are now .NET Framework 4.6.2 and .NET 6.0, although other frameworks should be supported via netstandard2.0.
  • MySqlDataSource is now available for all TFMs, not just .NET 7.0: #1269.
    • This provides a single place to configure a MySQL connection and makes it easier to register MySqlConnection with dependency injection.
    • Add MySqlDataSourceBuilder class to configure MySqlDataSource instances.
    • Add MySqlDataSource.Name and MySqlDataSourceBuilder.UseName.
  • Microsoft.Extensions.Logging is now used as the core logging abstraction: #1110.
    • MySqlConnectorLogManager.Provider can still be used to add a logging destination, but it is now deprecated.
    • Use MySqlDataSourceBuilder.UseLoggerFactory to configure logging.
  • Add new MySqlConnector.DependencyInjection package: #1271.
    • MySqlDataSource and MySqlConnection can be registered with dependency injection by using builder.Services.AddMySqlDataSource(connectionString).
    • This also configures logging automatically.
  • Expose connection pool metrics: #491.
  • Remove COM_MULTI protocol support: #946.
  • Support ZEROFILL columns in MySqlDecimal: #1354.
  • Support higher-precision DateTime values: #1379.
  • Use ValueTask in MySqlBulkCopy API for all TFMs: #1364.
    • Breaking This changes the return type of WriteToServerAsync from Task<MySqlBulkCopyResult> to ValueTask<MySqlBulkCopyResult> on .NET Framework
  • Support skipping metadata for prepared statements with MariaDB 10.6 and later: #1301.
  • Support multiple authentication methods when connecting: #1303.
  • Support per-query variables for CommandBehavior.SchemaOnly and SingleRow: #1312.
  • Recycle MySqlDataReader objects: #1277.
  • Perform XA rollback when preparing a transaction fails: #1348.
  • Implement faster parsing for result sets with multiple rows: #1330.
  • Optimize parameter encoding for ASCII strings: #1296.
  • Use TcpClient.ConnectAsync overload with CancellationToken on .NET 5.0 and later: #1291.
  • Fix cancellation when using a redirected connection: #1305.
  • Fix MySqlConnection.CloneWith for connections created from a MySqlDataSource: #1306.

... (truncated)

Commits
  • 413b4bb Release 2.3.1.
  • 115b869 Add 'db.client.connections.timeouts' counter. Fixes #1392
  • cd76fd3 Support keyed services in dependency injection. Fixes #1391
  • c5ca41c Change metrics duration units to seconds. Fixes #1396
  • 8d56d85 Use higher-resolution durations for metrics. Fixes #1395
  • 25106a5 Merge pull request #1394 from Thorium/restrictionvalues-relaxed
  • d32826e Support empty array as restrictionValues
  • d895afc Release 2.3.0.
  • 16b956e Build with .NET 8.0 RTM.
  • ccd2fe1 Update package readme for DI and logging. Fixes #1280
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [MySqlConnector](https://github.com/mysql-net/MySqlConnector) from 2.2.7 to 2.3.1.
- [Release notes](https://github.com/mysql-net/MySqlConnector/releases)
- [Changelog](https://github.com/mysql-net/MySqlConnector/blob/master/docs/VersionHistory.md)
- [Commits](mysql-net/MySqlConnector@2.2.7...2.3.1)

---
updated-dependencies:
- dependency-name: MySqlConnector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 17, 2023
@dependabot dependabot bot requested a review from jas88 November 17, 2023 13:40
@jas88 jas88 merged commit 84d2b4d into develop Nov 18, 2023
3 checks passed
@jas88 jas88 deleted the dependabot/nuget/develop/MySqlConnector-2.3.1 branch November 18, 2023 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant