diff --git a/.docfx/Dockerfile.docfx b/.docfx/Dockerfile.docfx
index 3897848..0e78ce5 100644
--- a/.docfx/Dockerfile.docfx
+++ b/.docfx/Dockerfile.docfx
@@ -1,4 +1,4 @@
-FROM nginx:1.27.1-alpine AS base
+FROM nginx:1.27.3-alpine AS base
RUN rm -rf /usr/share/nginx/html/*
FROM codebeltnet/docfx:2.77.0 AS build
diff --git a/.docfx/docfx.json b/.docfx/docfx.json
index 080c5c1..6681193 100644
--- a/.docfx/docfx.json
+++ b/.docfx/docfx.json
@@ -14,7 +14,7 @@
"dest": "api",
"filter": "filterConfig.yml",
"properties": {
- "TargetFramework": "net8.0"
+ "TargetFramework": "net9.0"
}
}
],
@@ -47,7 +47,7 @@
],
"globalMetadata": {
"_appTitle": "Extensions for xUnit by Codebelt",
- "_appFooter": "Generated by DocFX. Copyright 2024 Geekle. All rights reserved.",
+ "_appFooter": "Generated by DocFX. Copyright 2024-2025 Geekle. All rights reserved.",
"_appLogoPath": "images/50x50.png",
"_appFaviconPath": "images/favicon.ico",
"_googleAnalyticsTagId": "G-S3WBFFNKBL",
diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml
index abed2f6..5a7f2ff 100644
--- a/.github/workflows/pipelines.yml
+++ b/.github/workflows/pipelines.yml
@@ -7,13 +7,6 @@ on:
- .docfx/**
- .nuget/**
- '**/*.md'
- push:
- branches: [main]
- paths-ignore:
- - .codecov/**
- - .docfx/**
- - .nuget/**
- - '**/*.md'
workflow_dispatch:
inputs:
configuration:
diff --git a/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt
index 280d9e0..bf74cd3 100644
--- a/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt
+++ b/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.0
+Version 9.0.1
+Availability: .NET 9 and .NET 8
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.0
Availability: .NET 9 and .NET 8
# ALM
diff --git a/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt
index 0e9f5af..4859830 100644
--- a/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt
+++ b/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt
@@ -1,4 +1,16 @@
-Version 9.0.0
+Version 9.0.1
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+# Improvements
+- CHANGED HostFixture class in the Codebelt.Extensions.Xunit.Hosting namespace no longer have a dependency to IHostingEnvironment (TFM netstandard2.0)
+- CHANGED HostTest class in the Codebelt.Extensions.Xunit.Hosting namespace no longer have a dependency to IHostingEnvironment (TFM netstandard2.0)
+- CHANGED IHostFixture interface in the Codebelt.Extensions.Xunit.Hosting namespace no longer have a dependency to IHostingEnvironment (TFM netstandard2.0)
+- CHANGED IHostingEnvironmentTest interface in the Codebelt.Extensions.Xunit.Hosting namespace no longer have a dependency to IHostingEnvironment (TFM netstandard2.0)
+
+Version 9.0.0
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt
index 4ed08f4..573f821 100644
--- a/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt
+++ b/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt
@@ -1,4 +1,10 @@
-Version 9.0.0
+Version 9.0.1
+Availability: .NET 9, .NET 8 and .NET Standard 2.0
+
+# ALM
+- CHANGED Dependencies to latest and greatest with respect to TFMs
+
+Version 9.0.0
Availability: .NET 9, .NET 8 and .NET Standard 2.0
# ALM
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f344d30..20cd762 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,26 @@ For more details, please refer to `PackageReleaseNotes.txt` on a per assembly ba
> [!NOTE]
> Changelog entries prior to version 8.4.0 was migrated from previous versions of Cuemon.Extensions.Xunit, Cuemon.Extensions.Xunit.Hosting, and Cuemon.Extensions.Xunit.Hosting.AspNetCore.
+## [9.0.1] - 2025-01-25
+
+This is a service update that primarily focuses on package dependencies and minor improvements.
+
+> [!IMPORTANT]
+> Dependencies used for targeting .NET Standard 2.0 has been updated to use .NET 8.0 (LTS) instead of .NET Core 2.1.
+
+### Dependencies
+
+- Codebelt.Extensions.Xunit updated to latest and greatest with respect to TFMs
+- Codebelt.Extensions.Xunit.Hosting updated to latest and greatest with respect to TFMs
+- Codebelt.Extensions.Xunit.Hosting.AspNetCore updated to latest and greatest with respect to TFMs
+
+### Changed
+
+- HostFixture class in the Codebelt.Extensions.Xunit.Hosting namespace no longer have a dependency to IHostingEnvironment (TFM netstandard2.0)
+- HostTest class in the Codebelt.Extensions.Xunit.Hosting namespace no longer have a dependency to IHostingEnvironment (TFM netstandard2.0)
+- IHostFixture interface in the Codebelt.Extensions.Xunit.Hosting namespace no longer have a dependency to IHostingEnvironment (TFM netstandard2.0)
+- IHostingEnvironmentTest interface in the Codebelt.Extensions.Xunit.Hosting namespace no longer have a dependency to IHostingEnvironment (TFM netstandard2.0)
+
## [9.0.0] - 2024-11-13
This major release is first and foremost focused on ironing out any wrinkles that have been introduced with .NET 9 preview releases so the final release is production ready together with the official launch from Microsoft.
diff --git a/Directory.Build.props b/Directory.Build.props
index f6a6151..cd4aba9 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -16,7 +16,7 @@
net9.0;net8.0;netstandard2.0
- Copyright © Geekle 2024. All rights reserved.
+ Copyright © Geekle 2024-2025. All rights reserved.
gimlichael
Geekle
Extensions for xUnit API by Codebelt
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 7a2736f..052a79e 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -7,44 +7,37 @@
-
-
+
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index d188e75..fd45efc 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2024 Geekle
+Copyright (c) 2024-2025 Geekle
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/src/Codebelt.Extensions.Xunit.Hosting/HostFixture.cs b/src/Codebelt.Extensions.Xunit.Hosting/HostFixture.cs
index 340bfeb..5fa84fd 100644
--- a/src/Codebelt.Extensions.Xunit.Hosting/HostFixture.cs
+++ b/src/Codebelt.Extensions.Xunit.Hosting/HostFixture.cs
@@ -97,21 +97,12 @@ protected static bool HasTypes(Type type, params Type[] types)
return false;
}
-#if NETSTANDARD2_0_OR_GREATER
- ///
- /// Gets or sets the delegate that initializes the test class.
- ///
- /// The delegate that initializes the test class.
- /// Mimics the Startup convention.
- public Action ConfigureCallback { get; set; }
-#else
///
/// Gets or sets the delegate that initializes the test class.
///
/// The delegate that initializes the test class.
/// Mimics the Startup convention.
public Action ConfigureCallback { get; set; }
-#endif
///
/// Gets or sets the delegate that initializes the host builder.
@@ -143,19 +134,11 @@ protected static bool HasTypes(Type type, params Type[] types)
/// The initialized by this instance.
public IConfiguration Configuration { get; protected set; }
-#if NETSTANDARD2_0_OR_GREATER
- ///
- /// Gets the initialized by this instance.
- ///
- /// The initialized by this instance.
- public IHostingEnvironment HostingEnvironment { get; protected set; }
-#else
///
/// Gets the initialized by this instance.
///
/// The initialized by this instance.
public IHostEnvironment HostingEnvironment { get; protected set; }
-#endif
///
/// Gets a value indicating whether this object is disposed.
diff --git a/src/Codebelt.Extensions.Xunit.Hosting/HostTest.cs b/src/Codebelt.Extensions.Xunit.Hosting/HostTest.cs
index 6d4c287..eea804a 100644
--- a/src/Codebelt.Extensions.Xunit.Hosting/HostTest.cs
+++ b/src/Codebelt.Extensions.Xunit.Hosting/HostTest.cs
@@ -68,17 +68,6 @@ public IConfiguration Configuration
private set;
}
-#if NETSTANDARD2_0_OR_GREATER
- ///
- /// Gets the initialized by the .
- ///
- /// The initialized by the .
- public IHostingEnvironment HostingEnvironment
- {
- get;
- private set;
- }
-#else
///
/// Gets the initialized by the .
///
@@ -88,20 +77,7 @@ public IHostEnvironment HostingEnvironment
get;
private set;
}
-#endif
-#if NETSTANDARD2_0_OR_GREATER
- ///
- /// Adds and to this instance.
- ///
- /// The initialized by the .
- /// The initialized by the .
- public virtual void Configure(IConfiguration configuration, IHostingEnvironment environment)
- {
- Configuration = configuration;
- HostingEnvironment = environment;
- }
-#else
///
/// Adds and to this instance.
///
@@ -112,7 +88,6 @@ public virtual void Configure(IConfiguration configuration, IHostEnvironment env
Configuration = configuration;
HostingEnvironment = environment;
}
-#endif
///
/// Provides a way to override the defaults set up by .
diff --git a/src/Codebelt.Extensions.Xunit.Hosting/IHostFixture.cs b/src/Codebelt.Extensions.Xunit.Hosting/IHostFixture.cs
index 515d746..4b38001 100644
--- a/src/Codebelt.Extensions.Xunit.Hosting/IHostFixture.cs
+++ b/src/Codebelt.Extensions.Xunit.Hosting/IHostFixture.cs
@@ -5,16 +5,6 @@
namespace Codebelt.Extensions.Xunit.Hosting
{
-#if NETSTANDARD2_0_OR_GREATER
- public partial interface IHostFixture
- {
- ///
- /// Gets or sets the delegate that adds configuration and environment information to a .
- ///
- /// The delegate that adds configuration and environment information to a .
- Action ConfigureCallback { get; set; }
- }
-#else
public partial interface IHostFixture
{
///
@@ -23,7 +13,6 @@ public partial interface IHostFixture
/// The delegate that adds configuration and environment information to a .
Action ConfigureCallback { get; set; }
}
-#endif
///
/// Provides a way to use Microsoft Dependency Injection in unit tests.
diff --git a/src/Codebelt.Extensions.Xunit.Hosting/IHostingEnvironmentTest.cs b/src/Codebelt.Extensions.Xunit.Hosting/IHostingEnvironmentTest.cs
index 9996a2d..6985c8e 100644
--- a/src/Codebelt.Extensions.Xunit.Hosting/IHostingEnvironmentTest.cs
+++ b/src/Codebelt.Extensions.Xunit.Hosting/IHostingEnvironmentTest.cs
@@ -7,18 +7,10 @@ namespace Codebelt.Extensions.Xunit.Hosting
///
public interface IHostingEnvironmentTest
{
-#if NETSTANDARD2_0_OR_GREATER
- ///
- /// Gets the initialized by the .
- ///
- /// The initialized by the .
- IHostingEnvironment HostingEnvironment { get; }
-#else
///
/// Gets the initialized by the .
///
/// The initialized by the .
IHostEnvironment HostingEnvironment { get; }
-#endif
}
}
diff --git a/testenvironments.json b/testenvironments.json
index 3d47592..e296d68 100644
--- a/testenvironments.json
+++ b/testenvironments.json
@@ -9,7 +9,7 @@
{
"name": "Docker-Ubuntu",
"type": "docker",
- "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.404-9.0.100"
+ "dockerImage": "gimlichael/ubuntu-testrunner:net8.0.405-9.0.102"
}
]
}