Emanuele Stoppa
e4fc2a0baf
fix: provide a plugin to resolve the virtual module ( #11242 )
2024-06-12 11:28:26 +01:00
Florian Lefebvre
769f11f23f
[ci] format
2024-06-11 18:18:03 +00:00
Florian Lefebvre
94ac7efd70
feat(astro): address astro env rfc feedback ( #11213 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-11 20:17:16 +02:00
Florian Lefebvre
02e561723f
feat: upgrade pnpm ( #11146 )
2024-06-11 15:49:03 +02:00
Matthew Phillips
ebe01c7aff
[ci] format
2024-06-11 13:33:05 +00:00
Matthew Phillips
24ce8983e1
In Vercel Edge, include cookies set by Astro.cookies.set ( #11227 )
2024-06-11 09:32:17 -04:00
Houston (Bot)
dd0145d28b
[ci] release ( #11225 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-11 13:15:27 +01:00
Emanuele Stoppa
c5152dbea3
[ci] format
2024-06-11 12:00:00 +00:00
Emanuele Stoppa
7d9aac376c
fix(rewrite): purge old data when rewriting ( #11207 )
...
* fix(rewrite): purge old data when rewriting
* remove logs
* Update .changeset/fuzzy-eggs-kneel.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-11 12:58:59 +01:00
Emanuele Stoppa
bd849a4f62
[ci] format
2024-06-11 11:05:57 +00:00
Emanuele Stoppa
58d7dbb5e0
fix: regression for getViteConfig ( #11231 )
...
* fix: regression for getViteConfig
* address feedback
2024-06-11 12:05:07 +01:00
renovate[bot]
8725cb2f90
fix(deps): update all non-major dependencies ( #11222 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 08:59:21 +01:00
Matt Kane
72a3dd31e9
[ci] format
2024-06-10 19:58:24 +00:00
Matt Kane
1e293a1b81
fix(astro): always return cloned content collection ( #11228 )
...
* fix: always return cloned content collection
* Update .changeset/early-melons-thank.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-10 20:57:07 +01:00
Matthew Phillips
28ee6e7f85
[ci] format
2024-06-10 17:39:18 +00:00
Matthew Phillips
66fc0283d3
Close iterator after rendering is complete and no more chunks remain ( #11210 )
...
* Close iterator after rendering is complete and no more chunks remain
* Wait for the first whole render before resolving
2024-06-10 13:38:25 -04:00
Oliver Speir
2e6d0d91a0
[ci] format
2024-06-10 15:54:26 +00:00
Oliver Speir
29463dff52
Export type Database from db/runtime ( #11216 )
...
* import and export in index.ts
* remove import and export from virtual.ts
* add changset
* Update .changeset/warm-pets-tap.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-06-10 16:53:38 +01:00
Florian Lefebvre
2bdca27ff4
feat: add support for astro:env to node and vercel ( #11199 )
2024-06-10 16:43:48 +02:00
Florian Lefebvre
0a6ab6f562
feat(astro): improved validators ( #11195 )
2024-06-10 13:40:56 +02:00
Ryan Govostes
3305eff3c2
Minor cleanup in the content types generator ( #11218 )
2024-06-10 12:16:22 +01:00
Emanuele Stoppa
cc432418ce
ci: fix regression in errors data ( #11226 )
2024-06-10 11:48:04 +01:00
Frank
069a57e698
[ci] format
2024-06-10 10:20:10 +00:00
Frank
7327c6acb1
Fix leading slash creating incorrect conflict resolution between pages generated from static routes and rest parameters ( #10607 )
...
* test: added test-case failing like https://github.com/withastro/astro/issues/9103
* fix: replace leading `//` with `/` for generated static paths
* fix: use stringifyParams()-function, removed JSON.stringify on string
* test: align "/test/ing/"-title to other titles
* ci: added changeset
* test: updated test-name to more closely reflect the issue being tested
* test: added test-case for dynamic route-param with leading slash
* Update .changeset/tender-apples-lie.md
---------
Co-authored-by: Frank <62514408+frank371ba@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-06-10 11:19:17 +01:00
Szymon Chmal
416c4ac66d
fix(@astrojs/partytown): prevent crashes when View Transitions are enabled ( #11083 )
...
* fix: recover IFrame of Partytown on View Transition
* chore: add changeset entry
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-06-10 11:16:59 +01:00
Emanuele Stoppa
ad41e1c800
[ci] format
2024-06-10 10:15:55 +00:00
Emanuele Stoppa
75a8fe7e72
fix(i18n): improve error message ( #11189 )
...
* fix(i18n): improve error message
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/errors/errors-data.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-10 11:15:06 +01:00
Matthew Phillips
97724da93e
Let middleware handle the original request URL ( #11211 )
...
* Let middleware handle the original request URL
* Add a changeset
2024-06-10 10:58:44 +01:00
Houston (Bot)
2da877bfe9
[ci] release ( #11201 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-08 11:28:34 +02:00
Florian Lefebvre
734b98fecf
feat(astro): update astro env setup ( #11206 )
...
* feat(astro): update astro env setup
* Update silly-beds-hammer.md
2024-06-07 13:38:11 +01:00
Nin3
8c4539145f
fix(astro:) config reference typo ( #11205 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-07 12:52:59 +02:00
Dawid Kobierski
d0248bc083
fix(node): add missing error logging ( #11202 )
2024-06-07 10:26:16 +01:00
Florian Lefebvre
368e4ced10
[ci] format
2024-06-06 20:20:35 +00:00
Florian Lefebvre
8b9a499d37
fix(astro): getSecret in dev and build ( #11198 )
...
Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
2024-06-06 22:19:44 +02:00
Houston (Bot)
48d53094cd
[ci] release ( #11186 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-06 11:02:22 -04:00
Emanuele Stoppa
97fbe938a9
fix: merge userConfig inside getViteConfig
( #11194 )
2024-06-06 14:22:57 +01:00
Matthew Phillips
a64428d11b
[ci] format
2024-06-06 13:04:32 +00:00
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