Pugnet v1.0.1
Pugnet v1.0.1 Release Notes
-
Reorganized Structure:
- Adopted standard .NET folder hierarchy similar to established NuGet packages.
- Grouped files into logical directories: Interfaces, ViewEngines, Rendering, Options, Helpers, Resources.
- Cleaned up the root directory, keeping only essential files like
Pugnet.csprojandMvcBuilderExtensions.cs.
-
Updated Naming Conventions:
- Removed redundant 'Pugnet' prefixes from class and file names.
- Interfaces now start with 'I' (e.g.,
IPugViewEngine,IPugRenderer). - Classes use clear, descriptive names in PascalCase.
-
Namespace Adjustments:
- Updated namespaces to match the new folder structure for consistency.
-
Improved Project File (
.csproj):- Excluded development files (
node_modules,package.json,package-lock.json) from the build and NuGet package. - Moved
embeddedNodeResources.zipto aResourcesfolder and updated code references.
- Excluded development files (
Upgrade Instructions:
-
Update Package Reference to Pugnet v1.0.1 via your package manager.
builder.Services.AddControllersWithViews().AddPug();
Full Changelog: v1.0.0...v1.0.1