0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

4860 commits

Author SHA1 Message Date
Martin Trapp
481c13a08c
fix: Changelog formatting for 3.6.0 View Transition events (#9176)
Co-authored-by: Eva Decker <itsevadecker@gmail.com>
2023-11-23 00:20:33 +01:00
Eva Decker
ae4d949e7d [ci] format 2023-11-22 21:49:55 +00:00
Eva Decker
7c485ffc86
Fix View Transitions code block formatting (#9174) 2023-11-22 16:48:15 -05:00
Bjorn Lu
bd0c2e9ae3
Rename entryPoint to entrypoint (#9161)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-22 23:05:19 +08:00
Bjorn Lu
560ff29e74
Fix esbuild warning for local dev (#9160) 2023-11-22 22:42:13 +08:00
bluwy
19fd19f393 Merge branch 'main' into next 2023-11-22 22:37:18 +08:00
Houston (Bot)
4d1274c479
[ci] release (#9165)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-22 09:14:05 -05:00
Bjorn Lu
710be505c9
Refactor virtual modules exports (#9150)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-22 21:11:57 +08:00
Smit Barmase
0ea4bd47e0
Fallback to tap prefetch strategy on slow connection (#9092)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-22 21:10:09 +08:00
Martin Trapp
0970fd635c [ci] format 2023-11-22 12:55:48 +00:00
Martin Trapp
c87223c21a
New events for Astro's view transition API (#9090)
* draft new view transition events

* initial state for PR

* remove intraPageTransitions flag based on review comments

* add createAnimationScope after review comments

* remove style elements from styles after review comments

* remove quotes from animation css to enable set:text

* added changeset

* move scrollRestoration call from popstate handler to scroll update

* Update .changeset/few-keys-heal.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Less confusing after following review comments

* Less confusing after following review comments

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-22 07:54:09 -05:00
Bjorn Lu
addb57c8e8
Fix RemarkRehype types (#9147) 2023-11-22 11:17:29 +08:00
Bjorn Lu
0fe3a7ed5d
Remove vendored Vite importMeta.d.ts (#9149) 2023-11-22 11:17:21 +08:00
Houston (Bot)
ac908b7839
[ci] release (#9155)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-21 16:44:16 -05:00
Emanuele Stoppa
7ff8d62bf8
Revert "fix(i18n): fallback should create consistent directories (#9142… (#9157) 2023-11-21 15:40:59 -06:00
Arsh
4aca47beca [ci] format 2023-11-21 17:21:41 +00:00
Arsh
af43fb5172
fix(react): make children undefined with experimentalReactChildren (#9141)
* add test script

* make children `undefined` with self-closing tags

* add changeset

* refactor: simplify
2023-11-21 22:49:43 +05:30
Houston (Bot)
d9e72cea39
[ci] release (#9116)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-21 22:52:08 +08:00
Bjorn Lu
abf601233f
Update all dependencies (#9138)
Co-authored-by: delucis <delucis@users.noreply.github.com>
2023-11-21 12:09:19 +08:00
Emanuele Stoppa
7ab5137ba7
fix: test case for #9095 (#9127) 2023-11-20 14:11:26 -06:00
Martin Trapp
7742fd7dc2
Extend the 'click' listener of view transitions to handle links in SVGs and areas in image maps (#9140)
* handle clicks on SVGAElements and image maps

* add changeset
2023-11-20 21:10:35 +01:00
Emanuele Stoppa
7d55cf68d8
fix(i18n): fallback should create consistent directories (#9142) 2023-11-20 12:23:52 -06:00
Fred K. Schott
6201bbe96c
Logging rewrite 2 (#9105)
* update logging

add back warning for header access

improve labels and formatting

improve error logging

remove outdated error

fix build

new error messages and hints

new error messages and hints

* walk back error message changes

* fix rebase issues

* add changeset

* Remove accidental log

* revert bad env change

* Update index.ts

* Update packages/astro/src/core/build/index.ts

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-18 00:38:54 -08:00
Emanuele Stoppa
306781795d
fix(i18n): review fallback system (#9119) 2023-11-17 13:18:40 -06:00
Zhang Zhipeng
f4efd1c808
Warn if astro add fetch failed with non 404 status (#9121)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-11-17 22:28:47 +08:00
Bjorn Lu
1c48ed2865
Support Vite 5 (#9122) 2023-11-17 22:02:05 +08:00
Emanuele Stoppa
e3dce215a5
feat(i18n): add Astro.currentLocale (#9101) 2023-11-16 08:54:10 -06:00
Houston (Bot)
8366cd7775
[ci] release (#9107)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-16 21:50:47 +08:00
brandonsdebt
ac5633b8f6
Add compatibility with cloudflare node (#8925) 2023-11-16 21:47:46 +08:00
pilcrowOnPaper
1862fb44eb [ci] format 2023-11-15 23:41:21 +00:00
pilcrowOnPaper
c9487138d6
Cancel response stream when connection closes (#9071)
* cancel stream on close

* add changeset

* add test

* Update .changeset/modern-ways-develop.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-16 05:09:41 +05:30
Emanuele Stoppa
eeac288551 [ci] format 2023-11-15 18:45:38 +00:00
Emanuele Stoppa
536c6c9fd3
feat(i18n): apply specific routing logic only to pages (#9091) 2023-11-15 13:43:57 -05:00
Erika
60e8210b0c
feat(dev-overlay): Hide plugins into a separate menu when there's too many enabled (#9102) 2023-11-15 16:50:11 +01:00
Bjorn Lu
6e4dd54cfa [ci] format 2023-11-15 15:42:17 +00:00
Bjorn Lu
a600c14837
Support Svelte 5 (experimental) (#9098)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-15 23:40:23 +08:00
Houston (Bot)
e63aac94ca
[ci] release (#9078)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-14 23:20:35 +08:00
bluwy
0aee43fc16 [ci] format 2023-11-14 15:01:58 +00:00
Bjorn Lu
4537ecf0d0
Refactor shikiji syntax highlighting code (#9083) 2023-11-14 23:00:17 +08:00
bluwy
6f5de8dfba [ci] format 2023-11-14 09:41:17 +00:00
Rishi Raj Jain
84312f24f8
fix: Query params trigger the trailingSlash error in preview mode (#9045) 2023-11-14 17:39:37 +08:00
Alexander Niebuhr
b895113a0a
fix(assets): bundling regression for specific config on non-Node runtimes (#9087) 2023-11-14 07:53:14 +01:00
Sarah Rainsberger
554017b66a
[docs] config-reference typo (#9094) 2023-11-13 20:52:09 -04:00
ematipico
9294c7535d [ci] format 2023-11-13 19:14:26 +00:00
Emanuele Stoppa
fc66ecff18
fix(i18n): middleware should consider trailing slash when redirecting (#9085) 2023-11-13 14:12:46 -05:00
Matthew Phillips
045e5ec979
Support formmethod and formaction in ViewTransitions (#9084)
* Support formmethod and formaction in ViewTransitions

* Adding a changeset

* Update .changeset/new-pets-fail.md

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Be less clever

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-11-13 14:03:07 -05:00
Erika
5ef89ef33e
feat(overlay): Add a settings panel (#9058) 2023-11-13 13:09:32 +01:00
Risu
a7f8123ba4
chore(config.d.ts): Update comment (#9076) 2023-11-13 11:15:02 +01:00
Erika
c5dc8f2ec9
fix(assets): Only use src to hash files generated by the passthrough service (#9075)
* fix(assets): Only use src to hash files generated by the passthrough service

* chore: changeset
2023-11-13 10:58:58 +01:00
Ikko Eltociear Ashimine
7aa965f960
Fix typo in router.ts (#9077) 2023-11-13 17:14:46 +08:00
Daniel Hajduk
c6e449c5b3
fix(logger): namespace label in debug logger (#9067) 2023-11-13 17:07:46 +08:00
Houston (Bot)
5f2db426ce
[ci] release (#9070)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-11 22:39:47 -06:00
natemoo-re
c5d7f4452a [ci] format 2023-11-12 04:33:14 +00:00
Nate Moore
50164f5e37
Fix asset propagation regression in 3.5 (#9069) 2023-11-11 22:31:34 -06:00
sarah11918
44bfc9bbba [ci] format 2023-11-10 19:25:08 +00:00
Sarah Rainsberger
aa4ef8a1e7
[docs] test config-reference formatting for sidebar (#9052)
Co-authored-by: Chris Swithinbank <357379+delucis@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <602478+ematipico@users.noreply.github.com>
Co-authored-by: Elian <15145918+ElianCodes@users.noreply.github.com>
2023-11-10 15:23:32 -04:00
Houston (Bot)
13ca6d989b
[ci] release (#9054)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 11:37:35 -05:00
Matthew Phillips
f105b1002b
Allow same-page navigations on form posts (#9055)
* Allow same-page navigations on form posts

* Add another comment
2023-11-10 11:23:31 -05:00
Emanuele Stoppa
1bc3319686
fix(middleware): do not import user middleware if not preset (#9057) 2023-11-10 11:11:15 -05:00
Sergii Kirianov
1e97708cda
fix: added onError functionality to spinner (#9048)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-10 14:15:59 +00:00
Houston (Bot)
5db28e90d0
[ci] release (#9038)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 09:10:04 -05:00
Emanuele Stoppa
15b84ccb98
fix: regression when calculating params and pattern (#9051)
* fix: regression when calculating params and pattern

* changeset
2023-11-10 13:49:27 +00:00
matthewp
fb94d575af [ci] format 2023-11-10 13:30:21 +00:00
Rishi Raj Jain
7dedd17fc4
fix: Astro info throws when xclip is not available (#9042)
* Update index.ts

* Create hot-teachers-wave.md

* Update .changeset/hot-teachers-wave.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-10 08:28:47 -05:00
Erika
49b82edb2c
fix(assets): Fix image errors when images were used on the client (#9049)
* fix(assets): Fix image errors when images were used on the client

* test: add a test

* chore: changeset
2023-11-10 14:01:04 +01:00
Erika
bf0286e50c
fix(logging): Fix --verbose flag not working (#9050) 2023-11-10 11:35:20 +01:00
sarah11918
a888e98538 [ci] format 2023-11-09 20:21:12 +00:00
Sarah Rainsberger
ea71975ec0
[docs] hotfixes to i18n config-ref (#9037)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-09 16:18:39 -04:00
Houston (Bot)
83c8870684
[ci] release (#9021)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-09 12:49:35 -05:00
Houston (Bot)
4ce20b6fc9
[ci] update lockfile (#8950)
Co-authored-by: Nate Moore <nate@astro.build>
2023-11-09 11:27:13 -06:00
Benny Neugebauer
db4d0c1498
chore: Update docs for TS 5 presets (#9025)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-11-09 11:07:49 -06:00
natemoo-re
1eb5d7fa7e [ci] format 2023-11-09 15:57:09 +00:00
Nate Moore
3e1239e42b
Content Collection cache (experimental) (#8854)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-11-09 09:55:29 -06:00
Emanuele Stoppa
5b16619e4a
fix(i18n): names of the functions should match the RFC (#9035) 2023-11-09 15:40:45 +00:00
Arsh
bd2d494c04
fix(config types): routingStrategy is optional (#9034) 2023-11-09 15:23:19 +00:00
Emanuele Stoppa
4e9f171ef2
fix(i18n): fallback index when routing is prefix-always (#9032)
* fix(i18n): fallback index when routing is prefix-always

* chore: add comment as per feedback
2023-11-09 14:32:57 +00:00
Erika
29b83e9e4b
fix(assets): Use uint8arrays instead of Buffer in code that can run outside of Node (#9029)
* fix(assets): Use uint8arrays instead of Buffer in code that can run outside of Node

* chore: changeset

* docs: update changeset with more information on what to do if a Buffer is important

* nit: do a patch instead
2023-11-09 14:05:32 +01:00
matthewp
78b8b76eae [ci] format 2023-11-08 18:38:31 +00:00
Matthew Phillips
f5bdfa272b
Integration defined middleware (#8869)
* Rebase

* Use an empty module if there is no real middleware

* Add debug logging

* Use normalizePath

* Add a better example in the changesetp

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/astro/src/core/middleware/vite-plugin.ts

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Review comments

* oops

* Update .changeset/khaki-glasses-raise.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-11-08 13:36:50 -05:00
matthewp
b09379428d [ci] format 2023-11-08 17:48:24 +00:00
Matthew Phillips
fda3a0213b
Support form submissions in the ViewTransitions router (#8963)
* Support form submissions in the ViewTransitions router

* Align with navigate API, add `formData` option

* Change API to handleForms

* Add a changeset

* Add a test for non-200 responses

* Update .changeset/many-weeks-sort.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/many-weeks-sort.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Add a little more on why this is exciting!

* Update .changeset/many-weeks-sort.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Switch to e.g.

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 12:45:50 -05:00
ematipico
8a51afdf50 [ci] format 2023-11-08 15:48:44 +00:00
Emanuele Stoppa
143bacf396
feat: experimental i18n routing (#8974)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
Co-authored-by: Elian ️ <hello@elian.codes>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 15:45:43 +00:00
horo
c5010aad34
Light/dark theming for shikiji's codeblocks (#8903)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 22:42:05 +08:00
Erika
1ecc9aa324
feat(overlay): Add click to go to editor for audits (#9016)
* feat(overlay): Add click to go to editor for audits

* chore: changeset

* chore: update compiler dep

* fix: tests

* Update packages/astro/src/core/compile/compile.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* Update packages/astro/src/core/compile/compile.ts

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-08 15:29:12 +01:00
Bjorn Lu
38e21d1275
Support prefetch in core (#8951)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 22:07:18 +08:00
Augustine Kim
23c9a30ad8
Fix Lit integration hydration ordering (#9018)
* Provide renderer instance to `customElementHostStack`

* Add changeset
2023-11-08 08:25:39 -05:00
Princesseuh
3c17b59f2d [ci] format 2023-11-08 09:24:54 +00:00
Erika
f0031b0a39
feat(assets): Delete original assets unused outside of the optimization pipeline (#8954)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 10:23:23 +01:00
Erika
26b1484e80
feat(assets): Add property to image services to control which properties to use for hashing (#8984)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-08 10:10:26 +01:00
Caleb Jasik
100b61ab5a
Use jpeg source files as fallback rather than converting to png (#9010)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-08 10:09:40 +01:00
Houston (Bot)
653ad939ce
[ci] release (#8989)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-08 08:51:24 +01:00
Justinas Delinda
14e586cc77
fix(vue): vue regular script block exports not being recognized inside editor (#8998)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-11-08 08:44:02 +01:00
Erika
d979b8f0a8
feat(overlay): Match the design's animations, shadows and general styling (#9014) 2023-11-08 08:37:35 +01:00
lilnasy
6e30bdc941 [ci] format 2023-11-07 14:03:45 +00:00
Arsh
754e4fd31c
feat(vercel): streaming (#8879) 2023-11-07 14:01:04 +00:00
Martin Trapp
35739d01e9
Fix DEV mode on Safari when view transitioning to client:only components (#9000)
* Fix DEV mode on Safari when view transitioning to client:only components

* Update .changeset/eighty-ladybugs-shake.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-11-06 18:48:34 +01:00
bluwy
4983acea8c [ci] format 2023-11-06 15:15:47 +00:00
Bjorn Lu
c5a7993266
Handle Vite 5 changes (#9005) 2023-11-06 23:13:57 +08:00
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