- 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. (serilog-mssql#27)
- Safe conversion of data types. Also included selflog for bulk operation errors. (serilog-mssql#4)
- Added the ability to configure additional columns via XML configuration (serilog-mssql#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. (serilog-mssql#7)
- Added explicit column mappings (serilog-mssql#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