* ci: use single action for comments
* Update .github/workflows/benchmark.yml
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* fix(vercel): update getRequest to use undici
* Changeset
* haha ts-expect-error is a double-edged sword
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* fix: don't mix Vite plugins when spawning temporary Vite server
* chore: include command to `createVite` options
* chore: use `command` and exclude `preview`
* chore: add test
* fix(test): remove command check from apply fn
* chore: add hint about filtering vite plugins and command
* chore: apply suggestion
Co-authored-by: Ben Holmes <hey@bholmes.dev>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* fix(endpoints): Add a warning when trying to set encoding and headers in SSR
* fix(endpoint): Oops, it'd be great if it actually worked
* fix(endpoint): Fix import path
* fix(endpoint): Add link to docs
* Update packages/astro/src/core/endpoint/index.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* fix: don't output encoding warning if endpoint is pre-rendered
* Update packages/astro/src/core/endpoint/index.ts
* Update packages/astro/src/core/endpoint/index.ts
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* [Lit] render DSD attributes based on `shadowRootOptions`
## Changes
- Update `@astrojs/lit`’s `server.js` to properly render elements with `delegatesFocus: false` set in their `shadowRootOptions`.
- Logic is based on `@lit-labs/ssr` [latest implementation as found here](b0c3f82ef0/packages/labs/ssr/src/lib/render-value.ts (L738))
## Testing
A test was added to ensure an element with `delegatesFocus` set to true has this attribute properly included in the rendered static markup.
* chore: add changeset
* fix: bump `undici` to v5.20.0
* fix(cookies): Hopefully the last time we mess with undici and cookies
* chore: add @astrojs/telemetry to changeset
---------
Co-authored-by: Princesseuh <princssdev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* fix: too many files opened for collections with many entries
* Update packages/astro/src/content/types-generator.ts
* Update packages/astro/src/content/types-generator.ts
* Update packages/astro/src/content/types-generator.ts
* Update packages/astro/src/content/types-generator.ts
* Update packages/astro/src/content/types-generator.ts
* Update packages/astro/src/content/types-generator.ts
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>