0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00
Commit graph

11465 commits

Author SHA1 Message Date
Houston (Bot)
4cb33770d3
[ci] release (#13244)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-24 14:49:05 +01:00
Florian Lefebvre
467e88e487
fix: examples script for release (#13305) 2025-02-24 14:47:13 +01:00
Emanuele Stoppa
6efd57d174
fix: update deps of adapters (#13304) 2025-02-24 13:23:56 +00:00
Bjorn Lu
2e1321e9d5
Replace globby/fast-glob/tiny-glob with tinyglobby (#13299)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>


Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-02-24 12:50:08 +00:00
chaegumi
baf0c405dd [ci] format 2025-02-24 12:02:11 +00:00
chaegumi
ea790542e1
feat: fix the use of vite.base in Astro Dev Server (#13003)
* feat: Dev mode supports reverse proxy of nginx subdirectories

* feat: type define

* feat: type define update

* feat: type define update

* feat: base use update

* feat: check obj value

* feat: change patch

* feat: fix test

* feat: update type and update changeset

* feat: add test

* feat: rewrite test

* feat: update config

* feat: update use pipeline.manifest

* feat: update viteBase type and default value

* chore: update package

* chore: install package

* chore: install package

* chore finish refactor

* Update changeset

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Matt Kane <m@mk.gg>
2025-02-24 12:01:14 +00:00
Emanuele Stoppa
b505c6115c
chore: update label name for preview releases (#13302) 2025-02-24 10:28:04 +00:00
ADTC
6012e061cd
Modify the template README file to reflect the correct package manager (#13257) 2025-02-24 09:44:56 +00:00
Emanuele Stoppa
8810696ade
ci: remove colon from label (#13292) 2025-02-21 15:29:48 +00:00
Emanuele Stoppa
e2bfd7756c
ci: improve label check (#13291) 2025-02-21 15:21:41 +00:00
Luiz Ferraz
b47378b0fc
ci: Automatically remove preview label on trigger (#13289)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
2025-02-21 15:16:40 +00:00
Emanuele Stoppa
67276c43d3
ci: remove old preview release workflows (#13288)
Co-authored-by: Fryuni <11063910+Fryuni@users.noreply.github.com>
2025-02-21 15:12:21 +00:00
Emanuele Stoppa
e5ea5a9c00
ci: use pnpm dlx (#13286) 2025-02-21 09:52:14 +00:00
Lee Arnold
c6bf6b3b21
fix: update node image.endpoint config structure (#13190)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>


Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-21 09:46:52 +00:00
Eric Kwoka
065157cac7
feat(cloudflare): Includes onerror passthrough (#13201)
*  Includes onerror passthrough param

* 📦 Includes Changeset
2025-02-21 07:40:27 +00:00
Josh Kennedy
7cb7189698 [ci] format 2025-02-20 13:38:47 +00:00
Josh Kennedy
32fafeb874
FIX: Ensures that rewrite url contains base path (#13233)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-02-20 13:37:51 +00:00
Emanuele Stoppa
c5755e149f
chore: use workspace Node.js adapter (#13267) 2025-02-20 12:09:22 +00:00
Florian Lefebvre
3842ce5ec9
fix(vue): compiler fallback (#13251)
* fix(vue): compiler fallback

* Update index.ts
2025-02-14 16:24:52 +01:00
Emanuele Stoppa
1c941ee2ad
ci: remove events to avoid non-wanted triggers (#13252) 2025-02-14 14:58:59 +00:00
Emanuele Stoppa
c60d4a70f6
ci: remove template, add more info (#13248) 2025-02-14 11:06:16 +00:00
Emanuele Stoppa
55b1f714e5
ci: restore --pnpm (#13247) 2025-02-14 11:02:08 +00:00
Emanuele Stoppa
4cb5e17fe0
ci: remove --pnpm (#13246) 2025-02-14 10:57:25 +00:00
Houston (Bot)
d8e3c65f8d [ci] format 2025-02-13 14:25:27 +00:00
Houston (Bot)
adb58f9e71
[ci] release (#13230)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-13 14:18:26 +00:00
Emanuele Stoppa
5c6d58a98c
test: update test assertion after test rename (#13242) 2025-02-13 14:16:24 +00:00
Emanuele Stoppa
54d36c9534
docs: remove kind heading (#13243) 2025-02-13 14:09:23 +00:00
Emanuele Stoppa
723c843971
chore: move session to top-level config option (#13241)
* chore: add heading for session

* move session to top-level config option

---------

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-02-13 14:04:38 +00:00
Emanuele Stoppa
d79ee8cc27 [ci] format 2025-02-13 13:39:09 +00:00
Emanuele Stoppa
ee6d2ccba0
chore: reword error message (#13240)
* chore: reword error message

* chore: rename

* Update packages/astro/src/core/errors/errors-data.ts

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

* fix: code

* Update packages/astro/src/core/errors/errors-data.ts

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

* chore: better naming

---------

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-02-13 13:38:08 +00:00
Cornelius Roemer
94b91a4854 [ci] format 2025-02-13 12:06:21 +00:00
Cornelius Roemer
2ed67d5dc5
fix: respond with 200 to HEAD requests for non-prerendered pages as well (#13101)
* fix: respond with 200 to HEAD requests for non-prerendered pages as well

Fixes #13079

Inspired by @joshmkennedy's PR #13100

* chore: add more test cases

* Update .changeset/tricky-toes-drum.md

* chore: remove trace method

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-02-13 12:05:27 +00:00
Vitalii Rybachenko
f392bef0cf [ci] format 2025-02-13 11:23:13 +00:00
Vitalii Rybachenko
344e9bc480
fix: default head requests for endpoints when no explicit head method… (#13210)
* fix: default head requests for endpoints when no explicit head method implemented

* Update changeset for astro to minor

* Update changeset for default HEAD requests

* Update .changeset/afraid-turkeys-kneel.md

Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>

---------

Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
2025-02-13 11:22:19 +00:00
Matt Kane
8d4e566f54
feat: add support for automatic session driver config (#13145)
* feat: add support for automatic session driver config

* chore: fix error logic

* Lint test

* Add node support

* Add node test fixture

* Lock

* Add Netlify support

* Use workspace Astro version

* Format

* Changeset

* Add tests

* Add dep for tests

* chore: fix repo URL

* temp log

* Fix module resoltuion

* [skip ci] Update changeset

* chore: bump peer dependencies

* Changes from review

* Changeset changes from review

* Apply suggestions from code review

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

* More changeset detail

* Lock

---------

Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-02-12 14:57:03 +00:00
Matthew Lymer
3b669555d7
fix(astro): Improve ssr performance (astro#11454) (#13195)
* Add alternate rendering paths to avoid use of Promise

* Add run commands

* Remove promise from synchronous components

* Create makefile and update loadtest

* Rename functions, fix implementation of renderArray

* More performance updates

* Minor code cleanup

* incremental

* Add initial rendering tests

* WIP - bad tests

* Fix tests

* Make the tests good, even

* Add more tests

* Finish tests

* Add test to ensure rendering order

* Finalize pr

* Remove code not intended for PR

* Add changeset

* Revert change to minimal example

* Fix linting and formatting errors

* Address code review comments

* Fix mishandling of uncaught synchronous renders

* Update .changeset/shaggy-deers-destroy.md

---------

Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-02-12 14:10:41 +00:00
Dani Fernández
150c001e77 [ci] format 2025-02-12 14:09:34 +00:00
Dani Fernández
1b5037bd77
Update netlify adapter to integrate includeFiles and excludeFiles options (#13194)
* feat: integrated includeFiles and excludeFiles on netlify adapter

* feat: added netlify include and exclude files tests

* feat: changelogs added

* fix: avoid problems with glob file url on windows

* feat: improved JS Docs to include examples and important information

* feat: removed non necessary root path as glob is already absolute

* Apply suggestions from code review

* Update packages/integrations/netlify/src/index.ts

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

* Update .changeset/ninety-clouds-judge.md

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

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2025-02-12 14:08:38 +00:00
Emanuele Stoppa
b019150dc2
ci: publish script in one line (#13228) 2025-02-12 13:04:51 +00:00
Emanuele Stoppa
ce92b62201
ci: add missing checkout step (#13227) 2025-02-12 12:57:18 +00:00
Emanuele Stoppa
af12ac0dbc
ci: hardcode packages to publish of release (#13226) 2025-02-12 12:52:03 +00:00
Houston (Bot)
ea9868d7fd
[ci] release (#13189)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-12 12:14:03 +00:00
Josh Kennedy
6bac644241
Fix:changes the paginate function to allow readonly array types (#13213)
* changes the paginate function to allow readonly array types

* Update paginate function to accept readonly arrays

---------

Co-authored-by: Matt Kane <m@mk.gg>
2025-02-12 11:44:43 +00:00
Matt Kane
8e5b89c5eb
chore: unpin vercel routing lib (#13224)
* chore: unpin vercel routing lib

* Lock

* Changeset
2025-02-12 11:42:36 +00:00
Josh Kennedy
bda8c2a5f6 [ci] format 2025-02-12 11:15:34 +00:00
Josh Kennedy
fb3884074f
Fix: Adds clarity around output setting log statement (#13212)
* log to clarify buildOutput and output build command

* adds changelog

* labels log statement of what it is internally

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

* fix log

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2025-02-12 11:14:44 +00:00
Matt Kane
9b65e1b359 [ci] format 2025-02-12 10:35:26 +00:00
Matt Kane
23094a1f48
fix: use shared helper for file extensions (#13223)
* fix: use shared helper for file extensions

* Lock
2025-02-12 10:34:32 +00:00
Emanuele Stoppa
7d94b49870
ci: trick changesets to use the correct ref (#13220)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-02-11 16:10:37 +00:00
Emanuele Stoppa
8d68ac4b5c ci: remove incorrect permission 2025-02-11 15:58:40 +00:00