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

11540 commits

Author SHA1 Message Date
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
Emanuele Stoppa
f9d776965c
ci: preview release via pkg.pr.new for current packages (#13218)
* ci: preview release via pkg.pr.new for current packages

* suggestions

* move argument at the beginning

Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
2025-02-11 15:55:47 +00:00
Emanuele Stoppa
d354b45f4d
chore: update sponsors link and alt text (#13206)
* chore: update sponsors link and alt text

* Update README.md

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

* Update README.md

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

* Update README.md

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

* chore: use simple image

* chore: one liner

---------

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

Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: delucis <357379+delucis@users.noreply.github.com>
2025-02-11 12:02:50 +00:00
Emanuele Stoppa
3d76decbbc
ci: remove dispatch event workflow (#13216) 2025-02-11 10:53:32 +00:00
Florian Lefebvre
363faf91ae
feat(fonts): add more providers (#13208) 2025-02-11 11:40:37 +01:00
Emanuele Stoppa
9d5660223b
fix(i18n): bypass server island with base (#13205)
* fix(i18n): bypass server island with base

* Update packages/astro/src/core/routing/match.ts

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2025-02-10 16:34:40 +00:00
Florian Lefebvre
c6bc00f992
feat(fonts): rename component (#13207) 2025-02-10 17:30:51 +01:00
Florian Lefebvre
489935904d
Merge branch 'main' into feat/fonts 2025-02-10 16:11:14 +01:00
Emanuele Stoppa
7bc825649b
fix: error message text (#13188) 2025-02-07 15:23:56 +00:00
Emanuele Stoppa
74c0bbeb39
chore: fix linting issues, integration tests (#13187)
* chore: fix linting issues

* chore: update packages and directories

* apply suggestions

Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com>
2025-02-07 14:59:13 +00:00
Florian Lefebvre
338757d776
Merge branch 'main' into feat/fonts 2025-02-07 14:16:52 +01:00
Florian Lefebvre
3c1836040f
feat(fonts): vite plugin (#13093) 2025-02-07 14:16:35 +01:00
Matt Kane
c0be893bcf
chore: fix repo URL (#13185) 2025-02-07 13:00:06 +00:00
Matt Kane
8b223ee624
chore: print snapshot release error output (#13151) 2025-02-07 12:26:39 +00:00
Emanuele Stoppa
00f56d994d [ci] format 2025-02-07 12:00:54 +00:00
Emanuele Stoppa
3607b5b8c1
Merge pull request #13150 from withastro/move-cloudflare
Move cloudflare
2025-02-07 11:59:51 +00:00
Emanuele Stoppa
0063ecb063 chore: fix linting issues 2025-02-07 09:09:37 +00:00
Emanuele Stoppa
9b8042a1ed chore: move cloudflare adapter to core monorepo 2025-02-07 08:59:05 +00:00
Emanuele Stoppa
a7776b8036 Merge branch 'main' of ../../temp/adapters into move-cloudflare 2025-02-07 08:51:04 +00:00
Emanuele Stoppa
2e9c12a1d4 [ci] format 2025-02-07 08:48:46 +00:00
Emanuele Stoppa
efef4136e3
Merge pull request #13147 from withastro/move-vercel
chore: move Vercel adapter to core monorepo
2025-02-07 08:47:40 +00:00
Emanuele Stoppa
64b118ac95 chore: move vercel adapter to code 2025-02-06 15:38:30 +00:00
Emanuele Stoppa
3f3c487b5e Merge branch 'main' of ../../temp/adapters into move-vercel 2025-02-06 15:11:33 +00:00
Emanuele Stoppa
4e7d97fb09 [ci] format 2025-02-06 15:08:28 +00:00
Emanuele Stoppa
db32b913bf
Merge pull request #13146 from withastro/move-netlify
chore: move netlify adapter to core
2025-02-06 15:07:22 +00:00
Emanuele Stoppa
d15d1831e1 chore: reduce severity 2025-02-06 14:46:33 +00:00
Emanuele Stoppa
8d0ab54b0a chore: fix linting 2025-02-06 13:58:44 +00:00
Emanuele Stoppa
ff030999d6 chore: use correct testing suite 2025-02-06 13:33:06 +00:00
Emanuele Stoppa
81a708d430 chore: fix linting issues 2025-02-06 13:30:02 +00:00
Emanuele Stoppa
2000f523d1 chore: fix tests and build 2025-02-06 13:24:08 +00:00
Emanuele Stoppa
64c9a1e23a Merge branch 'main' of ../../temp/adapters into move-netlify 2025-02-06 13:14:31 +00:00
renovate[bot]
bba875a16c [ci] format 2025-02-06 13:11:10 +00:00
Emanuele Stoppa
df7eb74dd3
Merge pull request #13141 from withastro/move-node
chore: move node adapter to core
2025-02-06 13:10:10 +00:00
Emanuele Stoppa
9f54f0ebdb fix: tests and skip few of them 2025-02-06 11:10:07 +00:00
github-actions[bot]
2b3179b7eb [ci] release (#529)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-06 09:05:36 +00:00
Matt Kane
cdc343738d fix: pin @vercel/routing-utils (#528) 2025-02-06 09:03:29 +00:00