Skip to content

Releases: serilog-mssql/serilog-sinks-mssqlserver

v6.0.0

17 Oct 20:53
Compare
Choose a tag to compare

Commits

  • 890e1c6: Bumped version to 5.9.0 (Christian Kadluba) #430
  • 507d323: Removed obsolete line in AppConfigDemp packages.config (Christian Kadluba) #430
  • cfa976b: Removed obsolete and vulnerable Microsoft.Azure.Services.AppAuthentication (Christian Kadluba) #430
  • 0fa7784: Consolidated Serilog nuget version in AppConfigDemo with other projects. (Christian Kadluba) #430
  • a1b4c19: Fixed typo in README (Christian Kadluba) #430
  • a949cea: Bumped Serilog.Sinks.PeriodicBatching to 3.1.0 to ensure compatibility with other sinks (Vladimir Mihok) #430
  • a161ad1: fixed missing reference in AppConfigDemo app (Vladimir Mihok) #430
  • b680ba7: Removed .NET Core 3.1 and updated to .NET 6.0 (Christian Kadluba) #430
  • 4fc1070: Fixed failure to run .NET 6 tests (Christian Kadluba) #430
  • cc8c114: Updated dependencies and removed obsolete code (Christian Kadluba) #430
  • 080a1d8: Updated SqlClient to 5.0.1 (Christian Kadluba) #430
  • 8ff612b: Bumped version to 6.0.0 (Christian Kadluba) #430
  • a46ba97: Bring back icon file. (Christian Kadluba) #430
  • e91d2c4: Updated issue template. Fixed indentation in csproj. (Christian Kadluba) #430
  • 5a70b83: Fixed spelling and gramar README.md (Christian Kadluba) #430
  • e9996f4: Updated CHANGES.md (Christian Kadluba) #430

What's Changed

  • Updated .NET target frameworks (removed soon obsolete .NET Core 3.1, added .NET 6.0 LTS).
  • Fixed issue #417: removed obsolete and vulnerable Microsoft.Azure.Services.AppAuthentication.
  • Updated SqlClient to 5.0.1 (breaking change: https://github.com/serilog-mssql/serilog-sinks-mssqlserver#release-600).
  • Updated all other dependencies to latest versions.
  • Removed obsolete System.Config extension methods (only for .NET Framework 4.5.2 which is no longer supported).

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.

v5.8.0

28 Sep 09:37
Compare
Choose a tag to compare

What's Changed

  • Partial fix of issue #417: Update SqlClient to 3.0.0 etc. to fix high severity vulnerability
  • Removed support for obsolete .NET Framework 4.5.2
  • Fixed issue #408: wrong sample in README

v5.7.1

17 Jun 21:19
Compare
Choose a tag to compare

Commits

  • baea9ce: Update README.md (GhalamborM) #402
  • 0cb0f33: GitHub Actions Build (Christian Kadluba) #402
  • 1cc7112: Update main.yml (Christian Kadluba) #402
  • 2d04cfa: Update main.yml (Christian Kadluba) #402
  • 9e7a1ce: Update main.yml (Christian Kadluba) #402
  • f954655: Update main.yml (Christian Kadluba) #402
  • 5b502c6: GitHub actions (#387) (Christian Kadluba) #402
  • 31c5bea: GitHub actions (#388) (Christian Kadluba) #402
  • 609a1db: Update release.yml (Christian Kadluba) #402
  • fc36030: Update release.yml (Christian Kadluba) #402
  • 6fba8d6: Update release.yml (Christian Kadluba) #402
  • 5030d18: Migration of MSSQL sink repo to new org (#389) (Christian Kadluba) #402
  • 147237e: Small fixes in workflows (Christian Kadluba) #402
  • 5523277: Made SkipTests in Build.ps1 a switch parameter. (Christian Kadluba) #402
  • 66e6197: Made SkipTests in Build.ps1 a switch parameter (forgot to adapt call in WF file). (Christian Kadluba) #402
  • eacbca6: Core implementation without config handling. (Christian Kadluba) #402
  • ec41352: Read new sink option PreventEnlistInTransaction from all supported configuration sources. (Christian Kadluba) #402
  • 40ab647: Run tests for all supported target frameworks of the sink (added missing net472). (Christian Kadluba) #402
  • d7cbe54: Fixed timing dependent database test failures (EagerlyEmitFirstEvent = true). (Christian Kadluba) #402
  • 2b0c9c8: Changes after review from @jonorossi. (Christian Kadluba) #402
  • 557049d: Execute test LogsAreNotAffectedByTransactionsByDefault in a separate run from all other tests to avoid side effects with other DB tests. Ugly but the only feasible way to get this stable. (Christian Kadluba) #402
  • edc036b: Ensured stability of DB tests. (Christian Kadluba) #402
  • 7393fc1: Add trimming to rendered message and message template in case the database fields are smaller than the rendered text (studiopasokon) #402
  • 8230a31: Add unit tests related to the trimming functionality (studiopasokon) #402
  • 5c0b80f: Extend README.md with explanation about the trimming effect when the field lengths are set to a specific size (studiopasokon) #402
  • 4cc02e0: Fix README.md encoding issue (studiopasokon) #402
  • a4e6a87: Add missing forward tick so that the markdown is properly interpreted (studiopasokon) #402
  • 01b5da0: Switch around maxAllowedMessageLength comparisons for better readability (studiopasokon) #402
  • 083ea93: Add extra unit test to check with a custom defined length of -1, or maximum field length (studiopasokon) #402
  • e995464: Rename tests truncating the message and message template from 'Trimmed' to 'Truncated' (studiopasokon) #402
  • bcb4f6b: Add (slightly) general Truncate extension method (studiopasokon) #402
  • c70b1b2: Improve truncating the log message, message template and add truncating the exception message (studiopasokon) #402
  • e9c4cb3: Add note about truncating data of the Exception column, fix maximum value settings of the Message and MessageTemplate columns, and rename trimming to truncating (studiopasokon) #402
  • 491791f: Update README.md (Endy Tjahjono) #402
  • 4a80fd4: Release 5.7.1 (Christian Kadluba) #402

What's Changed

  • Release 5.7.1 by @ckadluba in #402
  • Exclude logging from DB transactions and added sink option EnlistInTransaction (thanks to @ @Daniel-Svensson for the idea and original PR).
  • Fixed issue #209: Add trimming to rendered message and message template (thanks to @studiopasokon)
  • Fixed documentation regarding supported .NET versions (thanks to @GhalamborM).
  • Migrated sink to new GitHub and nuget.org organizations.
  • Use GitHub Actions for build including automatic release documentation.

Full Changelog: v439...v5.7.1

v5.7.0

14 Feb 14:19
0dcf2d1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.6.1...v439

v5.6.1

20 Sep 13:06
55645b5
Compare
Choose a tag to compare
  • Added support for reserved columns (thanks to @susanneschuster).
  • Fixes in README.

v5.6.0

06 Nov 23:34
70c3787
Compare
Choose a tag to compare
  • Fixed issue #191: Added option EagerlyEmitFirstEvent by implementing new PeriodicBatchingSink API.
  • Replaced SinkOptions with MSSqlServerSinkOptions and cleaned up namespaced (thanks to @jonorossi for the contribution).
  • Target .NET Core 2.1 (LTS) instead of 2.2
  • Fixed issue #312: Data conversion issue causes logging to silently fail.

v5.5.1

29 Jul 09:18
fa57d29
Compare
Choose a tag to compare
  • Fixed issue #300 Support DateTime2 data type for TimeStamp column (thanks to @stedel for the contribution).
  • Added Sourcelink support and publish symbols to nuget.org which allows consumers of the package to debug into the sink code.
  • Added troubleshooting tip in README with workaround for SqlClient issue regarding missing Microsoft.Data.SqlClient.Sni.dll in .NET Framework apps and updated samples\AppConfigDemo accordingly.
  • Added information in README about batched sink SqlBulkCopy behavior according to issue #209.

v5.5.0

09 Jun 10:25
64dc4d5
Compare
Choose a tag to compare
  • Implemented enhancement #208: use Microsoft.Data.SqliClient for all platforms except net452 to enable Column Encryption (thanks to @mungk for the contribution).
  • Fixed issue #290 MissingMethodException with .NET Standard 2.0.
  • Added .NET Standard 2.0 sample program.
  • Minor bug fixes.
  • Completed overall refactoring and added unit tests for all refactored code.

v5.4.0

05 May 08:44
5dabed5
Compare
Choose a tag to compare
  • Added support for Azure Managed Identities for Resources authentication (thanks to @darrenschwarz for the contribution).
  • New interface using SinkOptions parameter. Marked old interfaces obsolete.
  • Implemented Enhancement #182: configurable property names for custom columns (thanks to @rocknet for the contribution).
  • Lots of refactoring and new unit tests.

v5.3.0

20 Apr 12:50
1dd9048
Compare
Choose a tag to compare

Code quality release.

  • Added code analysis and editorconfig rules based on Microsoft standards.
  • Fixed code analysis errors where possible and added justified suppressions the few remainig.
  • Use Visual Studio 2019 for AppVeyor builds
  • Updated some dependencies.
  • Added CombinedConfigDemo sample program showing how to combine config and code based sink intitialization.
  • Added a lot of unit tests.