Bjorn Lu
3f4735ee9b
[ci] format
2024-07-17 07:49:14 +00:00
Bjorn Lu
b498461e27
Fix prerendering with unused dynamic chunks ( #11387 )
2024-07-17 15:48:28 +08:00
Chris Swithinbank
cb4e6d09de
Only add framework component formats to Vite’s optimizeDeps
( #11472 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-07-17 15:35:02 +08:00
renovate[bot]
3070691a86
fix(deps): update dependency p-limit to v6 ( #11427 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 15:25:53 +08:00
renovate[bot]
49463c03e5
fix(deps): update dependency preferred-pm to v4 ( #11428 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 15:23:19 +08:00
renovate[bot]
b482f912e0
fix(deps): update dependency which-pm to v3 ( #11429 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 15:23:10 +08:00
renovate[bot]
2113a56933
fix(deps): update all non-major dependencies ( #11426 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-17 14:48:07 +08:00
Ricky Chon
2c437ff99c
[ci] format
2024-07-16 16:51:40 +00:00
Ricky Chon
17e048de0e
fix(astro): do not open new tab when saving config files ( #11456 )
2024-07-16 18:50:51 +02:00
renovate[bot]
db809b5fb0
fix(deps): update dependency boxen to v8 ( #11467 )
2024-07-15 18:22:56 +08:00
Ming-jun Lu
bc2e74de38
fix(audit): remove false positive warnings on elements with tabpanel
role ( #11459 )
...
* fix(audit): add `tabpanel` to `aria_non_interactive_roles`
* fix(audit): allow `tabIndex` on elements with `tabpanel` role
See: d32a27fb64/docs/rules/no-noninteractive-tabindex.md (rule-options)
* chore: add changeset
2024-07-12 13:46:15 +02:00
Ben Holmes
88e2b43305
fix: bad Handler type ( #11448 )
2024-07-10 14:11:39 +02:00
Ben Holmes
619f07db70
Actions: expose utility types ( #11438 )
...
* feat: expose ACTION_ERROR_CODES util
* feat: expose ActionHandler util type
* chore: changeset
2024-07-10 08:02:10 -04:00
Ben
0d6f3563a5
[ci] format
2024-07-10 11:33:46 +00:00
Ben
6ccb30e610
feat: astro:env allow schema keys to include numbers ( #11437 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-07-10 13:32:56 +02:00
Ben Holmes
ea4bc04e94
feat: ActionReturnType
( #11443 )
...
* feat: ActionReturnType util
* feat(test): ActionReturnType
* chore: changeset
2024-07-10 07:05:13 -04:00
Ben Holmes
7dca68ff2e
Fix: Actions accept
type completions ( #11436 )
...
* fix: `accept` type completions
* chore: changeset
* Edit: fix -> fixes astro:actions
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* feat(test): accept types
---------
Co-authored-by: bholmesdev <bholmesdev@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-07-09 16:35:28 -04:00
Ben Holmes
aa73316f20
[ci] format
2024-07-09 19:55:39 +00:00
Ben Holmes
08baf56f32
Actions: expand isInputError
to accept unknown
( #11439 )
...
* feat: allow type `unknown` on `isInputError`
* chore: move ErrorInferenceObject to internal utils
* chore: changeset
* deps: expect-type
* feat: first types test
* chore: add types test to general test command
* refactor: use describe and it for organization
2024-07-09 15:54:49 -04:00
Florian Lefebvre
ea8582f4fc
[ci] format
2024-07-09 17:47:29 +00:00
Florian Lefebvre
0a4b31ffeb
feat: astro:env validateSecrets ( #11337 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-07-09 19:46:37 +02:00
Houston (Bot)
75d118bf7f
[ci] release ( #11409 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-03 18:03:29 -04:00
Matthew Phillips
b9e906f8e7
Revert "Fix attribute rendering for boolean values ( #11369 )" ( #11408 )
...
* Revert "Fix attribute rendering for boolean values (#11369 )"
This reverts commit e6de11f4a9
.
* Add a changeset
2024-07-03 17:44:51 -04:00
Houston (Bot)
571e184d5a
[ci] release ( #11351 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-03 10:10:40 -04:00
Emanuele Stoppa
d958e08576
[ci] format
2024-07-01 13:56:26 +00:00
Emanuele Stoppa
a55ee0268e
fix(rewrite): correctly update the status code during a rewrite ( #11352 )
...
* fix(rewrite): correctly update the status code during a rewrite
* rebase
* remove `.only`
* remove log
2024-07-01 14:55:33 +01:00
Emanuele Stoppa
93993b77cf
fix(i18n): update strategy when defining manually astro i18n middleware ( #11362 )
2024-07-01 14:42:07 +01:00
Ming-jun Lu
3a223b4811
fix(overlay): adjust the color of punctuations ( #11388 )
...
* fix(overlay): adjust the color of punctuations
* chore: add changeset
2024-07-01 10:15:35 +01:00
renovate[bot]
e60aab9a9f
fix(deps): update all non-major dependencies ( #11383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-01 16:32:17 +08:00
Bjorn Lu
e6de11f4a9
Fix attribute rendering for boolean values ( #11369 )
2024-07-01 15:27:34 +08:00
Sarah Rainsberger
9176cf135b
[docs] update compressHTML entry for readability ( #11345 )
2024-06-26 12:39:06 -03:00
Emanuele Stoppa
84be17fdf6
[ci] format
2024-06-26 14:09:28 +00:00
Emanuele Stoppa
98d9ce41f2
fix: check experimental flag when using the rewrite function ( #11349 )
...
* fix: check experimental flag when using the rewrite function
* apply feedback
2024-06-26 15:08:36 +01:00
Houston (Bot)
d7ae91c83c
[ci] release ( #11346 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-26 21:09:08 +08:00
Bjorn Lu
33bdc54729
Fix getPackage resolve path ( #11347 )
2024-06-26 20:57:33 +08:00
Emanuele Stoppa
0df81422a8
fix(container): breakdown files to avoid importing vite
( #11327 )
...
* fix(container): breakdown files to avoid importing `vite`
* chore: update imports inside tests
* restore code
* format
2024-06-26 13:16:07 +01:00
Houston (Bot)
d9e6190a0d
[ci] release ( #11336 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-26 11:29:13 +02:00
Bjorn Lu
f1b78a4960
Remove resolve package and refactor db & studio exports ( #11331 )
2024-06-26 11:19:16 +02:00
Zakher Masri
9752a0b275
[ui] fix margin around devtool tooltip icon in rtl
( #11338 )
2024-06-26 13:52:51 +08:00
Matthew Phillips
8fdbf0e45b
Remove non-fatal errors from telemetry ( #11339 )
2024-06-25 12:34:20 -04:00
Simon He
16af927e14
[ci] format
2024-06-25 13:33:31 +00:00
Simon He
02c37c7b8c
refactor(plugin-content): code refactor ( #11312 )
2024-06-25 21:32:31 +08:00
Florian Lefebvre
86515f445e
[ci] format
2024-06-25 12:52:47 +00:00
Florian Lefebvre
41121fbe00
fix(astro): astro sync and astro:env ( #11326 )
2024-06-25 14:51:55 +02:00
Emanuele Stoppa
4c4741b42d
Revert "bug: removes type override from defineAction" ( #11335 )
...
* Revert "bug: removes type override from defineAction (#11292 )"
This reverts commit 7f8f347995
.
* changeset
2024-06-25 12:31:13 +01:00
Dillon Walsh
6ebc6c85de
[ci] format
2024-06-25 11:18:01 +00:00
Dillon Walsh
e79859129b
Update CompressHTML Whitespace issue #7502 ( #11298 )
2024-06-25 12:17:14 +01:00
Houston (Bot)
ce310f8292
[ci] release ( #11297 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24 12:49:52 -04:00
renovate[bot]
47e78d4752
fix(deps): update all non-major dependencies ( #11318 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-24 22:33:33 +08:00
Emanuele Stoppa
7c59f043b2
[ci] format
2024-06-24 12:22:19 +00:00
Emanuele Stoppa
44c61ddfd8
fix(routing): return correct status code for 500.astro
and 404.astro
( #11308 )
...
* fix(routing): return correct status code for `500.astro` and `404.astro`
* changeset
* fix regression
* use `route` instead
2024-06-24 13:21:27 +01:00
renovate[bot]
edd35d3c69
fix(deps): update dependency sitemap to v8 ( #11321 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 17:40:23 +08:00
renovate[bot]
6b8bcd1c07
fix(deps): update dependency vite-svg-loader to v5 ( #11322 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 17:39:23 +08:00
Matt Kane
55baffe899
[ci] format
2024-06-24 09:13:19 +00:00
Matt Kane
41064cee78
chore: Extract fs helpers into shared internal-helpers package ( #11323 )
2024-06-24 10:12:14 +01:00
Bjorn Lu
ae3b096892
[ci] format
2024-06-21 16:14:12 +00:00
Bjorn Lu
b6afe6a782
Handle encoded image paths in markdown ( #11310 )
2024-06-21 17:13:21 +01:00
Simon He
89b46b8e6e
refactor(plugin-analyzer): code refactor ( #11307 )
...
* refactor(plugin-analyzer): code refactor
* chore: changeset
* chore: update
* chore: update
* chore: update
2024-06-21 14:18:52 +01:00
Martin Trapp
04121f4530
[ci] format
2024-06-21 04:59:06 +00:00
Martin Trapp
0622567326
Fall back to page reload when redirected to a cross origin URL ( #11302 )
...
* fall back to page reload when redirected to a cross origin URL
* Make redirect work with dynamically assigned ports
* undo
2024-06-21 06:58:18 +02:00
Emanuele Stoppa
8ce66f2ef7
fix(rss): correct types for RSSFeedItem
( #11299 )
2024-06-20 22:14:49 +01:00
Florian Lefebvre
dbbd0a22e2
[ci] format
2024-06-20 14:19:27 +00:00
Florian Lefebvre
7f956f0795
feat(underscore-redirects): add support for force ( #11271 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-06-20 16:18:39 +02:00
Florian Lefebvre
5848d97867
fix: astro:env getSecret ( #11296 )
2024-06-20 15:54:54 +02:00
Mark Gaze
e67d7e66a9
[ci] format
2024-06-20 12:31:41 +00:00
Mark Gaze
9056d8dd05
Add a test to ensure that types.d.ts
is valid ( #11277 )
2024-06-20 13:30:43 +01:00
Emanuele Stoppa
dc41ece28f
chore(deps): remove deprecated pkg, preferred-pm
now ships its types ( #11294 )
2024-06-20 13:25:08 +01:00
Houston (Bot)
58a321193e
[ci] release ( #11276 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-20 11:58:37 +01:00
Matt Kane
fd3645fe83
fix: allow cookies to be set in rewritten responses ( #11280 )
...
* fix: allow cookies to be set in rewritten responses
* Merge cookies
* Add support for endpoints and more tests
2024-06-20 11:08:17 +01:00
Jacob Jenkins
7f8f347995
bug: removes type override from defineAction ( #11292 )
...
* bug: removes type override
* add changeset
* Update .changeset/quiet-doors-eat.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-20 08:34:11 +01:00
Luiz Ferraz
42a6eceab6
[ci] format
2024-06-19 15:53:24 +00:00
Luiz Ferraz
5a9c9a60e7
fix(astro): type generation for empty collections ( #11264 )
...
* fix(astro): type generation for empty collections
* Update .changeset/light-bugs-shake.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-19 16:52:34 +01:00
Braden Wiggins
246bd7a516
[ci] format
2024-06-19 15:24:28 +00:00
Braden Wiggins
4b46bd9bdc
feat: add ShikiTransformer
support to the <Code />
component ( #11197 )
...
* feat: add `transformers` prop to `<Code />` component
* chore: changeset
* Update .changeset/fluffy-carrots-search.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* chore: add example
* fix: changelog example typo
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
* fix: change backdrop-filter to filter
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
* Update .changeset/fluffy-carrots-search.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-19 11:23:35 -04:00
Florian Lefebvre
5c56324c43
[ci] format
2024-06-19 14:01:10 +00:00
Florian Lefebvre
9042be0491
feat: 500.astro improvements ( #11134 )
...
* feat: better error handling
* feat: allow passing props to render context render
* feat: work on tests
* Update 500.astro
* feat: test preview custom 500
* feat: test for custom 500 failing
* feat: add changeset
* Update rich-dolls-compete.md
* Delete packages/astro/e2e/custom-500.test.js
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* fix: merge
* Update packages/astro/test/custom-500.test.js
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/astro/src/core/app/index.ts
* feat: update
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2024-06-19 10:00:16 -04:00
Emanuele Stoppa
c44f7f4bab
[ci] format
2024-06-19 13:26:23 +00:00
Emanuele Stoppa
ea987d7da5
fix(rewrite): allow to rewrite 404 and take base
into consideration ( #11272 )
...
* fix(rewrite): allow to rewrite 404
* add changesets
* rebase
* apply suggestion
* Update .changeset/honest-shirts-trade.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-19 14:25:27 +01:00
Matt Kane
bc3c3296bf
[ci] format
2024-06-19 11:43:41 +00:00
Matt Kane
f4b029b082
fix: support HTTP/2 in astro dev
( #11284 )
...
* wip
* chore: add tests
* Add changeset
* Add comments
2024-06-19 12:42:50 +01:00
Matt Kane
cb4d07819f
fix(astro): don't run middlewarein dev for prerendered 404 ( #11273 )
2024-06-18 16:04:59 +01:00
Matt Kane
080156fc65
[ci] format
2024-06-18 13:49:42 +00:00
Matt Kane
9a08d74bc0
fix(astro): prevent ESM imports being passed directly to getImage ( #11279 )
...
* fix(astro): prevent ESM imports being passed directly to getImage
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-18 14:48:50 +01:00
Yufan Sheng
bab700d690
fix(astro): duplicated brackets are generated in data collections. ( #11275 )
...
* fix(astro): duplicated brackets are generated in data collections.
This PR fixed #11274
* Create duplicated-brackets-generation.md
2024-06-17 12:46:57 -04:00
Houston (Bot)
83c565b36c
[ci] release ( #11233 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-17 15:39:57 +02:00
wackbyte
7d59750661
chore: logging cleanup ( #11263 )
2024-06-17 15:05:48 +08:00
Bjorn Lu
6fcc246be4
[ci] format
2024-06-17 06:24:05 +00:00
Bjorn Lu
e22be22e57
Refactor prerendering chunk handling ( #11245 )
2024-06-17 14:23:10 +08:00
renovate[bot]
68f1d0d13e
chore(deps): update all non-major dependencies ( #11269 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 14:18:41 +08:00
renovate[bot]
67d5a73b12
fix(deps): update dependency @vitejs/plugin-vue-jsx to v4 ( #11270 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 14:04:38 +08:00
Joseph Mawa
233fee9c04
Add config object to the remarkToc plugin in the astro config ( #11087 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-15 12:41:13 -03:00
Matthew Phillips
1296cb9b1a
[ci] format
2024-06-14 20:30:45 +00:00
Matthew Phillips
f5f8ed275b
Fix backwards compat with Astro <= 4.9 ( #11261 )
2024-06-14 16:29:53 -04:00
Łukasz Stankiewicz
9b030239cb
Import Database type from correct file ( #11262 )
...
* Import Database type from correct file
* Add changeset
2024-06-14 16:29:21 -04:00
Szymon Chmal
6b541ec468
[ci] format
2024-06-14 20:22:00 +00:00
Szymon Chmal
ba2b14cc28
fix(astro): prerendering issue when path contains underscore ( #11243 )
...
* fix(astro): prerendering issue when path contains underscore
* chore: add missing files
* Update .changeset/honest-ravens-double.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-06-14 16:21:11 -04:00
Matt Kane
ec94bb4a4e
[ci] format
2024-06-14 12:58:11 +00:00
Matt Kane
d996db6f0b
fix: throw error if rewrite is attempted after body is used ( #11258 )
...
* fix: throw error if rewrite is attempted after body is used
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-14 13:57:17 +01:00
Mark Gaze
537e971372
[ci] format
2024-06-14 10:39:09 +00:00
Mark Gaze
de60c69aa0
Fix a performance issue with JSON schema generation ( #11249 )
2024-06-14 11:38:20 +01:00
Jamie Barton
773828a056
[docs] update JSDoc for API Reference links ( #11252 )
2024-06-14 18:12:00 +08:00
Emanuele Stoppa
d4336a5470
[ci] format
2024-06-14 05:53:12 +00:00
Emanuele Stoppa
fd9da98b19
feat: refine container APIs for renderers ( #11251 )
2024-06-14 06:52:17 +01:00
Szymon Chmal
1b42229f51
fix(markdown-remark): mark prism package as an internal dependency ( #11250 )
2024-06-14 12:41:26 +08:00
Emanuele Stoppa
a6df7e877f
[ci] format
2024-06-13 13:05:54 +00:00
Emanuele Stoppa
4385bf7a4d
feat(@astrojs/react): export renderer for easy loading ( #11234 )
...
* wip
* feat(@astrojs/react): export `renderer` for easy loading
* restore change
* chore: address feedback
* revert changes
* revert changes to react integration
* update changeset
2024-06-13 14:05:06 +01:00
Emanuele Stoppa
d07d2f7ac9
fix: better DX for 500.astro in local development ( #11244 )
...
* wip
* catch error in route.ts
* catch error in route.ts
* chore: tidy up error cases
* log the original error
* rebase
* chore: reduce the scope of the 500 handling
* we should not have a default 500
* remove props
* remove unsure function, not needed
* Update packages/astro/src/core/routing/astro-designed-error-pages.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* Update packages/astro/src/core/constants.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* changeset
* relax the assertion
* Update packages/astro/src/vite-plugin-astro-server/route.ts
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* relax the assertion
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-06-13 10:41:01 +01:00
Matt Kane
8036b9a3fc
[ci] format
2024-06-12 12:46:40 +00:00
Matt Kane
39bc3a5e81
fix(astro): handle symlinked content collection directories ( #11236 )
...
* fix(astro): handle symlinked content collection directories
* CHeck content dir exists and is a dir
* Handle symlinks when generating chunk names
* wip windows log
* Use posix paths
* Fix normalisation
* :old-man-yells-at-windows-paths:
* Update .changeset/fifty-clouds-clean.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Changes from review
* Add logging
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-06-12 13:45:47 +01:00
Matt Kane
2851b0aa2e
fix(astro): ignore query params when matching .astro extension ( #11240 )
...
* fix: ignore query params when matching .astro extension
* Changeset
* Add test
2024-06-12 12:44:44 +01:00
Emanuele Stoppa
a8c7ceca43
[ci] format
2024-06-12 10:29:16 +00:00
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