Skip to content

Commit

Permalink
Merge branch 'release/10.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
AGiorgetti committed Sep 27, 2024
2 parents 7f026e8 + 15884d5 commit 9139dc0
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"isRoot": true,
"tools": {
"gitversion.tool": {
"version": "5.12.0",
"version": "6.0.2",
"commands": [
"dotnet-gitversion"
]
],
"rollForward": false
}
}
}
9 changes: 9 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# NEventStore.Persistence.MongoDB

## 10.0.0

- Updated MongoDB drivers to 2.28.0

### Breaking Changes

- MongoDB drivers are now strogly signed, binary compatibility with previous versions is now broken. If you update to this version of NEventStore.Persistence.MongoDB package
you are forced to use the same version of MongoDB drivers (or setup assembly binding redirects).

## 9.1.2

- Fixed connectionString validation when connecting to a replica set using an already built MongoClient instance.
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ build:
verbosity: minimal
after_build:
- cmd: >-
REM dotnet pack ./src/NEventStore.Persistence.MongoDB/NEventStore.Persistence.MongoDB.Core.csproj -c %CONFIGURATION% --no-build -o artifacts -p:PackageVersion=%GitVersion_NuGetVersion%
REM dotnet pack ./src/NEventStore.Persistence.MongoDB/NEventStore.Persistence.MongoDB.Core.csproj -c %CONFIGURATION% --no-build -o artifacts -p:PackageVersion=%GitVersion_SemVer%
REM use .nuspec file, projects with submodule generate wrong PackageReferences
nuget pack ./src/.nuget/NEventStore.Persistence.MongoDB.nuspec -properties "version=%GitVersion_NuGetVersion%;configuration=%CONFIGURATION%" -OutputDirectory artifacts
nuget pack ./src/.nuget/NEventStore.Persistence.MongoDB.nuspec -properties "version=%GitVersion_SemVer%;configuration=%CONFIGURATION%" -OutputDirectory artifacts
test:
assemblies:
except:
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dotnet restore ./src/NEventStore.Persistence.MongoDB.Core.sln --verbosity m
Write-Host "Running GitVersion for the Project"
$str = dotnet tool run dotnet-gitversion /updateAssemblyInfo | out-string
$json = convertFrom-json $str
$nugetversion = $json.NuGetVersion
$nugetversion = $json.SemVer

# Now we need to patch the AssemblyInfo for submodules
Write-Host "Running GitVersion for the Dependencies"
Expand Down
8 changes: 6 additions & 2 deletions src/.nuget/NEventStore.Persistence.MongoDB.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<summary>MongoDB persistence provider for NEventStore.</summary>
<language>es-US</language>
<tags>events, event sourcing, cqrs, storage, persistence, database, mongodb</tags>
<license type="file">LICENSE.md</license>
<readme>README.md</readme>
<!--
Until this is on develop branch, this version should be the previous version, so it made it compatible
with pre-release of the actual version. Ex, if we are on 6.0.0 unstable, dependency from NEventStore should
Expand All @@ -23,12 +25,12 @@
<group targetFramework=".NETFramework4.6.2">
<dependency id="NEventStore" version="[9.1.1,10.0.0)" exclude="Build,Analyzers"/>
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="7.0.1" exclude="Build,Analyzers"/>
<dependency id="MongoDB.Driver" version="2.20.0" exclude="Build,Analyzers"/>
<dependency id="MongoDB.Driver" version="2.28.0" exclude="Build,Analyzers"/>
</group>
<group targetFramework=".NETStandard2.0">
<dependency id="NEventStore" version="[9.1.1,10.0.0)" exclude="Build,Analyzers"/>
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="7.0.1" exclude="Build,Analyzers"/>
<dependency id="MongoDB.Driver" version="2.20.0" exclude="Build,Analyzers"/>
<dependency id="MongoDB.Driver" version="2.28.0" exclude="Build,Analyzers"/>
</group>
</dependencies>
<frameworkAssemblies>
Expand All @@ -40,5 +42,7 @@
<!--<file src="bin\$configuration$\**" target="lib"/>-->
<file src="..\NEventStore.Persistence.MongoDB\bin\$configuration$\**\NEventStore.Persistence.MongoDB.dll" target="lib"/>
<file src="..\NEventStore.Persistence.MongoDB\bin\$configuration$\**\NEventStore.Persistence.MongoDB.xml" target="lib"/>
<file src="..\..\README.md" target="" />
<file src="..\..\LICENSE.md" target="" />
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.11.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="MongoDB.Driver" Version="2.20.0" />
<PackageReference Include="MongoDB.Driver" Version="2.28.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="NUnit" Version="3.13.3" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />
<PackageReference Include="MongoDB.Driver" Version="2.20.0" />
<PackageReference Include="MongoDB.Driver" Version="2.28.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 9139dc0

Please sign in to comment.