Skip to content

Commit ca69c46

Browse files
committed
Merge tag 'v7.2.0' into dev
2 parents f71a593 + 37e1351 commit ca69c46

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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)
4+
* Improved: CI workflow optimization to skip package generation during test runs
5+
16
7.1.0
27
* Fixed: Guid to BsonValue mapping error (#91)
38
* Fixed: RollingInterval collection naming with proper formatting (#95)

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,12 @@ A Serilog sink that writes events as documents to [MongoDB](http://mongodb.org).
1111

1212
## Whats New
1313

14-
#### New in v7.x
15-
* Upgrade MongoDB.Driver to v3.0 - .NET Standard 2.0 support has been removed.
14+
See [CHANGES.md](CHANGES.md) for complete version history.
1615

17-
#### New in v6.x
18-
* Upgrade MongoDB.Driver to v2.28.0 (Thanks to [Memoyu](https://github.com/Memoyu))
19-
* Add trace context to LogEntry (Thanks to [fernandovmp](https://github.com/fernandovmp))
20-
21-
#### New in v5.x
22-
* Output structured MongoDB Bson logs by switching to `.MongoDBBson()` extensions. Existing `.MongoDB()` extensions will continue to work converting logs to Json and then to Bson.
23-
* Rolling Log Collection Naming (Thanks to [Revazashvili](https://github.com/Revazashvili) for the PR!). MongoDBBson sink only.
24-
* Expire TTL support. MongoDBBson sink only.
16+
#### New in v7.2
17+
* Fixed MongoDB v7.x compatibility - Error handling now uses error codes instead of string matching (#98, #99)
18+
* Added comprehensive unit tests for MongoDB error handling
19+
* Improved CI performance
2520

2621
## Installation
2722
Install the sink via NuGet Package Manager Console:

src/Serilog.Sinks.MongoDB/Serilog.Sinks.MongoDB.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup>
12-
<PackageVersion>7.1.0</PackageVersion>
12+
<PackageVersion>7.2.0</PackageVersion>
1313
<Authors>Kiran Makkapati, Jaben Cargman, Serilog Contributors</Authors>
14-
<Copyright>Copyright © Serilog Contributors 2014-2022</Copyright>
14+
<Copyright>Copyright © Serilog Contributors 2014-2025</Copyright>
1515
<Description>The MongoDB sink for Serilog</Description>
1616
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1717
<PackageId>Serilog.Sinks.MongoDB</PackageId>
@@ -20,7 +20,7 @@
2020
<PackageTags>serilog, mongodb</PackageTags>
2121
<PackageReadmeFile>README.md</PackageReadmeFile>
2222
<PackageReleaseNotes>
23-
v7.1 - Bug fixes: Guid to BsonValue mapping (#91), RollingInterval collection naming (#95), SetRollingInterval method name correction (#97).
23+
v7.2 - MongoDB v7.x compatibility fix: Error handling now uses error codes instead of string matching (#98, #99). Comprehensive unit tests added (#100). CI improvements.
2424
</PackageReleaseNotes>
2525
</PropertyGroup>
2626

0 commit comments

Comments
 (0)