Permalink
Browse files

Added change logs and release notes for 1.4.1.

  • Loading branch information...
1 parent 71a20b1 commit 5bd744219aef4b7a023ee334b48a48609353eed5 rstam committed Apr 17, 2012
View
@@ -15,10 +15,27 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
CustomDictionary.xml = CustomDictionary.xml
GlobalAssemblyInfo.cs = GlobalAssemblyInfo.cs
README.md = README.md
- Release Notes\Release Notes v1.4.md = Release Notes\Release Notes v1.4.md
uuidhelpers.js = uuidhelpers.js
EndProjectSection
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Release Notes", "Release Notes", "{AA4F6FD3-8844-4DF1-9944-0364C934B3F7}"
+ ProjectSection(SolutionItems) = preProject
+ Release Notes\Change Log v1.4-Bson.txt = Release Notes\Change Log v1.4-Bson.txt
+ Release Notes\Change Log v1.4-Driver.txt = Release Notes\Change Log v1.4-Driver.txt
+ Release Notes\Change Log v1.4.1-Bson.txt = Release Notes\Change Log v1.4.1-Bson.txt
+ Release Notes\Change Log v1.4.1-Driver.txt = Release Notes\Change Log v1.4.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
+ Release Notes\Release Notes v1.0.txt = Release Notes\Release Notes v1.0.txt
+ Release Notes\Release Notes v1.1.txt = Release Notes\Release Notes v1.1.txt
+ Release Notes\Release Notes v1.2.txt = Release Notes\Release Notes v1.2.txt
+ Release Notes\Release Notes v1.3.1.txt = Release Notes\Release Notes v1.3.1.txt
+ Release Notes\Release Notes v1.3.txt = Release Notes\Release Notes v1.3.txt
+ Release Notes\Release Notes v1.4.1.md = Release Notes\Release Notes v1.4.1.md
+ Release Notes\Release Notes v1.4.md = Release Notes\Release Notes v1.4.md
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -45,4 +62,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {AA4F6FD3-8844-4DF1-9944-0364C934B3F7} = {00502D63-7789-410D-B6BE-5F16327FF810}
+ EndGlobalSection
EndGlobal
View
@@ -19,6 +19,7 @@ http://jira.mongodb.org/browse/CSHARP
### Maintainers:
* Robert Stam robert@10gen.com
* Sridhar Nanjundeswaran sridhar@10gen.com
+* Craig Wilson craig.wilson@10gen.com
### Contributors:
* Bit Diffusion Limited code@bitdiff.com
@@ -35,6 +36,5 @@ http://jira.mongodb.org/browse/CSHARP
* Andrew Rondeau github@andrewrondeau.com
* Ed Rooth edward.rooth@wallstreetjapan.com
* Testo test1@doramail.com
-* Craig Wilson craiggwilson@gmail.com
If you have contributed and I have neglected to add you to this list please contact me at robert@10gen.com to be added to the list (with apologies).
@@ -0,0 +1,130 @@
+BSON library changes from 1.4 to 1.4.1
+
+BsonBinaryWriter.cs
+ added calls to base.WriteStartArray/base.WriteEndArray
+ added calls to base.WriteStartDocument/base.WriteEndDocument
+
+BsonDocumentWriter.cs
+ added calls to base.WriteStartArray/base.WriteEndArray
+ added calls to base.WriteStartDocument/base.WriteEndDocument
+
+BsonWriter.cs
+ added private field _serializationDepth
+ added public property SerializationDepth
+ changed WriteEndArray to decrement _serializationDepth
+ changed WriteEndDocument to increment _serializationDepth
+ changed WriteStartArray to increment _serializationDepth and check if it exceeds MaxSerializationDepth
+ changed WriteStartDocument to increment _serializationDepth and check if it exceeds MaxSerializationDepth
+
+BsonWriterSettings.cs
+ added private field _maxSerializationDepth
+ added public property MaxSerializationDepth
+
+JsonWriter.cs
+ added calls to base.WriteStartArray/base.WriteEndArray
+ added calls to base.WriteStartDocument/base.WriteEndDocument
+ changed WriteRegularExpression to not escape "\" (if it needed to be escaped it already would be)
+
+BsonArray.cs
+ added checks for invalid null arguments
+ changed AddRange(IEnumerable<BsonValue>) to skip null BsonValues passed in (as per functional construction conventions)
+ changed AddRange(IEnumerable<string>) to map null to BsonNull.Value
+ changed AddRange(IEnumerable) to use BsonTypeMapper.MapToBsonValue
+ changed Clone to be shallow like it was supposed to be
+
+BsonBinaryData.cs
+ added checks for invalid null arguments
+
+BsonDocument.cs
+ added checks for invalid null arguments
+ changed Add(IDictionary<string, object>) to use BsonTypeMapper.MapToBsonValue
+ changed Add(IDictionary) to use BsonTypeMapper.MapToBsonValue
+ changed GetDocumentId to return the Value instead of the RawValue as the Id
+ changed GetDocumentId to handle special case of Guid Id
+ changed SetDocumentId to assume Id is already of type BsonValue
+ changed ToDictionary to use new BsonTypeMapper.MapToDotNetValue method
+ changed ToHashtable to use new BsonTypeMapper.MapToDotNetValue method
+ removed private method ToDictionaryHelper (no longer needed now that MapToDotNetValue exists)
+ removed private method ToHashtable (no longer needed now that MapToDotNetValue exists)
+
+BsonElement.cs
+ added checks for invalid null arguments
+ changed Clone to be shallow like it was supposed to be
+
+BsonJavaScript.cs
+ added checks for invalid null arguments
+
+BsonJavaScriptWithScope.cs
+ added checks for invalid null arguments
+
+BsonRegularExpression.cs
+ added checks for invalid null arguments
+ changed constructor to not unescape "\" (if it's escaped it's because it needs to be)
+ changed ToString to not escape "\" (it would already be escaped)
+
+BsonString.cs
+ added checks for invalid null arguments
+
+BsonSymbol.cs
+ added checks for invalid null arguments
+
+BsonSymbolTable.cs
+ added checks for invalid null arguments
+
+BsonTypeMapper.cs
+ changed MapToBsonValue to map null to BsonNull.Value
+ added new MapToDotNetValue methods (maps from BsonValue to best matching .NET types)
+ changed TryMapToBsonValue to map null to BsonNull.Value
+
+BsonTypeMapperOptions.cs
+ new class containing options for the new MapToDotNetValue method
+
+BsonValue.cs
+ added checks for invalid null arguments
+
+ObjectId.cs
+ added checks for invalid null arguments
+
+BsonElement.cs
+ added no argument constructor (to support opt-in serialization of read-only properties without requiring an explicit element name)
+
+IdGenerators.cs
+ added new BsonBinaryDataGuidGenerator class
+
+CollectionGenericSerializer.cs
+ changed Deserialize methods to handle representation with discriminator when nominalType is object
+ changed Serialize methods to use representation with discriminator when nominalType is object
+
+CollectionSerializer.cs
+ changed Deserialize methods to handle representation with discriminator when nominalType is object
+ changed Serialize methods to use representation with discriminator when nominalType is object
+
+NetPrimitiveSerializers.cs
+ changed Deserialize method of UriSerializer to allow relative or absolute URIs
+ changed Serializer method of UriSerializer to serialize original string (to support relative or absolute URIs)
+
+BsonClassMap.cs
+ added public property AllMemberMaps
+ added public property DeclaredMemberMaps
+ deprecated public property MemberMaps (use AllMemberMaps or DeclaredMemberMaps instead)
+ moved GetTypeNameDiscriminator method to new TypeNameDiscriminator class
+ changed AutoMapMember to support using BsonElement to opt-in serialization of read-only properties
+ changed FindMembers to support using BsonElement to opt-in serialization of read-only properties
+
+BsonClassMapSerializer.cs
+ changed Deserialize to ignore any values that were serialized for opted-in read-only properties
+ changed GetMemberSerializationInfo to check AllMemberMaps directly instead of calling GetMemberMap
+ changed DeserializeExtraElement to use new MapToDotNetValue method when extra elements property is of type IDictionary<string, object>
+ removed MapBsonValueToDotNetValue (use new MapToDotNetValue method of BsonTypeMapper instead)
+
+BsonMemberMap.cs
+ added public property IsReadOnly
+
+TypeNameDiscriminator.cs
+ new helper class
+ added public method GetActualType that maps a friendly type name discriminator value to a Type
+ added public method GetDiscriminator that maps a Type to a friendly type name discriminator value
+
+BsonDefaults.cs
+ added private static field _maxSerializationDepth with a default value of 100
+ added public static property MaxSerializationDepth
@@ -0,0 +1,79 @@
+C# driver changes from 1.4 to 1.4.1
+
+QueryBuilder.cs
+ changed Or method to support empty queries (an empty query matches all documents)
+
+MongoCollection.cs
+ added checks for invalid null arguments
+
+MongoDatabase.cs
+ moved private static field __invalidDatabaseNameChars to MongoServer
+ removed static constructor (no longer needed)
+ added checks for invalid null arguments
+ added public method IsCollectionNameValid
+ removed ValidateDatabaseName method (see new IsDatabaseNameValid method in MongoServer)
+
+MongoServer.cs
+ added private static field __invalidDatabaseNameChars
+ changed static constructor to also initialize __invalidDatabaseNameChars
+ added public method IsDatabaseNameValid
+
+MongoGridFS.cs
+ changed Download to optionally not verify MD5 (default is to verify)
+ changed Upload to optionally not verify MD5 (default is to verify)
+
+MongoGridFSSettings.cs
+ added private field _updateMD5
+ added private field _verifyMD5
+ added public property UpdateMD5
+ added public property VerifyMD5
+ changed Clone, Equal and GetHashCode to consider new fields
+
+MongoGridFSStream.cs
+ added private field _fileIsDirty
+ changed SetLength to set _fileIsDirty to true
+ changed Write to set _fileIsDirty to true
+ changed WriteByte to set _fileIsDirty to true
+ changed Dispose to only call Flush and UpdateMetadata if file is actually dirty
+ changed OpenCreate to set _fileIsDirty to true
+ changed OpenTruncate to set _fileIsDirty to true
+
+ExpressionFormatter.cs
+ implemented VisitTypeBinary method
+ changed VisitValue to handle char and Type values
+
+ExpressionParameterFinder.cs
+ new class used to find a parameter in an expression
+
+ExpressionPrettyPrinter.cs
+ implemented VisitTypeBinary method
+
+MongoQueryTranslator.cs
+ changed GetDocumentType to handle bare AsQueryable (no Where clause or anything else)
+
+SelectQuery.cs
+ added private field _ofType
+ added public property OfType
+ changed Execute to handle LINQ queries that included an OfType query operator
+ changed Translate to handle bare AsQueryable (no Where clause or anything else)
+ changed Translate to move switch statement on method name to new TranslateMethodCall method
+ changed BuildArrayLengthQuery to handle constant on either side
+ changed BuildComparisonQuery to handle constant on either side
+ added private method BuildEqualsQuery to support Equals method in LINQ queries
+ added private method BuildIsNullOrEmptyQuery to support string.IsNullOrEmpty method in LINQ queries
+ changed BuildModQuery to handle constant on either side
+ added private method BuildStringIndexOfQuery to support string.IndexOf and IndexOfAny methods in LINQ queries
+ added private method BuildStringIndexQuery to support string[index] in LINQ queries
+ added private method BuildStringLengthQuery to support string.Length in LINQ queries
+ changed BuildStringQuery to allow combining ToLower/ToUpper/Trim/TrimStart/TrimEnd with Contains/StartsWith/EndsWith in LINQ queries
+ added private method BuildTypeComparisonQuery to support x.GetType() == typeof(X) in LINQ queries
+ added private method BuildTypeIsQuery to support x is X in LINQ queries
+ changed CombinePredicateWithWhereClause to handle parameter type being changed by OfType query operator
+ changed GetSerializationInfo to lookup serializer based on the parameter type (and not necessarily the document type)
+ changed GetSerializationInfoMember to stop recursion when it gets to a parameter (which may or may not be of the document type)
+ added private method GetTrimCharsPattern
+ added private method TranslateMethodCall
+ added private method TranslateOfType to support OfType query operator
+
+LinqExtensionMethods.cs
+ added an overload of AsQueryable that can deduce the type of <T> from the collection parameter
Oops, something went wrong.

0 comments on commit 5bd7442

Please sign in to comment.