mongodb.bson breaking changes
mongodb.bson 3.0.0 (October 16, 2024) is its newest release with breaking changes, 608 of them. The first: Removed BsonBinaryData. Every breaking API change we have recorded in mongodb.bson on NuGet: 608 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.14.1, released November 19, 2026.
Packages on NuGet run on .NET. .NET end of life dates.
mongodb.bson 3.0.0 breaking changes
- Removed
BsonBinaryData
Construct BsonBinaryData from a GUID with the Create method and an explicit GuidRepresentation instead. mongodb.com - Removed
BsonTypeMapper
GUID values can no longer be converted to BSON through BsonTypeMapper. Use the BsonBinaryData constructor with GuidRepresentation.Standard. mongodb.com - Removed
MongoDB.Bson.BsonArray.RawValues
Use ToArray instead. nuget.org - Removed
MongoDB.Bson.BsonBinaryData.GuidRepresentation
The GuidRepresentation property is gone. Stop reading it and set GUID representation explicitly where you create binary values. nuget.org - Removed
MongoDB.Bson.BsonBoolean.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonDateTime.RawValue
Use MillisecondsSinceEpoch instead. nuget.org - Removed
MongoDB.Bson.BsonDateTime.Value
Use ToUniversalTime instead. nuget.org - Removed
MongoDB.Bson.BsonDecimal128.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonDefaults.GuidRepresentation
MongoDB.Bson.BsonDefaults.GuidRepresentation was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonDefaults.GuidRepresentationMode
MongoDB.Bson.BsonDefaults.GuidRepresentationMode was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonDocument.RawValues
Use Values instead. nuget.org - Removed
MongoDB.Bson.BsonDouble.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonInt32.MinusOne
MongoDB.Bson.BsonInt32.MinusOne was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonInt32.One
MongoDB.Bson.BsonInt32.One was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonInt32.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonInt32.Three
MongoDB.Bson.BsonInt32.Three was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonInt32.Two
MongoDB.Bson.BsonInt32.Two was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonInt32.Zero
MongoDB.Bson.BsonInt32.Zero was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonInt64.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonMaxKey.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonMinKey.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonNull.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonObjectId.CreationTime
Use Value.CreationTime instead. nuget.org - Removed
MongoDB.Bson.BsonObjectId.GenerateNewId
Use BsonObjectId instead. nuget.org - Removed
MongoDB.Bson.BsonObjectId.Increment
Use Value.Increment instead. nuget.org - Removed
MongoDB.Bson.BsonObjectId.Machine
MongoDB.Bson.BsonObjectId.Machine was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonObjectId.Parse
Use BsonObjectId instead. nuget.org - Removed
MongoDB.Bson.BsonObjectId.Pid
MongoDB.Bson.BsonObjectId.Pid was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.BsonObjectId.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonObjectId.Timestamp
Use Value.Timestamp instead. nuget.org - Removed
MongoDB.Bson.BsonObjectId.ToByteArray
Use Value.ToByteArray instead. nuget.org - Removed
MongoDB.Bson.BsonObjectId.TryParse
Use ObjectId.TryParse instead. nuget.org - Removed
MongoDB.Bson.BsonString.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonTimestamp.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonUndefined.RawValue
Use Value instead. nuget.org - Removed
MongoDB.Bson.BsonValue.AsDateTime
Use AsUniversalTime instead of AsDateTime. nuget.org - Removed
MongoDB.Bson.BsonValue.AsNullableDateTime
Use AsNullableUniversalTime instead of AsNullableDateTime. nuget.org - Removed
MongoDB.Bson.BsonValue.IsDateTime
Use IsValidDateTime instead. nuget.org - Removed
MongoDB.Bson.BsonValue.RawValue
MongoDB.Bson.BsonValue.RawValue was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.GuidRepresentationMode
MongoDB.Bson.GuidRepresentationMode was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.IO.BsonBinaryWriter.PopMaxDocumentSize
Use PopSettings instead. nuget.org - Removed
MongoDB.Bson.IO.BsonBinaryWriter.PushMaxDocumentSize
Use PushSettings instead. nuget.org - Removed
MongoDB.Bson.IO.BsonReaderSettings.GuidRepresentation
MongoDB.Bson.IO.BsonReaderSettings.GuidRepresentation was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.IO.BsonWriterSettings.GuidRepresentation
MongoDB.Bson.IO.BsonWriterSettings.GuidRepresentation was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.IO.IBsonReaderExtensions.ReadBinaryDataWithGuidRepresentationUnspecified
Use ReadBinaryData instead. nuget.org - Removed
MongoDB.Bson.IO.JsonOutputMode.JavaScript
Use Shell instead. nuget.org - Removed
MongoDB.Bson.IO.JsonOutputMode.Strict
Use CanonicalExtendedJson instead. nuget.org - Removed
MongoDB.Bson.IO.JsonOutputMode.TenGen
Use Shell instead. nuget.org - Removed
MongoDB.Bson.IO.JsonWriterSettings.Encoding
MongoDB.Bson.IO.JsonWriterSettings.Encoding was removed in MongoDB.Bson 3.0.0 nuget.org - Removed
MongoDB.Bson.ObjectId.Increment
MongoDB.Bson.ObjectId.Increment was removed in MongoDB.Bson 3.0.0 nuget.org
And 558 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.