Matthew Phillips
0f2a88ba5c
Allow class
to be passed into Svelte islands ( #5045 )
...
* Allow class to be passed into svelte component
* Adding a changeset
2022-10-10 15:19:18 -04:00
Juan Martín Seery
44ea0c6d94
chore: Upgrade Astro compiler to 0.27.1 ( #5044 )
2022-10-10 14:50:08 -04:00
Fred K. Bot
0ab0d8d863
[ci] release ( #5019 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-10 11:44:22 -04:00
Juan Martín Seery
c1f991408b
fix(vercel): now works with monorepos ( #5033 )
...
* Upgraded nft
* Handle monorepo better
* Changeset
* Fixed common ancestor
* Fixed outdir
2022-10-10 11:37:03 -04:00
Bjorn Lu
2d9d422167
Support strict dependency install for image integration ( #5034 )
2022-10-10 11:35:48 -04:00
Matthew Phillips
38fdb4ca6f
Shorter CSS naming algorithm ( #5036 )
...
* Shorter CSS naming algorithm
* Adding a changeset
* Update packages/astro/src/core/build/vite-plugin-css.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-10-10 11:05:28 -04:00
Daniel
d7bfb144ba
fixing multiple doctype injections in single file ( #5035 )
...
* fixing multiple doctype injections in single file
* adding changeset
Co-authored-by: C5341616 <C5341616@sap.com>
2022-10-10 09:02:20 -04:00
Matthew Phillips
b1964e9e1b
Revert "Revert preact signals support ( #4843 )" ( #5015 )
...
This reverts commit 25a5b9a89a
.
2022-10-10 09:01:15 -04:00
Matthew Phillips
062335dbf7
Fix remote images in SSG mode ( #5021 )
2022-10-07 17:08:15 -04:00
Matthew Phillips
6efeaeb39e
Fix suppot for mui ( #5016 )
2022-10-07 15:54:25 -04:00
Fred K. Bot
4e8625fbfb
[ci] release ( #5014 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-07 10:34:13 -04:00
Matthew Phillips
ffbe4e71e3
Move astro/config into src and typecheck ( #5013 )
...
* Move astro/config into src and typecheck
* Adding a changeset
2022-10-07 10:30:08 -04:00
Oskar Baumann
92b27e9c92
[@astrojs/prefetch]: Prevent prefetching current page ( #5009 )
...
* Check that removal of url.hash breaks no tests
* test if status-quo is as expected
* Adapt tests to fail
* Adapt the shouldPreload function to skip same path
* Add changeset
2022-10-07 10:13:51 -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
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
João Araújo
50a397c4ba
Update @builder.io/partytown dependency ( #4989 )
2022-10-06 10:33:01 -04: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
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
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
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
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
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
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
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
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 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
Tony Sullivan
b5e25afa94
Update seven-shrimps-hope.md ( #4934 )
...
Upgrading the image caching feature as a minor release
2022-09-30 16:38:21 +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 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
Bjorn Lu
fd9d323a68
Support Vue JSX ( #4897 )
...
Co-authored-by: Dan Jutan <danjutan@gmail.com>
2022-09-29 11:25:45 +08:00
Matthew Phillips
01c1aaa003
Fix CSS ordering between imported and Astro styles ( #4907 )
...
* Fix CSS ordering between imported and Astro styles
* Fix linting errors
* Add changeset and upgrade compiler version
* Update test to reflect shared styles placed before page styles
2022-09-28 18:12:22 -04:00
Matthew Phillips
d3091f89e9
Astro.cookies implementation ( #4876 )
...
* Astro.cookies implementation
* Remove unused var
* Fix build
* Add a changesetp
* Remove spoken-word expires
2022-09-28 16:55:27 -04:00
Tony Sullivan
ec55745ae5
Fix: let Squoosh default image quality internally ( #4906 )
...
* removes our quality defaults, allowing Squoosh format-specific defaults to be used
* chore: add changeset
2022-09-28 20:55:09 +00:00
Bjorn Lu
812658ad2a
Remove shamefully-hoist ( #4842 )
2022-09-28 23:13:33 +08:00
Matthew Phillips
87a7cf48e7
Hoist hydration script out of slot templates ( #4891 )
...
* Hoist hydration script out of slot templates
* Add changeset
* Fix HTML components
* Mark as html string
2022-09-28 10:55:14 -04:00
Matthew Phillips
ff7ba0ee0f
Ensure head content rendered once with lazy layouts ( #4892 )
...
* Ensure head content rendered once with lazy layouts
* Add changeset
2022-09-28 10:55:06 -04:00
Fred K. Bot
077134ae2c
[ci] release ( #4846 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-27 12:12:44 -04:00
Rishi Raj Jain
90c2072990
fix: post API routes in SSG should warn or error during dev mode ( #4878 )
...
* Update endpoint.ts
* add warning for post routes called when output is not server
* Update famous-camels-study.md
* Update endpoint.ts
* If not get
* Resolve changes
2022-09-27 10:17:58 -04:00