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

4027 commits

Author SHA1 Message Date
Matthew Phillips
780a41f616 Clean sourcemaps from static output (#12749)
* Clean sourcemaps from static output

* Add changeset

* Update test to look at frontend sourcemaps
2024-12-16 16:00:44 -05:00
Matthew Phillips
11c52c0b77 Revert "fix custom assetFileNames issue (#12449)" (#12746)
* Revert "fix custom `assetFileNames` issue (#12449)"

This reverts commit e6b8017239.

This change caused source maps to be left in the client folder, exposing them into the server.

* Add changeset
2024-12-16 15:59:00 -05:00
Houston (Bot)
ba4aac1051
[ci] release (#12648)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-05 15:45:35 +00:00
Emanuele Stoppa
e7d14c374b
fix: checkOrigin headers check (#12632)
* Merge commit from fork

* fix: enforce check origin logic

* address feedback

* --amend
2024-12-05 14:29:31 +00:00
bluwy
839979d24f Allow publishing from this branch with legacy npm tag 2024-12-05 21:59:57 +08:00
Houston (Bot)
6eac6ba733
[ci] release (#12536)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-27 14:21:09 +00:00
Aleksandr Kadykov
65e50eb7b6
Fix JPEG image size determination (#12542) 2024-11-27 13:05:56 +00:00
Emanuele Stoppa
cf0d8b08a0
fix(i18n): render 404.astro when i18n is enabled (#12525)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>


Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
Co-authored-by: bluwy <34116392+bluwy@users.noreply.github.com>
2024-11-26 15:21:06 +00:00
Houston (Bot)
36d8d921db
[ci] release (#12501)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-26 09:03:38 +00:00
Emanuele Stoppa
b140a3f6d8
fix(routing): don't access Request headers (#12498)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2024-11-22 10:26:48 +00:00
Houston (Bot)
3bed8050b9
[ci] release (#12490)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-21 09:47:58 -05:00
Houston (Bot)
b9c05f45b2
[ci] release (#12452)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-21 11:12:37 +00:00
Eldar Kasmamytov
8a46e8074d
Resolve peer dependency problem in the integration packages (SolidJS, Vue, Svelte, React) (#12481)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
Co-authored-by: bluwy <34116392+bluwy@users.noreply.github.com>
2024-11-21 11:12:00 +00:00
Arpan Patel
a23985b021
fix: return correct locale in root 404 and 500 page with i18n (#12365)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-21 09:31:17 +00:00
Emanuele Stoppa
28dd3ce522
fix: server island hydration (#12444) 2024-11-20 15:08:26 +00:00
Matthew Phillips
c3b7e7cfa1
Remove default throw behavior in astro:env (#12480)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-20 11:09:43 +00:00
Emanuele Stoppa
46f6b386b3
fix(build): generated entry (#12477) 2024-11-19 16:12:40 +00:00
Florian Lefebvre
80a9a5299a
fix: content layer glob deletion (#12476) 2024-11-19 16:56:28 +01:00
oliverlynch
25baa4ed0c
Ensure final asset directory exists before writing cached files (#12418)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-11-15 18:25:42 +01:00
Houston (Bot)
8e135b6f03
[ci] release (#12443)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-15 20:59:51 +08:00
Bjorn Lu
bde49f186e
Publish missing file for svelte integration (#12442) 2024-11-15 20:50:01 +08:00
Houston (Bot)
5509117415
[ci] release (#12427)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-15 19:27:27 +08:00
Martin Trapp
453ec6b12f
prevents access to the history state if not set (#12436) 2024-11-15 16:09:05 +08:00
Jacob Jenkins
9fc2ab8cc8
Update to svelte 5 (#12364)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-11-14 23:31:51 +08:00
Arpan Patel
0462219612
Fix script injection during build (#12392)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-11-14 08:33:57 +00:00
Houston (Bot)
3b3bc9b8cd
[ci] release (#12422)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-13 14:21:47 +00:00
Emanuele Stoppa
acac0af534
fix(routing): middleware in dev (#12420) 2024-11-13 13:34:35 +00:00
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