Skip to content

Commit

Permalink
Added change logs for 1.6.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
rstam committed Oct 19, 2012
1 parent e577aac commit 5ada7f5
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CSharpDriver-2010.sln
Expand Up @@ -30,6 +30,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Release Notes", "Release No
Release Notes\Change Log v1.5-Driver.txt = Release Notes\Change Log v1.5-Driver.txt
Release Notes\Change Log v1.6-Bson.txt = Release Notes\Change Log v1.6-Bson.txt
Release Notes\Change Log v1.6-Driver.txt = Release Notes\Change Log v1.6-Driver.txt
Change Log v1.6.1-Bson.txt = Change Log v1.6.1-Bson.txt
Change Log v1.6.1-Driver.txt = Change Log v1.6.1-Driver.txt
Release Notes\Release Notes v0.11.txt = Release Notes\Release Notes v0.11.txt
Release Notes\Release Notes v0.7.txt = Release Notes\Release Notes v0.7.txt
Release Notes\Release Notes v0.9.txt = Release Notes\Release Notes v0.9.txt
Expand Down
14 changes: 14 additions & 0 deletions Change Log v1.6.1-Bson.txt
@@ -0,0 +1,14 @@
BSON library changes from 1.6 to 1.6.1

BsonTypeMapper.cs
Map subclasses of BsonDocument correctly
Special case mapping of objects that can be simply cast to BsonValue

BsonValue.cs
Fix implementation of IConvertible for ObjectId

ObjectId.cs
Now implements IConvertible

BsonClassMapSerializer.cs
Handle serializing/deserializing null values for properties/fields that are declared as an interface
37 changes: 37 additions & 0 deletions Change Log v1.6.1-Driver.txt
@@ -0,0 +1,37 @@
C# driver changes from 1.6 to 1.6.1

MongoCollection.cs
Commands are now sent using the collection's settings (not the database's)

MongoConnectionStringBuilder.cs
MongoDefaults.cs
MongoServerSettings.cs
MongoUrl.cs
MongoUrlBuilder.cs
Made secondaryAcceptableLatency configurable

MongoCursorEnumerator.cs
Added white list of commands that can be sent to secondaries (all others are sent to the primary)
ReadPreferences of Primary and SecondaryPreferred (without tags) are now encoded on the wire using only the slaveOk bit
all other ReadPreferences are encoded using $readPreference
Fixed wrapping of queries so $query always goes first and not $readPreference

MongoDatabase.cs
RunCommandAs now delegates to new RunCommandAs method in MongoCollection

ReadPreference.cs
Removed ChooseServerInstance and moved logic to MongoServerProxies

ConnectedInstanceCollection.cs
Removed ChooseServerInstance and moved logic to MongoServerProxies
Added GetAllInstances,
Added GetPrimary
Added GetPrimaryAndSecondaries
Added GetSecondaries

ReplicaSetMongoServerProxy.cs
ShardedMongoServerProxy.cs
Implemented proxy specific implementations of ChooseServerInstance

BsonSerializationInfoHelper.cs
GetSerializationInfo now partially evaluates the node to support more LINQ queries correctly

0 comments on commit 5ada7f5

Please sign in to comment.