Skip to content

Commit

Permalink
CoreEx latest. (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
chullybun committed Apr 17, 2024
1 parent 5827b86 commit a1928b8
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Represents the **NuGet** versions.

## v2.5.2
- *Fixed:* Updated `CoreEx` to version `3.18.0`.
- Includes removal of `Azure.Identity` dependency; related to `https://github.com/advisories/GHSA-wvxc-855f-jvrv`.

## v2.5.1
- *Fixed:* Updated `CoreEx` to version `3.15.0`.
- *Fixed* Simplify event outbox C# code-generation templates for primary constructor usage.
Expand Down
2 changes: 1 addition & 1 deletion Common.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.5.1</Version>
<Version>2.5.2</Version>
<LangVersion>preview</LangVersion>
<Authors>Avanade</Authors>
<Company>Avanade</Company>
Expand Down
2 changes: 1 addition & 1 deletion src/DbEx.MySql/DbEx.MySql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.Database.MySql" Version="3.15.0" />
<PackageReference Include="CoreEx.Database.MySql" Version="3.18.0" />
<PackageReference Include="dbup-mysql" Version="5.0.44" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/DbEx.Postgres/DbEx.Postgres.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.Database.Postgres" Version="3.15.0" />
<PackageReference Include="CoreEx.Database.Postgres" Version="3.18.0" />
<PackageReference Include="dbup-postgresql" Version="5.0.40" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/DbEx.SqlServer/DbEx.SqlServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.Database.SqlServer" Version="3.15.0" />
<PackageReference Include="CoreEx.Database.SqlServer" Version="3.18.0" />
<PackageReference Include="dbup-sqlserver" Version="5.0.40" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/DbEx/DbEx.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CoreEx.Database" Version="3.15.0" />
<PackageReference Include="CoreEx.Database" Version="3.18.0" />
<PackageReference Include="OnRamp" Version="2.2.0" />
</ItemGroup>

Expand Down
12 changes: 8 additions & 4 deletions tests/DbEx.Test/SqlServerOutboxTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ public async Task B120_EnqueueDequeue_PrimarySender_EventSendException()
eoe.SetPrimaryEventSender(new TestSenderFail());
await eoe.SendAsync(new EventSendData[]
{
new EventSendData { Id = "1", PartitionKey = null, Destination = "A" },
new EventSendData { Id = "2", PartitionKey = null, Destination = "B" },
new EventSendData { Id = "3", PartitionKey = null, Destination = "A" },
new EventSendData { Id = "4", PartitionKey = null, Destination = "B" }
new() { Id = "1", PartitionKey = null, Destination = "A" },
new() { Id = "2", PartitionKey = null, Destination = "B" },
new() { Id = "3", PartitionKey = null, Destination = "A" },
new() { Id = "4", PartitionKey = null, Destination = "B" }
}).ConfigureAwait(false);

var ims = new InMemorySender();
Expand All @@ -265,11 +265,15 @@ public async Task B120_EnqueueDequeue_PrimarySender_EventSendException()

private class TestSender : IEventSender
{
public event EventHandler AfterSend;

Check warning on line 268 in tests/DbEx.Test/SqlServerOutboxTest.cs

View workflow job for this annotation

GitHub Actions / build

The event 'SqlServerOutboxTest.TestSender.AfterSend' is never used

Check warning on line 268 in tests/DbEx.Test/SqlServerOutboxTest.cs

View workflow job for this annotation

GitHub Actions / build

The event 'SqlServerOutboxTest.TestSender.AfterSend' is never used

public Task SendAsync(IEnumerable<EventSendData> events, CancellationToken cancellationToken = default) => throw new NotImplementedException();
}

private class TestSenderFail : IEventSender
{
public event EventHandler AfterSend;

Check warning on line 275 in tests/DbEx.Test/SqlServerOutboxTest.cs

View workflow job for this annotation

GitHub Actions / build

The event 'SqlServerOutboxTest.TestSenderFail.AfterSend' is never used

Check warning on line 275 in tests/DbEx.Test/SqlServerOutboxTest.cs

View workflow job for this annotation

GitHub Actions / build

The event 'SqlServerOutboxTest.TestSenderFail.AfterSend' is never used

public Task SendAsync(IEnumerable<EventSendData> events, CancellationToken cancellationToken = default)
{
var elist = events.ToArray();
Expand Down

0 comments on commit a1928b8

Please sign in to comment.