Skip to content

Pugnet v1.0.1

Choose a tag to compare

@RespectMathias RespectMathias released this 13 Oct 16:29
· 1 commit to main since this release

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.csproj and MvcBuilderExtensions.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.zip to a Resources folder and updated code references.

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