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 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
Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments