0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

7566 commits

Author SHA1 Message Date
Houston (Bot)
afd41cc28b
[ci] release (#10265)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-01 10:31:12 +01:00
Erika
a3ebfad0cc [ci] format 2024-03-01 09:24:22 +00:00
Erika
07f89429a1
fix(assets): Solidify Node endpoint (#10284)
* fix(assets): Solidify Node endpoint

* chore: changeset
2024-03-01 10:23:07 +01:00
Satanshu Mishra
df05138ebe [ci] format 2024-03-01 08:33:27 +00:00
Satanshu Mishra
b47dcaa259
fix(node): listen on 0.0.0.0 if server.host is set to true (#10282)
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-03-01 09:32:22 +01:00
Arsh
560a593418 [ci] format 2024-02-29 18:39:09 +00:00
Arsh
e556151603
fix(dev): cosider base when special-casing /_image (#10274)
* fix(dev): cosider `base` when special-casing `/_image`

* add changeset

* adjust tests

* Apply suggestions from code review

* add test
2024-03-01 00:08:01 +05:30
Fred K. Schott
3757a212c0 [ci] format 2024-02-29 05:27:46 +00:00
Fred K. Schott
c2e7b9847e
update login flow to support Brave (#10258) 2024-02-28 21:26:19 -08:00
Fred K. Schott
e86b81a671 [ci] format 2024-02-29 05:26:11 +00:00
Fred K. Schott
2ecead463d
improve link command (#10257) 2024-02-28 21:25:02 -08:00
Martin Trapp
3df811a3bd
Updates deprecated Node.js 16 github actions (#10270) 2024-02-29 12:49:07 +08:00
Bjorn Lu
f192083423
Fix Vitest check fail again (#10266) 2024-02-29 00:59:48 +08:00
Martin Trapp
2af8e9621f [ci] format 2024-02-28 15:53:13 +00:00
Martin Trapp
9bdbed723e
Adds auto completion of astro: events when adding or removing event listeners on document (#10263) 2024-02-28 16:52:08 +01:00
Bjorn Lu
f6fc18cc61
Update Vite to latest (#10259) 2024-02-28 23:20:17 +08:00
Houston (Bot)
e56c428f3b
[ci] release (#10236)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-28 13:17:40 +00:00
Furkan Erdem
e252f5b2f3 [ci] format 2024-02-28 13:09:56 +00:00
Furkan Erdem
57655a99db
fix(i18n): localised index pages are overwritten (#10250)
* fix(i18n): localised index pages are overwritten

* chore: add changeset

* chore: add pnpm lock
2024-02-28 13:08:49 +00:00
Emanuele Stoppa
8ae5d99534
fix: change strategy for route caching (#10248)
* fix: change strategy for route caching

* use route and component as cache key
2024-02-28 11:59:50 +00:00
Ming-jun Lu
9b00de0a76
Fix TypeScript type definitions for Code component (#10251)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-28 10:43:24 +08:00
Martin Trapp
bb644ab99c
chang changeset (#10253) 2024-02-27 17:37:29 +00:00
Martin Trapp
fb773c9161
Removes morph animations when setting transition:animate=none (#10247)
* Removes morph animations when setting transition:animate=none

* Apply suggestions from code review

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-27 22:46:32 +05:30
Emanuele Stoppa
08cdd0919d
chore: import sort astro package (#10245)
* chore: import sort source code, exception for the `astro` package

* fix import sorting bug

* chore: import sorting for the `astro` package
2024-02-27 16:19:34 +00:00
Erika
dbb0d0bd28
Fix Svelte editor tooling not working under relaxed TypeScripts projects (#10244)
* fix(svelte): Add TypeScript as a peer dep

* Update .changeset/gold-baboons-drum.md
2024-02-27 16:25:59 +01:00
Emanuele Stoppa
6bf102aebe [ci] format 2024-02-27 11:16:47 +00:00
Emanuele Stoppa
2dd00a0024
chore: import sort source code, exception for the astro package (#10242)
* chore: import sort source code, exception for the `astro` package

* fix import sorting bug

* Update packages/integrations/lit/server.js

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-27 11:15:27 +00:00
Ming-jun Lu
9c21a9df6b
Improve the message of MiddlewareCantBeLoaded for clarity (#10239)
* Improve the message of `MiddlewareCantBeLoaded` for clarity

* Add changeset
2024-02-27 07:17:51 +00:00
Martin Trapp
03242c6c22 [ci] format 2024-02-26 16:06:09 +00:00
Martin Trapp
ade9759cae
Warn when view transitions run on a prefer-reduced-motion device (#10222)
* Warn when view transitions run on a prefere-reduced-motion device

* ViewTransitions.astro aktualisieren

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

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-26 17:04:57 +01:00
Houston (Bot)
6012163d8f
[ci] release (#10218)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-26 15:33:39 +00:00
James Ross
e64bd0740b
fix: better assetsInlineLimit runtime type checking (#10154)
* fix: string assetsInlineLimit

* fix: better handle NaN values for `assetsInlineLimit`

* chore: prettier

* chore: simplify for requested changes

* chore: update changeset

* chore: remove tests

* chore: simplify function

* Apply suggestions from code review

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 20:12:42 +05:30
Ben Holmes
aa45eb9fa6
fix: correct remote url (#10223)
* fix: get correct url

* chore: changeset

* fix: respect runtime env
2024-02-26 08:44:43 -05:00
Erika
1eadb1c529
fix(toolbar): Make it so every built-in app can be closed by outside clicks (#10220)
* fix(toolbar): Make it so every built-in app can be closed by outside clicks

* chore: changeset

* test: add tests

* test: fix test

* ci: don't run bundle-size on dev-toolba
2024-02-26 13:38:19 +00:00
Ming-jun Lu
ae2a10e1a7
Fix an issue where Vercel adapter may create functions for prerendered routes (#10231)
* fix: fix an issue where Vercel adapter may create functions for prerendered routes

* test: update test cases in `split.test.js`

* chore: add changeset

* refactor: apply suggested changes from code review

* Apply suggestions from code review

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-02-26 18:58:49 +05:30
Matthew Phillips
bc2bf460ea [ci] format 2024-02-26 08:39:20 +00:00
Matthew Phillips
afcb9d3311
Fix hydration scripts missing from dynamic slot usage (#10219) 2024-02-26 08:38:11 +00:00
Matthew Phillips
fd7453bc0d [ci] format 2024-02-26 08:37:43 +00:00
Matthew Phillips
4db82d9c7d
Prevent errors in rendering from crashing server (#10221)
* Prevent errors in rendering from crashing server

* Add changeset

* Make the reject an error

* Simplify

* Update .changeset/breezy-pears-admire.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-26 08:36:43 +00:00
前端子鱼
84502b4190
fix: svelte 5 mount/hydrate api change. (#10224) 2024-02-26 16:10:47 +08:00
Arsh
8d5ea2df5d [ci] format 2024-02-24 11:36:15 +00:00
Arsh
8fb32f390d
prevent warning: Astro.request.headers is not available in "static" output mode (#10196) 2024-02-24 17:05:16 +05:30
Ben Holmes
5d4ff093a2
Improved error logging from config (#10207)
* fix: better error messaging on seed()

* chore: collection -> table for errors

* chore: changeset
2024-02-23 17:01:33 -05:00
Arsh
eb8bffe67a [ci] format 2024-02-23 15:27:44 +00:00
Arsh
6aa660ae7a
fix(dev): remove params for prerendered pages (#10199)
* fix(dev): remove params for prerendered pages

* add test

* add changset

* deduplicate param removal

* format

* adjust tests
2024-02-23 20:56:34 +05:30
Houston (Bot)
3de7b2c7ec
[ci] release (#10213)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-23 09:31:55 -05:00
Matthew Phillips
a013182d32
Fixes edge middleware calling nested routes (#10215) 2024-02-23 09:13:10 -05:00
Martin Trapp
459f74bc71
Adds an error message for non-string transition:name values (#10205) 2024-02-23 09:00:52 -05:00
Furkan Erdem
dddbb09fe0 [ci] format 2024-02-23 13:24:45 +00:00
Furkan Erdem
8cd38f0245
Fix(node): Custom headers are not present in responses from standalone Node server in preview mode (#10208)
* fix(node): add user specified headers to preview server responses

* docs: clarify comment

* style: new line

* test: remove test

* chore: add changeset
2024-02-23 08:23:33 -05:00