Skip to content

Commit

Permalink
merge driver v2.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm360 committed Jun 26, 2024
2 parents 3ec640a + 831573f commit 59de851
Show file tree
Hide file tree
Showing 68 changed files with 2,015 additions and 296 deletions.
20 changes: 20 additions & 0 deletions Release Notes/Release Notes v2.25.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .NET Driver Version 2.25.0 Release Notes

This is the general availability release for the 2.25.0 version of the driver.

NOTICE: MongoDB 3.6 reached end-of-life in April 2021. The .NET/C# Driver will be removing support for MongoDB 3.6 in an upcoming release.

The main new features in 2.25.0 include:
+ Support of MONGODB-OIDC Authentication mechanism - [CSHARP-4448](https://jira.mongodb.org/browse/CSHARP-4448)
+ MONGODB-OIDC: Automatic token acquisition for Azure Identity Provider - [CSHARP-4474](https://jira.mongodb.org/browse/CSHARP-4474)
+ Improved error message when no matching constructor found - [CSHARP-5007](https://jira.mongodb.org/browse/CSHARP-5007)
+ Driver Container and Kubernetes Awareness - [CSHARP-4718](https://jira.mongodb.org/browse/CSHARP-4718)
+ Logging of executed MQL for a LINQ query - [CSHARP-4684](https://jira.mongodb.org/browse/CSHARP-4684)
+ Allow custom service names with srvServiceName URI option - [CSHARP-3745](https://jira.mongodb.org/browse/CSHARP-3745)
+ BulkWrite enumerates requests argument only once - [CSHARP-1378](https://jira.mongodb.org/browse/CSHARP-1378)
+ Support of Range Explicit Encryption - [CSHARP-5009](https://jira.mongodb.org/browse/CSHARP-5009)
+ Multiple bug fixes and improvements.

The full list of issues resolved in this release is available at [CSHARP JIRA project](https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.25.0%20ORDER%20BY%20key%20ASC).

Documentation on the .NET driver can be found [here](https://www.mongodb.com/docs/drivers/csharp/v2.25.0}/).
19 changes: 19 additions & 0 deletions Release Notes/Release Notes v2.26.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# .NET Driver Version 2.26.0 Release Notes

This is the general availability release for the 2.26.0 version of the driver.

The main new features in 2.26.0 include:

+ Support SelectMany inside Project/Select - [CSHARP-5081](https://jira.mongodb.org/browse/CSHARP-5081)
+ Support Dictionary.ContainsValue in LINQ queries - [CSHARP-2509](https://jira.mongodb.org/browse/CSHARP-2509)
+ Support string concatenation of mixed types - [CSHARP-5071](https://jira.mongodb.org/browse/CSHARP-5071)
+ Enable use of native crypto in libmongocrypt bindings - [CSHARP-4944](https://jira.mongodb.org/browse/CSHARP-4944)
+ Support serialization of Memory and ReadOnlyMemory structs - [CSHARP-4807](https://jira.mongodb.org/browse/CSHARP-4807)
+ OIDC: support for GCP Identity Provider - [CSHARP-4610](https://jira.mongodb.org/browse/CSHARP-4610)
+ Implement signing of NuGet packages - [CSHARP-5050](https://jira.mongodb.org/browse/CSHARP-5050)
+ Direct read/write retries to another mongos if possible - [CSHARP-3757](https://jira.mongodb.org/browse/CSHARP-3757)
+ Multiple bug fixes and improvements.

The full list of issues resolved in this release is available at [CSHARP JIRA project](https://jira.mongodb.org/issues/?jql=project%20%3D%20CSHARP%20AND%20fixVersion%20%3D%202.26.0%20ORDER%20BY%20key%20ASC).

Documentation on the .NET driver can be found [here](https://www.mongodb.com/docs/drivers/csharp/v2.26.0}/).
2 changes: 1 addition & 1 deletion build.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
CAKE_VERSION=2.2.0
DOTNET_VERSION=6.0.400
DOTNET_VERSION=8.0.204
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if($FoundDotNetCliVersion -ne $DotNetVersion) {
& bash $ScriptPath --install-dir "$InstallPath" --channel 2.1 --no-path
& bash $ScriptPath --install-dir "$InstallPath" --channel 3.1 --no-path
& bash $ScriptPath --install-dir "$InstallPath" --channel 5.0 --no-path
& bash $ScriptPath --install-dir "$InstallPath" --channel 8.0 --no-path
& bash $ScriptPath --install-dir "$InstallPath" --channel 6.0 --no-path
& bash $ScriptPath --version "$DotNetVersion" --install-dir "$InstallPath" --channel "$DotNetChannel" --no-path

Remove-PathVariable "$InstallPath"
Expand All @@ -114,7 +114,7 @@ if($FoundDotNetCliVersion -ne $DotNetVersion) {
& $ScriptPath -Channel 2.1 -InstallDir $InstallPath;
& $ScriptPath -Channel 3.1 -InstallDir $InstallPath;
& $ScriptPath -Channel 5.0 -InstallDir $InstallPath;
& $ScriptPath -Channel 8.0 -InstallDir $InstallPath;
& $ScriptPath -Channel 6.0 -InstallDir $InstallPath;
& $ScriptPath -Channel $DotNetChannel -Version $DotNetVersion -InstallDir $InstallPath;

Remove-PathVariable "$InstallPath"
Expand Down
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ if [ "$DOTNET_VERSION" != "$DOTNET_INSTALLED_VERSION" ]; then
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --channel 2.1 --architecture x64 --install-dir .dotnet --no-path
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --channel 3.1 --architecture x64 --install-dir .dotnet --no-path
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --channel 5.0 --architecture x64 --install-dir .dotnet --no-path
if [[ ! "$OS" =~ macOS|macos ]]; then # net8 is not supported on macOS 11
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --channel 8.0 --architecture x64 --install-dir .dotnet --no-path
fi
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --channel 6.0 --install-dir .dotnet --no-path
bash "$SCRIPT_DIR/.dotnet/dotnet-install.sh" --version $DOTNET_VERSION --install-dir .dotnet --no-path
export PATH="$SCRIPT_DIR/.dotnet":$PATH
export DOTNET_ROOT="$SCRIPT_DIR/.dotnet"
Expand Down
1 change: 1 addition & 0 deletions purls.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pkg:nuget/[email protected]
75 changes: 75 additions & 0 deletions sbom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"components": [
{
"bom-ref": "pkg:nuget/[email protected]",
"externalReferences": [
{
"type": "distribution",
"url": "https://www.nuget.org/api/v2/package/MongoDB.Libmongocrypt/1.9.0"
},
{
"type": "website",
"url": "https://www.nuget.org/packages/MongoDB.Libmongocrypt/1.9.0"
}
],
"name": "MongoDB.Libmongocrypt",
"purl": "pkg:nuget/[email protected]",
"type": "library",
"version": "1.9.0"
}
],
"dependencies": [
{
"ref": "pkg:nuget/[email protected]"
}
],
"metadata": {
"timestamp": "2024-05-23T20:46:09.160033+00:00",
"tools": [
{
"externalReferences": [
{
"type": "build-system",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/actions"
},
{
"type": "distribution",
"url": "https://pypi.org/project/cyclonedx-python-lib/"
},
{
"type": "documentation",
"url": "https://cyclonedx-python-library.readthedocs.io/"
},
{
"type": "issue-tracker",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/issues"
},
{
"type": "license",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE"
},
{
"type": "release-notes",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md"
},
{
"type": "vcs",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib"
},
{
"type": "website",
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/#readme"
}
],
"name": "cyclonedx-python-lib",
"vendor": "CycloneDX",
"version": "6.4.4"
}
]
},
"serialNumber": "urn:uuid:77687498-fcba-4e54-880d-67b3b53d41af",
"version": 1,
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
"bomFormat": "CycloneDX",
"specVersion": "1.5"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using System.Dynamic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using Etherna.MongoDB.Bson.Serialization.Serializers;

namespace Etherna.MongoDB.Bson.Serialization
Expand All @@ -43,6 +42,8 @@ static CollectionsSerializationProvider()
{ typeof(Queue<>), typeof(QueueSerializer<>) },
{ typeof(ReadOnlyCollection<>), typeof(ReadOnlyCollectionSerializer<>) },
{ typeof(Stack<>), typeof(StackSerializer<>) },
{ typeof(Memory<>), typeof(MemorySerializer<>) },
{ typeof(ReadOnlyMemory<>), typeof(ReadonlyMemorySerializer<>) }
};
}

Expand Down
Loading

0 comments on commit 59de851

Please sign in to comment.