0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
Commit graph

9051 commits

Author SHA1 Message Date
Emanuele Stoppa
2649a73d0c fix merge mistake during resolution 2024-10-17 15:13:00 +01:00
Emanuele Stoppa
58d1d9e000 Merge branch 'main' into next 2024-10-17 15:08:42 +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
Bjorn Lu
c5cd5be36a
Fix test:vite-ci script (#12246) 2024-10-17 08:59:50 +01:00
Florian Lefebvre
0bbf2fb526 [ci] format 2024-10-16 13:53:31 +00: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
Bjorn Lu
7bcae4e3ee
Setup CI for next branch (#12242) 2024-10-16 21:14:51 +08: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)
c929e5d8c8
[ci] release (beta) (#12170)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-15 19:48:59 +02:00
Chris Swithinbank
4ade067cef
Fix lockfile 2024-10-15 19:24:43 +02:00
Chris Swithinbank
157e266141
Merge branch 'main' into next 2024-10-15 19:21:15 +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
67bb22e5a1 [ci] format 2024-10-15 15:14:01 +00: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
Emanuele Stoppa
51d13e2f6c
feat: accept URL for entry points (#12226)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-15 15:07:18 +01:00
bluwy
a393154906 Merge branch 'main' into next 2024-10-15 16:19:58 +08: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
Bjorn Lu
64bb796c0f
Use real filesystem for unit testing (#12172) 2024-10-15 15:34:42 +08:00
Reuben Tier
ce1f53cd84
Remove start comand from templates (next) (#12200) 2024-10-15 14:43:46 +08:00
renovate[bot]
5ab2d980aa
fix(deps): update all non-major dependencies (#12218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-10-15 14:42:58 +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
d6f03e405d [ci] format 2024-10-14 13:59:30 +00: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
59a2fbc213 [ci] format 2024-10-14 08:45:25 +00: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
Houston (Bot)
c73d65d7f7
[ci] release (#12178)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 13:20:32 -04:00
Bjorn Lu
650dd22a7b
Fix VT video test fail in firefox (#12188) 2024-10-12 00:05:35 +08:00
Bjorn Lu
fd367b5341
Remove some examples (#12196) 2024-10-11 22:39:31 +08:00
Emanuele Stoppa
58e22bd042 [ci] format 2024-10-11 13:48:39 +00:00
Emanuele Stoppa
2d10de5f21
fix(routing): actions should redirect the original pathname (#12173)
* fix(routing): actions should redirect the original pathname

* decode header to avoid index out of bounds

* fix e2e test

* Update packages/astro/e2e/actions-blog.test.js

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

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-10-11 14:47:14 +01:00
Matthew Phillips
a4ffbfaa5c
Ensure router only targets scripts for execution (#12177)
* Ensure router only targets scripts for execution

* Add a test

* Move the test up to the file that's testing

* remove extra prop

* just see if tests pass

* use local file

* smaller file

* use getElementsByTagName again
2024-10-11 09:37:06 -04:00
Bjorn Lu
411af55153 [ci] format 2024-10-11 12:49:26 +00:00
Bjorn Lu
2f5b28e938
Use p-queue instead of fastq (#12189) 2024-10-11 20:48:31 +08:00
Takahito Sueda
49c4f64673
Ensure that the generated package.json and tsconfig.json end with a newline. (#12186) 2024-10-11 20:47:46 +08:00
Bjorn Lu
1f93fca1d3
Fix biome lint warning (#12187) 2024-10-11 14:48:11 +08:00
Bjorn Lu
a55ce2977f
Check permissions for workflows (#12181) 2024-10-10 22:35:22 +08:00
Bjorn Lu
9988dd67e2
Improve default template download speed (#12154) 2024-10-10 21:32:49 +08:00
bluwy
9fc86e543a Merge branch 'main' into next 2024-10-10 21:28:25 +08:00
Houston (Bot)
582f12e1f6
[ci] release (#12148)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-10 12:21:19 +01:00
Emanuele Stoppa
15fa9babf3
fix(routing): correct redirects in dev (#12169)
* fix(routing): correct redirects in dev

* simplify code

* address feedback

* move delay inside the function, to keep the comment in one place
2024-10-09 16:24:34 +01:00
Matt Kane
1cd30852a3
fix: don't strip "slug" from content layer data (#12168)
* fix: don't strip "slug" from content layer data

* fix: catch fallback case
2024-10-09 12:42:29 +01:00
Arpan Patel
b9e8e96354
add info about content intellisense (#12164) 2024-10-09 12:36:18 +01:00