Skip to content

Commit 524a00f

Browse files
committed
Merge branch 'release/9.0.1'
2 parents 8ff8ee5 + 8ab68bc commit 524a00f

11 files changed

Lines changed: 60 additions & 29 deletions

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# NEventStore.Persistence.Sql
22

3+
## 9.0.1
4+
5+
- Added documentation files to NuGet packages (improved intellisense support) [#36](https://github.com/NEventStore/NEventStore.Persistence.SQL/issues/36)
6+
- Updated NEventStore reference to 9.0.1
7+
- Commit order of commits with same timestamp is random when using GetFrom/GetFromTo with a DateTime [#35](https://github.com/NEventStore/NEventStore.Persistence.SQL/issues/35)
8+
39
## 9.0.0
410

511
- Updated NEventStore core library to 9.0.0.

docker/docker-compose.ci.linux.db.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version: '2.4' # 2.4 supports "platform", 3.x does not.
55

66
services:
77
sqlexpress:
8+
container_name: nesci-sqlexpress-1
89
platform: linux
910
image: mcr.microsoft.com/mssql/server #@sha256:0753f9e9c614c469e1e6b98ea60b21e20abd249323c9f6a9eab476c87a8cf826
1011
mem_limit: 2000m
@@ -18,16 +19,18 @@ services:
1819
# - C:\Temp/NEventStore:/data
1920
# - nes_sqldata_linux_ci:/var/opt/mssql
2021

21-
mongo:
22-
platform: linux
23-
image: mongo #@sha256:52c3314bee611f91d37b9b1bc0cc2755b1388f2de5b396b441f3fe94bef6c56c
24-
ports:
25-
- "50002:27017"
26-
# volumes:
27-
# - nes_mongodata_linux_ci:/data/db
28-
# - nes_mongoconfig_linux_ci:/data/configdb
22+
# mongo:
23+
# container_name: nesci-mongo-1
24+
# platform: linux
25+
# image: mongo #@sha256:52c3314bee611f91d37b9b1bc0cc2755b1388f2de5b396b441f3fe94bef6c56c
26+
# ports:
27+
# - "50002:27017"
28+
## volumes:
29+
## - nes_mongodata_linux_ci:/data/db
30+
## - nes_mongoconfig_linux_ci:/data/configdb
2931

3032
mysql:
33+
container_name: nesci-mysql-1
3134
platform: linux
3235
image: mysql:5.7
3336
command: --default-authentication-plugin=mysql_native_password
@@ -41,6 +44,7 @@ services:
4144
- "50003:3306"
4245

4346
postgres:
47+
container_name: nesci-postgres-1
4448
platform: linux
4549
image: postgres
4650
restart: always

docker/docker-compose.ci.windows.db.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version: '2.4' # 2.4 supports "platform", 3.x does not.
55

66
services:
77
sqlexpress:
8+
container_name: nesci-sqlexpress-1
89
platform: windows
910
image: christianacca/mssql-server-windows-express
1011
environment:
@@ -18,16 +19,18 @@ services:
1819
# - "nes_sqllog_windows_ci:c:\\sql\\userdbs\\log"
1920
# - "nes_sqlbackup_windows_ci:c:\\sql\\backup"
2021

21-
mongo:
22-
platform: windows
23-
image: mongo
24-
ports:
25-
- "50002:27017"
26-
# volumes:
27-
# - nes_mongodata_windows_ci:/data/db
28-
# - nes_mongoconfig_windows_ci:/data/configdb
22+
# mongo:
23+
# container_name: nesci-mongo-1
24+
# platform: windows
25+
# image: mongo
26+
# ports:
27+
# - "50002:27017"
28+
## volumes:
29+
## - nes_mongodata_windows_ci:/data/db
30+
## - nes_mongoconfig_windows_ci:/data/configdb
2931

3032
mysql:
33+
container_name: nesci-mysql-1
3134
platform: windows
3235
image: mysql:5.7
3336
command: --default-authentication-plugin=mysql_native_password
@@ -41,6 +44,7 @@ services:
4144
- "50003:3306"
4245

4346
postgres:
47+
container_name: nesci-postgres-1
4448
platform: windows
4549
image: postgres
4650
restart: always

src/.nuget/NEventStore.Persistence.Sql.nuspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@
5050
<files>
5151
<!--<file src="bin\$configuration$\**" target="lib"/>-->
5252
<file src="..\NEventStore.Persistence.Sql\bin\$configuration$\**\NEventStore.Persistence.Sql.dll" target="lib"/>
53+
<file src="..\NEventStore.Persistence.Sql\bin\$configuration$\**\NEventStore.Persistence.Sql.xml" target="lib"/>
5354
</files>
5455
</package>

src/NEventStore.Persistence.Sql.Core.sln

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.28407.52
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.1.31911.260
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NEventStore.Core", "..\dependencies\NEventStore\src\NEventStore\NEventStore.Core.csproj", "{6F7B51D5-C6F0-4D10-BCCD-E813F005BF21}"
77
EndProject
@@ -30,6 +30,20 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NEventStore.Persistence.MyS
3030
EndProject
3131
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NEventStore.Persistence.PostgreSql.Core.Tests", "NEventStore.Persistence.PostgreSql.Tests\NEventStore.Persistence.PostgreSql.Core.Tests.csproj", "{E81E631B-AEF4-432D-8A5B-3F75B856F0CB}"
3232
EndProject
33+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{7C2C7CFB-3AAD-47D3-8357-B17044696816}"
34+
ProjectSection(SolutionItems) = preProject
35+
.nuget\NEventStore.Persistence.Sql.nuspec = .nuget\NEventStore.Persistence.Sql.nuspec
36+
EndProjectSection
37+
EndProject
38+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docker", "docker", "{C68C813A-B71E-4F21-8CE8-31220D2B3E10}"
39+
ProjectSection(SolutionItems) = preProject
40+
..\docker\docker-compose.ci.linux.db.yml = ..\docker\docker-compose.ci.linux.db.yml
41+
..\docker\docker-compose.ci.windows.db.yml = ..\docker\docker-compose.ci.windows.db.yml
42+
..\docker\DockerComposeDown.ps1 = ..\docker\DockerComposeDown.ps1
43+
..\docker\DockerComposeUp.ps1 = ..\docker\DockerComposeUp.ps1
44+
..\docker\Readme.md = ..\docker\Readme.md
45+
EndProjectSection
46+
EndProject
3347
Global
3448
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3549
Debug|Any CPU = Debug|Any CPU
@@ -75,6 +89,7 @@ Global
7589
GlobalSection(NestedProjects) = preSolution
7690
{6F7B51D5-C6F0-4D10-BCCD-E813F005BF21} = {7B0D03A4-5CB2-4674-AE01-F33F321B6FA4}
7791
{8F9CC671-02C9-4C91-889A-6C3D9FB5905D} = {7B0D03A4-5CB2-4674-AE01-F33F321B6FA4}
92+
{C68C813A-B71E-4F21-8CE8-31220D2B3E10} = {A05F912F-86CC-4106-BEB4-B1856BCA6739}
7893
EndGlobalSection
7994
GlobalSection(ExtensibilityGlobals) = postSolution
8095
SolutionGuid = {B46B87FE-AC30-4F44-A951-896E9276AB28}

src/NEventStore.Persistence.Sql/NEventStore.Persistence.Sql.Core.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
<PropertyGroup>
2525
<DefineConstants Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">TRACE;DEBUG</DefineConstants>
26+
<GenerateDocumentationFile>True</GenerateDocumentationFile>
2627
</PropertyGroup>
2728

2829
<ItemGroup>

src/NEventStore.Persistence.Sql/SqlDialects/CommonSqlStatements.Designer.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/NEventStore.Persistence.Sql/SqlDialects/CommonSqlStatements.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ AND NOT EXISTS
147147
<value>SELECT BucketId, StreamId, StreamIdOriginal, StreamRevision, CommitId, CommitSequence, CommitStamp, CheckpointNumber, Headers, Payload
148148
FROM Commits
149149
WHERE BucketId = @BucketId AND CommitStamp &gt;= @CommitStamp
150-
ORDER BY CommitStamp, StreamId, CommitSequence
150+
ORDER BY CheckpointNumber
151151
LIMIT @Limit OFFSET @Skip;</value>
152152
</data>
153153
<data name="GetCommitsFromToInstant" xml:space="preserve">
@@ -156,7 +156,7 @@ AND NOT EXISTS
156156
WHERE BucketId = @BucketId
157157
AND CommitStamp &gt;= @CommitStampStart
158158
AND CommitStamp &lt; @CommitStampEnd
159-
ORDER BY CommitStamp, StreamId, CommitSequence
159+
ORDER BY CheckpointNumber
160160
LIMIT @Limit OFFSET @Skip;</value>
161161
</data>
162162
<data name="GetCommitsFromStartingRevision" xml:space="preserve">

src/NEventStore.Persistence.Sql/SqlDialects/OracleNativeStatements.Designer.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)