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

11637 commits

Author SHA1 Message Date
renovate[bot]
9ec242aa67
chore(deps): update tj-actions/changed-files action to v46.0.4 (#13568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 11:21:28 +02:00
renovate[bot]
7d251c1a9a
fix(deps): update all non-major dependencies (#13569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 11:21:07 +02:00
Junseong Park
360cb9199a
fix: update vite to latest version (#13547)
* fix: update vite to latest version

* add changeset

* Update pretty-games-walk.md

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-04-04 13:31:23 +02:00
Florian Lefebvre
2c30b073f7
fix(actions): pr preview label removal (#13557) 2025-04-04 13:01:27 +02:00
ryu
e588527b4c
fix: support for Deno to install npm packages (#13548)
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-04-04 11:42:13 +01:00
Houston (Bot)
9520a23d9d
[ci] release (#13554)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-04 08:53:39 +01:00
Emanuele Stoppa
5af40dc157 [ci] format 2025-04-04 07:48:25 +00:00
Emanuele Stoppa
9cd0fd4326
fix(i18n): incorrect validation (#13552)
* fix(i18n): incorrect validation

* Update packages/astro/src/core/config/schemas/refined.ts

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* Update .changeset/old-animals-shop.md

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

* update tests

* update fixture

* track default value too

* remove validation

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
2025-04-04 08:47:33 +01:00
Michael Stramel
a7aff41681
fix(svg): prevent empty attributes (#13545)
* fix(svg): prevent empty attributes

* create changeset

* bump ultrahtml instead

Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-04-04 08:45:46 +01:00
Florian Lefebvre
3323f5c554
feat: improve rolldown compatibility (#13519)
* feat: improve rolldown compatibility

* chore: remove moduleType

* feat: use object shape

* chore: changeset
2025-04-03 18:15:24 +02:00
Houston (Bot)
90b0ac1fe1
[ci] release (#13540)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-03 11:03:43 +01:00
Matt Kane
c38102469d
chore: better session.load changeset (#13541)
* chore: better session.load changeset

* Apply suggestions from code review

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

---------

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-04-03 10:01:04 +01:00
Sarah Rainsberger
6254d35414
formatting on SVG changeset (#13542)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-04-02 08:42:02 -03:00
Michael Stramel
d7774207b1
Remove non-stable SVG features (#13488)
* Remove non-stable features

* docs: add changeset

* align changeset with unflagging experimental features docs

* Drop SVGComponent type

* Add examples for removals to changeset

* Report changeset as breaking change rather than unflagged

* Apply suggestions from code review

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

* Apply suggestions from code review

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

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-04-02 12:01:56 +01:00
Matt Kane
f5a8b07ac5 [ci] format 2025-04-02 10:32:03 +00:00
Matt Kane
c43bf8cd05
feat: add session.load(id) method (#13539) 2025-04-02 11:30:54 +01:00
Florian Lefebvre
0edd79fb54 [ci] format 2025-04-02 10:14:21 +00:00
Florian Lefebvre
ff257df4e1
feat: move astro config validation after astro:config:setup (#13482)
* feat: move astro config validation after astro:config:setup

* feat: superRefine

* fix: test

* feat: update test

* feat: update test

* fix: test

* feat: feedback

* feat: improve logging

* feat: refactor

* fix: no spread

* feat: split schemas

* chore: changeset

* Update packages/astro/src/core/config/schemas/README.md

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

* Update packages/astro/src/integrations/hooks.ts

* Update packages/astro/src/core/config/schemas/README.md

* Update .changeset/easy-vans-laugh.md

* Update .changeset/easy-vans-laugh.md

* grammar nit in changeset

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>

Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
2025-04-02 11:09:16 +01:00
Yury Michurin
4db2c6804e [ci] format 2025-04-02 10:08:36 +00:00
Yury Michurin
dcb9526c6e
Allow to pass custom fetch for fetching pre-rendered errors (#13403)
* Allow to pass custom fetch for fetching pre-rendered errors

* Add changeset

* Update lockfile

* Update .changeset/big-hats-train.md

* Add JSDoc to the new param

* Commit suggested rephrase

* Change the suffix of the sentence

* Correct the test, it was using proper fetch signature, which is not actually what we need

* Add a more strict type to the error page path

* State explicitly that it's only 404 or 500

* Rephrase the JSdoc

* rename to `prerenderedErrorPageFetch`

* rename to `prerenderedErrorPageFetch`

* Update .changeset/big-hats-train.md

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

* update the changeset

* update tests

* Apply suggestions from code review

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

* Update .changeset/big-hats-train.md

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

---------

Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-04-02 11:07:45 +01:00
Marocco2
2279053954 [ci] format 2025-04-02 10:07:03 +00:00
Marocco2
21e7e8077d
feat: Add eagerness support for prefetch() (#13405)
* Add `eagerness` support for `prefetch()`

* Add changeset

* Update .changeset/poor-squids-like.md

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

* Update poor-squids-like.md

* Update index.ts

* Apply suggestions from code review

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

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-04-02 11:06:04 +01:00
renovate[bot]
b19cba5016
chore(deps): update tj-actions/changed-files action to v46.0.3 (#13497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 11:09:13 +02:00
Houston (Bot)
ddc98eb2ad
[ci] release (#13513)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-31 16:46:15 +01:00
Junseong Park
ff9d69e344
fix: update vite to latest version (#13526)
* fix: update `vite` to latest version

* apply suggestion

Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-03-31 23:18:20 +09:00
Emanuele Stoppa
b8645c18fc [ci] format 2025-03-31 13:07:11 +00:00
Emanuele Stoppa
82cd583286
fix(i18n): return value from preferredLocale (#13524)
* fix(i18n): return value from `preferredLocale`

* revert change

Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-03-31 14:06:15 +01:00
Florian Lefebvre
32499c0acb
chore(tailwind): delete integration (#13511) 2025-03-31 14:48:38 +02:00
renovate[bot]
758523cc04
fix(deps): update all non-major dependencies (#13521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 10:40:59 +01:00
Matt Kane
2f6c0a7514 [ci] format 2025-03-31 09:06:33 +00:00
Matt Kane
a9aafec47a
feat(cloudflare): add KV session storage support (#13514)
* feat(cloudflare): add KV session storage support

* Change code block language to JSONC

* Comments

* Use user-defined binding name

* Use createCodegenDir

* Remove unused import
2025-03-31 10:05:44 +01:00
renovate[bot]
19bd710ad5
fix(deps): update astro client runtimes (#13522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 09:29:32 +01:00
renovate[bot]
a5061d62e9
fix(deps): update astro dependencies (#13498)
* fix(deps): update astro dependencies

* fix types shenanigans

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-03-27 12:43:34 +00:00
Emanuele Stoppa
7185491747 [ci] format 2025-03-27 07:34:07 +00:00
Emanuele Stoppa
06de673375
refactor(actions): use Omit to avoid leaking types to shared context (#13429)
* wip

* fix(actions): avoid mutation of action context

* chore: revert changes

* add changeset

* Update .changeset/calm-beans-roll.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-03-27 07:33:06 +00:00
Houston (Bot)
b33cc17f37
[ci] release (#13504)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-26 10:24:03 +00:00
Florian Lefebvre
3488324f23 [ci] format 2025-03-26 09:39:50 +00:00
Florian Lefebvre
5b14d33f81
fix(astro): dynamically import actions (#13510)
* feat: update test

* feat: dynamic import

* chore: changeset

* Update .changeset/clever-tigers-dig.md
2025-03-26 10:38:50 +01:00
Matt Kane
e4f870b79a [ci] format 2025-03-26 09:04:25 +00:00
Matt Kane
018fbe90f4
fix: cache raw cookie value and decode when getting (#13485)
* fix: cache raw cookie value and decode when getting

* Add test

* Add comment
2025-03-26 09:03:33 +00:00
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