* fix: respond with 200 to HEAD requests for non-prerendered pages as well
Fixes#13079
Inspired by @joshmkennedy's PR #13100
* chore: add more test cases
* Update .changeset/tricky-toes-drum.md
* chore: remove trace method
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* fix: default head requests for endpoints when no explicit head method implemented
* Update changeset for astro to minor
* Update changeset for default HEAD requests
* Update .changeset/afraid-turkeys-kneel.md
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
---------
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
* Add alternate rendering paths to avoid use of Promise
* Add run commands
* Remove promise from synchronous components
* Create makefile and update loadtest
* Rename functions, fix implementation of renderArray
* More performance updates
* Minor code cleanup
* incremental
* Add initial rendering tests
* WIP - bad tests
* Fix tests
* Make the tests good, even
* Add more tests
* Finish tests
* Add test to ensure rendering order
* Finalize pr
* Remove code not intended for PR
* Add changeset
* Revert change to minimal example
* Fix linting and formatting errors
* Address code review comments
* Fix mishandling of uncaught synchronous renders
* Update .changeset/shaggy-deers-destroy.md
---------
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* feat: integrated includeFiles and excludeFiles on netlify adapter
* feat: added netlify include and exclude files tests
* feat: changelogs added
* fix: avoid problems with glob file url on windows
* feat: improved JS Docs to include examples and important information
* feat: removed non necessary root path as glob is already absolute
* Apply suggestions from code review
* Update packages/integrations/netlify/src/index.ts
Co-authored-by: Matt Kane <m@mk.gg>
* Update .changeset/ninety-clouds-judge.md
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* changes the paginate function to allow readonly array types
* Update paginate function to accept readonly arrays
---------
Co-authored-by: Matt Kane <m@mk.gg>
* fix(i18n): bypass server island with base
* Update packages/astro/src/core/routing/match.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Add additional typings for referenced content collection entries
* Add changeset
* Default typings to string for easier use
---------
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* Improve error handling for content collection entries where ID isn't a string
* Add passthrough to zod schema to still access other properties after validation
* Add new test for numbers as IDs, add changeset
* Update error for invalid IDs
* Update test for new error message
* Update .changeset/dry-dragons-shout.md
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* Update errors-data.ts to (possibly) fix tests failing
* Update errors-data.ts
---------
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Matt Kane <m@mk.gg>