astro/.changeset
Ben Holmes a14075e2a4
Feat: show 404 when getStaticPaths doesn't match URL (#2743)
* WIP: return 404 for unmatched getStaticPaths route

* feat: regex on static paths to 404 in dev

* Revert "WIP: return 404 for unmatched getStaticPaths route"

This reverts commit 9c395a2586ca40d44c3ab18edc7ffbc1c4660ed8.

* feat: call getParamsAndProps pre-ssr to catch errs

* fix: remove unused cache regex check

* fix: revert getPattern changes

* fix: remove unused preload props

* fix: log 404 for custom 404 pages

* refactor: rename fixture for clarity

* feat: add getStaticPaths status code tests

* fix: pas rootRelativeUrl to handle subpaths

* fix: update dev-routing tests from 500 -> 404

* refactor: make error handling more explicit

* lint: use typescript no shadow to fix enum issue

* chore: add changeset

* refactor: clarify test names

* refactor: remove variable reassignment

* fix: update dev-routing tests 500 > 404

* refactor: update test file structure

* Fix: revert to old logging

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Chore: use `const enum` instead

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* chore: format

Co-authored-by: Nate Moore <nate@skypack.dev>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-10 13:02:37 -05:00
..
clean-bottles-drive.md Improve Astro.slots API (#2695) 2022-03-09 18:09:48 -06:00
config.json chore: remove www (#2361) 2022-01-11 12:59:06 -06:00
five-stingrays-collect.md merge next into main (#2705) 2022-03-09 15:44:26 -06:00
fresh-ladybugs-think.md merge next into main (#2705) 2022-03-09 15:44:26 -06:00
giant-cycles-search.md chore: add changeset 2022-03-09 17:45:25 -06:00
khaki-humans-sort.md update deps: esbuild, typescript (#2750) 2022-03-10 09:55:40 -06:00
modern-elephants-burn.md merge next into main (#2705) 2022-03-09 15:44:26 -06:00
neat-snakes-know.md Improve logger (deduping, new help and version) (#2737) 2022-03-09 17:37:59 -06:00
new-pianos-boil.md merge next into main (#2705) 2022-03-09 15:44:26 -06:00
pre.json [ci] release (next) (#2734) 2022-03-09 19:01:26 -06:00
README.md Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
silver-foxes-bathe.md remove a bad dev warning from static-build (#2733) 2022-03-08 14:03:33 -08:00
sour-socks-enjoy.md Escape HTML by default (#2747) 2022-03-09 17:02:25 -06:00
thick-ravens-chew.md merge next into main (#2705) 2022-03-09 15:44:26 -06:00
yellow-trees-clean.md Fix/2177/log missing local network ip (#2732) 2022-03-08 17:11:18 -05:00
young-rules-draw.md Feat: show 404 when getStaticPaths doesn't match URL (#2743) 2022-03-10 13:02:37 -05:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation