Matthew Phillips
6e29a172f1
Make Astro.url in format: 'preserve' match dev ( #11191 )
...
* Make Astro.url in format: 'preserve' match dev
* Create sweet-trainers-eat.md
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-06 14:03:36 +01:00
liruifengv
58b10a0731
Fix throw AstroUserError
in mdx ( #11192 )
...
* 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-06 12:33:49 +01:00
Sarah Rainsberger
4ad1ce24e1
[ci] format
2024-06-05 13:16:54 +00:00
Sarah Rainsberger
1529428ed8
[docs] format error messages ( #11188 )
2024-06-05 14:15:54 +01:00
Sarah Rainsberger
db71177b2a
[ci] format
2024-06-05 12:43:54 +00:00
Sarah Rainsberger
04b6421f70
[docs] formatting for astro:env ( #11187 )
2024-06-05 09:42:58 -03:00
Emanuele Stoppa
d03160af53
[ci] format
2024-06-05 12:10:54 +00:00
Emanuele Stoppa
35ef53c089
fix: bubble up errors in rewrites ( #11136 )
...
* fix: bubble up errors in rewrites
* docs
* remove commented code
* changesets
* fix string interpolation
2024-06-05 13:09:51 +01:00
Emanuele Stoppa
6bcbd15f86
[ci] format
2024-06-05 12:08:21 +00:00
Emanuele Stoppa
40b0b4d1e4
fix(rewrite): copy body from the request ( #11182 )
...
* fix(rewrite): copy body from the request
* wip
* chore: copy body without using it
* chore: remove new file
2024-06-05 13:07:27 +01:00
Florian Lefebvre
b24838f798
[ci] format
2024-06-05 10:41:15 +00:00
Florian Lefebvre
2668ef9841
feat(astro): experimental astro:env ( #10974 )
...
* 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-05 11:40:17 +01:00
Emanuele Stoppa
803dd8061d
feat(container): provide a virtual module to load renderers ( #11144 )
...
* 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 11:39:42 +01:00
Houston (Bot)
587e75f47e
[ci] release ( #11158 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-05 09:45:03 +02:00
Theo Ephraim
13c001062b
[ci] format
2024-06-05 03:18:44 +00:00
Theo Ephraim
1734c49f51
fix: better isPromise check for proxy objects ( #11178 )
2024-06-05 11:17:49 +08:00
Leo Li
3cfa2ac7e5
Update install-package.ts ( #11183 )
...
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 10:54:05 -04:00
Matthew Phillips
bf013cb3db
[ci] format
2024-06-04 14:53:38 +00:00
Matthew Phillips
ba20c718a4
Retain client scripts in content cache ( #11170 )
...
* Retain client scripts in content cache
* Add test
2024-06-04 10:52:48 -04:00
Erika
ff8004f6a7
fix: guard asset global usage ( #11171 )
...
* fix: guard global usage
* chore: changeset
2024-05-31 09:35:35 -04:00
renovate[bot]
464b0a108e
fix(deps): update all non-major dependencies ( #11151 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-30 17:28:57 +08:00
Scott Nath
6a93b5379a
[ci] format
2024-05-29 20:01:22 +00:00
Scott Nath
cf9b2ff796
🐛 removed deprecated items from lit integration ( #11164 )
...
* 🐛 removed deprecated items from lit integration
* 🚀 update minified
* 🐛 need `Document`
2024-05-29 16:00:31 -04:00
Emanuele Stoppa
369069a173
[ci] format
2024-05-29 11:30:17 +00:00
Emanuele Stoppa
19df89f87c
fix(runtime): check head+content component before throwing an error ( #11141 )
...
* fix(runtime): check head+content component before throwing an error
* add test
2024-05-29 07:29:26 -04:00
Tobias
6b97634396
Changelog: Fix link ( #11163 )
2024-05-28 16:23:17 -04:00
Tobias
fdd4f92a6d
Changelog: Fix typo ( #11162 )
2024-05-28 16:22:53 -04:00
Eric Mika
2d93902f4c
fix(assets): ensure valid mime types in picture component ( #11147 )
...
* 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 14:55:12 -04:00
Houston (Bot)
cdf89a16c8
[ci] release ( #11140 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-27 06:58:19 -04:00
Erika
33902e773a
nit: update Node version in issue template ( #11143 )
2024-05-24 16:17:16 +02:00
Emanuele Stoppa
5af99dc8f1
[ci] format
2024-05-24 13:42:47 +00:00
Emanuele Stoppa
98e0372cfd
feat: pass props to container ( #11138 )
2024-05-24 14:41:56 +01:00
Erika
aaf0635cc0
fix(upgrade): use preferred-pm instead of which-pm-runs ( #11139 )
2024-05-24 14:58:51 +02:00
Houston (Bot)
4c7949d1ae
[ci] release ( #11132 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23 12:05:22 -04:00
Matthew Phillips
4bb926908d
Prevent errors from adapters when i18n domains is not used ( #11129 )
2024-05-23 11:38:07 -04:00
Houston (Bot)
50775925f9
[ci] release ( #11116 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-23 11:06:20 +01:00
Chris Swithinbank
9a0e94b2e6
Let web vitals route handle all requests under that path ( #11120 )
2024-05-23 10:45:03 +02:00
Ben Holmes
9566fa0860
Actions: Allow actions to be called on the server ( #11088 )
...
* 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 12:46:49 -04:00
Sarah Rainsberger
e71348e138
[docs] fix config reference code formatting ( #11119 )
2024-05-22 10:27:15 -03:00
Sarah Rainsberger
7bfe8aaaa1
[ci] format
2024-05-22 13:05:19 +00:00
Sarah Rainsberger
c7386ef2b3
[docs] update heading level in config reference ( #11118 )
2024-05-22 10:04:23 -03:00
Sarah Rainsberger
ae42bf38e3
[ci] format
2024-05-22 12:54:52 +00:00
Sarah Rainsberger
5cb68d8126
[docs] updates security.checkOrigin config reference ( #11117 )
2024-05-22 13:53:58 +01:00
Ben Holmes
7be7b1a757
[ci] format
2024-05-22 12:25:50 +00:00
Ben Holmes
8ca7c731de
Actions: React 19 progressive enhancement support ( #11071 )
...
* 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 13:24:55 +01:00
Jan-Niklas W
3dd57f69e3
[ci] format
2024-05-22 12:15:39 +00:00
Jan-Niklas W
b92de22d28
feat(vue): add support vue devtools options ( #11055 )
...
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>
2024-05-22 14:14:36 +02:00
Ben Holmes
a687a17645
[ci] format
2024-05-22 12:08:02 +00:00
Ben Holmes
29a8650375
Actions: restore api context param ( #11112 )
...
* feat: expose APIContext from the second handler param
* refactor: use second param from test
* chore: changeset
* edit: minor -> patch
* edit: apiContext -> context
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* refactor: apiContext -> context
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* refactor: apiContext -> context
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-05-22 08:06:58 -04:00
Emanuele Stoppa
b15949f8fa
[ci] format
2024-05-22 11:12:30 +00:00