astro/.changeset
Happydev 719002ca5b
feat: hybrid output (#6991)
* update config schema

* adapt default route `prerender` value

* adapt error message for hybrid output

* core hybrid output support

* add JSDocs for hybrid output

* dev server hybrid output support

* defer hybrid output check

* update endpoint request warning

* support `output=hybrid` in integrations

* put constant variable out of for loop

* revert: reapply back ssr plugin in ssr mode

* change `prerender` option default

* apply `prerender` by default in hybrid mode

* simplfy conditional

* update config schema

* add `isHybridOutput` helper

* more readable prerender condition

* set default prerender value if no export is found

* only add `pagesVirtualModuleId` ro rollup input in `output=static`

* don't export vite plugin

* remove unneeded check

* don't prerender when it shouldn't

* extract fallback `prerender` meta

Extract the fallback `prerender` module meta out of the `scan` function.
It shouldn't be its responsibility to handle that

* pass missing argument to function

* test: update cloudflare integration tests

* test: update tests of vercel integration

* test: update tests of node integration

* test: update tests of netlify func integration

* test: update tests of netlify edge integration

* throw when `hybrid` mode is malconfigured

* update node integraiton `output` warning

* test(WIP): skip node prerendering tests for now

* remove non-existant import

* test: bring back prerendering tests

* remove outdated comments

* test: refactor test to support windows paths

* remove outdated comments

* apply sarah review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* docs: `experiment.hybridOutput` jsodcs

* test: prevent import from being cached

* refactor: extract hybrid output check to  function

* add `hybrid` to output warning in adapter hooks

* chore: changeset

* add `.js` extension to import

* chore: use spaces instead of tabs for gh formating

* resolve merge conflict

* chore: move test to another file for consitency

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-05-17 09:23:20 -04:00
..
brown-goats-serve.md refactor(assets): Move generation logic out of internal.ts (#7102) 2023-05-16 16:40:32 +02:00
config.json Fix changeset publish (#6923) 2023-04-27 22:55:48 +08:00
eleven-hotels-roll.md RSS: Fix string validation of pubDate (#7066) 2023-05-15 14:10:32 +08:00
fifty-guests-remember.md Inject analytics env (#6876) 2023-05-15 14:13:47 +08:00
fresh-baboons-switch.md Escape closing script tag when using define:vars (#7044) 2023-05-15 14:35:54 +08:00
long-starfishes-raise.md fix: middleware for API endpoints (#7106) 2023-05-17 11:48:02 +01:00
mighty-shoes-scream.md feat: hybrid output (#6991) 2023-05-17 09:23:20 -04:00
pretty-planets-wink.md Add edge-light and worker to vercel edge bundling (#7103) 2023-05-17 09:06:18 -04:00
pretty-students-try.md [Markdoc] headings and heading IDs (#7095) 2023-05-17 09:13:10 -04:00
quiet-gifts-pay.md Build edge/worker runtime with webworker ssr target (#7101) 2023-05-17 15:44:20 +08:00
README.md Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
rich-crews-fry.md Add workerd and worker to cloudflare adapter bundling (#7092) 2023-05-16 20:00:29 +08:00
silver-ties-vanish.md Build edge/worker runtime with webworker ssr target (#7101) 2023-05-17 15:44:20 +08:00
swift-moons-drop.md Fix double prepended forward slash in certain cases (#7091) 2023-05-15 08:53:34 -04:00
tall-eyes-vanish.md Implement custom client directives (#7074) 2023-05-17 20:51:27 +08:00
young-impalas-boil.md Add files field to packages (#7104) 2023-05-17 16:54:00 +08: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