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

6999 commits

Author SHA1 Message Date
Arsh
5b4e41a86f
chore(ci): remove integrations from docs smoke test (#9498) 2023-12-22 04:35:01 +05:30
Sarah Rainsberger
36bedf1a5f [ci] format 2023-12-21 20:36:15 +00:00
Sarah Rainsberger
1baf0b0d3c
[docs] minimal integration READMEs (#9479)
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
Co-authored-by: Elian <15145918+ElianCodes@users.noreply.github.com>
Co-authored-by: Alexander Niebuhr <45965090+alexanderniebuhr@users.noreply.github.com>
2023-12-21 16:35:11 -04:00
Arsh
f9c4bbf200 [ci] format 2023-12-20 21:15:00 +00:00
Arsh
dfef925e1f
chore: improve type fidelity for internal error class (#9478)
* chore: improve type fidelity for internal error class

* add changeset

* simplify

* fix: adjust for new error

---------

Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2023-12-21 02:43:50 +05:30
Nate Moore
60dc8da71b [ci] format 2023-12-20 19:00:58 +00:00
Nate Moore
72b26daf69
Skip check for known Qwik components (#9482) 2023-12-20 12:59:49 -06:00
Houston (Bot)
97342d218e
[ci] release (#9457)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-20 17:39:13 +00:00
Emanuele Stoppa
19169db1f1
chore: smoother logging when building pages (#9487)
* chore: smoother logging when building pages

* chore: improve logging during the build

* fix: put `newLine` top `LogMessage`

* Update .changeset/popular-meals-yell.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-12-20 16:48:06 +00:00
Erika
c384f6924e
fix(a11y): Fix some audit false positives (#9483)
* fix(a11y): Fix some audit false positives

* chore: changeset

* Update packages/astro/src/runtime/client/dev-overlay/plugins/audit/a11y.ts

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

* fix: apply feedback

* nit: add comment

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-12-20 10:25:41 -05:00
Martin Trapp
f6714f677c
view transition's form handling honors default prevention (#9486)
* add missing check to honor prevented default

* added changeset

* Update .changeset/fresh-games-confess.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-12-20 14:44:48 +01:00
Ken Powers
5062d27a18
Respect forms with enctype set for view transitions (#9466)
* Respect forms with enctype set for view transitions

* Add changeset

* Revert "Respect forms with enctype set for view transitions"

This reverts commit 6d3e04a959.

* Review feedback

* Handle submitter case

* Move comment

* Update .changeset/rude-geckos-rush.md

* Add tests

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-20 13:37:48 +01:00
Florian Lefebvre
1f3d72b8d3 [ci] format 2023-12-20 11:55:33 +00:00
Florian Lefebvre
e83b5095f1
chore: upgrade vite to latest (close #9443) (#9452)
* chore: upgrade vite to latest

* chore: add changeset

* fix: enforce type

* fix: postcss

* chore: log messages

* fix: take vite re-optimizing message into account

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-12-20 11:54:25 +00:00
Emanuele Stoppa
7ae4928f30
fix: remove the manifest file from the dist/ folder (#9475) 2023-12-19 21:56:46 +00:00
Luiz Ferraz
69e78822e5 [ci] format 2023-12-19 20:00:19 +00:00
Luiz Ferraz
faf6c7e110
Fix transitions with non-recommended headers (#9464)
* Reproduce edge case in test

* Fix edge case

* Add changeset

* Update .changeset/khaki-ducks-give.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-19 20:59:13 +01:00
Tom MacWright
f515b1421a
Descriptive image error (#9352)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2023-12-19 11:14:58 -05:00
Dawid Kobierski
354a62c86e
fix: handle external hoisted scripts correctly (#9437) 2023-12-19 14:09:06 +00:00
Arsh
c32e6072ee [ci] format 2023-12-19 14:00:04 +00:00
Arsh
5ae6578822
fix(redirects): handle non-verbatim targets (#9089)
* add tests

* implement fix

* add changeset

* `for const in` -> `for const of`

* reskip: external redirects are still not ignored
2023-12-19 13:59:00 +00:00
Emanuele Stoppa
25e6670913
chore: fix error message (#9477) 2023-12-19 13:29:04 +00:00
Alex Nguyen
6bf470cfb8
Fix typo in @astrojs/node README (#9471) 2023-12-19 08:28:43 +00:00
Emanuele Stoppa
fa3078ce9f
fix: handle middleware loading error (#9458)
* fix: handle middleware loading error

* remove the try/catch

* rethrow error

* Update packages/astro/src/core/middleware/loadMiddleware.ts

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-12-19 08:28:04 +00:00
Simon Knott
429be8cc3e
fix: update netlify import (#9461)
* fix: update netlify import

* fix: update one comment
2023-12-18 21:41:01 +00:00
Erika
047d285be1
fix(assets): Prevent concurrency from being set to 0 (#9460) 2023-12-18 12:49:54 -05:00
Ken Powers
76b4e55894 [ci] format 2023-12-18 13:42:49 +00:00
Ken Powers
7eb9fe8a71
Fix Preact Forwarded Ref components not working in astro files when React integration is enabled (#9403)
* Fix Preact Forwarded Ref components not working in astro files when React integration is enabled

* Handle undefined $$typeof

* Add changeset

* Use Symbol.for

* 

* Update .changeset/breezy-hairs-yell.md

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-18 13:41:44 +00:00
Bjorn Lu
1e984389ba
Fix import dev toolbar apps on windows (#9400) 2023-12-18 13:41:11 +00:00
msdlisper
1d33bcce61
fix: error in ssr demo when init (#9455) 2023-12-18 13:28:10 +00:00
Houston (Bot)
8a0def2b6c
[ci] release (#9432)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-15 15:26:00 -06:00
Nate Moore
f963d07f22
Upgrade compiler (#9445) 2023-12-15 14:53:32 -06:00
Erika
017f981304
refactor(assets): Move things around to avoid importing image service unnecessarily (#9409) 2023-12-15 12:25:27 -05:00
Alex Nguyen
3cf7fe4bd7 [ci] format 2023-12-15 17:24:51 +00:00
Alex Nguyen
c01cc4e340
Fixes warning for external URL redirects (#9426)
* Update warning for external URL redirects to use destination address

* Update .changeset/gentle-chefs-glow.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2023-12-15 17:23:50 +00:00
Oscar Lee-Vermeren
35e4c17fe2
feat: make Houston festive for the holiday season (#9358)
* feat: make Houston festive for the holiday season

* fix: change changeset to minor
2023-12-15 17:22:33 +00:00
Bjorn Lu
41b05b54d4 [ci] format 2023-12-15 17:21:03 +00:00
Bjorn Lu
a5db8d2ad0
Simplify vue appEntrypoint handling (#9362)
* Simplify vue appEntrypoint handling

* Try fix windows

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-12-15 17:19:43 +00:00
Arsh
667539be5a [ci] format 2023-12-15 17:16:14 +00:00
Arsh
6d2d0e279d
fix(error pages): account for trailingSlash (#9126)
* account for trailingSlash

* add changeset

* add tests

* update lock file
2023-12-15 17:15:04 +00:00
Emanuele Stoppa
c01580a2cd
fix: improve error message when a middleware doesn't return a Response (#9434)
* fix: improve error message when a middleware doesn't return a `Response`

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* fix typo

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-15 09:22:22 +00:00
Emanuele Stoppa
fcc2fd5b0f
fix: merge headers from the original response in error pages (#9433)
* fix: merge headers from the original response in error pages

* revert local change

* change test ordering

* apply feedback
2023-12-14 17:41:06 +00:00
Matthew Phillips
745294de94 [ci] format 2023-12-14 15:21:57 +00:00
Matthew Phillips
151bd429b1
Prevent Partytown from hijacking history API (#9419)
* Partytown overrides these methods to... do things, but it breaks ViewTransitions in Firefox.

* Only redefine pushstate/replacestate in the browser
2023-12-14 10:20:56 -05:00
Houston (Bot)
242fd71a6a
[ci] release (#9406)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-14 09:01:03 -05:00
Matthew Phillips
d2340058aa [ci] format 2023-12-14 13:40:07 +00:00
Matthew Phillips
e1a5a2d36a
Handle unhandledrejections in the dev server (#9424)
* Handle unhandledrejections in the dev server

* Adding changeset

* Update .changeset/curvy-lobsters-crash.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Use AsyncLocalStorage

* Return errorWithMetadata

* Send the error to the browser

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-12-14 08:39:06 -05:00
Jacob Parker
8c9fe0092a
Fix static build when out dir is not within the cwd (#9378)
* Fix static build when out dir is not within the cwd

* Create lorem-ipsum-dolor

Changeset
2023-12-13 10:17:10 -05:00
Matthew Phillips
f8b27b07c0 [ci] format 2023-12-13 14:25:55 +00:00
Matthew Phillips
bda1d294f2
Error when getImage() is passed an undefined src (#9423) 2023-12-13 09:24:46 -05:00