0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-04-07 23:41:43 -05:00
Commit graph

11597 commits

Author SHA1 Message Date
Emanuele Stoppa
a98ae5b8f5
fix: update vite (#13505)
* fix: update vite

* use dedupe
2025-03-25 15:28:05 +00:00
Emanuele Stoppa
70c95958e7 [ci] format 2025-03-24 14:24:38 +00:00
Emanuele Stoppa
fc2dcb8354
fix(app): call renderer when routes don't match (#13483)
* fix(app): call renderer when routes don't match

* chore: pick 404 exactly

* chore: pick route differently

Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-03-24 14:23:37 +00:00
Houston (Bot)
6b9020026f
[ci] release (#13460)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-21 14:27:52 +00:00
Matt Kane
8b5e4dc733
fix: better error handling on Stackblitz (#13484)
* fix: better error handling on Stackblitz

* Remove unused imports
2025-03-21 14:01:57 +00:00
Martin Trapp
e9e9245c7c
Repair server islands to work with client router (#13481)
* rerun server island scripts when used with client router
2025-03-21 13:46:37 +01:00
Matt Kane
12cc4d88f2
fix: generate correct external redirects (#13480) 2025-03-21 10:48:15 +00:00
renovate[bot]
9a0808cf18
fix(deps): update all non-major dependencies (#13440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-21 10:35:17 +00:00
Florian Lefebvre
b67e983052 [ci] format 2025-03-21 10:03:15 +00:00
Florian Lefebvre
9721f4a69f
feat(cloudflare): global env (#13444)
* feat(cloudflare): global env

* fix: test
2025-03-21 11:02:21 +01:00
renovate[bot]
3bc2c094c9
fix(deps): update astro client runtimes (#13474)
* fix(deps): update astro client runtimes

* fix: pin vite-plugin-vue

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-03-21 09:57:20 +01:00
Chris Swithinbank
f49155f5a6
Small change to linking style (#13472)
Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
2025-03-20 14:45:27 +01:00
Chris Swithinbank
020c542479
Add deprecation notice to Tailwind integration README (#13471)
* Add deprecation notice to Tailwind integration README

* Add changeset

* Use `[docs]` link style again

* update link to more direct content

---------

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>

Co-authored-by: anaxite <89195061+anaxite@users.noreply.github.com>
Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Adammatthiesen <30383579+Adammatthiesen@users.noreply.github.com>
Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
2025-03-20 09:27:58 -03:00
Matt Kane
baa6265095 [ci] format 2025-03-20 11:43:53 +00:00
Matt Kane
ecadb6b02e
fix(preact,svelte): empty target container before rendering client:only island (#13470)
* fix(preact,svelte): empty target container before rendering `client:only` island

* Remove log
2025-03-20 11:43:04 +00:00
Emanuele Stoppa
62595a00c6
chore(renovate): group updates (#13466) 2025-03-20 08:39:05 +00:00
Matt Kane
e26938ba94 [ci] format 2025-03-19 13:55:19 +00:00
Matt Kane
d5ad591230
fix: don't attempt to move files after build with base (#13463)
* fix: don't attempt to move files after build with base

* Remove console

* Reword changeset

* Remove unused import
2025-03-19 13:54:21 +00:00
Emanuele Stoppa
53abc9d4c8 [ci] format 2025-03-19 12:30:19 +00:00
Emanuele Stoppa
d80ba2b27d
fix(routing): don't add site to static redirects (#13447)
* fix(routing): don't add site to static redirects

* chore: fix canonical tag

* chore: fix canonical tag

Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-03-19 12:29:29 +00:00
Matt Kane
b3d445f514 [ci] format 2025-03-18 16:58:45 +00:00
Matt Kane
968e713c26
fix: set correct statusText for custom error pages (#13457)
* fix: set correct statusText for custom error pages

* Set conditionally
2025-03-18 16:57:51 +00:00
renovate[bot]
5fe5c4c7e6
chore(deps): update github-actions (#13459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 16:42:32 +00:00
renovate[bot]
64c8d673c3
chore(deps): update github-actions (#13458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 15:43:03 +00:00
Emanuele Stoppa
5339f1780f [ci] format 2025-03-18 15:32:00 +00:00
Emanuele Stoppa
c69bf18a4e
chore: remove deprecated package (#13455) 2025-03-18 15:31:03 +00:00
renovate[bot]
841f5778c6
fix(deps): update dependency miniflare to v4 (#13441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 15:29:24 +00:00
Emanuele Stoppa
f3e1955623
ci: restore workflow (#13456)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-03-18 15:24:30 +00:00
renovate[bot]
e934fa1412
chore(deps): update github-actions (#13454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 14:58:22 +00:00
Emanuele Stoppa
870a34d735
ci: pin actions via digest (#13453)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-03-18 14:30:51 +00:00
Emanuele Stoppa
6fd90d9a3c
chore: fix changelog message due to a previous mistake (#13451) 2025-03-18 14:29:21 +00:00
Houston (Bot)
da71558808
[ci] release (#13449)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-18 13:50:34 +00:00
Emanuele Stoppa
94ada2ab83
chore: changeset should be a patch (#13450) 2025-03-18 13:46:03 +00:00
Emanuele Stoppa
91c95034e0
Revert "[ci] release (#13427)" (#13448)
This reverts commit c64ae01697.
2025-03-18 13:43:11 +00:00
Houston (Bot)
c64ae01697
[ci] release (#13427)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-18 13:40:49 +00:00
Matthew Phillips
9a7dcdec3a [ci] format 2025-03-18 13:03:28 +00:00
Matthew Phillips
9cac9f3142
Handle bad values in x-forwarded-host (#13428)
* Handle bad values in x-forwarded-host

If a bad value is provide by this header, we simply ignore it and
fallback to the host provided by the host header (if there is one).

* Add changeset

* Update packages/astro/src/core/app/node.ts

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-03-18 09:02:32 -04:00
Matt Kane
65f7e09901
chore: add tests for HEAD requests to endpoints (#13239)
* chore: add tests for HEAD requests to endpoints

* Fix test

* chore: run tests on ssr fixture

Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-03-18 10:33:21 +00:00
Emanuele Stoppa
1a9363745e [ci] format 2025-03-18 09:34:59 +00:00
Emanuele Stoppa
8c21663c4a
feat: add new method insertPageRoute to container (#13358)
* feat: add new method `insertPageRoute` to container

* chore: add back the correct use

* Update .changeset/ninety-cups-decide.md

Co-authored-by: Matt Kane <m@mk.gg>

---------

Co-authored-by: Matt Kane <m@mk.gg>

Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-03-18 09:32:24 +00:00
Edward Brunetiere
defad33140
fix: renderToString function not render properly nested slots when they are components (#13432)
* Fix/render to string slots (#1)

* add force HTMLString with local tests

* remove local test & logs

* remove test counter in basic exemple

* re-add test & create SlotString instead of HTMLString

* add test of a nested rendered component inside renderToString slots function

* add changeset on astro package

* Apply suggestions from code review

---------

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

Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-03-18 09:32:07 +00:00
Matt Kane
7783dbf811
fix: race conditions in data store save (#13372)
* fix: race conditions in data store save

* Whitespace change to kick CI

* Flsuh saves to disk

* Remove log
2025-03-18 09:24:38 +00:00
Vardhaman Bhandari
013fa87982
fix(config): handle boolean server.allowedHosts (#13437)
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-03-18 09:07:28 +00:00
Reuben Tier
bcf1923218
Remove action (#13435)
* Remove action

* Delete .github/workflows/check-merge.yml

---------

Co-authored-by: Fred K. Schott <622227+FredKSchott@users.noreply.github.com>
2025-03-15 07:52:58 -07:00
renovate[bot]
0f74b2a590
chore(deps): update dependency rehype-mathjax to v7 (#13260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-14 16:50:18 +00:00
Emanuele Stoppa
ea7433666e
chore(deps): update shiki to v3 (#13324)
* chore(deps): update shiki to v3

* chore(deps): update shiki to v3

* update missing dep

* changeset

Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
2025-03-14 16:36:32 +00:00
Matt Kane
1eab0b25e6 [ci] format 2025-03-14 13:54:21 +00:00
Matt Kane
565583bd6c
fix: respect --yes flag for third-party integrations (#13426) 2025-03-14 13:53:30 +00:00
Tristan Sweeney
51d2a1acba [ci] format 2025-03-14 12:36:43 +00:00
Tristan Sweeney
382f5db9a9
Enable XSL for sitemap-index.xml (#13421) 2025-03-14 12:35:49 +00:00