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

1939 commits

Author SHA1 Message Date
Erika
50ca656dba
Merge output: hybrid and output: static (#11824)
* feat: merge hybrid and static

* fix: linting

* fix: get a bunch of tests passing

* fix: make forceServerOutput optional

* fix: more tests passing

* fix: http2 test

* fix: CCC

* fix: get unit tests passing

* fix: lint

* fix: vercel

* fix: build

* fix: build

* fix: db tests

* fix: get all normal tests passing

* fix: e2e tests

* refactor: cleanup code

* fix: more tests

* fix: windows

* fix: apply feedback

* perf: do in parallel

* fix: tests

* fix: tests, for real

* fix: make server islands tests server-rendered

* fix: apply feedback

* nit: remove unnecessary file

* fix: test remove test that abuse prerender logic

* fix: ensure image endpoint is there on dev reload
2024-09-07 01:07:09 +02:00
Florian Lefebvre
38047119ff
feat(next): better tsconfig (#11859)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-09-03 17:49:09 +02:00
Houston (Bot)
da473ec0aa
[ci] release (alpha) (#11903)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-03 12:52:02 +01:00
Matt Kane
4563ffcd89 Fix merge 2024-09-02 17:52:26 +01:00
Matt Kane
a1d78b75aa Merge branch 'main' into next 2024-09-02 17:40:53 +01:00
Bjorn Lu
3ab3b4efbc
Clean up Astro metadata in vfile.data (#11861)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-02 21:43:34 +08:00
Bjorn Lu
560ef15ad2
Refactor createShikiHighlighter (#11825)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-02 21:08:25 +08:00
renovate[bot]
645f4e21a7
fix(deps): update all non-major dependencies (#11896) 2024-09-02 10:54:53 +08:00
Alexander Niebuhr
11ebf3bd15
chore: move node and vercel to adapters repo (#11866) 2024-08-30 19:43:43 +02:00
Princesseuh
027b8398f7
Merge branch 'main' into next 2024-08-29 15:22:24 +02:00
Houston (Bot)
17f71278f4
[ci] release (#11857)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 13:50:49 +02:00
Princesseuh
68601a9549
Merge branch 'main' into next 2024-08-28 17:25:13 +02:00
Bjorn Lu
93932432e7
Make directRenderScript the default (#11791)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-28 22:50:50 +08:00
Houston (Bot)
5af8b4f1cb
[ci] release (#11835)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-28 12:51:43 +02:00
Phil
a2214cedd0 [ci] format 2024-08-28 10:42:23 +00:00
Phil
5f2536b51d
fix: handle preact signals in array correctly (#11834)
* fix: handle preact signals in array correctly

* feat: serialize signals in object
2024-08-28 11:41:35 +01:00
renovate[bot]
26c63a2b07
fix(deps): update all non-major dependencies (#11837)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 10:45:45 +01:00
Bjorn Lu
88ef1d0e77
Fix MDX layout style ordering (#11818) 2024-08-28 10:52:13 +08:00
Bjorn Lu
9eccca53e3
Remove lingering env.d.ts files (#11852) 2024-08-28 00:00:46 +08:00
Emanuele Stoppa
b601e47aff
chore: enable useImportType rule (#11848) 2024-08-27 16:49:42 +01:00
HiDeoo
ed7bbd990f
fix(markdoc): use astro components defined with extends (#11846) 2024-08-27 16:49:04 +01:00
Yuta Osawa
f1df1b3b46
Prevent Partytown integration from inserting a 'null' string into the body (#11829) 2024-08-26 21:36:35 +08:00
Houston (Bot)
5966accdc1
[ci] release (alpha) (#11787)
* [ci] release (alpha)

* Update packages/astro/CHANGELOG.md

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

* links to existing experimental docs instead of ones that don't exist yet!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-23 12:46:18 -05:00
Florian Lefebvre
ea71b90c9c
feat(next): make astro:env stable (#11679)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-21 08:38:00 +02:00
Houston (Bot)
7e2f142a5a
[ci] release (#11739)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-20 16:35:33 +02:00
Erika
cfa6a47ac7
feat: remove the squoosh image service (#11770)
* feat: remove the squoosh image service

* fix: build

* chore: changeset
2024-08-20 15:12:48 +02:00
Princesseuh
787fed8504
Merge branch 'main' into next 2024-08-20 14:29:50 +02:00
Bjorn Lu
6617491c3b
Cleanup unused JSX code (#11741)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-20 17:39:51 +08:00
Matthew Phillips
fc81b01bcd
Prevent race condition in Vercel adapter on Node 18 (#11783) 2024-08-19 15:45:02 -04:00
Houston (Bot)
f239242d90
[ci] release (alpha) (#11627)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-19 14:37:39 -04:00
Matthew Phillips
8a5351737d
Remove functionPerRoute option (#11714)
* Remove functionPerRoute option

* Remove more code

* Remove unused test util

* Linting

* Update tests to reflect new structure

* Add a changeset

* Update plugin

* Remove unused import
2024-08-19 10:31:55 -04:00
Matthew Phillips
3822e574aa
Remove @astrojs/lit (#11680)
* Remove @astrojs/lit

This removes the Lit integration as an official integration. The reasons
for doing so in 5.0:

- Only 1% of Astro users use this integration.
- SSR support in Lit is at a lower-level of support due to be a Labs
project: https://lit.dev/docs/libraries/labs/, and has been in this
state since we added support a couple of years ago.
- The maintenance cost of fixing bugs in this integration is too high
given the low usage. Some PRs for upgrading Lit versions have taken
quite a long time. We can't justify the core team being responsible for
this going forward.
- There used to be community contributions to fix bugs but this has
fallen off for various reasons.

Given that, this PR removes the integration as one that is officially
supported by the Astro core team. Interested community members are
encouraged to fork the integration and continue the development in
another repository.

* Remove e2e tests and examples

* Update lockfile

* Remove ssr-lit.test.js

* Remove error for no client entrypoint

* Remove auto selection of the Lit renderer

* Remove lit package.json

* Remove lit fixture
2024-08-19 08:12:33 -04:00
Princesseuh
7ffcae1906
Merge branch 'main' into next 2024-08-19 11:49:19 +02:00
Princesseuh
d37390ea13
Merge branch 'main' into next 2024-08-19 11:48:40 +02:00
renovate[bot]
48b85c13dd
fix(deps): update all non-major dependencies (#11765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:09:05 +08:00
Matthew Phillips
a9e43d2a2f [ci] format 2024-08-16 12:42:03 +00:00
Matthew Phillips
5ea02b12fd
Deprecate the functionPerRoute option (#11728)
* Deprecate the functionPerRoute option

* Update .changeset/weak-dancers-beam.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-16 08:41:10 -04:00
Erika
d74617cbd3
Refactor/types (#11715)
* refactor: types

* feat: refactor types

* chore: organize imports

* fix: remaining references

* docs: types

* refactor: small changes

* chore: changeset
2024-08-16 14:07:10 +02:00
Princesseuh
40b95a164d
Merge branch 'main' into next 2024-08-16 12:00:44 +02:00
Bjorn Lu
423614ebb6
Fix MDX stack trace location with frontmatter (#11717) 2024-08-16 12:09:20 +08:00
Florian Lefebvre
87ce2381b6 [ci] format 2024-08-15 14:53:15 +00:00
Florian Lefebvre
70945dd918
refactor: enforce node prefix (#11723) 2024-08-15 16:52:26 +02:00
Houston (Bot)
40a1b3002c
[ci] release (#11699)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-15 10:48:37 +01:00
Princesseuh
e853526c39
Merge branch 'main' into next 2024-08-14 12:52:42 +02:00
Bjorn Lu
a23c69d0d0
Deprecates exporting prerender with dynamic values (#11657)
* wip

* done i think

* Add changeset

* Use hook instead

* Reorder hooks [skip ci]

* Update .changeset/eleven-pens-glow.md

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

* Fix run

* Fix link

* Add link

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

* More accurate migration [skip ci]

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Sarah Rainsberger <sarah11918@users.noreply.github.com>
2024-08-14 11:05:19 +01:00
Houston (Bot)
6bb001476c
[ci] release (#11686)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-14 09:14:23 +01:00
Bjorn Lu
e90f5593d2
Fix attribute rendering for boolean values (take 2) (#11660)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Armand Philippot <59021693+ArmandPhilippot@users.noreply.github.com>
2024-08-13 22:33:13 +08:00
renovate[bot]
315ec07e1b
fix(deps): update all non-major dependencies (#11674)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-08-13 22:29:37 +08:00
Matthew Phillips
f5616a8ac0 [ci] format 2024-08-13 12:59:45 +00:00
Matthew Phillips
932bd2eb07
Encrypt server islands props (#11535)
* Encrypt server islands props

* Comment on the hex algo

* Use @oslojs/encoding

* Rename functions

* Add base to test

* Remove old tests no longer valid

* Run test locally

* Make sure adapters run before manifest

* Add a changeset

* Adjust test adapter

* don't assume adapter is at root

* Add a changeset

* Updates on review comments

* Update oslo

* Add better description of Node adapter change
2024-08-13 08:58:47 -04:00