File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Release notes
2
2
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
+
3
8
## 5.2.2
4
9
5
10
- Bug Fix: Use 'current_user' instead of 'postgres' in PostgreSQL version of EnsureClean - see issue #48
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public override string ToString()
56
56
/// <returns></returns>
57
57
public static string DecodeMessage ( LogOutput log )
58
58
{
59
- if ( log . EventId . Name != RelationalEventId . CommandExecuted . Name )
59
+ if ( log . EventId . Name != RelationalEventId . CommandError . Name && log . EventId . Name != RelationalEventId . CommandExecuted . Name )
60
60
return log . Message ;
61
61
62
62
var messageLines = log . Message . Split ( '\n ' ) . Select ( x => x . Trim ( ) ) . ToArray ( ) ;
Original file line number Diff line number Diff line change 61
61
62
62
<PropertyGroup >
63
63
<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 >
68
68
<Authors >Jon P Smith</Authors >
69
69
<Description >Useful tools when unit testing applications that use Entity Framework Core. See readme file on github.</Description >
70
70
<PackageRequireLicenseAcceptance >false</PackageRequireLicenseAcceptance >
71
71
<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
73
74
</PackageReleaseNotes >
74
75
<Copyright >Copyright (c) 2020 Jon P Smith. Licenced under MIT licence</Copyright >
75
76
<PackageTags >Entity Framework Core, xUnit</PackageTags >
You can’t perform that action at this time.
0 commit comments