Commit graph

5342 commits

Author SHA1 Message Date
Chris Swithinbank
00a2e1d7c7
Fix warning syntax in Vercel integration README (#6840) 2023-04-14 12:08:31 +02:00
Houston (Bot)
b105ccb9ca
[ci] release (#6835)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-13 14:41:56 -04:00
matthewp
704d61e777 [ci] format 2023-04-13 18:12:26 +00:00
Houston (Bot)
0f4c005750
[ci] update lockfile (#6837)
* [ci] update lockfile

* Fix type errors

* Fix zod version

* updated lockfile

* fix tests

---------

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-04-13 14:09:19 -04:00
Erika
500ee802ac
fix: upgrade tooling deps (#6839) 2023-04-13 13:08:54 -04:00
Bjorn Lu
1fa041695e
Ensure unique workspace name (#6836) 2023-04-13 22:19:08 +08:00
bluwy
83f00f535b [ci] format 2023-04-13 14:13:55 +00:00
Bjorn Lu
8539eb1643
Support tsconfig aliases in CSS @import (#6816) 2023-04-13 22:11:21 +08:00
Princesseuh
c464bf258f [ci] format 2023-04-13 09:56:50 +00:00
Erika
2511d58d58
feat(mdx): Add support for turning ![]() into <Image> (#6824) 2023-04-13 11:54:40 +02:00
Erika
948a6d7be0
fix(content): Remove unsupported file warning for images (#6825) 2023-04-13 11:54:26 +02:00
Princesseuh
44d935d5d6 [ci] format 2023-04-13 09:01:47 +00:00
Erika
a6bec9c1b7
fix: broken lockfile (#6834) 2023-04-13 10:59:32 +02:00
André Alves
3356023443
add validation for non-printable chars in CLI (#6682) 2023-04-12 15:30:09 -04:00
wulinsheng123
a9c22994e4
fix #6420 (#6544)
* fix #6420

* add test

* add test

* fix an error that parsed path

* fix path error when in Windows environment

* fix a path error

* update comment

---------

Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-04-12 14:26:53 -04:00
Ivo Ilić
c1e8f42a20
Added a caution about rewrites only working for static files (#6517)
Currently using rewrite with static files works but server rendered files with either edge or serverless function don't get rewritten.
See: https://github.com/withastro/astro/issues/6446
2023-04-12 14:21:59 -04:00
Bjorn Lu
5f0efe5490
Update to pnpm 8 (#6823) 2023-04-12 23:34:54 +08:00
Emanuele Stoppa
eab397a941
chore: update xml2js version (#6822) 2023-04-12 22:39:26 +08:00
Houston (Bot)
b2254bd786
[ci] release (#6818)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-12 08:51:55 -04:00
Bjorn Lu
7653cf9e9f
Fix CSS chunking between multiple framework components (#6582)
* Fix CSS chunking between multiple framework components

* Better CSS dedupe handling

* Add more tests

* Update docs
2023-04-12 08:24:32 -04:00
Happydev
76dd53e3f6
Fix slot fallbacks unexpectedly showing up in some cases (#6819)
* test: add test fixture

* test: add test case

* test: revert unneeded changes in fixture

* fix

* chore: changeset
2023-04-12 08:23:14 -04:00
Princesseuh
bdfbe000d8 [ci] format 2023-04-12 08:47:35 +00:00
Erika
6c09ac03bf
Fix experimental.assets's Squoosh service not working on Netlify and Vercel SSR (#6765) 2023-04-12 10:45:35 +02:00
Elian ☕️
88d465a8d4
Update issue template with link (#6813) 2023-04-12 09:44:07 +02:00
bholmesdev
44bd5da6d0 [ci] format 2023-04-11 17:47:24 +00:00
Ben Holmes
f882bc1636
Refactor content collection transforms (#6817)
* feat: json collection POC

* wip: add test json file

* refactor: rework content flag transforms

* refactor: simplify propagatedAsset check

* chore: remove JSON playground code

* chore: respect build sourcemap option

* deps: magic-string, source-map

* chore: formatting

* fix: add sourcemaps to MDX plugin

* chore: changeset

* deps: remove magic-string from mdx

* chore: remove unecessary MagicString
2023-04-11 13:44:39 -04:00
Houston (Bot)
b1d07bcf40
[ci] release (#6809)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-11 13:10:00 -04:00
Bjorn Lu
60c16db6ff
Fix check CLI fs load fallback behaviour (#6811) 2023-04-11 11:57:11 +08:00
amirhhashemi
c12ca5ece3
fix(error-overlay): force error overlay direction to be LTR (#6782) 2023-04-10 16:59:17 +02:00
Bjorn Lu
a91e0156ab
Add more tsconfig alias tests (#6812) 2023-04-10 22:40:40 +08:00
Alper Doğan
99479e6b95
Optional Sizes prop on Picture component (#6773) 2023-04-10 14:09:02 +02:00
Houston (Bot)
a5601a3cd3
[ci] release (#6807)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-10 16:57:31 +08:00
André Alves
1e3873c04a
Fix no edge functions deployed to netlify (#6793) 2023-04-10 16:50:54 +08:00
Nathaniel Blackburn
84a4648884
Revert vercel env fix (#6776) 2023-04-10 16:40:29 +08:00
Bryce Russell
671a011d4f
Fix Tailwind README code block (#6783)
Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
2023-04-08 16:57:16 +08:00
Houston (Bot)
d531239201
[ci] release (#6769)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-07 17:25:00 -04:00
Ben Holmes
7f74326b76
Fix: astro:server:setup middleware (#6781)
* Revert "Fix: stop executing `astro:server:setup` twice (#6693)"

This reverts commit c0b7864a41.

* fix: delay `astro:server:setup` to `configureServer`

* test: middleware from astro:server:setup

* chore: lock

* chore: changeset

* chore: remove minimal example change

* chore: revert minimal env change
2023-04-07 12:28:55 -04:00
matthewp
8a0336c362 [ci] format 2023-04-07 15:07:17 +00:00
Matthew Phillips
fa84f1a7d2
Support streaming inside of slots (#6775)
* Rename renderSlot to renderSlotToString for internal sync usage

* Support streaming inside of slots

* Fix lame lint warning

* Update compiler to fix test

* Up the wait

* Use compiler 1.3.1

* It should be exactly 3
2023-04-07 11:04:31 -04:00
matthewp
f2112452ad [ci] format 2023-04-06 22:36:23 +00:00
Matthew Phillips
a98f6f418c
Prevent body head content injection in MDX when using layout (#6779) 2023-04-06 18:33:47 -04:00
matthewp
e0ee7765d0 [ci] format 2023-04-06 19:43:15 +00:00
Matthew Phillips
416ceb9730
Use Deno API to set Astro.clientAddress (#6651)
* Use Deno API to set Astro.clientAddress

* Add types
2023-04-06 15:40:50 -04:00
Ben Holmes
9e88e0f23c
Fix: remove slug() from defineCollection() (#6774)
* fix: remove `slug()` from `defineCollection()`

* chore: changeset
2023-04-06 14:25:14 -04:00
natemoo-re
a89963ed46 [ci] format 2023-04-06 16:38:33 +00:00
Nate Moore
45bff6fccb
feat(prerender): support quoted true / false values and 0 / 1 (#6772) 2023-04-06 11:36:28 -05:00
Sergio A. Arevalo Soria
9b497a6d98
Update react links (#6756) 2023-04-06 22:42:24 +08:00
Emanuele Stoppa
32b7158bdb
ci: correctly update comment (#6760)
* ci: correctly update comment

* fix: restore action to change PR status
2023-04-06 10:29:55 -04:00
Erika
52d7a4a011
Update client types to match Vite (#6770)
* fix(types): Update client types to match Vite's

* chore: changeset
2023-04-06 15:13:13 +02:00
Xetera
72fed684a3
Exporting ImageFunction from astro:content (#6766) 2023-04-06 13:58:34 +02:00