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

Release 6.0.0 #430

Merged
merged 16 commits into from
Oct 17, 2022
Merged

Release 6.0.0 #430

merged 16 commits into from
Oct 17, 2022

Conversation

ckadluba
Copy link
Member

Breaking Change

Microsoft.Data.SqlClient was upgraded to >4.0.0 which introduces a breaking change regarding connection strings. If your SQL Server does not use encryption you have to explicitly specify this in the connection string by adding Encrypt=False. Otherwise the connection will fail with a SqlException. Refer to the SqlClient documentation for details.

ckadluba and others added 16 commits October 1, 2022 21:41
…ation

* Fixes vulnerablities found in #417
* Microsoft.Azure.Services.AppAuthentication is obsolete. SqlClient was updated to version 3.0.0 which has integrated AD authentication capablities which can be configured in the connection string (https://learn.microsoft.com/en-us/sql/connect/ado-net/sql/azure-active-directory-authentication?view=sql-server-ver16).
* Removed sink options UseAzureManagedIdentity, AzureServiceTokenProviderResource, AzureTenantId and any related code.
Error:
Testhost process exited with error: Error:
  An assembly specified in the application dependencies manifest (Serilog.Sinks.MSSqlServer.Tests.deps.json) was not found:
    package: 'Azure.Core', version: '1.6.0'
    path: 'lib/netstandard2.0/Azure.Core.dll'
. Please check the diagnostic logs for more information.

Solution found here: https://stackoverflow.com/a/73548949/2586938
* Updated most nugets to the latest version (except SqlClient).
* Removed obsolete System.Configuration extension methods. They were only used in .NET Framework 4.5.2 which is not supported anymore.
* Simplified and consolidated frameworrk conditions in csproj files
Breaking change: "Encrypt=False" must now be explicitly set in connection string if no encryption should be used. Otherwise an SqlException will occurr.

Details: https://github.com/dotnet/SqlClient/blob/main/release-notes/4.0/4.0.0.md#breaking-changes
Co-authored-by: Jonathon Rossi <jono@jonorossi.com>
@ckadluba ckadluba merged commit e9996f4 into main Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants