Skip to content

Latest commit

 

History

History
195 lines (156 loc) · 9.51 KB

CHANGES.md

File metadata and controls

195 lines (156 loc) · 9.51 KB

8.1.0

  • Implemented #542: Column option ResolveHierarchicalPropertyName to force non-hierarchical handling
  • Removed unnecessary exception handlers and let Serilog Core do the SelfLog()
  • Refactoring and performance optimizations in batched and audit sink
  • Create perftest result on release
  • Updated issue template
  • Updated editorconfig
  • Added specific documentation about when SQL SELECT permission is not required

8.0.0

  • Updated to .NET 8
  • Updated nearly all dependencies
  • Improved build script (build samples, fail on vulns, ...)
  • Removed some obsolete vulnerability fix dependencies
  • Fixed missing dependency in AppConfigDemo sample

7.0.2

  • Fixed issue #580: Removed deprecated transitive dependency on Microsoft.NETCore.Targets by removing runtime identifier (thanks to @david-brink-talogy)
  • Fixed issues #540 and #541 in README
  • Added performance tests including a GitHub actions workflow
  • Minor cleanups and fixes

7.0.1

  • Fixed issue #567: .NET Framework assemblies were not built properly
  • Consolidated PR validation action workflows and updated some task versions

7.0.0

  • Fixed issue #543: Update to Serilog v4, remove reference to Serilog.Sinks.PeriodicBatching (thanks to @cancakar35)
  • Full automatic release and run on ubuntu-latest agent
  • Added developer documentation
  • Enabled .NET package validation

6.7.1

6.7.0

  • Fixed some of the vulnerabilities referenced in issue #544 by updating SqlClient dependency to 5.2.1
  • Update codeql-action to v3 before deprecation

6.6.1

  • Fixed issue #515: Cannot use .AuditTo with SpanId or TraceId (thanks to @Kolthor and @vui611)
  • Fixed issue #530: Document default value of AllowNull
  • Fixed issue #528: Wrong period in README.md sample

6.6.0

  • Fixed issue #509: Add SqlInsertStatementWriter which uses INSERT statements instead of SqlBulkCopy (thanks to @BrettJaner)

6.5.2

  • Fixed issue #517: Updated Microsoft.Data.SqlClient to 5.1.5 to fix CVE-2024-21319

6.5.1

6.5.0

  • Implemented #488: Support OpenTelemetry TraceId and SpanId as provided by Serilog core
  • Include README in NuGet package

6.4.0

  • Implemented #436: Truncate additional columns (thanks to @nhart12)
  • Fixed issue #489: allow varchar on standard columns (thanks to @nhart12)

6.3.0

  • Implemented #360: Automatic DB creation

6.2.0

  • Implemented #454: LoggingLevelSwitch support to allows log level manipulation at runtime.
  • Fixed issue #458: Error if enrich nullable int columns by null value
  • Added CodeQL code scanning
  • Generate code coverage file when running tests in Build.ps1

6.1.0

  • Fixed issues #207, #435, #419 & #292: Resolve hierarchical property expressions for additional columns
  • Fixed issue #432: Write full exception info to SelfLog
  • Use NuGet central package management
  • Added PR code security scanning (CodeQL & DevSkim)
  • Reorganizations & small fixes

6.0.0

  • 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).

5.8.0

  • 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

5.7.1

  • 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.

5.7.0

  • Fixed a wrong information in README.md regarding SQL Server compatibility (thanks to @domagojmedo).
  • Fixed bug #382 System.FormatExceotion due to invalid format strings when using SelfLog (thanks to @sommmen)
  • New sink option to configure tenant when using Azure managed identities (thanks to @mattosaurus).
  • Updated .NET target frameworks (obsolete .NET Core 2.0 and 2.1, added .NET Core 3.1 LTS).

5.6.1

  • Added support for reserved columns (thanks to @susanneschuster).
  • Fixes in README.

5.6.0

  • 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.

5.5.1

  • 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.

5.5.0

  • 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.

5.4.0

  • 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.

5.3.0

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.

5.2.0

  • Enhancement #232: Allow to override formatter for rendering LogEvent column.
  • Fixed #187 (again - still an exception when using logevent column with TimeStamp column type DateTimeOffset).
  • Added sample programs

5.1.4

  • Fixed #187 Support datetimeoffset as a column type for default column TimeStamp.
  • Fixed #229 Slight issue with documentation.

5.1.3

  • Support binary data type, support specify data length in column config, support specify allow null column
  • Also build on unit-test commits
  • Added issue templase
  • Hybrid config implementation
  • Bugfixes

5.1.2

  • Support for Audit sink added (#118/#110).

4.0.0

2.0.33

  • Option added to exclude redundant properties from serialized JSON in column LogEvent. (#27)

2.0.32

  • Safe conversion of data types. Also included selflog for bulk operation errors. (#4)

2.0.31

  • Added the ability to configure additional columns via XML configuration (#6)

2.0.30

  • You can optionally save the log event inside the database too. Also added ability to exclude the properties if they are saved already inside additional columns. (#7)

2.0.28

  • Added explicit column mappings (#10)

2.0.27

2.0.13

  • Ability to add additional properties as columns in the database

2.0.1

1.5

  • Moved from serilog/serilog