Browse Source

BUMP 1.0.0.4098.

pull/53/head v1.0.0.4098
rstam 15 years ago
parent
commit
822b992ac6
  1. 2
      Bson/ObjectModel/BsonDocument.cs
  2. 2
      CSharpDriver-2010.sln
  3. 116
      DriverSetup/DriverSetup.vdproj
  4. 2
      GlobalAssemblyInfo.cs
  5. 144
      Release Notes v1.0.txt
  6. 5
      packages/makepackages.bat

2
Bson/ObjectModel/BsonDocument.cs

@ -98,7 +98,7 @@ namespace MongoDB.Bson {
/// Using this constructor to create a <c>BsonDocument</c> with PowerShell's Hashtable notation:
/// <code lang="powershell">
/// # We assume that the driver is installed via the MSI.
/// [string] $mongoDriverPath = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\.NETFramework\v3.5\AssemblyFoldersEx\MongoDB CSharpDriver 0.11").'(default)';
/// [string] $mongoDriverPath = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\.NETFramework\v3.5\AssemblyFoldersEx\MongoDB CSharpDriver 1.0").'(default)';
/// Add-Type -Path "$($mongoDriverPath)\MongoDB.Bson.dll";
/// [MongoDB.Bson.BsonDocument] $doc = @{
/// "_id" = [MongoDB.Bson.ObjectId]::GenerateNewId();

2
CSharpDriver-2010.sln

@ -14,7 +14,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{00502D63-7789-410D-B6BE-5F16327FF810}"
ProjectSection(SolutionItems) = preProject
GlobalAssemblyInfo.cs = GlobalAssemblyInfo.cs
Release Notes v0.11.txt = Release Notes v0.11.txt
Release Notes v1.0.txt = Release Notes v1.0.txt
EndProjectSection
EndProject
Global

116
DriverSetup/DriverSetup.vdproj

@ -21,31 +21,37 @@
}
"Entry"
{
"MsmKey" = "8:_435B810256DA4932BB8490C37CF59CDA"
"MsmKey" = "8:_0E4CD013D74E472A830500FDCA2ACFE4"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_5FD1108BFA1028E9E1FB2142E66BFF0C"
"OwnerKey" = "8:_435B810256DA4932BB8490C37CF59CDA"
"MsmKey" = "8:_1F2B25DB0B3140D1A6F888E8C0F5AFC6"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_5FD1108BFA1028E9E1FB2142E66BFF0C"
"OwnerKey" = "8:_7E238670C4D047C8A103FBE7754619DD"
"MsmKey" = "8:_435B810256DA4932BB8490C37CF59CDA"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_7E238670C4D047C8A103FBE7754619DD"
"OwnerKey" = "8:_UNDEFINED"
"MsmKey" = "8:_68791BFCA02EDE379F08E6AC19E7F96F"
"OwnerKey" = "8:_435B810256DA4932BB8490C37CF59CDA"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_927B1A63D21946E88491633742FDD7EB"
"MsmKey" = "8:_68791BFCA02EDE379F08E6AC19E7F96F"
"OwnerKey" = "8:_7E238670C4D047C8A103FBE7754619DD"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_7E238670C4D047C8A103FBE7754619DD"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
@ -64,19 +70,19 @@
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_7E238670C4D047C8A103FBE7754619DD"
"OwnerKey" = "8:_B80D9A001D7444C18198B456B82DACA6"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_B80D9A001D7444C18198B456B82DACA6"
"OwnerKey" = "8:_7E238670C4D047C8A103FBE7754619DD"
"MsmSig" = "8:_UNDEFINED"
}
"Entry"
{
"MsmKey" = "8:_UNDEFINED"
"OwnerKey" = "8:_5FD1108BFA1028E9E1FB2142E66BFF0C"
"OwnerKey" = "8:_68791BFCA02EDE379F08E6AC19E7F96F"
"MsmSig" = "8:_UNDEFINED"
}
}
@ -204,21 +210,10 @@
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5FD1108BFA1028E9E1FB2142E66BFF0C"
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0E4CD013D74E472A830500FDCA2ACFE4"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:MongoDB.Bson, Version=0.11.1.36776, Culture=neutral, PublicKeyToken=f686731cfb9cc103, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_5FD1108BFA1028E9E1FB2142E66BFF0C"
{
"Name" = "8:MongoDB.Bson.dll"
"Attributes" = "3:512"
}
}
"SourcePath" = "8:MongoDB.Bson.dll"
"TargetName" = "8:"
"SourcePath" = "8:..\\Release Notes v1.0.txt"
"TargetName" = "8:Release Notes v1.0.txt"
"Tag" = "8:"
"Folder" = "8:_D4C7539AEF6E411F98A857872FF5F2FC"
"Condition" = "8:"
@ -232,13 +227,13 @@
"PackageAs" = "3:1"
"Register" = "3:1"
"Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE"
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_927B1A63D21946E88491633742FDD7EB"
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1F2B25DB0B3140D1A6F888E8C0F5AFC6"
{
"SourcePath" = "8:..\\Release Notes v0.11.txt"
"TargetName" = "8:Release Notes v0.11.txt"
"SourcePath" = "8:..\\Help\\CSharpDriverDocs.chm"
"TargetName" = "8:CSharpDriverDocs.chm"
"Tag" = "8:"
"Folder" = "8:_D4C7539AEF6E411F98A857872FF5F2FC"
"Condition" = "8:"
@ -255,6 +250,37 @@
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
"{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_68791BFCA02EDE379F08E6AC19E7F96F"
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:MongoDB.Bson, Version=1.0.0.4098, Culture=neutral, PublicKeyToken=f686731cfb9cc103, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_68791BFCA02EDE379F08E6AC19E7F96F"
{
"Name" = "8:MongoDB.Bson.dll"
"Attributes" = "3:512"
}
}
"SourcePath" = "8:MongoDB.Bson.dll"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_D4C7539AEF6E411F98A857872FF5F2FC"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Vital" = "11:TRUE"
"ReadOnly" = "11:FALSE"
"Hidden" = "11:FALSE"
"System" = "11:FALSE"
"Permanent" = "11:FALSE"
"SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1"
"Register" = "3:1"
"Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE"
"IsolateTo" = "8:"
}
}
"FileType"
{
@ -292,7 +318,7 @@
{
"{9EF0B969-E518-4E46-987F-47570745A589}:_714AC4AABA3743F280D3824A1345875C"
{
"Name" = "8:CSharpDriver 0.11"
"Name" = "8:CSharpDriver 1.0"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
@ -318,7 +344,7 @@
}
"{3C67513D-01DD-4637-8A68-80971EB9504F}:_D4C7539AEF6E411F98A857872FF5F2FC"
{
"DefaultLocation" = "8:[ProgramFilesFolder]\\MongoDB\\CSharpDriver 0.11"
"DefaultLocation" = "8:[ProgramFilesFolder]\\MongoDB\\CSharpDriver 1.0"
"Name" = "8:#1925"
"AlwaysCreate" = "11:FALSE"
"Condition" = "8:"
@ -343,16 +369,16 @@
"Product"
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:MongoDB CSharpDriver 0.11"
"ProductCode" = "8:{4041087F-CF35-448B-B736-5EDE01E0894C}"
"PackageCode" = "8:{3A78DBA0-D10E-42FB-B474-3EC70E57053C}"
"ProductName" = "8:MongoDB CSharpDriver 1.0"
"ProductCode" = "8:{724AC356-F1C7-484A-BBC7-C8050758699D}"
"PackageCode" = "8:{7410E3E8-39DD-4E66-B91C-958B21763577}"
"UpgradeCode" = "8:{B144CF09-09EC-4B64-9981-236E85AC93F7}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:FALSE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:TRUE"
"ProductVersion" = "8:0.11"
"ProductVersion" = "8:1.0.0"
"Manufacturer" = "8:10gen Inc."
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
@ -501,15 +527,29 @@
}
"Shortcut"
{
"{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_A320D6183E2B48BD8C6BC8AC79826E48"
"{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_3C9077C10002485F8BB1CD9CA3F09B6A"
{
"Name" = "8:CSharpDriverDocs.chm"
"Arguments" = "8:"
"Description" = "8:"
"ShowCmd" = "3:1"
"IconIndex" = "3:0"
"Transitive" = "11:FALSE"
"Target" = "8:_1F2B25DB0B3140D1A6F888E8C0F5AFC6"
"Folder" = "8:_714AC4AABA3743F280D3824A1345875C"
"WorkingFolder" = "8:_D4C7539AEF6E411F98A857872FF5F2FC"
"Icon" = "8:"
"Feature" = "8:"
}
"{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_4E232E9577764AF99794B65D64BBF537"
{
"Name" = "8:Release Notes v0.11.txt"
"Name" = "8:Release Notes v1.0.txt"
"Arguments" = "8:"
"Description" = "8:"
"ShowCmd" = "3:1"
"IconIndex" = "3:0"
"Transitive" = "11:FALSE"
"Target" = "8:_927B1A63D21946E88491633742FDD7EB"
"Target" = "8:_0E4CD013D74E472A830500FDCA2ACFE4"
"Folder" = "8:_714AC4AABA3743F280D3824A1345875C"
"WorkingFolder" = "8:_D4C7539AEF6E411F98A857872FF5F2FC"
"Icon" = "8:"

2
GlobalAssemblyInfo.cs

@ -37,4 +37,4 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.11.1.*")]
[assembly: AssemblyVersion("1.0.0.4098")]

144
Release Notes v1.0.txt

@ -0,0 +1,144 @@
C# Driver Version 1.0 Release Notes
Summary:
Added doc comments
Added help file generated from doc comments
Added IPv6 support (use ipv6=true in connection string)
Added support for the BSON undefined value
Setup (.msi file) now installs assemblies into the GAC
Strongly named assemblies
Support for new MongoDB 1.8 features
Unit tests all pass on Mono
UnregisterXyz methods removed
Breaking changes:
The namespaces have been changed for some of the serialization classes. You will need to
adjust your using statements accordingly.
The MongoDB.Bson.DefaultSerializer namespace has been removed and the classes in it have
been put in one of the following namespaces:
MongoDB.Bson.Serialization
MongoDB.Bson.Serialization.Attributes
MongoDB.Bson.Serialization.Conventions
MongoDB.Bson.Serialization.IdGenerators
MongoDB.Bson.Serialization.Options
MongoDB.Bson.Serialization.Serializers
Some methods have also been removed (e.g. Wrap and UnregisterXyz)
BSON Library changes:
BsonBuffer
MaxChunkPoolSize is now configurable
BsonDefaultSerializer
Much faster initialization (no longer uses reflection)
BsonDocument
New constructor with Hashtable parameter
New Add method with Hashtable parameter
New overload of Merge method with overwriteExistingElements parameter
BsonSerializer
RegisterSerializationProvider now adds new provider to a list
(so you can supplement the default provider without having to completely replace it)
BsonUndefined
New singleton class representing the BSON undefined value
DateTimeSerializer
String representation reimplemented to work around bugs in Mono
DateTimeSerializationOptions
Class is now immutable
DateOnlyInstance, LocalInstance and UtcInstance predefined instances added
JsonReader
Can now read multiple JSON documents from the same stream
JsonScanner
Added support for NumberLong
NamedIdMemberConvention
Now supports a list of possible Id member names instead of just one
The default instance now recognizes "Id", "id" and "_id" as the Id member
StringSerializer
New external representations: ObjectId, Symbol
Can use string in data model and ObjectId in data base
so data model does not have a dependency on the driver
Miscellaneous
Removed all UnregisterXyz methods
Removed Xyz.Wrap methods (can use XyzWrapper.Create instead, but you probably
shouldn't be using Wrappers anyway)
Driver changes:
CollectionOptions builder
Creates options used when creating a collection
FindAndModifyResult
Renamed GetModifiedDocument<T> to GetModifiedDocumentAs<T>
IndexCache
Used by EnsureIndex to track which indexes have already been created
Now maintained at server level
IndexOptions builder
Added support for sparse option
MapReduceOutput
New class to represent the different output options for MapReduce
(Inline, Merge, Reduce, Replace)
MapReduceResult
Added GetInlineResultsAs
Added GetResults (works with either inline or collection output)
Added GetResultsAs (works with either inline or collection output)
MongoCollection
EnsureIndex now uses the IndexCache in MongoServer
Save method now requires that document have an identifiable Id member
MongoConnectionPool
A few properties have been made public so your code can monitor the status of the pool
Added AvailableConnectionsCount property
Added CurrentPoolSize property
Made EndPoint property public
Made Server property public
MongoCursor
New overload of SetHint with indexName parameter
MongoDatabase
New CreateCollectionSettings method
New ResetIndexCache method (resets just the part of the cache related to this database)
MongoDBRef
Id property is now of type BsonValue (was object)
MongoServer
Added ConnectionPool property
Added CreateDatabaseSettings method
Added DatabaseExists method
Added GetAdminDatabase methods
Added IndexCache property
Added ResetIndexCache method
Added SecondaryConnectionPools property
Update builder
Added BitwiseAnd and BitwiseOr
Wrapper classes
Have been moved to the MongoDB.Driver.Wrappers namespace
(they are rarely needed by end users)
Have also removed Xyz.Wrap methods (to avoid encouraging their use when not appropriate)

5
packages/makepackages.bat

@ -1,4 +1,4 @@
set VER=0.11.0.4042
set VER=1.0.0.4098
set PACKAGES=packages-%VER%
echo Creating %PACKAGES%
@ -12,11 +12,12 @@ ren %PACKAGES%\CSharpDriver.msi CSharpDriver-%VER%.msi
set ZIPEXE="C:\Program Files\7-Zip\7z.exe"
set ZIPFILE=%PACKAGES%\CSharpDriver-%VER%.zip
%ZIPEXE% a %ZIPFILE% ..\License.txt
%ZIPEXE% a %ZIPFILE% "..\Release Notes v0.11.txt"
%ZIPEXE% a %ZIPFILE% "..\Release Notes v1.0.txt"
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Debug\MongoDB.Bson.dll
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Debug\MongoDB.Bson.pdb
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Debug\MongoDB.Driver.dll
%ZIPEXE% a %ZIPFILE% ..\Driver\bin\Debug\MongoDB.Driver.pdb
%ZIPEXE% a %ZIPFILE% ..\Help\CSharpDriverDocs.chm
echo Created %PACKAGES%
pause
Loading…
Cancel
Save