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

7118 commits

Author SHA1 Message Date
Nate Moore
ff3f9a538a
Update check-merge action (#9682) 2024-01-12 11:38:07 -06:00
Emanuele Stoppa
091097e60e
fix(i18n): emit an error when the index isn't found (#9678)
* fix(i18n): emit an error when the index isn't found

* changeset

* Update .changeset/proud-guests-bake.md

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

* rename

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

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-12 14:14:26 +00:00
Bjorn Lu
810f7b23c8 [ci] format 2024-01-12 07:54:11 +00:00
Bjorn Lu
71db79e62a
Use node:test and node:assert/strict (#9649) 2024-01-12 15:53:00 +08:00
Bjorn Lu
d02a3c48a3
Disable file watcher for internal one-off vite servers (#9665) 2024-01-12 11:19:08 +08:00
Erika
37e1018b0d
refactor(toolbar): Rename every internal reference of overlay/plugins to toolbar/apps (#9647)
* refactor(toolbar): Rename every internal reference of overlay/plugins to toolbar/apps

* refactor: rename vite plugin

* fix: update import

* nit: add setting fallback
2024-01-11 14:03:45 -05:00
Erika
74008cc238
fix(assets): Implement all hooks in the passthrough image service (#9668)
* fix(assets): Implement all hooks in the passthrough image service

* chore: changeset
2024-01-11 13:29:59 -05:00
Martin Trapp
87ede76b3b [ci] format 2024-01-11 18:28:28 +00:00
Martin Trapp
cdf8ce0627
Force re-execution of Partytown's head snippet on view transitions (#9666)
* Remove the header script before a view transition takes place to force a reload on the next page

* Add changeset

* Save another char
2024-01-11 19:26:49 +01:00
Bjorn Lu
8059a19ad3
Fix discord fetch code (#9663) 2024-01-11 13:35:12 +00:00
Houston (Bot)
7a275c1648
[ci] release (#9625)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-11 16:32:08 +08:00
Martin Trapp
a3b5695176
Don't try to load partytown scripts in the main thread during view transitions (#9658) 2024-01-11 13:12:45 +08:00
Bjorn Lu
e72efd6a9a
Use esbuild for env replacement (#9652) 2024-01-11 12:06:14 +08:00
Erika
50f39183cf
fix: pin Sharp at old version (#9653)
* fix: pin Sharp at old version

* chore: changeset

* fix: try out a bigger range

* chore: lockfile

* fix: try again with just one version...

* fix: lockfile

* chore: use caret versions

* chore: changeset
2024-01-10 10:46:36 -05:00
Arsh
e50d75f41f [ci] format 2024-01-10 14:53:36 +00:00
Arsh
d7f1903cde
fix(vercel): fallback to static 404.html (#9648) 2024-01-10 14:52:29 +00:00
Arsh
a700a20291
qol(cookies): warn when cookies are set after the headers have been sent (#9627) 2024-01-10 14:51:50 +00:00
Emanuele Stoppa
a4f90d95ff
fix(redirects): correctly compute the status code in redirects (#9657) 2024-01-10 13:47:07 +00:00
Sarah Rainsberger
a1b56ee1fa
[docs] fix some error message syntax and add some lint rules to help (#9651)
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-01-09 16:56:28 -04:00
Emanuele Stoppa
243146de2a
fix: add metadata to build error pages (#9641)
* fix: add metadata to build error pages

* Apply suggestions from code review

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-09 10:26:47 +00:00
Bjorn Lu
5cba637c4e
Improve env var handling in SSR (#9637) 2024-01-09 16:29:43 +08:00
Rob Mensching
d77a0320b7
fix(rss): update test name to better match behavior (#9646) 2024-01-08 22:39:41 +01:00
Martin Trapp
51c4c82e46 [ci] format 2024-01-08 15:24:14 +00:00
Martin Trapp
cdb7bfa662
Fixes an issue where view transitions to the 404-page did not work (#9642)
* Add new e2e test

* Ensure cloned Response keeps its headers

* Add change set

* Update changeset

* Update .changeset/big-knives-own.md

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

* Update packages/astro/src/vite-plugin-astro-server/route.ts

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-01-08 16:23:17 +01:00
Sarah Rainsberger
3011f15d00
Updates rule for adding 'docs pr' label (#9640) 2024-01-08 10:01:29 -04:00
Nate Moore
d68b0079bf [ci] format 2024-01-08 13:11:43 +00:00
Nate Moore
ff9bd708ae
Fix Discord release message (#9626)
* Fix Discord release message

* chore: simplify discord webhook handling
2024-01-08 13:09:53 +00:00
liruifengv
5978d77476
Update plugin-toggled to app-toggled (#9619) 2024-01-08 17:02:48 +08:00
Bjorn Lu
8b9c4844f7
Fix tsconfig alias with import.meta.glob (#9560)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-08 11:06:41 +08:00
Florian Lefebvre
24663c9695
fix(rss): make title optional if description is provided (#9610)
* fix(rss): make title optional if description is provided

* feat(rss): simplify schema

* fix(rss): update tests to match new behavior

* Update packages/astro-rss/test/pagesGlobToRssItems.test.js

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

* Update packages/astro-rss/test/pagesGlobToRssItems.test.js

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

* feat: make link and pubDate optional

* feat: improve item normalization

* Update shy-spoons-sort.md

* Fix test fail

* Update .changeset/shy-spoons-sort.md

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

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-01-06 07:47:29 +00:00
Elian
edc87abd47 [ci] format 2024-01-05 21:01:52 +00:00
Elian
651f45b401
Adds automatic, seasonally appropriate messages from Houston (#9476)
* feat: allow Houston to wear Scarfs

* refactor: allow 1 object to be passed instead of separate

* set messages back to original state / add ties

* refactor to getClothes method

* refactor: add clothes per season

* refactor: add messages with timing too

* refactor to new file

* refactor: use `hat` & `tie` instead of `clothes`

* refactor: use `getSeasonalHouston` only once

* chore: upgrade dependencies

* fix mistake in date

* feat(create-astro): refactor seasonal logic

* chore: remove unused entrypoint

* refactor: simplify seasonal data

* chore: add changeset

---------

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-01-05 15:00:47 -06:00
Houston (Bot)
75084b49d0
[ci] release (#9609)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-06 02:15:45 +05:30
Bjorn Lu
a1bb5fea55
Fix class property Vue hydration error (#9620) 2024-01-05 15:03:47 -05:00
Nate Moore
8b8bf603b1 [ci] format 2024-01-05 19:31:59 +00:00
Nate Moore
a1c31665cb
Ensure appEntrypoint is referenced in Vue components (#9490)
* fix(#6827): ensure `appEntrypoint` is referenced in Vue components

* chore: add test

* chore: add changeset

* fix: windows handling

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

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* chore: address review feedback

* chore: update lockfile

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-05 13:30:53 -06:00
Arsh
bd3f36e6ab [ci] format 2024-01-05 18:28:59 +00:00
Arsh
22a5405b4a
fix(vercel): include 404.html as fallback in the static adapter (#9591)
* include 404.html as fallback

* add changeset

* include only when 404.astro exists

* add test

* route.component -> route.pathname
2024-01-05 23:57:48 +05:30
Sarah Rainsberger
64a8470ddb
[docs] update config reference (#9621) 2024-01-05 10:48:47 -04:00
Bjorn Lu
5156c74050
Fix limitInputPixels type (#9622)
* Fix limitInputPixels type

* Use sharp options
2024-01-05 14:47:00 +00:00
임동현(Ivan)
d87a97e109 [ci] format 2024-01-05 13:59:48 +00:00
임동현(Ivan)
401fd3e8c8
feat: Add APIRoute second generic (#9618) 2024-01-05 21:58:49 +08:00
Jacob Lamb
47b951b388
chore: UpdatepossibleConfigFiles (#9600)
* Add `.ts` to list of `possibleConfigFiles`

* Add more options

* Create many-rules-kick.md

* Update .changeset/many-rules-kick.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-05 10:17:20 +00:00
Arsh
218ea0781b [ci] format 2024-01-04 16:38:10 +00:00
Arsh
bd8fa7acd2
chore(vercel): deprecate speedInsights (#9598)
* deprecate speedInsights config

* add changeset
2024-01-04 16:37:13 +00:00
Marvin
2e4d110a87
[solidjs integration] Update solidjs dependency (#9355)
* update solidjs dependency

* update lockfile

* solidjs integration: update vite-plugin-solid

* update lockfile

* solidjs integration: decrease required version to match vite plugin

* Update moody-years-worry.md

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-04 16:25:53 +00:00
Houston (Bot)
e862d070b4
[ci] release (#9580)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-04 15:16:31 +00:00
Patrick Miller
825ba1a598 [ci] format 2024-01-04 11:38:04 +00:00
Patrick Miller
37021044dd
Render async SolidJS components (#6791)
* Render async SolidJS components

* Add renderer-specific hydration script to allow for proper SolidJS hydration

* Add support for Solid.js 1.8.x

* Address documentation feedback

* Rebuild pnpm lock file based on main branch

* Address PR feedback from ematipico

---------

Co-authored-by: Johannes Spohr <johannes.spohr@futurice.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-04 11:37:08 +00:00
Bjorn Lu
3b4e629ac8
Improve astro add deps error reporting (#9593) 2024-01-04 11:16:53 +00:00