0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

1614 commits

Author SHA1 Message Date
André Alves
b325fada56
@astrojs/sitemap: Fixes generated URLs when using a base with a SSR adapter (#9704)
* Fix base path formatting for ssr adapters

* Update .changeset/curly-seals-count.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-17 13:33:23 +00:00
Degreat
e9a72d9a91
Bump shikiji, use transformers API, expose transformers API (#9643)
* Bump shikiji, use transformers API, expose transformers API

* update astro config schema

* include shikiji-core

* Use default import

* address css-variables theme

* Remove shikiji markdoc

* Improve schema transformers handling

* Fix tests

* Update changeset

* bump shikiji version

* Update .changeset/six-scissors-worry.md

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

* Update wording

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

---------

Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:13:05 +00:00
Emanuele Stoppa
9680cf2780 [ci] format 2024-01-17 13:11:46 +00:00
Emanuele Stoppa
d6edc75408
Adapter enhancements (#9661)
* quality of life updates for `App` (#9579)

* feat(app): writeResponse for node-based adapters

* add changeset

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* add examples for NodeApp static methods

* unexpose createOutgoingHttpHeaders from public api

* move headers test to core

* clientAddress test

* cookies test

* destructure renderOptions right at the start

---------

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

* Fallback node standalone to localhost (#9545)

* Fallback node standalone to localhost

* Update .changeset/tame-squids-film.md

* quality of life updates for the node adapter (#9582)

* descriptive names for files and functions

* update tests

* add changeset

* appease linter

* Apply suggestions from code review

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

* `server-entrypoint.js` -> `server.js`

* prevent crash on stream error (from PR 9533)

* Apply suggestions from code review

Co-authored-by: Luiz Ferraz <luiz@lferraz.com>

* `127.0.0.1` -> `localhost`

* add changeset for fryuni's fix

* Apply suggestions from code review

* Apply suggestions from code review

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

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* chore(vercel): delete request response conversion logic (#9583)

* refactor

* add changeset

* bump peer dependencies

* unexpose symbols (#9683)

* Update .changeset/tame-squids-film.md

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

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-17 13:10:43 +00:00
Bjorn Lu
1539e04a8e
Simplify HMR for circular imports and CSS (#9706) 2024-01-17 11:27:21 +08:00
Houston (Bot)
6c64b149f8
[ci] release (#9669)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-16 11:45:09 +00: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
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
Bjorn Lu
e72efd6a9a
Use esbuild for env replacement (#9652) 2024-01-11 12:06:14 +08: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
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
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
Alex Jet
6834b3d3fe [ci] format 2024-01-04 11:02:19 +00:00
Alex Jet
0903ef9049
feat: add preact-ssr-prepass (#9524)
* feat: add preact-ssr-prepass

* added more info to changelog

* fix example in changelog

* fix changelog description

* fix tab in code of changelog

* Update .changeset/blue-bobcats-remain.md

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-01-04 11:01:08 +00:00
Houston (Bot)
d854330571
[ci] release (#9541)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-02 10:26:33 -05:00
Michael Thomas
e496b2e3b8
Fix asynchronous appEntrypoint support (#9558) 2024-01-01 15:44:17 +08:00
Arsh
af59b83162 [ci] format 2023-12-29 15:49:10 +00:00
Arsh
7b586a6e23
fix(vercel): prevent build failure with node 21 (#9550)
* fix(vercel): prevent build failure with node 21

* add changeset
2023-12-29 21:18:15 +05:30
Arsh
48f47b50a0
fix(node): prevent crash on stream error (#9533)
* fix(node): prevent crash on stream error

* add changeset

* Apply suggestions from code review
2023-12-29 21:17:52 +05:30
Houston (Bot)
98fa8f02ab
[ci] release (#9491)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-27 13:34:07 -05:00
Houston (Bot)
a171c22f37 [ci] format 2023-12-27 17:38:12 +00:00
Houston (Bot)
134367427b
[ci] update lockfile (#9519)
* [ci] update lockfile

* Fix errors

* Better Vue workaround

---------

Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-12-27 12:37:04 -05:00
Bjorn Lu
337ca508bd
Forward Svelte client error (#9530) 2023-12-27 12:35:36 -05:00
Bjorn Lu
d252fc61b0
Add tailwindcss nesting support (#9529)
* Add tailwindcss nesting support

* Update lockfile
2023-12-27 12:34:01 -05:00
Nikhil Kothari
cf993bc263
Filter out Svelte's unknown data prop warnings (#9510) 2023-12-27 18:08:20 +08:00
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
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
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
Alex Nguyen
6bf470cfb8
Fix typo in @astrojs/node README (#9471) 2023-12-19 08:28:43 +00: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
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
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
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