Commit graph

6163 commits

Author SHA1 Message Date
Houston (Bot)
087270c61f
[ci] release (#8064)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-15 22:35:58 +08:00
Greg Cobb
a12027b6af
fix: Removed extra double quotes from computed style in shiki code component (#8035) 2023-08-15 22:29:16 +08:00
hbgl
560e459246
Stream request body instead of buffering it in memory (#8084)
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-08-15 15:26:18 +01:00
bluwy
3755424f93 [ci] format 2023-08-15 13:17:37 +00:00
Bjorn Lu
5d1d0aeda6
Document SSG format and trailingSlash consistency (#8068)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-15 21:15:29 +08:00
Bjorn Lu
fa29e4a36f
Remove deepmerge-ts for simpler implementation (#8086) 2023-08-15 21:11:00 +08:00
Emanuele Stoppa
e12a101842 chore: merge 2023-08-15 09:24:34 +01:00
Emanuele Stoppa
7530d5689d Merge remote-tracking branch 'origin/main' into next 2023-08-15 09:24:06 +01:00
Bjorn Lu
68efd4a8b2
Export astro/compiler-runtime and cleanup exports (#8085) 2023-08-15 16:21:28 +08:00
Sergey Shishkin
c19987df0b
Export AstroConfigType properly as type and not as a Zod schema value (#7702) 2023-08-15 08:30:39 +01:00
natemoo-re
1e9902177d [ci] format 2023-08-14 19:25:29 +00:00
Alexander Niebuhr
7b77b34cef
fix(@astrojs/cloudflare): unsynced astro asset support flag (#8079)
* fix astro assets support in cloudflare

* add changeset
2023-08-14 14:23:36 -05:00
Nate Moore
44cf30a252
chore: slim create-astro deps (#8077) 2023-08-14 14:23:14 -05:00
natemoo-re
a34a48826c [ci] format 2023-08-14 16:29:04 +00:00
Robin Neal
da517d4055
fix: remove react identifierPrefix from client:only (#8075)
This was causing React components rendered with client:only
to be prefixed with null. While not technically causing any
issues, it is unintended and could be considered a bug.

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-14 11:26:03 -05:00
natemoo-re
7d7920ea91 [ci] format 2023-08-14 15:53:38 +00:00
Nate Moore
3e46634fd5
Support flags for astro add (#8032)
* astro add cli pass down arguments to install cmd

* add changeset

* feat: pass common flags down to install command

* Update .changeset/soft-colts-heal.md

---------

Co-authored-by: Elod Tobak <tobakelod@gmail.com>
2023-08-14 10:50:49 -05:00
Matthew Phillips
4477bb41c8
Update types to specify that compress defaults to true (#8072)
* Update types to specify that compress defaults to true

* Update astro.ts

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-14 11:10:37 -04:00
Nate Moore
5208a3c8fe
fix: remove ./dist/jsx/* exports (#8030) 2023-08-14 09:22:01 -05:00
James Garbutt
d1f7143f9c
fix(astro): strongly type Astro.self (#7866)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Princesseuh <princssdev@gmail.com>
2023-08-14 16:04:45 +02:00
Houston (Bot)
19f9edf977
[ci] release (beta) (#8067)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-14 08:46:22 -05:00
Erika
afc45af202
feat(assets): Add support for passing non-awaited imports to the Image component and getImage (#8066)
* feat(assets): Add support for passing non-awaited imports to the Image component and `getImage`

* test: add test
2023-08-14 15:29:42 +02:00
Bjorn Lu
2aa6d8ace3
Add changeset for internal helper package (#8062) 2023-08-14 08:22:44 -05:00
Elian ☕️
c5b60fadb8
chore: Update README.md (#8065) 2023-08-14 13:26:28 +02:00
Martin Trapp
bee284cb77
docs: fix github search link in README.md (#8063)
Co-authored-by: Elian ️ <hello@elian.codes>
2023-08-14 11:22:13 +02:00
Samuel Plumppu
41cfde9a7d
fix: Cleanup blog template images (#8051) 2023-08-14 15:53:10 +08:00
Houston (Bot)
f39a80c583
[ci] release (#8043)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 14:02:47 -04:00
matthewp
06fa76cec6 [ci] format 2023-08-11 17:57:40 +00:00
Matthew Phillips
4a145c4c7d
Fix same-page transition with different query params (#8042) 2023-08-11 13:54:31 -04:00
Houston (Bot)
e1a886530f
[ci] release (#8023)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 11:22:23 -04:00
Houston (Bot)
40efae6550
[ci] release (beta) (#7952)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-11 11:14:20 -04:00
Emanuele Stoppa
866ed4098e
feat: expose user astro error (#8012) 2023-08-11 15:57:29 +01:00
Arsh
718d8f5472
docs(netlify): remove comma (#8040)
* docs(netlify): remove comma

* Apply suggestions from code review

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

* them -> these functions

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-11 20:10:00 +05:30
lilnasy
6fafb3d15d [ci] format 2023-08-11 14:11:56 +00:00
Arsh
f974c95a27
Add Incremental Static Regeneration support for the Netlify's on-demand builders adapter (#7975)
* feat(netlify): expose builders ttl as a local

* add changeset

* docs(netlify): caching using on-demand builders

* reword readme section

* Update packages/integrations/netlify/package.json

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

* include builders-types.d.ts in the distribution

* document caveat regarding query params

* update changeset

* mutation -> function

* locals.netlify -> locals.runtime

* update types and changeset

* Apply suggestions from code review

Co-authored-by: Elian ️ <hello@elian.codes>

* Apply suggestions from code review

Co-authored-by: Elian ️ <hello@elian.codes>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Elian ️ <hello@elian.codes>
2023-08-11 19:39:44 +05:30
Matthew Phillips
519a1c4e84
JSX refactor (#7924)
* JSX refactor

* Get preact/compat test to pass

* Use include config

* Remove old astro flavored markdown test

* Move babel dep to preact

* Remove errant debugger

* Update lockfile

* Update the multi-framework example

* Update e2e tests

* Fix nested-in-vue tests

* Add back in astro check

* Update packages/astro/src/core/create-vite.ts

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

* Update packages/astro/src/core/create-vite.ts

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

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

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

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

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

* Update .changeset/perfect-horses-tell.md

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

* Move the comment about the include config

* Remove redundant alias config

* Use react's own preamble code

* Use the base for the preamble

* Remove solid redundancy

* Update .changeset/perfect-horses-tell.md

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

* Update based on review comments

* Oops

---------

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-11 10:05:02 -04:00
matthewp
6a9fb2d95d [ci] format 2023-08-11 14:00:50 +00:00
Matthew Phillips
6b57628d12
Prevent Vercel NFT from scanning /dev (#8039)
* Prevent Vercel NFT from scanning /dev

* Add a comment
2023-08-11 09:58:32 -04:00
matthewp
2bdcba2aa7 [ci] format 2023-08-11 12:59:13 +00:00
Matthew Phillips
405913cdf2
Prevent script re-execution on page evaluation (#8033) 2023-08-11 08:56:12 -04:00
Emanuele Stoppa
87d4b18437
fix: middleware entry point to not be set (#8036)
* fix: middleware entry point to not be set

* chore: update tests
2023-08-11 12:24:12 +01:00
Matthew Phillips
2ee418e06a
Remove the Nelify Edge adapter (#8029) 2023-08-10 14:38:51 -04:00
natemoo-re
fa3e839843 [ci] format 2023-08-10 18:25:25 +00:00
Jerry_wu
b16cb787fd
Support --host for Node adapter preview (#6928)
* supporting a network address access a website when an user set host = true in Node environment

* fix bug

* sumbit test code

* optimism

* delect white space

* test

* fix test

* fix test error

* test

* test

* test

* fix test error

* Optimizing code based on the comments

* optimize test

* fix: rebase issues

* chore: format

* chore: add changeset

* chore: format

* chore: format

* chore: lint

---------

Co-authored-by: wuls <linsheng.wu@beantechs.com>
Co-authored-by: Nate Moore <nate@astro.build>
2023-08-10 13:22:50 -05:00
Matthew Phillips
9cc4e48e6a
Remove the Vercel Edge adapter (#8015)
* Remove the Vercel Edge adapter

* Update tests

* Update .changeset/plenty-keys-add.md

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

* Show enabling edge middleware

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-10 13:12:13 -04:00
natemoo-re
f7a901e7c4 [ci] format 2023-08-10 16:36:09 +00:00
Nate Moore
8292c41311
fix(#5637): fix yarn berry support for create-astro (#8028) 2023-08-10 12:33:37 -04:00
Nate Moore
1b8d302099
Ensure dev server restart respects base removal (#8027)
* fix(#6067): dev server restart respects base removal

* chore: remove baseCss
2023-08-10 10:52:21 -05:00
Shinya Fujino
3bc74dd4a9
Remove unnecessary hyphen from svg tag (#8025)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:50 -05:00
Shinya Fujino
210f8d9f79
Update path to image in public/ to suppress warning (#8026)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:37 -05:00