Martin Trapp
5c888c10b7
Fix: Persist styles of persistent client:only components during view transitions in DEV mode ( #8840 )
...
* Persist styles of persistent client:only components during view transitions
* Persist styles of persistent client:only components during view transitions
* Persist styles of persistent client:only components during view transitions
* reset flag for persistent style shhets before re-calculating
* new approach with a clear module loader cache
* simplifications
* wait for hydration
* improve changeset message
* improve changeset message
* please the linter
* additional tests for Svelte and Vue
* tidy up
* test fixed
* test w/o persistence
* Update .changeset/purple-dots-refuse.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-19 21:55:22 +02:00
Fred K. Schott
740c9160fd
make unused variables a warning in eslint ( #8832 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-19 13:09:55 -05:00
Bjorn Lu
88869bafb6
Set vite logLevel silent for test ( #8868 )
2023-10-19 13:03:01 -05:00
Matthew Phillips
0d4922dffe
Add a label for PRs that include documentation changes ( #8865 )
...
* Add a label for PRs that include documentation changes
* Update .github/labeler.yml
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* Add changsets
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-18 14:24:50 -04:00
lilnasy
a44a7a9809
[ci] format
2023-10-18 13:33:55 +00:00
Arsh
ad2bb91559
fix(rerouting): attempt without middleware ( #8814 )
...
* fix(rerouting): attempt without middleware
* add test
* add changeset
* Update .changeset/shaggy-onions-try.md
* avoid extra variable
* document runMiddleware internal option
* document runMiddleware default
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* runMiddleware -> skipMiddleware
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-10-18 19:01:24 +05:30
Bjorn Lu
65c7bd149c
Fix Vue HMR for script tags ( #8860 )
2023-10-18 21:23:19 +08:00
Houston (Bot)
c6e0d8e1cd
[ci] release ( #8848 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 13:31:13 +01:00
Eva Decker
edc467d3b0
fix(docs): Update @astrojs/sitemap
readme to clarify build output location ( #8844 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-10-18 09:58:41 +01:00
Phumrapee Limpianchop
2c18e2d127
fix(astro): build config from astro conflict with vite.config.js ( #8852 )
...
* fix: config from astro conflict with vite
* refactor: apply config on AstroBuilder.setup
2023-10-18 06:58:49 +01:00
Elian ☕️
3baab3d93b
feat: make Houston wear scary hats for spooky season ( #8846 )
...
* feat: make Houston wear scary hats for spooky season
* chore: add new phrasing to scary Houston
* chore: create changeset
2023-10-17 18:46:02 +02:00
ematipico
d25b00d914
[ci] format
2023-10-17 16:08:27 +00:00
Emanuele Stoppa
2b8a459a6a
docs: better explanation for base
configuration ( #8779 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-17 17:06:12 +01:00
bluwy
fc838c5564
[ci] format
2023-10-17 14:46:59 +00:00
Adam McKerlie
10b103820e
Added OUTPUT dir to sitemap build command ( #8824 )
2023-10-17 22:44:15 +08:00
Rishi Raj Jain
11f45b9a32
fix: _image endpoint returning a 404 for local images ( #8828 )
2023-10-17 12:12:01 +02:00
Houston (Bot)
3468c06f56
[ci] release ( #8820 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-17 03:28:33 +05:30
Erika
8946f2a256
fix: remote srcset images not being resized and deduplication not working in certain cases ( #8823 )
...
* fix: remote `srcset` images not being resized
* fix: hash keys ordered to reduce duplicate assets
* fix: move to workaround for hashing function
* fix: rework transform logic for densities and widths
* chore: changeset
* test: add tests
* fix: forced base srcset when using widths
* fix: unnecessary coalescing
* refactor: adjust with feedback
---------
Co-authored-by: Matteo Manfredi <matteo@manfredi.io>
2023-10-16 21:02:01 +02:00
Erika
b405b039a6
fix(assets): Fallback format not being taken into account properly ( #8842 )
...
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-10-16 17:43:21 +02:00
Alexander Niebuhr
84d7c14646
chore(cloudflare): remove adapter ( #8758 )
2023-10-16 17:42:12 +02:00
Rishi Raj Jain
ce3025cfa2
fix: Unexpected token < in JSON at position 1 ( #8827 )
2023-10-16 11:55:27 +01:00
Arsh
754c40f6ed
fix(lit): pin last lit 2.x compatible versions ( #8826 )
2023-10-16 09:53:31 +01:00
Dominik G
2f9e2083d5
chore(deps): unpin tsconfck and use 3.0.0 release ( #8838 )
2023-10-15 13:01:00 +02:00
bluwy
7c458514c0
[ci] format
2023-10-13 06:27:08 +00:00
Bjorn Lu
f8de1983bd
Fix error overlay syntax highlighting ( #8817 )
2023-10-13 14:24:49 +08:00
Houston (Bot)
6bb69305c9
[ci] release ( #8796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-12 09:43:24 -05:00
natemoo-re
45ae41a457
[ci] format
2023-10-12 14:39:45 +00:00
Arsh
391729686b
fix(middleware): instantiate locals if the adapter does not ( #8800 )
2023-10-12 09:36:34 -05:00
Martin Trapp
3bef32f81c
Fix: Retain focus for persisted input elements during view transitions ( #8813 )
...
* add new e2e test: persist focus on transition
* save and restore focus during swap
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-12 00:08:44 +02:00
Jacob Lamb
0abff97fed
Remove network-information-types ( #8810 )
2023-10-11 12:33:35 -05:00
Chris Swithinbank
2993055bed
Add support for an --outDir
CLI flag to astro build
( #8808 )
...
* Add support for an `--outDir` CLI flag to `astro build`
* Add changeset
* Update .changeset/eleven-olives-train.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-11 18:26:12 +02:00
Bjorn Lu
c4270e4768
Use shikiji ( #8502 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-12 00:07:06 +08:00
Erika
f369fa2505
feat: use tsconfck instead of tsconfig-resolver ( #8798 )
2023-10-11 18:00:59 +02:00
Bjorn Lu
f999365b82
Fix markdown charset as utf-8 by default ( #8795 )
2023-10-11 23:58:08 +08:00
Princesseuh
a964a14172
[ci] format
2023-10-11 15:56:21 +00:00
Erika
b2ae9ee0c4
feat(assets): Add support for srcset
and a Picture component ( #8620 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-11 17:53:58 +02:00
Alexander Niebuhr
3f231cefed
port https://github.com/withastro/docs/pull/4980 ( #8799 )
2023-10-11 07:06:20 +02:00
lilnasy
a8b979ef40
[ci] format
2023-10-10 16:40:46 +00:00
Arsh
bd5aa1cd35
fix(transitions router): no-op on the server ( #8771 )
...
* fix(transitions router): no-op on the server
* factor out onPopState
* add e2e test case
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* use supportsViewTransitions
* add changeset
* warn on navigate() use during ssr
* switch supportsViewTransitions to import.meta.env
* correct typo
* bring back import.meta.env
* !import.meta.env.SSR -> inBrowser
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
---------
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2023-10-10 22:08:35 +05:30
alexanderniebuhr
03e6979c28
[ci] format
2023-10-10 16:11:20 +00:00
Mikkel Ricafrente
75781643a2
fix(cloudflare): runtime types for Cloudflare caches ( #8782 )
...
* fix cachestorage reference in cloudflare integration
* add cachestorage to serverdirectorymode
* add changeset
* remove global caches type
* update unlucky-avocados-brake.md
2023-10-10 18:08:17 +02:00
Houston (Bot)
9cd6a6657b
[ci] release ( #8768 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-10 22:30:52 +08:00
Arsh
c071458257
chore: removed adapters cleanup ( #8726 )
...
* update ci, readme, comments, remote workspaces
* fix hosted test fixture
* keep adapter config typedocs
2023-10-10 19:36:35 +05:30
Alexander Niebuhr
0ab6bad7df
fix(cloudflare): esbuild settings for cloudflare ( #8788 )
...
---------
Co-authored-by: Jonathan Dunlap <595843+jadbox@users.noreply.github.com>
2023-10-10 09:16:32 +02:00
alexanderniebuhr
90d70eb7c4
[ci] format
2023-10-09 17:16:02 +00:00
Jonathan Dunlap
054c5c6447
fix(cloudflare): support for 'cloudflare:*' imports ( #8766 )
...
* chore: add 'cloudflare:sockets' to external list
* chore: add Changeset
* patch: wildcard cloudflare packages
* chore: updated Readme for cloudflare module support
* Update .changeset/heavy-elephants-tan.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/cloudflare/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-10-09 19:13:46 +02:00
ematipico
7ea27f6319
[ci] format
2023-10-09 16:00:28 +00:00
Arsh
c4a7ec4255
fix(windows): ensure drive letter is uppercase ( #8741 )
2023-10-09 16:58:09 +01:00
bluwy
a0dc79b946
[ci] format
2023-10-09 14:23:53 +00:00
Florian Lefebvre
160d1cd755
feat(tailwind): create a tailwind.config.mjs file by default ( #8638 )
2023-10-09 22:21:26 +08:00