Repository navigation
1.1.11
Finishes the deployment fixes from 1.1.10. Switching host now cleans up everything the previous host generated, and a build no longer leaves files showing as changed in git.
- Switching host: the previous host's generated redirects are now removed from
netlify.tomlandvercel.jsontoo, not just frompublic/_redirectsandpublic/_headers. Anything you wrote yourself stays, andvercel.jsonis deleted only when nothing else is in it. - Netlify: your own
[[redirects]]innetlify.tomlare kept when they sit above the# Generated redirects from content aliasescomment. They used to be dropped on every build. - Cloudflare Workers:
wrangler.tomlkeeps itscompatibility_dateinstead of being bumped to today on every build. - Windows: files are written in the line endings they already have, so
astro.config.mjsandnetlify.tomlno longer show as modified after a build that changed nothing. - Sites with no aliases: switching host cleans up here too, and a Cloudflare build no longer adds a blank line to your
public/_redirects.
public/_redirects and public/_headers are no longer gitignored, so your own rules in them can be committed and deployed. --dry-run and --validate no longer change any files.