Commit graph

2514 commits

Author SHA1 Message Date
Matthew Phillips
49fbc6b648
E2E stability (#5002) 2022-10-06 16:32:37 -04:00
Fred K. Bot
778b915525
[ci] release (#4976)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-06 13:47:10 -04:00
tony-sull
e71fc8b5fc [ci] format 2022-10-06 15:55:06 +00:00
Oskar Baumann
a2b66c7549
[@astrojs/image]: Fix <Picture /> component with query string (#4997)
* remove query params from file extension

* Revert changes to make change as small as possible

* moving the removeQueryParam check to basename()

* chore: adding a changeset

* adding SSR test coverage for new picture test cases

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-10-06 15:53:11 +00:00
natemoo-re
eaa019f49d [ci] format 2022-10-06 15:43:51 +00:00
Erika
3e02a66a77
Add type argument to AstroGlobal to type Props (#5000)
* Add type argument to AstroGlobal to type Props

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-10-06 10:42:17 -05:00
Dan Jutan
0bd6dddfcf
Docs: add yarn workaround to node integration docs (#4978)
* Add yarn workaround to troubleshooting section

* npm can also cause this error
2022-10-06 10:37:58 -04:00
Bjorn Lu
9683ae64ff
Add test for suffix hydration (#4982) 2022-10-06 10:36:50 -04:00
João Araújo
50a397c4ba
Update @builder.io/partytown dependency (#4989) 2022-10-06 10:33:01 -04:00
matthewp
2459426e6a [ci] format 2022-10-06 14:30:50 +00:00
Daniel
2dc582ac5e
adjusting cloudflare adapter and solid ssr to work together (#4888)
* adjusting cloudflare adapter (respecting user config)
define better solid ssr config

* only inline the framework

this needs to happen for worker build in order to have the correct build mode for the framework, which needs the nodejs no matter if it is for node or the browser.

Co-authored-by: AirBorne04 <daniel@floatingpixels.com>
2022-10-06 10:28:47 -04:00
Matthew Phillips
e5b526c3a5
Document Lit's limitations in SSR (#4999) 2022-10-06 10:18:08 -04:00
matthewp
d22d77856b [ci] format 2022-10-05 20:32:46 +00:00
Matthew Phillips
1f890b3363
Yield out potentional slot instructions when rendering dynamic tags (#4981)
* Yield out potentional slot instructions when rendering dynamic tags

* Adding a changeset

* yield instead of return

* Handle the fact that renderComponent returns an iterable

* Only yield out html once
2022-10-05 16:30:43 -04:00
Matthew Phillips
8f9791d840
Upgrade Astro compiler to 0.26.0 (#4990)
* Upgrade Astro compiler

* Add changeset
2022-10-05 16:29:30 -04:00
Bjorn Lu
c1b6b0b64b
Fix failing e2e test (#4983) 2022-10-05 22:19:26 +08:00
matthewp
67fbdc3384 [ci] format 2022-10-04 17:01:14 +00:00
Bjorn Lu
a6bb2694b4
Refactor hydration path handling (#4918)
* Refactor hydration path handling

* Remove old code

* Fix jsx strip

* Postprocess fix

* Handle jsx to tsx stuff

* Skip bigint tests

* Fix deno

* Try fix windows

* Fix windows

* Add more comments
2022-10-04 12:59:35 -04:00
董雨航
61d26f3352
fix: import.meta.env.BASE_URL will be '/' in client loaded component on dev mode (#4886) 2022-10-04 12:57:35 -04:00
Calvin Liang
37cb2fc02a
fix object styles not escaped (#4887)
* fix object styles not escaped

* fix `shouldEscape` not passed down

* add tests

* fix package name

* fix pnpm-lock

* add changeset
2022-10-04 12:56:11 -04:00
Tony Sullivan
4f73b98ae0
closes #4633 (#4977)
* closes #4633

* chore: add changeset
2022-10-04 16:16:47 +00:00
matthewp
f878dd6f19 [ci] format 2022-10-04 14:32:39 +00:00
Zihan Chen
911c1d315c
Update config base type description (#4954) 2022-10-04 10:30:59 -04:00
Bjorn Lu
c733d4fb81
Support Astro.slots.render for mdx (#4973)
* Support Astro.slots.render for mdx

* Remove extra imports
2022-10-04 10:18:34 -04:00
Fred K. Bot
5d58787f7a
[ci] release (#4968)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-03 18:48:40 -04:00
Matthew Phillips
e6a881081f
Fix regression in rendering strings (#4967) 2022-10-03 18:21:34 -04:00
matthewp
adff3c45f2 [ci] format 2022-10-03 21:04:04 +00:00
Matthew Phillips
c6ab0206cb
Adds a better test for benchmarking (#4966)
* Rendering: speed up rendering of HTML chunks

* Add a changeset

* Remove the fix

* remove the changeset
2022-10-03 17:02:02 -04:00
Fred K. Bot
bb022f5230
[ci] release (#4957)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-03 11:52:23 -04:00
matthewp
88163e02ba [ci] format 2022-10-03 15:46:38 +00:00
Matthew Phillips
ee8dd424fd
Improve rendering perf (#4956)
* Improve rendering perf

* Adding a changeset

* Disable eslint warning
2022-10-03 11:44:58 -04:00
Bjorn Lu
a59731995b
Suppress eslint warnings (#4953) 2022-10-03 23:37:21 +08:00
bluwy
953ddf1194 [ci] format 2022-10-03 14:56:34 +00:00
Bjorn Lu
5bcd76e3ab
Refactor ViteConfigWithSSR type (#4952) 2022-10-03 22:54:34 +08:00
Fred K. Bot
16688162b4
[ci] release (#4945)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-01 08:11:59 -04:00
Scott Willsey
a8f1a91e7e
Astro image cache dependency fix scottaw66 (#4944)
* Moves http-cache-semantics from dev dependency to dependency

* Pull request for astro image http-cache-semantics dependency
2022-09-30 22:25:37 -05:00
Fred K. Bot
5565782d70
[ci] release (#4943)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-30 19:51:17 -04:00
natemoo-re
d34894fab4 [ci] format 2022-09-30 23:27:15 +00:00
Matthew Phillips
9898088c0a
Convert HTMLString to regular string, preventing hydration script fro… (#4932)
* Convert HTMLString to regular string, preventing hydration script from being missing

* Add a changeset
2022-09-30 18:25:22 -05:00
Chris Swithinbank
f9261ddd00
Fix missing language tag on README code block (#4940) 2022-10-01 00:29:11 +02:00
natemoo-re
5bcddc3120 [ci] format 2022-09-30 22:15:41 +00:00
Nate Moore
cf2bba1e4a
P5: fix MDX memory leak (#4939)
* fix(astro): tag jsx vnodes with renderer so errors are properly handled

* chore: fix missing package in test

Co-authored-by: Nate Moore <nate@astro.build>
2022-09-30 17:13:44 -05:00
Fred K. Bot
2ffdafff45
[ci] release (#4921)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-30 20:15:38 +00:00
tony-sull
7fdd494236 [ci] format 2022-09-30 17:29:32 +00:00
Tony Sullivan
64a1d712ef
[@astrojs/image] fixes a bug in dev when <Image /> is used with no transformation props (#4933)
* fix: return the original file in dev if no image transforms were used

* chore: add changeset
2022-09-30 17:27:56 +00:00
Erika
7690849a87
Move module declarations for Markdown and MDX so they're available everywhere (#4928)
* Move module declarations for Markdown and MDX to the proper file so they're globally available

* Remove tsconfig.json depending on client.d.ts unnecessarily
2022-09-30 12:06:14 -03:00
tony-sull
849fefd8b0 [ci] format 2022-09-29 21:22:49 +00:00
Tony Sullivan
9892989619
[@astrojs/image] adding caching support for SSG builds (#4909)
* adds a caching feature for SSG builds

* chore: add changeset

* nit: eslint fix

* chore: add readme docs for caching

* adding basic test coverage for cached images
2022-09-29 21:20:48 +00:00
Fred K. Bot
d08093f7d4
[ci] release (#4903)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-29 11:20:00 -04:00
bluwy
670d4bed45 [ci] format 2022-09-29 03:28:21 +00:00