Skip to content

Commit f80b5f5

Browse files
committed
updated release notes.
1 parent 031ff8e commit f80b5f5

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

Release Notes/Release Notes v2.0.0.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
C#/.NET Driver Version 2.0.0 Release Notes
1+
C#/.NET Driver Version 2.0.0-beta3 Release Notes
22
==========================================
33

4-
This is a major release which supports all MongoDB server versions since 2.2.
4+
(Preliminary)
5+
6+
This is a major release which supports all MongoDB server versions since 2.4.
57

68
An online version of these release notes is available at:
79

@@ -52,6 +54,7 @@ Because of our async nature, we have rebuilt our entire API. The new API is acce
5254
.Match(x => x.FirstName == "Jack")
5355
.GroupBy(x => x.LastName, g => new { _id = g.Key, TotalAge = g.Sum(x => x.Age)})
5456
.ToListAsync();
57+
5558
- Support for dynamic.
5659
var person = new ExpandoObject();
5760
person.FirstName = "Jane";
@@ -79,8 +82,7 @@ are some that may affect a greater number of people:
7982

8083
- .NET 3.5 and .NET 4.0 are no longer supported. If you still must use these platforms, then the 1.x series of the driver will continue to be developed.
8184

82-
- The nuget package mongocsharpdriver has been deprecated. In its place are 3 new nuget packages, MongoDB.Bson, MongoDB.Driver.Core, and MongoDB.Driver.
83-
MongoDB.Driver is the replacement for mongocsharpdriver.
85+
- The nuget package mongocsharpdriver now includes the legacy driver. It includes 3 new nuget packages, MongoDB.Bson, MongoDB.Driver.Core, and MongoDB.Driver. MongoDB.Driver is the replacement for mongocsharpdriver.
8486

8587
- We are no longer strong naming (CSHARP-616) our assemblies. Our previous strong naming was signed with a key in our public repository. This did
8688
nothing other than satisfy certain tools. If you need MongoDB assemblies to be strongly named, it is relatively straight-forward to build the
@@ -93,15 +95,10 @@ assemblies yourself.
9395
- MongoServer is a deprecated class. Anyone using MongoClient.GetServer() will encounter a deprecation warning and, depending on how your build is
9496
setup, may receive an error. It is still safe to use this API until your code is ported to the new API.
9597

96-
- Improved the BsonSerializer infrastructure (CSHARP-933). Anyone who has written a custom serializer will be affected by this. The changes are minor,
97-
but were necessary to support dynamic serializers as well as offering great speed improvements and memory management.
98+
- Improved the BsonSerializer infrastructure (CSHARP-933). Anyone who has written a custom serializer will be affected by this. The changes are minor, but were necessary to support dynamic serializers as well as offering great speed improvements and memory management.
9899

99100
- ReadPreference(CSHARP-1043) and WriteConcern(CSHARP-1044) were rewritten. These classes are now immutable. Any current application
100101
code that sets values on these classes will no longer function. Instead, you should use the With method to alter a ReadPreference or WriteConcern.
101102
var writeConcern = myCurrentWriteConcern.With(journal: true);
102103

103-
- Dynamic DictionaryRepresentation (CSHARP-939) has been removed. Its intent was to store, in some manner, anything in a .NET dictionary. In practice,
104-
this leads to the same values getting stored in different ways depending on factors such as a "." inside the key name. We made the decision to eliminate
105-
this variability. This means that documents that used to serialize correctly may start throwing a BsonSerializationException with a message indicating
106-
the key must be a valid string. CSHARP-1165 has a solution to this problem. It should be noted that we will continue to read these disparate
107-
representations without error.
104+
- Dynamic DictionaryRepresentation (CSHARP-939) has been removed. Its intent was to store, in some manner, anything in a .NET dictionary. In practice, this leads to the same values getting stored in different ways depending on factors such as a "." inside the key name. We made the decision to eliminate this variability. This means that documents that used to serialize correctly may start throwing a BsonSerializationException with a message indicating the key must be a valid string. CSHARP-1165 has a solution to this problem. It should be noted that we will continue to read these disparate representations without error.

0 commit comments

Comments
 (0)