summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-06-06[ci] release (#11186)astro@4.10.0@astrojs/vue@4.4.0@astrojs/svelte@5.5.0@astrojs/solid-js@4.3.0@astrojs/react@3.5.0@astrojs/preact@3.4.0@astrojs/mdx@3.1.0@astrojs/lit@4.2.0Gravatar Houston (Bot) 55-270/+410
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-06fix: merge userConfig inside `getViteConfig` (#11194)Gravatar Emanuele Stoppa 3-3/+8
2024-06-06[ci] formatGravatar Matthew Phillips 1-1/+1
2024-06-06Make Astro.url in format: 'preserve' match dev (#11191)Gravatar Matthew Phillips 4-3/+52
* Make Astro.url in format: 'preserve' match dev * Create sweet-trainers-eat.md --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-06Fix throw `AstroUserError` in mdx (#11192)Gravatar liruifengv 2-1/+8
* fix: throw original AstroUserError in mdx * add changeset * Update brave-pots-listen.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-06-05[ci] formatGravatar Sarah Rainsberger 1-1/+1
2024-06-05[docs] format error messages (#11188)Gravatar Sarah Rainsberger 1-3/+3
2024-06-05[ci] formatGravatar Sarah Rainsberger 1-1/+1
2024-06-05[docs] formatting for astro:env (#11187)Gravatar Sarah Rainsberger 1-2/+3
2024-06-05[ci] formatGravatar Emanuele Stoppa 1-2/+6
2024-06-05fix: bubble up errors in rewrites (#11136)Gravatar Emanuele Stoppa 24-167/+360
* fix: bubble up errors in rewrites * docs * remove commented code * changesets * fix string interpolation
2024-06-05[ci] formatGravatar Emanuele Stoppa 2-11/+6
2024-06-05fix(rewrite): copy body from the request (#11182)Gravatar Emanuele Stoppa 5-3/+80
* fix(rewrite): copy body from the request * wip * chore: copy body without using it * chore: remove new file
2024-06-05[ci] formatGravatar Florian Lefebvre 18-60/+54
2024-06-05feat(astro): experimental astro:env (#10974)Gravatar Florian Lefebvre 57-184/+1594
* feat(env): add schema, types and envField (#10805) * feat(env): add validators (#10827) * feat(env): add vite plugin (#10829) * feat(env): client/public variables (#10848) Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * feat(env): server/public variables (#10881) Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * feat(env): server/secret variables (#10954) Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * fix: import * fix: test * feat: work on jsdoc * feat: more jsdoc * chore: remove todo * feat: fix test error and write changeset * feat: update config reference * feat: apply recommendations from review * feat: rework getEnv/setGetEnv * chore: move tests * fix: rename * fix: dev mode * chore: improve error * feat: add overrideProcessEnv helper * fix: make eslint happy * Update .changeset/poor-berries-occur.md Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> * Update .changeset/poor-berries-occur.md Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> * Update .changeset/poor-berries-occur.md Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> * Update .changeset/poor-berries-occur.md Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> * feat: fix build and address reviews * fix: container api * fix: tests * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/@types/astro.ts * chore: update changeset * feat: address reviews * feat: address Ema's reviews * Update .changeset/poor-berries-occur.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-05feat(container): provide a virtual module to load renderers (#11144)Gravatar Emanuele Stoppa 16-59/+233
* feat(container): provide a virtual module to load renderers * address feedback * chore: restore some default to allow to have PHP prototype working * Thread through renderers and manifest * Pass manifest too * update changeset * add diff * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * fix diff * rebase and update lock --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-05[ci] release (#11158)astro@4.9.3@astrojs/lit@4.1.0Gravatar Houston (Bot) 41-105/+92
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-05[ci] formatGravatar Theo Ephraim 1-1/+3
2024-06-05fix: better isPromise check for proxy objects (#11178)Gravatar Theo Ephraim 2-1/+6
2024-06-04Update install-package.ts (#11183)Gravatar Leo Li 2-2/+7
pnpx was removed in pnpm v7 and replaced by pnpm exec and pnpm dlx. pnpm dlx works the same as yarn dlx.
2024-06-04[ci] formatGravatar Matthew Phillips 2-2/+4
2024-06-04Retain client scripts in content cache (#11170)Gravatar Matthew Phillips 3-0/+21
* Retain client scripts in content cache * Add test
2024-05-31fix: guard asset global usage (#11171)Gravatar Erika 2-1/+6
* fix: guard global usage * chore: changeset
2024-05-30fix(deps): update all non-major dependencies (#11151)Gravatar renovate[bot] 98-1233/+1221
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-29[ci] formatGravatar Scott Nath 2-5/+6
2024-05-29:bug: removed deprecated items from lit integration (#11164)Gravatar Scott Nath 3-17/+9
* :bug: removed deprecated items from lit integration * :rocket: update minified * :bug: need `Document`
2024-05-29[ci] formatGravatar Emanuele Stoppa 2-13/+12
2024-05-29fix(runtime): check head+content component before throwing an error (#11141)Gravatar Emanuele Stoppa 3-1/+83
* fix(runtime): check head+content component before throwing an error * add test
2024-05-28Changelog: Fix link (#11163)Gravatar Tobias 1-1/+1
2024-05-28Changelog: Fix typo (#11162)Gravatar Tobias 1-1/+1
2024-05-27fix(assets): ensure valid mime types in picture component (#11147)Gravatar Eric Mika 4-1/+33
* test: Add test for Picture MIME types * fix(assets): Fix MIME type generation in Picture component * chore: changeset * fix: Trust mrmime to handle an undefined lookup argument * fix: Use image.src as fallback argument to mrmime --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-05-27[ci] release (#11140)astro@4.9.2@astrojs/upgrade@0.3.1Gravatar Houston (Bot) 36-83/+88
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-24nit: update Node version in issue template (#11143)Gravatar Erika 1-1/+1
2024-05-24[ci] formatGravatar Emanuele Stoppa 3-15/+19
2024-05-24feat: pass props to container (#11138)Gravatar Emanuele Stoppa 4-4/+76
2024-05-24fix(upgrade): use preferred-pm instead of which-pm-runs (#11139)Gravatar Erika 5-16/+25
2024-05-23[ci] release (#11132)astro@4.9.1Gravatar Houston (Bot) 33-64/+65
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23Prevent errors from adapters when i18n domains is not used (#11129)Gravatar Matthew Phillips 2-1/+6
2024-05-23[ci] release (#11116)astro@4.9.0@astrojs/web-vitals@0.2.1@astrojs/vue@4.3.0@astrojs/react@3.4.0Gravatar Houston (Bot) 48-297/+328
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23Let web vitals route handle all requests under that path (#11120)Gravatar Chris Swithinbank 2-1/+6
2024-05-22Actions: Allow actions to be called on the server (#11088)Gravatar Ben Holmes 12-48/+132
* wip: consume async local storage from `defineAction()` * fix: move async local storage to middleware. It works! * refactor: remove content-type check on JSON. Not needed * chore: remove test * feat: support server action calls * refactor: parse path keys within getAction * feat(test): server-side action call * chore: changeset * fix: reapply context on detected rewrite * feat(test): action from server with rewrite * chore: stray import change * feat(docs): add endpoints to changeset * chore: minor -> patch * fix: move rewrite check to start of middleware * fix: bad getApiContext() import --------- Co-authored-by: bholmesdev <bholmesdev@gmail.com>
2024-05-22[docs] fix config reference code formatting (#11119)Gravatar Sarah Rainsberger 1-2/+2
2024-05-22[ci] formatGravatar Sarah Rainsberger 1-1/+1
2024-05-22[docs] update heading level in config reference (#11118)Gravatar Sarah Rainsberger 1-0/+1
2024-05-22[ci] formatGravatar Sarah Rainsberger 1-1/+1
2024-05-22[docs] updates security.checkOrigin config reference (#11117)Gravatar Sarah Rainsberger 1-1/+2
2024-05-22[ci] formatGravatar Ben Holmes 2-4/+4
2024-05-22Actions: React 19 progressive enhancement support (#11071)Gravatar Ben Holmes 34-4/+1211
* deps: react 19 * feat: react progressive enhancement with useActionState * refactor: revert old action state implementation * feat(test): react 19 action with useFormStatus * fix: remove unused context arg * fix: wrote actions to wrong test fixture! * deps: revert react 19 beta to 18 for actions-blog fixture * chore: remove unused overrides * chore: remove unused actions export * chore: spaces vs tabs ugh * chore: fix conflicting fixture names * chore: changeset * chore: bump changeset to minor * Actions: support React 19 `useActionState()` with progressive enhancement (#11074) * feat(ex): Like with useActionState * feat: useActionState progressive enhancement! * feat: getActionState utility * chore: revert actions-blog fixture experimentation * fix: add back actions.ts export * feat(test): Like with use action state test * fix: stub form state client-side to avoid hydration error * fix: bad .safe chaining * fix: update actionState for client call * fix: correctly resume form state client side * refactor: unify and document reactServerActionResult * feat(test): useActionState assertions * feat(docs): explain my mess * refactor: add experimental_ prefix * refactor: move all react internals to integration * chore: remove unused getIslandProps * chore: remove unused imports * chore: undo format changes * refactor: get actionResult from middleware directly * refactor: remove bad result type * fix: like button disabled timeout * chore: changeset * refactor: remove request cloning * Update .changeset/gentle-windows-enjoy.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * changeset grammar tense --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-05-22[ci] formatGravatar Jan-Niklas W 1-4/+4
2024-05-22feat(vue): add support vue devtools options (#11055)Gravatar Jan-Niklas W 4-30/+47
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Jan-Niklas Wortmann <jan-niklas.wortmann@jetbrains.com> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>