astro/packages
Bjorn Lu ebd364e392
Add new fields to API route context (#4986)
* Add new fields to API route context

* Add props and redirect

* Pass custom redirect status code

* Correctly pass props in api routes

* Add better docs

* Add test

* Fix build

* Add constants file

* Add links to jsdoc

* Workaround lint issue

* Thanks Chris

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* Missed one doc change

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* Add more detail to the changesets

* Strict redirect status type

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-10-12 17:03:49 -04:00
..
astro Add new fields to API route context (#4986) 2022-10-12 17:03:49 -04:00
astro-prism [ci] release (#4249) 2022-08-11 16:50:59 -07:00
astro-rss [ci] release (#4903) 2022-09-29 11:20:00 -04:00
create-astro [ci] release (#4846) 2022-09-27 12:12:44 -04:00
integrations Added support for updating tsconfig.json when using astro add (#4959) 2022-10-12 15:11:25 -03:00
markdown [ci] release (#4903) 2022-09-29 11:20:00 -04:00
telemetry [ci] release (#4903) 2022-09-29 11:20:00 -04:00
webapi [ci] release (#4846) 2022-09-27 12:12:44 -04:00