From e0139317822db932f98f23df717a9c4f5a90c80d Mon Sep 17 00:00:00 2001 From: "Eric Sibly [chullybun]" Date: Thu, 14 Dec 2023 14:38:43 -0800 Subject: [PATCH] v3.6.3 (#82) * All related package dependencies updated to latest. * Fix test. --- CHANGELOG.md | 3 +++ Common.targets | 2 +- src/CoreEx.Azure/CoreEx.Azure.csproj | 8 ++++---- src/CoreEx.Cosmos/CoreEx.Cosmos.csproj | 2 +- .../CoreEx.Database.MySql.csproj | 2 +- .../CoreEx.Database.SqlServer.csproj | 5 +++-- .../HealthChecks/SqlServerHealthCheck.cs | 2 +- src/CoreEx.Database/CoreEx.Database.csproj | 4 ---- .../CoreEx.EntityFrameworkCore.csproj | 4 ++-- .../CoreEx.FluentValidation.csproj | 2 +- src/CoreEx.Newtonsoft/CoreEx.Newtonsoft.csproj | 2 +- src/CoreEx.Solace/CoreEx.Solace.csproj | 2 +- src/CoreEx/CoreEx.csproj | 14 +++++++------- src/CoreEx/RefData/ReferenceDataBase.cs | 2 +- .../Framework/RefData/ReferenceDataTest.cs | 2 +- 15 files changed, 28 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a41df2b5..aba75576 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ Represents the **NuGet** versions. +## v3.6.3 +- *Fixed:* All related package dependencies updated to latest. + ## v3.6.2 - *Enhancement:* Added `Converter.Create` to enable a simple one-off `IConverter` implementation to be created. - *Fixed:* The `IReferenceData.SetInvalid` method corrected to throw `NotImplementedException` where not explicitly implemented. diff --git a/Common.targets b/Common.targets index a7834a32..abf22760 100644 --- a/Common.targets +++ b/Common.targets @@ -1,6 +1,6 @@  - 3.6.2 + 3.6.3 preview Avanade Avanade diff --git a/src/CoreEx.Azure/CoreEx.Azure.csproj b/src/CoreEx.Azure/CoreEx.Azure.csproj index e4d8001e..86c798ed 100644 --- a/src/CoreEx.Azure/CoreEx.Azure.csproj +++ b/src/CoreEx.Azure/CoreEx.Azure.csproj @@ -14,11 +14,11 @@ - - + + - - + + diff --git a/src/CoreEx.Cosmos/CoreEx.Cosmos.csproj b/src/CoreEx.Cosmos/CoreEx.Cosmos.csproj index e75074e3..7641a97c 100644 --- a/src/CoreEx.Cosmos/CoreEx.Cosmos.csproj +++ b/src/CoreEx.Cosmos/CoreEx.Cosmos.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/CoreEx.Database.MySql/CoreEx.Database.MySql.csproj b/src/CoreEx.Database.MySql/CoreEx.Database.MySql.csproj index 2134e417..997eaa20 100644 --- a/src/CoreEx.Database.MySql/CoreEx.Database.MySql.csproj +++ b/src/CoreEx.Database.MySql/CoreEx.Database.MySql.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/CoreEx.Database.SqlServer/CoreEx.Database.SqlServer.csproj b/src/CoreEx.Database.SqlServer/CoreEx.Database.SqlServer.csproj index 6fd31ea2..b354e898 100644 --- a/src/CoreEx.Database.SqlServer/CoreEx.Database.SqlServer.csproj +++ b/src/CoreEx.Database.SqlServer/CoreEx.Database.SqlServer.csproj @@ -12,8 +12,9 @@ - - + + + diff --git a/src/CoreEx.Database.SqlServer/HealthChecks/SqlServerHealthCheck.cs b/src/CoreEx.Database.SqlServer/HealthChecks/SqlServerHealthCheck.cs index 638c1a91..078c8513 100644 --- a/src/CoreEx.Database.SqlServer/HealthChecks/SqlServerHealthCheck.cs +++ b/src/CoreEx.Database.SqlServer/HealthChecks/SqlServerHealthCheck.cs @@ -67,7 +67,7 @@ public async Task CheckHealthAsync(HealthCheckContext context } } - _innerHealthCheck ??= new global::HealthChecks.SqlServer.SqlServerHealthCheck(_sqlConnectionString, HEALTH_QUERY); + _innerHealthCheck ??= new global::HealthChecks.SqlServer.SqlServerHealthCheck(new global::HealthChecks.SqlServer.SqlServerHealthCheckOptions { ConnectionString = _sqlConnectionString, CommandText = HEALTH_QUERY }); try { diff --git a/src/CoreEx.Database/CoreEx.Database.csproj b/src/CoreEx.Database/CoreEx.Database.csproj index 2da602f7..15054701 100644 --- a/src/CoreEx.Database/CoreEx.Database.csproj +++ b/src/CoreEx.Database/CoreEx.Database.csproj @@ -11,10 +11,6 @@ - - - - diff --git a/src/CoreEx.EntityFrameworkCore/CoreEx.EntityFrameworkCore.csproj b/src/CoreEx.EntityFrameworkCore/CoreEx.EntityFrameworkCore.csproj index 70c192c8..753a8216 100644 --- a/src/CoreEx.EntityFrameworkCore/CoreEx.EntityFrameworkCore.csproj +++ b/src/CoreEx.EntityFrameworkCore/CoreEx.EntityFrameworkCore.csproj @@ -13,11 +13,11 @@ - + - + diff --git a/src/CoreEx.FluentValidation/CoreEx.FluentValidation.csproj b/src/CoreEx.FluentValidation/CoreEx.FluentValidation.csproj index 04914dca..593170bd 100644 --- a/src/CoreEx.FluentValidation/CoreEx.FluentValidation.csproj +++ b/src/CoreEx.FluentValidation/CoreEx.FluentValidation.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/CoreEx.Newtonsoft/CoreEx.Newtonsoft.csproj b/src/CoreEx.Newtonsoft/CoreEx.Newtonsoft.csproj index 9d406dc2..5cd536fc 100644 --- a/src/CoreEx.Newtonsoft/CoreEx.Newtonsoft.csproj +++ b/src/CoreEx.Newtonsoft/CoreEx.Newtonsoft.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/CoreEx.Solace/CoreEx.Solace.csproj b/src/CoreEx.Solace/CoreEx.Solace.csproj index 2c40beb9..2c213d38 100644 --- a/src/CoreEx.Solace/CoreEx.Solace.csproj +++ b/src/CoreEx.Solace/CoreEx.Solace.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/CoreEx/CoreEx.csproj b/src/CoreEx/CoreEx.csproj index 67864b89..58e06b5b 100644 --- a/src/CoreEx/CoreEx.csproj +++ b/src/CoreEx/CoreEx.csproj @@ -28,20 +28,20 @@ - + - + - + @@ -54,22 +54,22 @@ - + - + - + - + diff --git a/src/CoreEx/RefData/ReferenceDataBase.cs b/src/CoreEx/RefData/ReferenceDataBase.cs index 68820a3b..7fc5725a 100644 --- a/src/CoreEx/RefData/ReferenceDataBase.cs +++ b/src/CoreEx/RefData/ReferenceDataBase.cs @@ -34,7 +34,7 @@ public abstract class ReferenceDataBase : IReferenceData public int SortOrder { get; set; } /// - public bool IsActive { get; set; } + public bool IsActive { get; set; } = true; /// public DateTime? StartDate { get; set; } diff --git a/tests/CoreEx.Test/Framework/RefData/ReferenceDataTest.cs b/tests/CoreEx.Test/Framework/RefData/ReferenceDataTest.cs index bdabe875..5ffad331 100644 --- a/tests/CoreEx.Test/Framework/RefData/ReferenceDataTest.cs +++ b/tests/CoreEx.Test/Framework/RefData/ReferenceDataTest.cs @@ -52,7 +52,7 @@ public void RefDataSimple() Assert.IsFalse(ir.IsValid); Assert.AreSame(ir.IdType, typeof(int)); - Assert.AreEqual("{\"id\":1,\"code\":\"X\",\"text\":\"XX\"}", new CoreEx.Text.Json.ReferenceDataContentJsonSerializer().Serialize(r)); + Assert.AreEqual("{\"id\":1,\"code\":\"X\",\"text\":\"XX\",\"isActive\":true}", new CoreEx.Text.Json.ReferenceDataContentJsonSerializer().Serialize(r)); } [Test]