Princesseuh
787fed8504
Merge branch 'main' into next
2024-08-20 14:29:50 +02:00
Erika
c6622adaeb
Deprecate the Squoosh image service ( #11780 )
2024-08-20 14:28:52 +02:00
Bjorn Lu
1fd84b6bbc
Remove unused code in internal scripts ( #11769 )
2024-08-20 18:25:04 +08: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
liruifengv
88b6dca63b
[docs] fix indents ( #11786 )
2024-08-20 10:26:36 +01:00
Emanuele Stoppa
b5584248b1
[ci] format
2024-08-20 06:46:46 +00:00
Emanuele Stoppa
86a33915ff
fix: adapter features messaging ( #11773 )
...
* fix: adapter features messaging
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/long-months-burn.md
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
2024-08-20 07:45:59 +01: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
Florian Lefebvre
c6400ab99c
fix: injectTypes path ( #11774 )
2024-08-19 20:04:51 +02:00
Princesseuh
40183620d8
ci: use docs's 5.0 beta branch for smoke tests
2024-08-19 19:58:44 +02:00
Sarah Rainsberger
826dc2a85a
[ci] format
2024-08-19 15:28:04 +00:00
Sarah Rainsberger
ad919776ca
[docs] pattern
to preserve ignoring files prefixed with an underscore ( #11749 )
...
* [docs] `pattern` to preserve ignoring files prefixed with an underscore
* simplify examples with only md not mdx
Co-authored-by: Matt Kane <m@mk.gg>
* remove strange line full of tabs
* Update packages/astro/src/@types/astro.ts
* Apply suggestions from code review
* fix regex
---------
Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-19 16:27:12 +01:00
Bjorn Lu
b67742961a
Disable server.ws vite config for loading config files ( #11744 )
2024-08-19 22:52:42 +08:00
@hephaistos_DE
7ab0e601fd
[ci] format
2024-08-19 14:46:25 +00:00
@hephaistos_DE
eb1466a376
Fix middleware example ( #11742 )
...
* Fix middelware example
* Update examples/middleware/src/pages/api/login.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Update examples/middleware/src/pages/api/logout.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* Fix build check for unused by defined variables
---------
Co-authored-by: Raphael B <hephaistos@grewety.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-19 15:43:34 +01: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
Florian Lefebvre
49650a4555
fix: astro:env sync error in content config ( #11771 )
2024-08-19 16:01:31 +02: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
Bjorn Lu
d12dcbff60
Fix create-astro initial git commit ( #11766 )
2024-08-19 16:30:45 +08: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
Bjorn Lu
89bab1e707
Reduce prerender dynamic value warning false positives ( #11745 )
2024-08-16 23:03:27 +08:00
Bjorn Lu
50c3ed238d
Update test:vite-ci
script ( #11740 )
2024-08-16 21:48:57 +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
Florian Lefebvre
5f0b58fb6c
[ci] format
2024-08-16 07:28:10 +00:00
Florian Lefebvre
2df49a6fb4
feat: simplifies sync paths ( #11730 )
2024-08-16 09:27:21 +02:00
Bjorn Lu
423614ebb6
Fix MDX stack trace location with frontmatter ( #11717 )
2024-08-16 12:09:20 +08:00
Matthew Phillips
d8f9a8397d
Reset the preview release branch
2024-08-15 13:37:09 -04:00
Matthew Phillips
a05095406e
Allow snapshot releases against next
2024-08-15 13:33:54 -04:00
Houston (Bot)
0109690c3b
[ci] release ( #11734 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-16 00:34:37 +08:00
Bjorn Lu
7c6349beca
Fix astro upgrade changeset ( #11735 )
2024-08-16 00:32:53 +08:00
Bjorn Lu
391324df96
Revert parseArgs change ( #11733 )
2024-08-16 00:27:08 +08:00
Houston (Bot)
91d36fa36b
[ci] release ( #11719 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-15 16:06:43 +01: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
Florian Lefebvre
3c2f93b66c
fix: content types sync in dev ( #11727 )
...
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-08-15 16:52:15 +02:00
Matt Kane
6c1560fb0d
fix: separate data store into mutable and immutable versions ( #11725 )
...
* fix: separate data store into mutable and immutable versions
* Add jsdoc
2024-08-15 15:26:00 +01:00
Emanuele Stoppa
9bf9f5a7b0
[ci] format
2024-08-15 13:46:00 +00:00
Emanuele Stoppa
4844e1b5fb
chore: updates the supported features of test adapter ( #11724 )
2024-08-15 14:45:12 +01:00
Emanuele Stoppa
88a6ccb8c6
chore(readme): adds the netlify adapter ( #11726 )
2024-08-15 14:44:30 +01:00
Matthew Phillips
934165e21b
[ci] format
2024-08-15 12:04:50 +00:00
Matthew Phillips
35af73aace
Prevent errant HTML from crashing server islands ( #11692 )
2024-08-15 08:04:02 -04:00
Sarah Rainsberger
44453146cd
[docs] updates experimental.contentLayer with Expressive Code ( #11718 )
...
Co-authored-by: Matt Kane <m@mk.gg>
2024-08-15 08:41:29 -03: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
Florian Lefebvre
f4057c18c9
fix: content types sync in dev ( #11716 )
...
* fix: content types sync in dev
* fix: test
2024-08-15 11:08:18 +02:00