0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

4000 commits

Author SHA1 Message Date
Houston (Bot)
e723e9e8ea
[ci] release (#12403)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-12 19:00:58 -05:00
Ben Holmes
9cca108439
Fix incorrect status code in dev server for action errors (#12401)
* remove default status that swallows response.status

* refactor status compute to be more readable

* changeset
2024-11-08 14:06:19 -05:00
Emanuele Stoppa
823e73b164
fix(actions): better runtime check for invalid usages (#12402) 2024-11-08 15:55:53 +00:00
Florian Lefebvre
f5f71094ec
fix: error overlay message escape (#12305)
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-11-08 16:07:40 +01:00
Houston (Bot)
e10b03e88c
[ci] release (#12369)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-06 22:55:41 +08:00
Bjorn Lu
6fd3d5960f
Add support for Svelte 5 @render syntax (#12390)
Co-authored-by: Jonas Robertsson <jonas.robertsson@icloud.com>
2024-11-06 22:09:22 +08:00
Sujal Gurung
bf2723e831
add checked to htmlBooleanAttributes (#12311)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-06 13:32:05 +00:00
Arpan Patel
c4726d7ba8
fix: show file name with invalid frontmatter errors for MDX (#12355)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-11-06 21:22:38 +08:00
Luiz Ferraz
222f71894c
Fix astro add generated import identifier (#12363) 2024-11-06 14:16:34 +08:00
Bjorn Lu
493fe43cd3
Improve tinyexec errors (#12368) 2024-11-04 22:49:33 +08:00
Houston (Bot)
ec3113d25a
[ci] release (#12345)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-04 15:20:48 +01:00
Paul Welsh
7680349873
fix: honor getViteConfig inlineAstroConfig.logLevel setting (#12358)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-11-04 10:01:09 +00:00
Hippo
35795a1a54
Fix watchfile multiple dev server restart (#12353) 2024-11-04 16:19:54 +08:00
Florian Lefebvre
5751488165
fix: revert #12227 (#12351) 2024-11-01 16:53:15 +01:00
Vladislav Mamon
1fc83d3ba8
fix(assets): fix getImage options type (#12349) 2024-11-01 11:49:55 +01:00
Bjorn Lu
20e5a843c8
Fix prefetch sourcemap generation (#12346) 2024-11-01 16:01:19 +08:00
Matt Callaway
836cd91c37
fix: Destroy the node http server response stream if there was a caught error (#12333) 2024-10-31 13:47:32 +00:00
Houston (Bot)
5f7bf49d38
[ci] release (#12290)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-31 15:56:38 +08:00
liruifengv
ffc836bac0
Fix cli command typo (#12342)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-31 15:51:39 +08:00
situ2001
9ca89b3e13
fix(cli): reset NODE_ENV to ensure install command run in dev mode (#12338) 2024-10-31 11:13:50 +08:00
Emanuele Stoppa
94eaeea1c4
chore: add changeset for #12280 (#12340) 2024-10-30 11:57:23 +00:00
koyopro
5642ef9029
Fix: The problem getViteConfig() duplicates some config (#12312)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-29 12:14:20 +08:00
Arpan Patel
0cfc69d499
fix(actions): pass actionAPIContext to action handler instead of APIContext (#12301)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-28 22:10:18 +08:00
Benjamin MENANT
1d4f6a4989
fix(@astro/mdx): add components property to RenderResult type definition (#12245) 2024-10-25 11:17:23 +01:00
Florian Lefebvre
9d6bcdb88f
fix: astro:env warning (#12286) 2024-10-23 09:44:49 +01:00
Houston (Bot)
d2b399d668
[ci] release (#12258)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-22 13:10:39 +01:00
Junseong Park
b781f8860c
fix: update wrong action error message (#12279)
* fix: update wrong action error message

* add changeset

* Update .changeset/seven-elephants-suffer.md

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-22 10:25:30 +01:00
Luiz Ferraz
e9e8080a81
Add server island route to the front of the route list (#12263)
* Add server island route to the front of the route list

* Add changeset
2024-10-21 12:13:52 -04:00
Matt Kane
388d2375b6
fix: handle base path with images (#12272) 2024-10-21 16:50:30 +01:00
Matt Kane
c2ee963cb6
fix: dynamically load zod-to-ts (#12273) 2024-10-21 15:19:58 +01:00
haivuw
f32a7a8388
fix: astrodb vite plugin throws in vitest and cannot seed database (#11435)
* fix: ASTRO_DATABASE_FILE is undefined in virtual module

* changeset

* handle undefined

* Update .changeset/lemon-beans-admire.md

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* use JSON.stringify

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-10-21 12:07:44 +01:00
Ion Căliman
ff522b96a0
fix: Cannot read properties of null (reading 'Symbol(astro.headAndContent)') (#11839)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-19 11:02:50 +08:00
Emanuele Stoppa
a75bc5e306
fix(routing): actions should redirect the original pathname (#12173) (#12235)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-18 11:09:22 +01:00
Houston (Bot)
d6f17044d3
[ci] release (#12240)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-17 13:58:23 +01:00
Florian Lefebvre
8b1a641be9
fix: do not override process.env (#12227)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-16 15:51:03 +02:00
Emanuele Stoppa
2b6daa5840
fix(container): emit components as partials (#12239)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-16 14:07:59 +01:00
Timon Jurschitsch
a3d30a602a
fix: improve error for inferSize and Image component (#11823)
* fix: improve error for inferSize and Image component

* add changeset

* move isRemovePath check

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-10-16 12:47:37 +02:00
Houston (Bot)
5a4edebfd2
[ci] release (#12234)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-15 19:10:48 +02:00
Ben Holmes
925cff31bc
Improved rss readme (#12157)
* docs: improved rss readme

* chore: changeset

* fix: remove empty title

Co-authored-by: Armand Philippot <git@armand.philippot.eu>

* edit: slash wording

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: installation and use

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: see the guide

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: remove confusing guide link

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: clarify what enclosure is used for

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* edit: remove description vs. content blurb

* new: expand xmlns guide to explain usage

---------

Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-10-15 11:13:09 -04:00
Martin Trapp
ff68ba5e1c
Fixes an issue with cssesc in dev mode when setting vite.ssr.noExternal: true (#12232)
* Fixes an issue with cssesc in dev mode when setting vite.noExternal: true

* Update dirty-bags-double.md
2024-10-15 16:27:05 +02:00
Houston (Bot)
6df5bba870
[ci] release (#12225)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-15 15:37:22 +08:00
Armand Philippot
79ffa5d9f7
fix(dev-toolbar): false positive in Audit with a11y check on labels (#12223)
* fix(dev-toolbar): false positive in Audit with a11y check on labels

* test: add e2e test for a11y audit on labelable elements

* docs: complete changeset to explain why this is a problem
2024-10-14 17:14:23 +01:00
Emanuele Stoppa
fb5569583b
fix(middleware): compute client address (#12222)
* fix(middleware): compute client address

* add unit test
2024-10-14 15:35:24 +01:00
Emanuele Stoppa
c351352360
fix(i18n): correctly compute the current locale (#12199)
* fix(i18n): correctly compute the current locale

* Update packages/astro/test/fixtures/i18n-routing-dynamic/src/pages/[language].astro

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* make code more readable

* rebase

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-14 14:58:33 +01:00
Ming-jun Lu
07754f5873
fix(sitemap): add missing xslURL property to SitemapOptions type (#12156) 2024-10-14 20:45:24 +08:00
Houston (Bot)
a33804110d
[ci] release (#12221)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-14 09:55:46 +01:00
Emanuele Stoppa
2aa2dfd05d
fix: revert regression of port computation (#12197)
* fix: revert regression of port computation

* revert tests failing

* address feedback

* revert logic to how it was before
2024-10-14 09:44:39 +01:00
Bjorn Lu
b0493596dc
Fix setOnSetGetEnv parameter name (#12220)
Co-authored-by: Fugi <Fugiman47@gmail.com>
2024-10-14 15:12:42 +08:00
Houston (Bot)
bbc72a1f31
[ci] release (#12207)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-12 22:15:46 +08:00
Bjorn Lu
12b0022506
Revert #12173 (#12206) 2024-10-12 22:09:12 +08:00