Skip to content

Commit 3dc3965

Browse files
author
Robert Stam
committed
Edited change logs.
1 parent 155b926 commit 3dc3965

File tree

2 files changed

+52
-41
lines changed

2 files changed

+52
-41
lines changed
+20-20
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
BSON library changes from 1.4.1 to 1.4.2
22

33
BsonArray.cs
4-
Contains now returns false if value argument is null (instead of throwing ArgumentNullException)
4+
Contains now returns false if value argument is null (instead of throwing ArgumentNullException)
55

66
BsonDocument.cs
7-
Parse method now casts document to IBsonSerializable to call Deserialize method
8-
ReadFrom method now casts document to IBsonSerializable to call Deserialize method
9-
Deserialize method marked obsolete
10-
GetDocumentId method marked obsolete
11-
GetDocumentId temporarily changed to be backward compatible with 1.4.0 and earlier
12-
Serialize method marked obsolete
13-
SetDocumentId method marked obsolete
14-
SetDocumentId temporarily changed to be backward compatible with 1.4.0 and earlier
15-
WriteTo method now casts this to IBsonSerializable to call Deserialize method
7+
Parse method now casts document to IBsonSerializable to call Deserialize method
8+
ReadFrom method now casts document to IBsonSerializable to call Deserialize method
9+
Deserialize method marked obsolete
10+
GetDocumentId method marked obsolete
11+
GetDocumentId temporarily changed to be backward compatible with 1.4.0 and earlier
12+
Serialize method marked obsolete
13+
SetDocumentId method marked obsolete
14+
SetDocumentId temporarily changed to be backward compatible with 1.4.0 and earlier
15+
WriteTo method now casts this to IBsonSerializable to call Deserialize method
1616

1717
BsonDocumentWrapper.cs
18-
Deserialize method marked obsolete
19-
GetDocumentId method marked obsolete
20-
Serialize method marked obsolete
21-
SetDocumentId method marked obsolete
18+
Deserialize method marked obsolete
19+
GetDocumentId method marked obsolete
20+
Serialize method marked obsolete
21+
SetDocumentId method marked obsolete
2222

2323
BsonValue.cs
24-
WriteTo method now casts documentWrapper to IBsonSerializable to call Serialize method
24+
WriteTo method now casts documentWrapper to IBsonSerializable to call Serialize method
2525

2626
BsonValueSerializers.cs
27-
BsonDocumentSerializer.GetDocumentId now casts document to IBsonSerializable to call GetDocumentId method
28-
BsonDocumentSerializer.Serialize now casts document to IBsonSerializable to call Serialize method
29-
BsonDocumentSerializer.SetDocumentId now casts document to IBsonSerializable to call SetDocumentId method
30-
BsonDocumentWrapperSerializer.Serialize now casts document to IBsonSerializable to call Serialize method
27+
BsonDocumentSerializer.GetDocumentId now casts document to IBsonSerializable to call GetDocumentId method
28+
BsonDocumentSerializer.Serialize now casts document to IBsonSerializable to call Serialize method
29+
BsonDocumentSerializer.SetDocumentId now casts document to IBsonSerializable to call SetDocumentId method
30+
BsonDocumentWrapperSerializer.Serialize now casts document to IBsonSerializable to call Serialize method
3131

3232
BsonSerializer.cs
33-
Deserialize method now casts document to IBsonSerializable to call Deserialize method
33+
Deserialize method now casts document to IBsonSerializable to call Deserialize method
+32-21
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,58 @@
11
C# driver changes from 1.4.1 to 1.4.2
22

33
CollectionOptionsBuilder.cs
4-
Serialize method now casts document to IBsonSerializable to call Serialize method
4+
Serialize method now casts document to IBsonSerializable to call Serialize method
55

66
FieldsBuilder.cs
7-
Serialize method now casts document to IBsonSerializable to call Serialize method
7+
Serialize method now casts document to IBsonSerializable to call Serialize method
88

99
GeoHaystackSearchOptionsOptionsBuilder.cs
10-
Serialize method now casts document to IBsonSerializable to call Serialize method
10+
Serialize method now casts document to IBsonSerializable to call Serialize method
1111

1212
GeoNearOptionsBuilder.cs
13-
Serialize method now casts document to IBsonSerializable to call Serialize method
13+
Serialize method now casts document to IBsonSerializable to call Serialize method
1414

1515
GroupByBuilder.cs
16-
Serialize method now casts document to IBsonSerializable to call Serialize method
16+
Serialize method now casts document to IBsonSerializable to call Serialize method
1717

1818
IndexKeysBuilder.cs
19-
Serialize method now casts document to IBsonSerializable to call Serialize method
19+
Serialize method now casts document to IBsonSerializable to call Serialize method
2020

2121
IndexOptionsBuilder.cs
22-
Serialize method now casts document to IBsonSerializable to call Serialize method
22+
Serialize method now casts document to IBsonSerializable to call Serialize method
2323

2424
MapReduceOptionsBuilder.cs
25-
Serialize method now casts document to IBsonSerializable to call Serialize method
25+
Serialize method now casts document to IBsonSerializable to call Serialize method
2626

2727
QueryBuilder.cs
28-
All method now skips nulls like functional construction
29-
In method now skips nulls like functional construction
30-
NotIn method now skips nulls like functional construction
31-
Serialize method now casts document to IBsonSerializable to call Serialize method
28+
All method now skips nulls like functional construction
29+
In method now skips nulls like functional construction
30+
NotIn method now skips nulls like functional construction
31+
Serialize method now casts document to IBsonSerializable to call Serialize method
3232

3333
SortByBuilder.cs
34-
Serialize method now casts document to IBsonSerializable to call Serialize method
34+
Serialize method now casts document to IBsonSerializable to call Serialize method
3535

3636
UpdateBuilder.cs
37-
Serialize method now casts document to IBsonSerializable to call Serialize method
37+
Serialize method now casts document to IBsonSerializable to call Serialize method
3838

3939
BaseWrapper.cs
40-
Deserialize method marked obsolete
41-
GetDocumentId method marked obsolete
42-
Serialize method marked obsolete
43-
SetDocumentId method marked obsolete
44-
40+
Deserialize method marked obsolete
41+
GetDocumentId method marked obsolete
42+
Serialize method marked obsolete
43+
SetDocumentId method marked obsolete
44+
4545
MongoServer.cs
46-
Ping method now uses Instances poperty instead of _instances field for thread safety
47-
VerifyInstances method now enumerates the instances in a way that is save even if RemoveInstance is called
46+
Ping method now uses Instances poperty instead of _instances field for thread safety
47+
RequestDone method now releases _serverLock before calling other methods
48+
RequestStart method now releases _serverLock before calling other methods
49+
VerifyInstances method now enumerates the instances in a way that is safe even if RemoveInstance is called
50+
51+
MongoServerInstance.cs
52+
Ping method now uses a new connection instead of one from the connection pool
53+
VerifyState method now uses a new connection instead of one from the connection pool
54+
added new internal Ping helper method
55+
56+
MongoConnection.cs
57+
added new constructor for connections that are not part of the connection pool
58+
changed HandleException to check for _connectionPool == null

0 commit comments

Comments
 (0)