Skip to content

Default Feature ModuleInfo implementations and update documentation and dependencies#19

Merged
penyland merged 5 commits into
mainfrom
improve-feature-modules
Apr 29, 2026
Merged

Default Feature ModuleInfo implementations and update documentation and dependencies#19
penyland merged 5 commits into
mainfrom
improve-feature-modules

Conversation

@penyland

Copy link
Copy Markdown
Owner

This pull request includes several updates across the repository, focusing on dependency upgrades, improvements to the feature modules infrastructure, packaging consistency, and documentation enhancements. The main themes are: updating package versions to the latest compatible releases, simplifying and improving the base classes for feature modules, and standardizing packaging and documentation practices.

Dependency and Package Upgrades:

  • Upgraded various NuGet package dependencies across projects to their latest patch versions, including Microsoft.AspNetCore.OpenApi, Microsoft.Extensions.DependencyInjection, Microsoft.EntityFrameworkCore, Azure.Identity, Microsoft.FeatureManagement, and others. This ensures compatibility, security, and access to the latest features and bug fixes. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]

Feature Modules Infrastructure Improvements:

  • Refactored the FeatureModule and WebFeatureModule base classes to provide default ModuleInfo implementations using the class name and a default version, reducing boilerplate for consumers. The ModuleInfo property is now virtual, allowing for easier customization.
  • Adjusted sample modules to align with the new base class behavior for ModuleInfo, simplifying or customizing module info as needed. [1] [2]

Packaging and Project Structure:

  • Standardized the inclusion of README.md in NuGet packages by moving its configuration to Directory.Build.props for all relevant projects, and removed redundant or duplicate README.md includes from individual .csproj files. [1] [2] [3] [4] [5] [6] [7] [8]
  • Updated package version prefixes for several projects to reflect new releases. [1] [2] [3] [4] [5] [6]

Documentation and Community Standards:

  • Improved the main Copilot instructions by clarifying the project description and adding a section on commit message conventions, encouraging the use of the Conventional Commits standard. [1] [2]
  • Enhanced the package description for Infinity.Toolkit.FeatureModules to better explain its benefits and usage.

FeatureModule and WebFeatureModule now set ModuleInfo to a default FeatureModuleInfo using the class name and version "1.0.0" in their constructors. ModuleInfo is changed from abstract to virtual, allowing overrides while supplying a sensible default.
Add commit message guidelines to documentation. Rename module in FeatureModule.cs and remove redundant ModuleInfo from WeatherModule.cs.
Updated all Microsoft, Azure, and related NuGet dependencies to latest patch versions. Bumped package versions for core Infinity.Toolkit libraries. Set VersionPrefix to 1.0.0 for stable packages. Improved FeatureModules description. Centralized README.md packaging logic in Directory.Build.props and removed redundant entries from individual projects. Updated Microsoft.NET.Test.Sdk to 18.5.1.
Extended copyright years in LICENSE. Added comprehensive Infinity.Toolkit.Messaging documentation to README, including overview, features, quick start guide, contributing, and license sections.
@penyland penyland merged commit a3727ef into main Apr 29, 2026
2 checks passed
@penyland penyland deleted the improve-feature-modules branch June 21, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant