bluwy
0f5b054281
[ci] format
2023-11-06 10:01:01 +00:00
Bjorn Lu
3988bbcc9e
Add shiki lang path compat ( #8996 )
2023-11-06 17:58:42 +08:00
Erika
910eb00fe0
fix(assets): Propagate sizes attribute on all sources ( #8986 )
...
* fix(assets): Propagate `sizes` attribute on all sources
* refactor: small refactor exposed srcSet types
* test: update test with a sizes
* chore: changeset
* fix: use a type import
2023-11-02 21:34:04 +01:00
Houston (Bot)
3cb1098d45
[ci] release ( #8982 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-02 14:13:43 -04:00
Matthew Phillips
ab7e745cc9
Increase the scroll restoration throttle time ( #8981 )
...
* Increase the scroll restoration throttle time
* Add changeset
* Update packages/astro/src/transitions/router.ts
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-02 08:42:14 -04:00
natemoo-re
74fa4adba0
[ci] format
2023-11-01 21:03:36 +00:00
Marvin
937522fb70
fix: toStyleString omit nullish values ( #8940 )
...
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-01 16:02:00 -05:00
Houston (Bot)
ca10dd7a7a
[ci] release ( #8980 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 15:29:34 -05:00
Alexander Niebuhr
0ee7c9aac9
fix(underscore-redirects): fix dynamic pattern regression ( #8979 )
2023-11-01 14:51:15 -05:00
Houston (Bot)
ea16b45c0d
[ci] release ( #8975 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 13:22:41 -04:00
matthewp
bf1fd0fa76
[ci] format
2023-11-01 17:14:06 +00:00
Erika
cc3278bb69
feat(dev-overlay): Add a tooltip on plugin hover / focus ( #8978 )
...
* feat(dev-overlay): Add a tooltip on plugin hover / focus
* chore: changeset
* test: add test
2023-11-01 13:11:57 -04:00
Matthew Phillips
40a0616797
Prevent the route announcer from being visible ( #8977 )
...
* Prevent the route announcer from being visible
* Update the number of expected styles in the tests
2023-11-01 13:11:45 -04:00
Erika
d0dc18cd1c
feat: new event to toggle a plugin from itself ( #8968 )
2023-11-01 17:56:59 +01:00
Alexander Niebuhr
6bc2153d0f
feat(underscore-redirects): add base
to input paths ( #8953 )
...
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Bjorn Lu <34116392+bluwy@users.noreply.github.com>
2023-11-01 16:01:31 +01:00
lilnasy
f6b53a2e69
[ci] format
2023-11-01 13:56:36 +00:00
Arsh
2da33b7a13
fix(slots): consume eagerly rendered slot after one use ( #8929 )
...
* render slots lazily
* add test
* add changeset
* refactor
* reword changeset
2023-11-01 19:23:38 +05:30
Houston (Bot)
4a0fec969f
[ci] release ( #8934 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-01 08:23:32 -05:00
Elian ☕️
6169b6e561
Undo the halloween theme ( #8959 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-01 08:20:45 -05:00
Erika
262cef2487
refactor: dev overlay to make it easier to work with VT ( #8966 )
2023-10-31 23:35:32 +01:00
matthewp
463e03633e
[ci] format
2023-10-31 19:49:13 +00:00
Matthew Phillips
430c470ace
Move VT route announcer styles to a class ( #8965 )
2023-10-31 15:46:44 -04:00
Martin Trapp
ef8964c04d
Three small improvements for handling client-only in view transitions ( #8964 )
...
* client-only fixes
* typo
2023-10-31 20:16:03 +01:00
Eva Decker
35cd810f0f
chore(deps): Upgrade Zod to @latest ( #8762 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-30 10:02:59 -05:00
wktk
71455c16c3
fix(create-astro): TypeScript installation failure with yarn ( #8939 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-10-30 12:22:18 +01:00
Sarah Rainsberger
46d3043a3f
[docs] remove outdated anchor links ( #8941 )
2023-10-28 11:44:09 -03:00
Erika
5fed432b0c
test: add test setup for dev overlay ( #8932 )
2023-10-27 16:05:43 +02:00
matthewp
15acd86028
[ci] format
2023-10-27 12:14:07 +00:00
Matthew Phillips
c77f55d9c0
Prevent passing slot names as props ( #8930 )
...
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Co-authored-by: Nate Moore <7118177+natemoo-re@users.noreply.github.com>
2023-10-27 08:11:46 -04:00
HiDeoo
ca90b47cfc
Fix dev overlay UI Toolkit component names ( #8928 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-10-27 12:09:05 +02:00
Florian Lefebvre
e21fef7da2
fix(partytown): allow overriding the lib option ( close #8760 ) ( #8892 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-27 17:54:41 +08:00
Luca Di Gianventura
01c801108f
Fix: Markdoc Integration build when root folder contains spaces ( #8759 )
...
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2023-10-27 17:45:02 +08:00
Nate Moore
35c5265dc2
Update page partials link in CHANGELOG ( #8927 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-26 12:33:30 -05:00
Houston (Bot)
7a35aedbef
[ci] release ( #8917 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-26 11:34:52 -04:00
Matthew Phillips
fe4079f05b
Partials ( #8755 )
...
* Fragment support
* Add a changeset
* Linting
* debuggin
* Rename to partial
* Update the chagneset
* Make work with mdx
* Update .changeset/brave-pots-drop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/brave-pots-drop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/brave-pots-drop.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-26 10:14:10 -04:00
Bjorn Lu
ec7f531682
Fix examples smoke test fail ( #8923 )
2023-10-26 19:13:43 +08:00
Bjorn Lu
c8976440ff
Prevent bumping peer deps ( #8893 )
2023-10-26 18:07:02 +08:00
Houston (Bot)
28e56309a0
[ci] update lockfile ( #8721 )
...
* [ci] update lockfile
* fix ts-expect-error issue
---------
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2023-10-25 15:00:43 -07:00
Alexander Niebuhr
8c3d4a859a
fix noop overwrite image service regression ( #8880 )
...
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
2023-10-25 16:01:43 -04:00
Erika
e99586787b
feat: Add a dev overlay ( #8757 )
...
* feat: initial commit for dev overlay
* fix: lockfile
* fix: build
* chore: get ci in a better state
* feat: client-server communication
* fix: better position for xray
* refactor: move icons to separate files
* refactor: cleanup components
* feat: home screen
* refactor: rename icon
* feat: flag the feature
* fix: cleanup
* fix: lockfile
* feat: minimize button
* Update packages/astro/src/@types/astro.ts
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* refactor: cleanup
* feat: add ability to go to component for hydrated components
* refactor: consistent logic between audit and xray
* chore: changeset
* Apply suggestions from code review
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* fix: unchonky the SVGs
* fix: button a11y
* refactor: move common highlight utilities to a dedicated file
* fix: allow tabbing on highlights
* fix: allow tooltip clickable sections to be tabbed to
* feat: allow using defined icons as plugin icons
* refactor: remove unnecessary resolve
* Update .changeset/large-stingrays-fry.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update .changeset/large-stingrays-fry.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* nit: use append
* style: small tweaks to minimize button styling
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-25 17:40:37 +02:00
Erika
4740d761ae
feat: Rework image generation to improve performance ( #8821 )
...
* feat: implement concurrency for asset generation
* add changeset
* fix: count
* feat: rework image generation to reuse image buffer for transforms of the same image
* fix: assetsPrefix nonsense
* feat: add back the counter
* refactor: cleanup my TS nonsense
* nit: reuse type
* nit: apply suggestions
* nit: macOS micro optimization
* Update .changeset/good-mirrors-bake.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
---------
Co-authored-by: Matteo Manfredi <matteo@manfredi.io>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-25 14:21:38 +02:00
Houston (Bot)
6a991012c3
[ci] release ( #8912 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 13:53:18 -05:00
natemoo-re
63f7242aba
[ci] format
2023-10-24 18:50:46 +00:00
Nate Moore
b236d88add
fix(create-astro): respect existing package.json#scripts
( #8911 )
2023-10-24 13:48:17 -05:00
Houston (Bot)
a86b41c852
[ci] release ( #8895 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 12:26:45 -04:00
Genteure
f2dd895d71
fix(create-astro): ignore fs errors after download fails ( #8841 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-24 11:17:14 -05:00
Remco Haszing
5a3d46da1e
Recommend the VS Code MDX extension ( #8897 )
...
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-24 11:04:59 -05:00
matthewp
48bf7c3de6
[ci] format
2023-10-24 12:07:52 +00:00
Matthew Phillips
4dee38711c
Fix client hydration in experimentalReactChildren ( #8898 )
...
* Fix client hydration in experimentalReactChildren
* Add tests
* Add a changeset
* Use recursion instead of walking
* getChildren -> swap order
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-24 08:05:19 -04:00
Bjorn Lu
5dd1ed50b2
Prevent Vercel serverless generate static redirect pages ( #8896 )
2023-10-24 18:26:34 +08:00
Martin Trapp
dbff442c86
Chores: Tidying up the view transition router ( #8889 )
...
* Chores: simplifications and documentation
* improvements after review comments
* make linter happy
* More leniency with different browser behavior
2023-10-24 11:42:20 +02:00
ematipico
678ba54056
[ci] format
2023-10-24 07:43:49 +00:00
AndyClifford
73b8d60f8c
feat(markdoc): allowIndentation integration option ( #8802 )
2023-10-24 08:40:54 +01:00
Fred K. Schott
341ef65785
telemetry: record isTTY ( #8900 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-23 17:35:23 -05:00
natemoo-re
99b683aec1
[ci] format
2023-10-23 22:16:51 +00:00
Phumrapee Limpianchop
ce807a2bfe
feat(create-astro): automatically configure astro check
( #8853 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-10-23 17:14:33 -05:00
Bjorn Lu
26b77b8fef
Fix CSS modules ordering ( #8877 )
2023-10-23 21:22:47 +08:00
ematipico
e4ba50162e
[ci] format
2023-10-23 10:04:32 +00:00
Arsh
b209e53358
feat(vercel): maxDuration config ( #8867 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-23 11:02:23 +01:00
Houston (Bot)
42a83ffcfe
[ci] release ( #8861 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-23 17:22:50 +08:00
Kevin Cole
e69f7292d7
Update README.md: Fix incorrect import in example code ( #8888 )
2023-10-23 17:14:02 +08:00
Steven Yung
5ea6ee0ed4
fix(cli): prevent production install on add cmd ( #8870 )
2023-10-20 21:19:05 +08:00
Bjorn Lu
c36d80a888
Handle Rollup 4 hash change ( #8875 )
2023-10-20 21:15:30 +08:00
Florian Lefebvre
326e178933
fix(astro): terminal HMR path ( close #8831 ) ( #8863 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-10-20 11:01:54 +01:00
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
Bjorn Lu
88869bafb6
Set vite logLevel silent for test ( #8868 )
2023-10-19 13:03:01 -05: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