|
| 1 | +C# driver changes from 1.5 to 1.6 |
| 2 | + |
| 3 | +QueryBuilder.cs |
| 4 | +QueryBuilderTyped.cs |
| 5 | + Mod arguments changed from int to long |
| 6 | + |
| 7 | +AggregateResult.cs |
| 8 | + new class |
| 9 | + represents the result of an aggregate command |
| 10 | + |
| 11 | +IsMasterResult.cs |
| 12 | + new class |
| 13 | + represents the result of an IsMaster command |
| 14 | + |
| 15 | +ConnectWaitFor.cs |
| 16 | + enum removed (obsoleted by ReadPreference) |
| 17 | + |
| 18 | +MongoCollection.cs |
| 19 | + added Aggregate helper method |
| 20 | + obsoleted slaveOk |
| 21 | + added support for ReadPreference |
| 22 | + |
| 23 | +MongoCollectionSettings.cs |
| 24 | + obsoleted slaveOk |
| 25 | + added support for ReadPreference |
| 26 | + |
| 27 | +MongoConnectionStringBuilder.cs |
| 28 | +MongoUrlBuilder.cs |
| 29 | + obsoleted slaveOk |
| 30 | + added support for ReadPreference |
| 31 | + ConnectionMode now defaults to new Automatic mode |
| 32 | + ConnectionMode no longer set to ReplicaSet when ReplicaSetName is set |
| 33 | + ConnectionMode no longer set to Direct when one server name is provided and ReplicaSet when more than one server is provided |
| 34 | + added support for SSL |
| 35 | + |
| 36 | +MongoCursor.cs |
| 37 | + obsoleted slaveOk |
| 38 | + added support for ReadPreference |
| 39 | + |
| 40 | +MongoCursorEnumerator.cs |
| 41 | + added support for ReadPreference (including sending $readPreference to mongos) |
| 42 | + |
| 43 | +MongoDatabase.cs |
| 44 | + obsoleted slaveOk |
| 45 | + added support for ReadPreference |
| 46 | + commands now go to a server chosen by ReadPreferences (not necessarily the primary) |
| 47 | + |
| 48 | +MongoDatabaseSettings.cs |
| 49 | + obsoleted slaveOk |
| 50 | + added support for ReadPreference |
| 51 | + |
| 52 | +MongoDBRef.cs |
| 53 | + use new BsonSerializerAttribute to configure serializer for MongoDBRef |
| 54 | + |
| 55 | +MongoServer.cs |
| 56 | + instance management logic moved from this class to new proxy classes |
| 57 | + static constructor no longer registers serializers (see MongoDBRef and SystemProfileInfo) |
| 58 | + removed ConnectWaitFor overload to Connect |
| 59 | + |
| 60 | +MongoServerBuildInfo.cs |
| 61 | + added new FromCommandResult helper factory method |
| 62 | + |
| 63 | +MongoServerInstance.cs |
| 64 | + added new MongoServerInstanceType enum (Unknown, StandAlone, ReplicaSetMember, ShardRouter) |
| 65 | + added tracking of a running average Ping time |
| 66 | + moved state verification time here from MongoConnectionPool |
| 67 | + added several new internal properties (AveragePingTime, ReplicaSetInformation, InstanceType) |
| 68 | + changed most thread synchronization to use Interlocked methods rather than locks |
| 69 | + reimplemented VerifyState |
| 70 | + reimplemented Connect |
| 71 | + renamed internal VerifyState helper method to LookupServerInformation (and reimplemented it) |
| 72 | + added internal Ping helper method that keeps running average of Ping time |
| 73 | + |
| 74 | +MongoServerSettings.cs |
| 75 | + obsoleted slaveOk |
| 76 | + added support for ReadPreference |
| 77 | + added _serversReadOnly private field |
| 78 | + added UseSsl and VerifySslCertificate properties |
| 79 | + |
| 80 | +MongoUrl.cs |
| 81 | + added new Automatic and ShardRouter ConnectionModes |
| 82 | + obsoleted slaveOk |
| 83 | + added support for ReadPreference |
| 84 | + added support for SSL |
| 85 | + |
| 86 | +ReadPreference.cs |
| 87 | + new class to represent a read preference |
| 88 | + |
| 89 | +ReplicaSetTag.cs |
| 90 | + new class to represent a tag attached to a replica set member |
| 91 | + |
| 92 | +ReplicaSetTagSet.cs |
| 93 | + new class to represent a set of tags |
| 94 | + |
| 95 | +SystemProfileInfo.cs |
| 96 | + reimplemented as a subclass of BsonDocumentBackedClass |
| 97 | + removed all private fields and reimplemented properties to extract from the backing document |
| 98 | + added new LockStatistics and NumberOfYields properties introduced by MongoDB Server 2.2 |
| 99 | + added new RawDocument property to expose the underlying raw BSON document |
| 100 | + added new SystemProfileLockStatistics and SystemProfileReadWriteLockStatistics helper classes |
| 101 | + reimplemented SystemProfileInfoSerializer as a BsonDocumentBackedClassSerializer |
| 102 | + added new SystemProfileLockStatisticsSerializer class |
| 103 | + added new SystemProfileReadWriteLockStatisticsSerializer class |
| 104 | + |
| 105 | +MongoGridFS.cs |
| 106 | + obsoleted slaveOk |
| 107 | + added support for ReadPreference |
| 108 | + changes to use SafeMode from the GridFS settings |
| 109 | + |
| 110 | +MongoGridFSFileInfo.cs |
| 111 | + obsoleted slaveOk |
| 112 | + added support for ReadPreference |
| 113 | + |
| 114 | +MongoGridFSSettings.cs |
| 115 | + fixed handling of defaults |
| 116 | + fixed Clone |
| 117 | + |
| 118 | +BlockingQueue.cs |
| 119 | + added new _pipelineCount private field to track items that are not yet in the queue but are in the pipeline (will be queued eventually) |
| 120 | + added new Count property that reports the number of items in the queue PLUS the number of items in the pipeline |
| 121 | + added new overload of Dequeue that blocks forever waiting for an item to be queued |
| 122 | + added new EnqueueWorkItem method that adds a work item to the pipeline |
| 123 | + added new RunItemFunc that runs a work item from the pipeline and queues the result |
| 124 | + |
| 125 | +ConnectedInstanceCollection.cs |
| 126 | + new class to hold a collection of connected instances sorted by average ping time |
| 127 | + |
| 128 | +DirectConnector.cs |
| 129 | + class has been removed |
| 130 | + more or less replaced by DirectMongoServerProxy |
| 131 | + |
| 132 | +DirectMongoServerProxy.cs |
| 133 | + new class to handle management of a directly connected instance |
| 134 | + |
| 135 | +DiscoveringMongoServerProxy.cs |
| 136 | + new class that is used when we won't know what kind of server we are connected to until we try to connect to it |
| 137 | + |
| 138 | +IMongoServerProxy.cs |
| 139 | + interface for proxies |
| 140 | + |
| 141 | +MongoConnection.cs |
| 142 | + added support for SSL |
| 143 | + |
| 144 | +MongoConnectionPool.cs |
| 145 | + moved state verification timer to MongoServerInstance |
| 146 | + RemoveConnection is now private |
| 147 | + |
| 148 | +MongoServerProxyFactory.cs |
| 149 | + new class to handle choosing the type of IMongoServerProxy to create based on settings |
| 150 | + |
| 151 | +MultipleConnectionMongoServerProxy.cs |
| 152 | + new abstract class for managing multiple active MongoServerInstances |
| 153 | + |
| 154 | +PingTimeAggregator.cs |
| 155 | + new class to keep track of ping times and their average for a MongoServerInstance |
| 156 | + |
| 157 | +ReplicaSetConnector.cs |
| 158 | + removed class |
| 159 | + more or less replaced by MultipleConnectionMongoServerProxy and ReplicaSetMongoServerProxy |
| 160 | + |
| 161 | +ReplicaSetInformation.cs |
| 162 | + new class to hold information about a replica set |
| 163 | + |
| 164 | +ReplicaSetMongoServerProxy.cs |
| 165 | + new subclass of MultipleConnectionMongoServerProxy to implement replica set specifics |
| 166 | + |
| 167 | +ShardedMongoServerProxy.cs |
| 168 | + new sublcass of MultipleConnectionMongoServerProxy to implement mongos specifics |
| 169 | + |
| 170 | +MongoQueryProvider.cs |
| 171 | + fixed a bug related to First, FirstOrDefault, Single and SingleOrDefault when projecting a primitive type |
| 172 | + |
| 173 | +PredicateTranslator.cs |
| 174 | + changed Mod operation to use a 64-bit integer |
| 175 | + |
| 176 | +SelectQuery.cs |
| 177 | + changed skip and take handling to be order dependent |
| 178 | + Distinct now must appear last in the query pipeline |
| 179 | + |
| 180 | +BsonSerializationInfoHelper.cs |
| 181 | + moved code to the BsonSerializationInfo class |
0 commit comments