-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathChange Log v1.8.2-Bson.txt
42 lines (32 loc) · 1.52 KB
/
Change Log v1.8.2-Bson.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
BSON library changes from 1.8.1 to 1.8.2
BsonBinaryWriter.cs
added cached strict UTF8Encoding instance
BsonBuffer.cs
WriteCString now throws if value contains nulls
BsonWriter.cs
WriteName now throws if name contains nulls
ConventionProfile.cs
GetNewConventions now appends the DefaultConventionPack
StandardDiscriminatorConvention.cs
Constructor now throws if elementName contains nulls
ArraySerializer.cs
EnumerableSerializer.cs
QueueSerializer.cs
ReadOnlyCollectionSerializer.cs
StackSerializer.cs
These classes are all now implemented in terms of EnumerableSerializerBase
EnumerableSerializerBase.cs
New base class containing optimizations applicable to many enumerable serializers
Only lookup serializer for nominalType once
Only lookup serializer for runs of the same actualType once
Don't bother with discriminatorConventions for value types because they can't have subclasses
Subclasses implement abstract methods: AddItem, CreateInstance, EnumerateItemsInSerializationOrder and FinalizeResult
ThreeDimensionalArraySerializer.cs
TwoDimensionalArraySerializer.cs
These classes have been optimized individually with optimizations similar to those in the new EnumerableSerializerBase class
BsonClassMap.cs
Freeze now freezes the declared member maps also
BsonMemberMap.cs
added Freeze method
add SetDefaultValue overload that takes a delegate to create new instances of default values (important if default value is mutable)
SetElementName now throws if elementName contains nulls