Upgrade notes
Changes to the host configuration needed when updating the flake input. Releases not listed need none.
v3.1.0 to v3.2.0
- Every vhost now also sends
Referrer-Policy: strict-origin-when-cross-origin,X-Frame-Options: DENYandContent-Security-Policy: frame-ancestors 'none'. A site embedded in another site’s iframe stops loading there: drop or relax them withsites.<name>.headers(see Security model). A site that sends its ownContent-Security-PolicythroughextraConfignow sends two: move it tosites.<name>.headers. securityHeaders(global and per site) is deprecated in favour ofheadersand warns. While set, it replacesheadersas before.sites.<name>.immutablePathsis new (see Caching hashed assets).
v3.0.0 to v3.1.0
- Nothing required.
sites.<name>.publicPreviewVhostis new: settings added straight toservices.nginx.virtualHosts.muelle-apex-<site>for public previews can move there.
v2.2.0 to v3.0.0
sites.<name>.redirectFromis replaced bysites.<name>.previewApex, a single apex, with no alias: evaluation fails until it is renamed.redirectFrom = [ "example.com" ]becomespreviewApex = "example.com". Its vhost is now namedmuelle-apex-<site>.sites.<name>.publicPreviewsserves next and previews onpreviewApexwithout the gate (see Gating previews).
v2.0.0 to v2.2.0
services.muelle.previewVhostDefaultsis renamed toservices.muelle.previewVhost(#31), with no alias: evaluation fails until it is renamed.prodBranchesdefaults to[ "main" ](#28). Sites that deploy prod from another branch must list it, and sites that deploy prod from tags needprodBranches = null, since tag names are rejected (#36).- The action gained
action: announceandaction: abort(v2.2.0); they are optional, see Following deploys in the listing. An older host answers them withinvalid action, which the action only warns about.