Skip to content

Commit a6ddae3

Browse files
committed
Version 5.3.0
1 parent 979f9ff commit a6ddae3

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

ReleaseNotes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release notes
22

3+
## 5.3.0
4+
5+
- Updated to support NET 7 - thanks to GitHub user @chrisbbe - see PR #54
6+
- Updated LogOutpur.DecodeMessage to handle errors - see issue #49
7+
38
## 5.2.2
49

510
- Bug Fix: Use 'current_user' instead of 'postgres' in PostgreSQL version of EnsureClean - see issue #48

TestSupport/EfHelpers/Internal/EfCoreLogDecoder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public override string ToString()
5656
/// <returns></returns>
5757
public static string DecodeMessage(LogOutput log)
5858
{
59-
if (log.EventId.Name != RelationalEventId.CommandExecuted.Name)
59+
if (log.EventId.Name != RelationalEventId.CommandError.Name && log.EventId.Name != RelationalEventId.CommandExecuted.Name)
6060
return log.Message;
6161

6262
var messageLines = log.Message.Split('\n').Select(x => x.Trim()).ToArray();

TestSupport/TestSupport.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,16 @@
6161

6262
<PropertyGroup>
6363
<PackageId>EfCore.TestSupport</PackageId>
64-
<PackageVersion>5.2.2</PackageVersion>
65-
<Version>5.2.2</Version>
66-
<AssemblyVersion>5.2.2.0</AssemblyVersion>
67-
<FileVersion>5.2.2.0</FileVersion>
64+
<PackageVersion>5.3.0</PackageVersion>
65+
<Version>5.3.0</Version>
66+
<AssemblyVersion>5.3.0.0</AssemblyVersion>
67+
<FileVersion>5.3.0.0</FileVersion>
6868
<Authors>Jon P Smith</Authors>
6969
<Description>Useful tools when unit testing applications that use Entity Framework Core. See readme file on github.</Description>
7070
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
7171
<PackageReleaseNotes>
72-
- Bug Fix: Use 'current_user' instead of 'postgres' in PostgreSQL version of EnsureClean - see issue #48
72+
- Updated to support NET 7 - thanks to GitHub user @chrisbbe - see PR #54
73+
- Updated LogOutput.DecodeMessage to handle errors - see issue #49
7374
</PackageReleaseNotes>
7475
<Copyright>Copyright (c) 2020 Jon P Smith. Licenced under MIT licence</Copyright>
7576
<PackageTags>Entity Framework Core, xUnit</PackageTags>

0 commit comments

Comments
 (0)