Repository navigation
Releases
v7.0.3
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
AddandAddAsyncsignatures 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
- ImageSharp advisories. Removing ImageSharp clears them for every site on Hood. (#124)
- System.Security.Cryptography.Pkcs. A direct reference to 10.0.14 fixes two denial-of-service advisories in the version SqlClient brings in, GHSA-846f-f764-76mx (high) and GHSA-2fmv-rv2c-59x7 (moderate). (#130)
- hugerte 1.0.14. Fixes an
iframe srcdocXSS and moves DOMPurify to 3.4.14. (#120) - postcss and pnpm. Fixes for GHSA-r28c-9q8g-f849, GHSA-fxqj-rqcc-2cmp, GHSA-c59q-g84q-2gj5 and GHSA-vq4v-j7r6-jq4m in the front-end build. (#120)
Fixes
- Three constants-only classes are now
static:Hood.Constants.Identity.ClaimTypes,Hood.Constants.Identity.PoliciesandHood.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
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.jsonwith no framework boilerplate. (#103) - Correct plain-text email. Transactional email now sends a real
text/plainrendering 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.Ntag, 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
Hood:SuperAdminEmailremoved. TheHoodConfiguration.SuperAdminEmailproperty and theHood:SuperAdminEmailconfiguration key are gone — the site owner is the account created at/install. Remove the key fromappsettings.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.complaceholder 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.jsa UMD globals map so externals resolve correctly. (#94) - Source-comment hygiene — removed internal references from public source comments. (#89)
⬆️ Upgrade guide
- Bump all Hood packages (and the
hood-schematool) to7.0.2. - Remove
Hood:SuperAdminEmailfromappsettings.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
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 oldMakefileontohoodcms/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-baseddb restore <file>primitive inhoodcms/dev, dispatched by file extension over a pluggableRestoreProviderseam (extend-not-clone — register your own inhood.dev.ts, last-match-wins), with a built-in.bacpacprovider (#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
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 + npmnext); avX.Y.ZGitHub Release → stable (NuGet + npmlatest). 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
.cshtmlto the server (#73). - Modern frontend toolchain. Rebuilt build (Rollup/TypeScript), a published
hoodcmsconsumer build preset, and 204 → 0 npm audit vulnerabilities; editor migrated TinyMCE → HugeRTE (#65, #69, #74). - reCAPTCHA → Google Fraud Defence.
RecaptchaServicerewritten on the Enterprise assessment API (score/action/hostname validation); the deprecatedsiteverifypath 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
- Target framework → .NET 10. Consumers must target .NET 10; EF Core 10 is the data baseline.
- reCAPTCHA is now Google Fraud Defence (Enterprise) only. The classic
siteverifyflow andGoogleRecaptchaSecretKeyare removed. Configure site key + project id + API key + threshold in Admin → Integrations.RecapcthaTagHelperis renamedRecaptchaTagHelper(markup<recaptcha>unchanged);IRecaptchaService.Validategains an optionalexpectedAction. Unmigrated classic keys will not work. IntegrationSettings.GoogleMapsApiKeyremoved → unified intoGoogleCloudApiKey. A schema migration auto-seeds the new field from the old value on upgrade; any consumer code referencingGoogleMapsApiKeymust switch toGoogleCloudApiKey.- 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). - Editor: TinyMCE replaced by HugeRTE.
⬆️ Upgrade guide (6.x → 7.0)
- Bump all Hood packages to
7.0.0and theHood.SchemaTooldotnet tool to7.0.0; targetnet10.0. - 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). - Migrate reCAPTCHA to Fraud Defence keys and switch any
GoogleMapsApiKeyreferences toGoogleCloudApiKey. - Review the view-distribution and runtime-compilation changes if you edited packaged views or switch UI flavours at runtime.
- 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
Merge pull request #50 from HoodDigital/dev v6.1.7
v6.1.5
v6.0.13
v6.1.4
v6.1.3
- Fixed email width issues when viewed in Gmail.
v6.1.2
Merge pull request #47 from HoodDigital/6.1.2 v6.1.2