Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgraded to Akka.NET v1.5 #284

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Akka.Persistence.SqlServer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{D8BAD8E8
build.cmd = build.cmd
build.fsx = build.fsx
build.sh = build.sh
src\common.props = src\common.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{85A25CFE-0B51-45FC-9C5E-271F9557F8D3}"
ProjectSection(SolutionItems) = preProject
README.md = README.md
RELEASE_NOTES.md = RELEASE_NOTES.md
src\common.props = src\common.props
src\Directory.Build.props = src\Directory.Build.props
src\Directory.Packages.props = src\Directory.Packages.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Akka.Persistence.SqlServer", "src\Akka.Persistence.SqlServer\Akka.Persistence.SqlServer.csproj", "{424D7800-6417-498D-A645-0E5EAF16C6D6}"
Expand Down
28 changes: 2 additions & 26 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
#### 1.4.35 March 23 2022 ####
#### 1.5.0-beta1 February 21 2023 ####

* [Update Akka.NET to v1.4.35](https://github.com/akkadotnet/akka.net/releases/tag/1.4.35)

#### 1.4.32 January 19 2022 ####

* [Update Akka.NET to v1.4.32](https://github.com/akkadotnet/akka.net/releases/tag/1.4.32)

#### 1.4.31 December 20 2021 ####

* [Update Akka.NET to v1.4.31](https://github.com/akkadotnet/akka.net/releases/tag/1.4.31)

#### 1.4.29 December 15 2021 ####

* [Update Akka.NET to v1.4.29](https://github.com/akkadotnet/akka.net/releases/tag/1.4.29)
* [Update Microsoft.Data.SqlClient to v3.0.1](https://github.com/akkadotnet/Akka.Persistence.SqlServer/pull/223)

#### 1.4.25 September 9 2021 ####

* [Update Akka.NET to v1.4.25](https://github.com/akkadotnet/akka.net/releases/tag/1.4.25)
* [Update Microsoft.Data.SqlClient to v3.0.0](https://github.com/akkadotnet/Akka.Persistence.SqlServer/pull/212)

#### 1.4.18 May 12 2020 ####

* Upgrades to [Akka.NET v1.4.18](https://github.com/akkadotnet/akka.net/releases/tag/1.4.18)
* [Added Support for Microsoft AD Authentication](https://github.com/akkadotnet/Akka.Persistence.SqlServer/issues/203)
* [Load string parameters column sizes to reduce SqlServer query plans count](https://github.com/akkadotnet/Akka.Persistence.SqlServer/pull/197)
* [Update Akka.NET to v1.5.0-beta1](https://github.com/akkadotnet/akka.net/releases/tag/1.5.0-beta1)
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Batching
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerAllEventsSpec : AllEventsSpec
public class BatchingSqlServerAllEventsSpec : AllEventsSpec, IDisposable
{
public BatchingSqlServerAllEventsSpec(ITestOutputHelper output, SqlServerFixture fixture) : base(
InitConfig(fixture),
Expand All @@ -41,10 +42,15 @@ class = ""Akka.Persistence.SqlServer.Journal.BatchingSqlServerJournal, Akka.Pers
.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Batching
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerCurrentAllEventsSpec : CurrentAllEventsSpec
public class BatchingSqlServerCurrentAllEventsSpec : CurrentAllEventsSpec, IDisposable
{
public BatchingSqlServerCurrentAllEventsSpec(ITestOutputHelper output, SqlServerFixture fixture) : base(
InitConfig(fixture),
Expand All @@ -41,10 +42,15 @@ class = ""Akka.Persistence.SqlServer.Journal.BatchingSqlServerJournal, Akka.Pers
.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Batching
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerCurrentEventsByPersistenceIdSpec : CurrentEventsByPersistenceIdSpec
public class BatchingSqlServerCurrentEventsByPersistenceIdSpec : CurrentEventsByPersistenceIdSpec, IDisposable
{
public BatchingSqlServerCurrentEventsByPersistenceIdSpec(ITestOutputHelper output, SqlServerFixture fixture)
: base(InitConfig(fixture), nameof(BatchingSqlServerCurrentEventsByPersistenceIdSpec), output)
Expand Down Expand Up @@ -43,10 +44,15 @@ class = ""Akka.Persistence.SqlServer.Journal.BatchingSqlServerJournal, Akka.Pers
return conf.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Batching
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerCurrentEventsByTagSpec : EventsByTagSpec
public class BatchingSqlServerCurrentEventsByTagSpec : EventsByTagSpec, IDisposable
{
public BatchingSqlServerCurrentEventsByTagSpec(ITestOutputHelper output, SqlServerFixture fixture)
: base(InitConfig(fixture), nameof(BatchingSqlServerCurrentEventsByTagSpec), output)
Expand Down Expand Up @@ -49,10 +50,15 @@ class = ""Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.
return conf.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Batching
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerCurrentPersistenceIdsSpec : CurrentPersistenceIdsSpec
public class BatchingSqlServerCurrentPersistenceIdsSpec : CurrentPersistenceIdsSpec, IDisposable
{
public BatchingSqlServerCurrentPersistenceIdsSpec(ITestOutputHelper output, SqlServerFixture fixture)
: base(InitConfig(fixture), nameof(BatchingSqlServerCurrentPersistenceIdsSpec), output)
Expand Down Expand Up @@ -43,10 +44,15 @@ class = ""Akka.Persistence.SqlServer.Journal.BatchingSqlServerJournal, Akka.Pers
return conf.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Batching
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerEventsByPersistenceIdSpec : EventsByPersistenceIdSpec
public class BatchingSqlServerEventsByPersistenceIdSpec : EventsByPersistenceIdSpec, IDisposable
{
public BatchingSqlServerEventsByPersistenceIdSpec(ITestOutputHelper output, SqlServerFixture fixture)
: base(InitConfig(fixture), nameof(BatchingSqlServerEventsByPersistenceIdSpec), output)
Expand Down Expand Up @@ -43,10 +44,15 @@ class = ""Akka.Persistence.SqlServer.Journal.BatchingSqlServerJournal, Akka.Pers
return conf.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Batching
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerEventsByTagSpec : EventsByTagSpec
public class BatchingSqlServerEventsByTagSpec : EventsByTagSpec, IDisposable
{
public BatchingSqlServerEventsByTagSpec(ITestOutputHelper output, SqlServerFixture fixture)
: base(InitConfig(fixture), nameof(BatchingSqlServerEventsByTagSpec), output)
Expand Down Expand Up @@ -49,10 +50,15 @@ class = ""Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.
return conf.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace Akka.Persistence.SqlServer.Tests
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerJournalPerfSpec : JournalPerfSpec
public class BatchingSqlServerJournalPerfSpec : JournalPerfSpec, IDisposable
{
public BatchingSqlServerJournalPerfSpec(ITestOutputHelper output, SqlServerFixture fixture)
: base(InitConfig(fixture), "BatchingSqlServerJournalPerfSpec", output)
Expand Down Expand Up @@ -47,10 +47,15 @@ class = ""Akka.Persistence.SqlServer.Journal.BatchingSqlServerJournal, Akka.Pers
return ConfigurationFactory.ParseString(specString);
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Batching
{
[Collection("SqlServerSpec")]
public class BatchingSqlServerPersistenceIdsSpec : PersistenceIdsSpec
public class BatchingSqlServerPersistenceIdsSpec : PersistenceIdsSpec, IDisposable
{
public BatchingSqlServerPersistenceIdsSpec(ITestOutputHelper output, SqlServerFixture fixture)
: base(InitConfig(fixture), nameof(BatchingSqlServerPersistenceIdsSpec), output)
Expand Down Expand Up @@ -43,10 +44,15 @@ class = ""Akka.Persistence.SqlServer.Journal.BatchingSqlServerJournal, Akka.Pers
return conf.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// </copyright>
// -----------------------------------------------------------------------

using System;
using Akka.Configuration;
using Akka.Persistence.Query;
using Akka.Persistence.Query.Sql;
Expand All @@ -14,7 +15,7 @@
namespace Akka.Persistence.SqlServer.Tests.Query
{
[Collection("SqlServerSpec")]
public class SqlServerAllEventsSpec : AllEventsSpec
public class SqlServerAllEventsSpec : AllEventsSpec, IDisposable
{
public SqlServerAllEventsSpec(ITestOutputHelper output, SqlServerFixture fixture) : base(InitConfig(fixture),
nameof(SqlServerAllEventsSpec), output)
Expand Down Expand Up @@ -47,10 +48,15 @@ class = ""Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.
.WithFallback(SqlReadJournal.DefaultConfiguration());
}

protected override void Dispose(bool disposing)
protected void Dispose(bool disposing)
{
base.Dispose(disposing);
DbUtils.Clean();
}

public void Dispose()
{
GC.SuppressFinalize(this);
Dispose(true);
}
}
}
Loading