- 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
- 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
- Fixed issue #567: .NET Framework assemblies were not built properly
- Consolidated PR validation action workflows and updated some task versions
- 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
- Fixed issue #552 by downgrading SqlClient dependency to 5.1.6 which is LTS and fixed the vulnerabilities referenced in issue #544
- Fixed vulnerabilities by removing all System.* 4 versions as recommended by Microsoft (https://devblogs.microsoft.com/nuget/nugetaudit-2-0-elevating-security-and-trust-in-package-management/#system-net-http-and-system-text-regularexpressions, issue #544)
- Fixed vulnerability by updating xunit to 2.9.0 (issue #544)
- Fixed vulnerability by directly referencing transitive dependency System.Formats.Asn1 (https://github.com/advisories/GHSA-447r-wph3-92pm, issue #544)
- Fixed vulnerability by directly referencing transitive dependency System.Private.Uri (https://github.com/advisories/GHSA-xhfc-gr8f-ffwc, issue #544)
- Activated NuGet Audit for high and critical vulnerabilities in direct and transitive dependencies for all projects (https://devblogs.microsoft.com/nuget/nugetaudit-2-0-elevating-security-and-trust-in-package-management/)
- Fixed some of the vulnerabilities referenced in issue #544 by updating SqlClient dependency to 5.2.1
- Update codeql-action to v3 before deprecation
- 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
- Fixed issue #509: Add SqlInsertStatementWriter which uses INSERT statements instead of SqlBulkCopy (thanks to @BrettJaner)
- Fixed issue #517: Updated Microsoft.Data.SqlClient to 5.1.5 to fix CVE-2024-21319
- Fixed issue #505: NVarChar Columns with 1 data length gets their values truncated into empty strings (thanks to @Whinarn)
- Updated Microsoft.Data.SqlClient to 5.1.4 to fix CVE-2024-0056 (https://github.com/advisories/GHSA-98g6-xh36-x2p7)
- Implemented #488: Support OpenTelemetry TraceId and SpanId as provided by Serilog core
- Include README in NuGet package
- Implemented #436: Truncate additional columns (thanks to @nhart12)
- Fixed issue #489: allow varchar on standard columns (thanks to @nhart12)
- Implemented #360: Automatic DB creation
- 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
- 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
- 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).
- 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
- 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.
- 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).
- Added support for reserved columns (thanks to @susanneschuster).
- Fixes in README.
- Fixed issue #191: Added option
EagerlyEmitFirstEvent
by implementing new PeriodicBatchingSink API. - Replaced
SinkOptions
withMSSqlServerSinkOptions
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.
- 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.
- 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.
- 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.
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.
- 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
- Fixed #187 Support datetimeoffset as a column type for default column TimeStamp.
- Fixed #229 Slight issue with documentation.
- 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
- Support for Audit sink added (#118/#110).
- Serilog 2.0
- Documentation fix
- Option added to exclude redundant properties from serialized JSON in column LogEvent. (#27)
- Safe conversion of data types. Also included selflog for bulk operation errors. (#4)
- Added the ability to configure additional columns via XML configuration (#6)
- 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)
- Added explicit column mappings (#10)
- Option added to automatically create a database table (by Kiran Varsani (https://github.com/varsanikp))
- Ability to add additional properties as columns in the database
- Option to write times in UTC
- Moved from serilog/serilog