Skip to content

Releases

v7.0.3

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 09 Nov 21:32
cdd0a8a

Hood 7.0.3: dependency updates and SkiaSharp thumbnails

Brings Hood's dependencies up to date, fixes several security advisories and makes image thumbnails with SkiaSharp in place of ImageSharp.

Highlights

  • Thumbnails are made with SkiaSharp. ImageSharp is gone from Hood. Its releases with the security fixes need a licence key to build, and SkiaSharp is MIT licensed. WebP uploads now get thumbnails too. A GIF's thumbnail is a PNG of its first frame, and a TIFF keeps its original in place of a thumbnail. (#124)
  • StackExchange.Redis 2.13. The Redis cache works with the new expiry API, and the public Add and AddAsync signatures are unchanged. (#123)
  • .NET 10.0.14 and EF Core 10.0.14, with SDK 10.0.403. (#120, #130)
  • Package updates: Azure.Storage.Blobs 12.30.1, Auth0.AspNetCore.Authentication 1.11.0, Sendgrid 9.29.3, SharpZipLib 1.4.2, Swashbuckle.AspNetCore 6.9.0 and Google.Cloud.RecaptchaEnterprise.V1 2.21.0. (#120, #130)
  • Admin editor and colour picker: hugerte 1.0.14 and pickr 1.10.2, in the bundle and the CDN pins the admin and login pages load. (#120)

Security

Fixes

  • Three constants-only classes are now static: Hood.Constants.Identity.ClaimTypes, Hood.Constants.Identity.Policies and Hood.Identity.Authentication. Code that reads their constants needs no change. (#130)

Packages

NuGet: Hood, Hood.Core, Hood.Admin, Hood.SchemaTool, Hood.UI.Core, Hood.UI.Admin, Hood.UI.Bootstrap3, Hood.UI.Bootstrap4, all 7.0.3.
npm: hoodcms@7.0.3 (latest).

Full changelog: v7.0.2...v7.0.3

v7.0.2

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 05 Jul 18:54
d25b386

Adoption, deliverability & hardening

A patch focused on smoother consumer adoption, correct transactional email, working prerelease CDN assets, and a batch of admin/UI hardening fixes.

✨ Highlights

  • Near-empty consumer config. Hood/Identity settings now default sensibly when absent and the site owner is sourced from the install account — a new site starts from a minimal appsettings.json with no framework boilerplate. (#103)
  • Correct plain-text email. Transactional email now sends a real text/plain rendering instead of an internal type-name token, clearing a spam heuristic that hurt deliverability. (#87)
  • Prerelease CDN assets resolve. Asset URLs now carry the -rc.N tag, so prerelease consumers load the admin UI from jsDelivr without 404s. (#86)
  • Automated dependency currency. Renovate keeps npm, NuGet, the .NET SDK and GitHub Actions up to date, with grouped PRs and a bedding-in window. (#104)

⚠️ Breaking changes

  1. Hood:SuperAdminEmail removed. The HoodConfiguration.SuperAdminEmail property and the Hood:SuperAdminEmail configuration key are gone — the site owner is the account created at /install. Remove the key from appsettings.json; existing installs need no migration (the owner is resolved from the install account already on record). (#103)

🐛 Fixes

  • Admin dashboard stats — implemented the stats endpoint the dashboard widget calls, fixing the /admin/stats/ 404. (#99)
  • Media attach buttons — restored the dead gallery "Add files" and single-image attach widgets by moving them to the current media API. (#91, #98)
  • Identity-less /account/ — anonymous requests now redirect to login instead of returning a 500. (#88)
  • Deleted-user cookie — a cookie for a since-deleted user is now rejected cleanly instead of throwing during principal validation. (#92)
  • DirectoryManager hardening — fixed a root-directory null-reference and stale-cache behaviour, and made the cache reload-once for absent ids with a thread-safe reset. (#93, #96)
  • reCAPTCHA noise — empty tokens are short-circuited instead of making a doomed assessment call. (#90)
  • Toast icons — notifications now show the correct per-severity icon rather than the error icon for all severities. (#95)
  • Self-hosted placeholder image — replaced the retired source.unsplash.com placeholder so background/placeholder images render across themes. (#97)
  • Asset integrity — added SRI integrity hashes to admin third-party CDN scripts. (#100)
  • UMD bundle externals — gave app.js/app.property.js a UMD globals map so externals resolve correctly. (#94)
  • Source-comment hygiene — removed internal references from public source comments. (#89)

⬆️ Upgrade guide

  1. Bump all Hood packages (and the hood-schema tool) to 7.0.2.
  2. Remove Hood:SuperAdminEmail from appsettings.json — no other action; the site owner is the account created at install.

📦 Packages

NuGet: Hood, Hood.Core, Hood.Admin, Hood.UI.Admin, Hood.UI.Core, Hood.UI.Bootstrap3, Hood.UI.Bootstrap4 — all 7.0.2; hood-schema tool 7.0.2.
npm: hoodcms@7.0.2 (latest).

Full changelog: v7.0.1…v7.0.2

v7.0.1

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 25 Jun 19:55
04e83fb

Developer experience & tooling

A developer-experience release on top of v7.0.0 — a cross-platform local-dev layer, pnpm-based frontend tooling, and clearer package documentation. No runtime, API, or schema changes.

✨ Highlights

  • Cross-platform local dev (hoodcms/dev). The local dev workflow moves off the old Makefile onto hoodcms/dev — a small cross-platform orchestration layer, published as an npm subpath, that runs the same on Windows/PowerShell, macOS and Linux. Adoption polish smooths the first-run experience for new consumers (#83, #84).
  • Pluggable local db restore + db reset. A file-based db restore <file> primitive in hoodcms/dev, dispatched by file extension over a pluggable RestoreProvider seam (extend-not-clone — register your own in hood.dev.ts, last-match-wins), with a built-in .bacpac provider (#84).
  • Frontend tooling on pnpm. The frontend toolchain migrated from yarn to pnpm for faster, stricter installs (#82).
  • Documented package layout. The readme now documents the projects/ package split and what each published NuGet package is for (#81).

📦 Packages

NuGet: Hood.Core, Hood.Admin, Hood.UI.Core, Hood.UI.Admin, Hood.UI.Bootstrap3, Hood.UI.Bootstrap4 (+ siblings) — all 7.0.1.
npm: hoodcms@7.0.1 (latest).

Full changelog: v7.0.0…v7.0.1

v7.0.0

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 15 Jun 18:33
a42d185

Hood CMS v7 — ground-up modernisation

The first stable release of Hood CMS v7 — a ground-up modernisation of the framework, its build, and its release process. v7.0.0 moves Hood onto current .NET, a fully automated secret-free publish pipeline, an explicit versioned schema with a proven upgrade path, and a modern frontend asset model.

Upgrading from 6.x? This is a major release with breaking changes — read Breaking changes and Upgrade guide below before bumping.

✨ Highlights

  • .NET 10 + EF Core 10. Runtime, SDK and ORM baselines moved to .NET 10 LTS / EF Core 10 (#54, #55, #56).
  • Automated, secret-free release pipeline. GitHub Actions + MinVer: merge to master → 7.0.0-rc.N (NuGet prerelease + npm next); a vX.Y.Z GitHub Release → stable (NuGet + npm latest). Publishing is OIDC trusted-publishing — no long-lived tokens. FE and BE are version-locked (#60, #79).
  • Explicit versioned schema + safe upgrades. A DbUp-based schema runner (hood-schema) with a version-foldered SQL tier, a validated 6.0→7.0 upgrade path, and an automated fresh == upgrade schema-parity regression test (#56, #67, #76, #77).
  • Razor Class Library view distribution. The UI packages are now RCLs with views compiled at build time — single canonical copy, no copy-step clobbering, and a template picker that works on any OS without shipping .cshtml to the server (#73).
  • Modern frontend toolchain. Rebuilt build (Rollup/TypeScript), a published hoodcms consumer build preset, and 204 → 0 npm audit vulnerabilities; editor migrated TinyMCE → HugeRTE (#65, #69, #74).
  • reCAPTCHA → Google Fraud Defence. RecaptchaService rewritten on the Enterprise assessment API (score/action/hostname validation); the deprecated siteverify path retired (#75).
  • Clean codebase baseline. Repo-wide CSharpier + InspectCode, all categories resolved, enforced by a CI formatting/analysis gate (#70, #71, #72).
  • Broad stability & security sweep. Media handling, geocoding, registration/login, content caching, preview, split-query and more (#57, #58, #59, #78).

⚠️ Breaking changes

  1. Target framework → .NET 10. Consumers must target .NET 10; EF Core 10 is the data baseline.
  2. reCAPTCHA is now Google Fraud Defence (Enterprise) only. The classic siteverify flow and GoogleRecaptchaSecretKey are removed. Configure site key + project id + API key + threshold in Admin → Integrations. RecapcthaTagHelper is renamed RecaptchaTagHelper (markup <recaptcha> unchanged); IRecaptchaService.Validate gains an optional expectedAction. Unmigrated classic keys will not work.
  3. IntegrationSettings.GoogleMapsApiKey removed → unified into GoogleCloudApiKey. A schema migration auto-seeds the new field from the old value on upgrade; any consumer code referencing GoogleMapsApiKey must switch to GoogleCloudApiKey.
  4. View distribution (RCL): runtime view compilation is off in production by default — opt back in with Hood:AllowRuntimeViewCompilation=true. Switching UI flavour (Bootstrap3/4) now requires an app restart. Consumers can no longer edit Hood's packaged views on disk — override in-app at the same path instead (override behaviour itself is unchanged).
  5. Editor: TinyMCE replaced by HugeRTE.

⬆️ Upgrade guide (6.x → 7.0)

  1. Bump all Hood packages to 7.0.0 and the Hood.SchemaTool dotnet tool to 7.0.0; target net10.0.
  2. Apply the schema with hood-schema upgrade. The 6.0→7.0 path is validated and converges byte-for-byte with a fresh install (parity-tested).
  3. Migrate reCAPTCHA to Fraud Defence keys and switch any GoogleMapsApiKey references to GoogleCloudApiKey.
  4. Review the view-distribution and runtime-compilation changes if you edited packaged views or switch UI flavours at runtime.
  5. Smoke-test login, admin, registration/contact, and maps/geocoding.

📦 Packages

NuGet: Hood.Core, Hood.Admin, Hood.UI.Core, Hood.UI.Admin, Hood.UI.Bootstrap3, Hood.UI.Bootstrap4 (+ siblings) — all 7.0.0.
npm: hoodcms@7.0.0 (latest).

Full changelog: v6.1.7…v7.0.0

v6.1.7

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 03 Nov 10:39
60fc9ee
Merge pull request #50 from HoodDigital/dev

v6.1.7

v6.1.5

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 03 Nov 10:26

v6.0.13

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 03 Nov 10:38

v6.1.4

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 27 Oct 12:50
294bdc5

v6.1.3

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 22 Sep 14:52
aafa8b0
  • Fixed email width issues when viewed in Gmail.

v6.1.2

Choose a tag to compare

@JorjeRedemption JorjeRedemption released this 20 Sep 14:51
adbfe9f
Merge pull request #47 from HoodDigital/6.1.2

v6.1.2