|
1 | | -7.2.0 |
2 | | - * Fixed: MongoDB error handling for v7.x compatibility using error codes instead of string matching (#98, #99) - Thanks to [ntark](https://github.com/ntark)! |
3 | | - * Added: Comprehensive unit tests for MongoDB error handling (#100) |
| 1 | +# Serilog.Sinks.MongoDB - Change Log |
| 2 | + |
| 3 | +## 7.2.0 (2025-10-25) |
| 4 | + * Fixed: MongoDB error handling for v7.x compatibility using error codes instead of string matching ([#98](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/98), [#99](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/99)) - Thanks to [@ntark](https://github.com/ntark)! |
| 5 | + * Added: Comprehensive unit tests for MongoDB error handling ([#100](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/100)) |
4 | 6 | * Improved: CI workflow optimization to skip package generation during test runs |
5 | 7 |
|
6 | | -7.1.0 |
7 | | - * Fixed: Guid to BsonValue mapping error (#91) |
8 | | - * Fixed: RollingInterval collection naming with proper formatting (#95) |
9 | | - * Fixed: Renamed SetRollingInternal to SetRollingInterval (#97) |
| 8 | +## 7.1.0 (2025-10-04) |
| 9 | + * Fixed: Guid to BsonValue mapping error ([#91](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/91)) |
| 10 | + * Fixed: RollingInterval collection naming with proper formatting ([#95](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/95)) - Thanks to [@ntark](https://github.com/ntark)! |
| 11 | + * Fixed: Renamed SetRollingInternal to SetRollingInterval ([#97](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/97)) - Thanks to [@ntark](https://github.com/ntark)! |
| 12 | + |
| 13 | +## 7.0.0 (2024-11-05) |
| 14 | + * **BREAKING**: Upgraded MongoDB.Driver to v3.0 fixing incompatibilities |
| 15 | + * **BREAKING**: Dropped .NET Standard 2.0 support |
| 16 | + |
| 17 | +## 6.0.0 (2024-09-19) |
| 18 | + * **BREAKING**: Upgraded Serilog from 2.12.0 to 3.1.1 |
| 19 | + * **BREAKING**: Upgraded MongoDB.Driver to v2.28.0 ([#85](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/85)) - Thanks to [@Memoyu](https://github.com/Memoyu)! |
| 20 | + * Added: Trace context (TraceId and SpanId) to LogEntry ([#87](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/87)) - Thanks to [@fernandovmp](https://github.com/fernandovmp)! |
| 21 | + * Added: Feature for issue [#82](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/82) |
| 22 | + * Added: License expression and repository badges |
| 23 | + * Updated: GitHub Actions to latest versions |
| 24 | + |
| 25 | +## 5.4.0 (2024-02-17) |
| 26 | + * Updated: MongoDB.Driver dependency to v2.19.0 |
| 27 | + * Updated: Converted tests to NUnit framework |
| 28 | + * Updated: Deployment workflow |
| 29 | + |
| 30 | +## 5.3.1 (2022-09-27) |
| 31 | + * Updated: Documentation images and formatting |
| 32 | + |
| 33 | +## 5.3.0 (2022-09-27) |
| 34 | + * Updated: Upgraded to latest PeriodicBatchSink and Serilog packages |
| 35 | + * Fixed: Compatibility with Serilog.Sinks.PeriodicBatching 3.0.0+ ([#80](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/80)) |
| 36 | + |
| 37 | +## 5.2.2 (2022-09-25) |
| 38 | + * Added: `InsertOptions` configuration to the sink to improve performance ([#79](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/79)) |
| 39 | + * Updated: Documentation and added icon |
| 40 | + |
| 41 | +## 5.2.1 (2022-09-02) |
| 42 | + * Fixed: Backwards compatibility issue with `Contains()` using `StringComparison` ([#76](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/76)) |
| 43 | + * Added: Missing copyright headers |
| 44 | + |
| 45 | +## 5.2.0 (2022-09-02) |
| 46 | + * Added: Rolling interval feature for collection names ([#77](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/77)) - Thanks to [@Revazashvili](https://github.com/Revazashvili)! |
| 47 | + * Added: Nullability annotations to the codebase |
| 48 | + * Updated: Latest Serilog version |
| 49 | + * Updated: Migrated CI/CD from AppVeyor to GitHub Actions |
| 50 | + * Fixed: DateTimeOffset type mapping to BSON ([#78](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/78)) |
| 51 | + |
| 52 | +## 5.1.5 (2022-04-23) |
| 53 | + * Version bump release |
| 54 | + |
| 55 | +## 5.1.4 (2022-04-23) |
| 56 | + * Fixed: Uri and TimeSpan type mapping to BSON ([#74](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/74)) |
| 57 | + |
| 58 | +## 5.1.3 (2022-03-16) |
| 59 | + * Added: TTL (Time To Live) expire support for MongoDBBson sink ([#67](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/67)) |
| 60 | + * Updated: Switched to GitVersion for versioning |
| 61 | + * Updated: Repository URLs and documentation |
| 62 | + |
| 63 | +## 5.1.2 (2022-01-19) |
| 64 | + * Fixed: Collection validation/creation not being called when database was specified in configuration ([#68](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/68)) |
| 65 | + * Fixed: Capped collection options not being applied ([#68](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/68)) |
| 66 | + * Fixed: `RepositoryUrl` metadata ([#70](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/70)) - Thanks to [@behroozbc](https://github.com/behroozbc)! |
| 67 | + * Updated: Copyright year to 2022 |
| 68 | + |
| 69 | +## 5.1.1 (2021-09-25) |
| 70 | + * Fixed: Version bump to correct previous release versioning issue |
| 71 | + |
| 72 | +## 5.1.0 (2021-09-25) |
| 73 | + * Fixed: V5 regression with malformed JSON output ([#66](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/66)) |
| 74 | + * Fixed: Application startup when MongoDB is unavailable ([#37](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/37)) |
| 75 | + * Updated: README documentation |
| 76 | + |
| 77 | +## 5.0.0 (2021-09-01) |
| 78 | + * **BREAKING**: Major architectural change - logs now use native BSON serialization instead of JSON ([#60](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/60)) |
| 79 | + * Added: JSON configuration support for sink ([#62](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/62)) - Thanks to [@behroozbc](https://github.com/behroozbc)! |
| 80 | + * Added: Custom MongoDB examples |
| 81 | + * Updated: MongoDB driver ([#65](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/65)) - Thanks to [@laitnee](https://github.com/laitnee)! |
| 82 | + * Fixed: Missing log level in output - now includes log level as expected |
| 83 | + * Removed: Legacy examples |
| 84 | + |
| 85 | +## 4.1.0 (2021-05-05) |
| 86 | + * Added: Support for reserved character replacement in BSON document key fields ([#40](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/40)) - Thanks to [@IcanBENCHurCAT](https://github.com/IcanBENCHurCAT)! |
| 87 | + * Updated: Upgraded project to .NET Core 3.1 |
| 88 | + * Updated: Build tooling to latest versions |
| 89 | + * Fixed: Capped collection not getting created - `CollectionExists` was always returning true ([#54](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/54)) - Thanks to [@karthik-v-raman](https://github.com/karthik-v-raman)! |
| 90 | + |
| 91 | +## 4.0.0 (2018-11-09) |
| 92 | + * **BREAKING**: Changed method signature to accept `ITextFormatter` |
| 93 | + * Added: Accept `ITextFormatter` as optional constructor parameter in MongoDBSink ([#32](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/32)) - Thanks to [@giacomociti](https://github.com/giacomociti)! |
| 94 | + * Updated: Replaced `JsonFormatter` with `ITextFormatter` in MongoDbHelpers |
| 95 | + * Fixed: Error when checking if collection exists on MongoDB 3.6 ([#35](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/35)) - Thanks to [@pberggreen](https://github.com/pberggreen)! |
| 96 | + |
| 97 | +## 3.1.0 (2016-11-02) |
| 98 | + * Added: Support for .NET Standard 1.5 ([#22](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/22), [#23](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/23)) - Thanks to [@kalahari](https://github.com/kalahari)! |
| 99 | + * Added: `CollectionName` parameter to MongoDB sink extension ([#19](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/19), [#21](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/21)) |
| 100 | + * Added: Capability to use connection strings from config file ([#17](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/17)) - Thanks to [@ammachado](https://github.com/ammachado)! |
| 101 | + * Updated: Switched to `EmitAsync` ([#14](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/14), [#15](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/15)) |
| 102 | + * Updated: NuGet packages to latest versions |
| 103 | + * Fixed: `CollectionCreationOptions` not being used even when provided - changed back to explicit collection creation ([#14](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/14), [#8](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/issues/8)) |
| 104 | + * Fixed: Race condition when collection is created externally between existence check and creation ([#25](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/25)) - Thanks to [@kalahari](https://github.com/kalahari)! |
| 105 | + * Code cleanup and refactoring ([#27](https://github.com/ChangemakerStudios/serilog-sinks-mongodb/pull/27)) - Thanks to [@dsoronda](https://github.com/dsoronda)! |
10 | 106 |
|
11 | | -7.0.0 |
12 | | - * Upgraded to MongoDB.Driver 3.0 fixing incompatibilities |
13 | | - * Dropped .NET Standard 2.0 support |
| 107 | +## 3.0.0 (2016-08-09) |
| 108 | + * Initial versioned release after moving from original Serilog repository |
14 | 109 |
|
15 | | -2.0.0 |
| 110 | +## 2.0.0 |
16 | 111 | * Moved the MongoDB sink from its [original location](https://github.com/serilog/serilog) |
0 commit comments