doouding
393dcfec78
feat: bump bs ( #8212 )
...
https://github.com/toeverything/blocksuite/pull/8311
2024-09-12 04:28:14 +00:00
pengx17
24bf1beac8
fix(electron): devtools open in detach mode ( #8200 )
...
fix AF-1380
2024-09-12 03:20:19 +00:00
CatsJuice
8bf0458ef4
fix(mobile): remove all focus style for link and button ( #8208 )
2024-09-12 03:07:31 +00:00
Saul-Mirone
ba81b1a9ca
chore: bump bs ( #8204 )
2024-09-11 12:04:26 +00:00
fundon
b74dd1c92e
feat(core): support block links on Bi-Directional Links ( #8169 )
...
Clsoes [AF-1348](https://linear.app/affine-design/issue/AF-1348/修复-bi-directional-links-里面的链接地址 )
* Links to the current document should be ignored on `Backlinks`
* Links to the current document should be ignored on `Outgoing links`
https://github.com/user-attachments/assets/dbc43cea-5aca-4c6f-886a-356e3a91c1f1
2024-09-11 11:08:12 +00:00
CatsJuice
b7d05d2078
feat(core): new empty states for doc/collection/tag ( #8197 )
...
AF-1329, AF-1330
2024-09-11 10:48:52 +00:00
akumatus
f12655655e
feat: add mindmap and connector settings ( #8198 )
...
### What changed?
- Add `connector` label settings.
- Add `mindmap` style settings.
- Add skeleton loading placeholder.
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/31159d74-ef62-4c7f-b1d9-cde73047cf29.mov ">录屏2024-09-11 16.30.17.mov</video>
2024-09-11 09:17:11 +00:00
EYHN
85aa73bcf6
fix(core): disconnect ws when user logout ( #8188 )
2024-09-11 07:55:42 +00:00
EYHN
d93c3b3719
feat(core): user data db ( #7930 )
2024-09-11 07:55:37 +00:00
EYHN
498a69af53
feat(core): move enable ai to feature flag ( #8195 )
2024-09-11 07:42:07 +00:00
EYHN
8c191e6baa
feat(core): preview template & snapshot import ( #8193 )
2024-09-11 07:11:33 +00:00
EYHN
f009371e06
fix(core): fix menu shaking ( #8187 )
2024-09-11 03:42:13 +00:00
forehalo
7a546ff8a1
feat(core): add auth metrics ( #8194 )
...
close AF-849
2024-09-11 03:28:32 +00:00
CatsJuice
81ab8ac8b3
feat(mobile): pwa and browser theme-color optimization ( #8168 )
...
[AF-1325](https://linear.app/affine-design/issue/AF-1325/优化-pwa-体验 ), [AF-1317](https://linear.app/affine-design/issue/AF-1317/优化:-pwa-的顶部-status-bar-颜色应与背景保持一致 ), [AF-1318](https://linear.app/affine-design/issue/AF-1318/优化:pwa-的底部应当有符合设备安全高度的padding ), [AF-1321](https://linear.app/affine-design/issue/AF-1321/更新一下-fail-的-pwa-icon )
- New `<SafeArea />` ui component
- New `useThemeColorV1` / `useThemeColorV2` hook:
- to modify `<meta name="theme-color" />` with given theme key
2024-09-11 02:20:59 +00:00
L-Sun
9038592715
fix(core): disable append paragraph in shared page editor ( #8191 )
...
Disable append paragraph function for readonly or shared page editor.
### Before
![CleanShot 2024-09-10 at 22.26.04@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/3ab206a2-8e30-4212-9d5d-3073ec489644.png )
2024-09-10 15:33:52 +00:00
L-Sun
6ce6cb33ef
feat(core): add outline viewer for share page ( #8190 )
2024-09-10 14:00:17 +00:00
Saul-Mirone
daa9d9ff5c
chore: bump bs ( #8189 )
2024-09-10 13:48:08 +00:00
JimmFly
9ccf517e06
chore: adjust the border color of Point component ( #8185 )
...
close AF-1367
2024-09-10 09:22:34 +00:00
JimmFly
31561d8203
chore: bump theme version ( #8184 )
2024-09-10 09:05:30 +00:00
donteatfriedrice
9dfd366382
fix: ai error message tip would be cut off ( #8183 )
...
Use `<affine-tooltip>` component that updates the float position when it might be clipped。
Fix: [BS-1386](https://linear.app/affine-design/issue/BS-1386/[bug]-tooltip-位置错误 )
2024-09-10 08:12:05 +00:00
JimmFly
4c0d0ab8de
fix(core): page jumps unexpectedly when clicking the collection operation ( #8182 )
...
close AF-1371
https://github.com/user-attachments/assets/9cc25790-8755-458c-94ac-a8d1b584c428
2024-09-10 06:38:33 +00:00
EYHN
0cdc486f1f
fix(core): reduce state refresh ( #8181 )
2024-09-10 06:21:15 +00:00
pengx17
fb76fdfca3
fix(core): menu not scrollable when opening in modal ( #8179 )
...
fix AF-1360
When menu (with modal = false) is rendered in Modal, the [RemoveScroll utility wrapped by Modal](660060a765/packages/react/dialog/src/Dialog.tsx (L203)
) will prevent menu from scrolling.
The reason why menu is scrollable within a dialog is because it is also wrapped a RemoveScroll [when modal is on. ](660060a765/packages/react/menu/src/Menu.tsx (L305)
)
In this fix, added a `useWithinModal` utility hook so that menu will automatically assign noportal mode for menu when it is rendered inside of a modal.
2024-09-10 06:09:00 +00:00
JimmFly
9d343bdaa6
feat(core): add enable url preview to workspace settings ( #8089 )
2024-09-10 04:04:06 +00:00
Brooooooklyn
fe1eefdbb2
feat: init renderer server ( #8088 )
2024-09-10 04:03:59 +00:00
JimmFly
b48cc825e0
fix(core): unexpected jump when clicking save tag ( #8171 )
...
close AF-1285
https://github.com/user-attachments/assets/1ec4adf5-4340-4e94-9e56-6a05e7a65f18
2024-09-09 07:54:56 +00:00
JimmFly
a7ecfea3b5
fix(core): disable border thickness setting when no border is selected ( #8152 )
...
close AF-1351
2024-09-09 03:25:04 +00:00
fundon
6b266e3a1b
fix(core): link copying and pasting ( #8157 )
...
Related to: https://github.com/toeverything/blocksuite/pull/8233
2024-09-09 03:11:20 +00:00
forehalo
d31565eb98
ci(mobile): typecheck ( #8166 )
2024-09-09 02:59:50 +00:00
forehalo
57083905ff
fix(core): strict client oauth parameters check ( #8159 )
2024-09-08 12:44:47 +00:00
Saul-Mirone
32d3769201
chore: bump bs ( #8153 )
2024-09-07 04:08:22 +00:00
CatsJuice
87ed358f2e
fix(mobile): adjust mobile ui ( #8112 )
...
close AF-1274, AF-1320, AF-1333
2024-09-06 13:40:10 +00:00
JimmFly
817306ea2a
chore: sort font weight options ( #8151 )
...
close PD-1684
2024-09-06 11:41:18 +00:00
pengx17
487154ed3b
fix(core): nav item line-height with Emoji ( #8148 )
2024-09-06 11:28:22 +00:00
forehalo
817842cf72
fix(core): oauth links should have origin prefix in desktop ( #8150 )
2024-09-06 11:16:19 +00:00
Saul-Mirone
84ebe62edc
chore: bump bs to lts ( #8147 )
2024-09-06 10:54:19 +00:00
JimmFly
e822bbd2dd
fix(core): deleted doc should not appear in tag pages ( #8143 )
...
close AF-1206
2024-09-06 10:40:03 +00:00
JimmFly
7fe8d7e96f
fix(core): adjust editor settings preview style ( #8146 )
...
close PD-1680 PD-1682 PD-1683
https://github.com/user-attachments/assets/49ed9ffe-8e8f-403d-91a0-e42b7f4ffb04
2024-09-06 10:06:19 +00:00
pengx17
cd5c512a5f
fix(electron): auto update check on windows ( #8137 )
...
turns out activate event is only available on macos
2024-09-06 09:41:25 +00:00
pengx17
d089470bbf
feat(electron): electron shell skeleton ( #8127 )
...
fix AF-1331
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/e09203aa-f143-42f8-bd39-e5078d07ada2.mp4 ">1.mp4</video>
missing
- per split view skeleton
- per route skeleton
2024-09-06 09:25:20 +00:00
akumatus
16bb00ed78
fix: load snapshot files in parallel ( #8145 )
2024-09-06 09:12:57 +00:00
forehalo
bffc294620
fix(core): oauth popup blocked in safari ( #8144 )
...
fix(core): oauth popup blocked in safari
fix(core): standarize auth routes
fix AF-1352
2024-09-06 08:26:27 +00:00
forehalo
64d2b926a2
fix(server): remove default auth redirect url ( #8140 )
2024-09-06 06:26:59 +00:00
JimmFly
a027cef457
fix(core): some fonts are unavailable ( #8139 )
...
close AF-1349 AF-1347
2024-09-06 05:08:12 +00:00
fundon
7d93fae1dd
fix(core): inlineEditor on rich-text may be null ( #8131 )
...
See 3d3d9d7862/packages/affine/components/src/rich-text/rich-text.ts (L348-L350)
https://github.com/toeverything/blocksuite/blob/master/packages/affine/components/src/rich-text/rich-text.ts#L36
2024-09-06 03:50:05 +00:00
EYHN
702c03539f
fix(core): fix member list fallback size ( #8133 )
2024-09-06 02:38:30 +00:00
EYHN
74cd175d37
feat(core): invoice service ( #8124 )
2024-09-05 23:56:58 +08:00
akumatus
9cbe416c2c
feat(core): shape editor settings ( #8122 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/cdf4f95c-15b4-4eac-be57-26974f9ca02b.mov ">录屏2024-09-05 21.20.31.mov</video>
2024-09-05 15:24:37 +00:00
EYHN
f4db4058f8
feat(core): make permission and invoice offline available ( #8123 )
2024-09-05 15:11:27 +00:00
JimmFly
8be67dce82
fix(core): remove joined workspace icon from current worksapce card ( #8117 )
...
close PD-1669
2024-09-05 14:58:29 +00:00
fundon
017e89f458
fix(core): should be bound to the correct object ( #8121 )
...
<img width="795" alt="Screenshot 2024-09-05 at 18 05 35" src="https://github.com/user-attachments/assets/46f277e9-9be6-4f71-b765-fc442a3a9c64 ">
2024-09-05 14:46:04 +00:00
pengx17
d3f50a2e38
feat(core): expose skip login button to web ( #8115 )
...
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/634cce16-bba2-480f-9126-94b22a782a9a.png )
Allow user skip login page on client
2024-09-05 14:33:22 +00:00
JimmFly
d0010a1d11
chore: add i18n support for ai confirm modal ( #8116 )
2024-09-05 14:20:40 +00:00
JimmFly
10fe79a9a8
chore: remove deprecated admin panel ( #8120 )
2024-09-05 14:07:34 +00:00
akumatus
4bbb94c32d
feat(core): bump blocksuite ( #8114 )
2024-09-05 13:54:56 +00:00
JimmFly
5083fe3cfd
feat(core): update i18n resources ( #8119 )
2024-09-05 12:37:06 +00:00
fundon
de1a51bf7c
fix(core): should open a new tab with parameters ( #8118 )
...
Closes [AF-1343](https://linear.app/affine-design/issue/AF-1343/点击-center-peek-右侧的按钮时,应该携带参数 )
2024-09-05 10:30:39 +00:00
pengx17
7621758c76
fix(electron): tune offline mode filter ( #8113 )
2024-09-05 10:08:56 +00:00
JimmFly
5c67f98e90
fix(admin): nav bar incorrectly active state ( #7870 )
2024-09-05 09:35:22 +00:00
pengx17
d5ecf503c2
fix(mobile): journal button should not show for edgeless ( #8110 )
2024-09-05 09:16:26 +00:00
pengx17
2a2a969394
feat(mobile): add share button ( #8109 )
2024-09-05 09:16:25 +00:00
EYHN
691bfed185
feat(core): selector for editorSetting hooks ( #8108 )
2024-09-05 08:44:11 +00:00
JimmFly
3837c84791
feat(core): temporarily add page mode editor settings to appearance settings ( #8090 )
...
Will remove it when editor settings is released.
![CleanShot 2024-09-04 at 18 19 29@2x](https://github.com/user-attachments/assets/2b2b75ff-acbf-4ca9-ae60-292e73663e13 )
2024-09-05 08:30:01 +00:00
fundon
059030fbeb
fix(core): link generation for selected blocks ( #8087 )
...
Closes [BS-1321](https://linear.app/affine-design/issue/BS-1321/copy-link-to-selected-block )
https://github.com/user-attachments/assets/6102fc7f-9551-4dd4-83b1-758dd0a946f0
2024-09-05 07:47:40 +00:00
akumatus
19a7d1eb92
feat(core): observe editor settings change and update edgeless editor ( #8105 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/cfdd0578-274c-42e3-9ef5-5528e8b25306.mov ">录屏2024-09-05 14.32.41.mov</video>
2024-09-05 07:30:20 +00:00
JimmFly
f452414952
fix(core): hide the footer that blocks the toolbar in shared page ( #8091 )
...
close PD-1405 CLOUD-64
https://github.com/user-attachments/assets/f6ed2dfc-d238-41d8-abaf-684193a080ff
2024-09-05 07:14:23 +00:00
CatsJuice
03c2051926
feat(component): startScopedViewTranstion func to support scoped view transition ( #8093 )
...
AF-1293
2024-09-05 06:45:29 +00:00
CatsJuice
73dd1d3326
fix(mobile): fixed all docs header, remove doc card tags layout strategy ( #8104 )
...
close AF-1326
2024-09-05 06:29:18 +00:00
renovate
24acce2eac
chore: bump up @blocksuite/icons version to v2.1.67 ( #8006 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://redirect.github.com/toeverything/icons ) | [`2.1.66` -> `2.1.67`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.66/2.1.67 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.67?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.67?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.66/2.1.67?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.66/2.1.67?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>toeverything/icons (@​blocksuite/icons)</summary>
### [`v2.1.67`](8842286f0a...4bdeb1d0ae
)
[Compare Source](8842286f0a...4bdeb1d0ae
)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-09-05 05:41:33 +00:00
Yifeng Wang
b711b087c5
docs: add electron build troubleshooting ( #8102 )
2024-09-05 13:39:01 +08:00
fundon
2bdf8c6ef3
chore(core): track copy block to link action ( #8056 )
...
part of [BS-1254](https://linear.app/affine-design/issue/BS-1254/增加-block-reference-的埋点 )
2024-09-05 03:21:25 +00:00
akumatus
5f3dd867ad
feat(core): support snapshot preview in editor settings ( #8094 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/a991f7d2-f9c6-4241-a24b-b8c01cb86af3.mov ">录屏2024-09-04 22.26.47.mov</video>
2024-09-05 02:58:54 +00:00
pengx17
b680c1839b
fix(core): edit tag should not jump to its detail ( #8070 )
...
fix AF-1324
2024-09-05 02:46:07 +00:00
pengx17
1cac2f6ccd
feat(core): add journal navigation tracking ( #8046 )
...
fix AF-1314
2024-09-05 02:31:58 +00:00
CatsJuice
06552a1120
fix(mobile): explorer node touch optimization ( #8101 )
...
close AF-1338
2024-09-05 02:18:28 +00:00
pengx17
93ae724c66
chore(electron): downgrade electron to v31 ( #8095 )
...
fix AF-1337
it seems the way how we load web worker file in electron no longer works.
created an upstream issue in https://github.com/electron/electron/issues/43556
2024-09-05 01:30:26 +00:00
pengx17
989e8830f7
fix(mobile): workspace selector not close on click outside ( #8096 )
2024-09-04 16:57:57 +00:00
pengx17
0ae5673aaa
feat(electron): add offline mode ( #8086 )
...
fix AF-1334
It seems `session.enableNetworkEmulation({ offline: true });` does not work - https://github.com/electron/electron/issues/21250
implemented using an in-house solution.
When turned on:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/6805735b-1006-4e51-be46-c047b0f1a82c.png )
2024-09-04 10:46:43 +00:00
CatsJuice
51bc40d2a8
fix(mobile): header will be clipped when modal opened and page scrolled ( #8079 )
...
close AF-1332
This issue is caused by radix, it will set `overflow: hidden` to body when modal opened. And header is implemented with `position: sticky`.
> **why not use `position: fixed` for header?**
>
> We need to handle `padding-top` manually to avoid content covered by header.
2024-09-04 09:36:18 +00:00
EYHN
2524491bd1
fix(env): is mobile flag ( #8005 )
...
only 'mobile' entry has isMobile = true flag
2024-09-04 09:21:36 +00:00
JimmFly
f688c057eb
feat(core): impl AI switch ( #8018 )
...
close PD-1658
https://github.com/user-attachments/assets/2f3d1d26-1879-4d95-b80c-7c0965cefbd0
2024-09-04 08:44:05 +00:00
EYHN
eb16c273ee
feat(core): apply default doc mode setting ( #8083 )
2024-09-04 08:31:36 +00:00
EYHN
01b2339173
refactor(core): better block link ( #8082 )
2024-09-04 08:13:22 +00:00
EYHN
2799e8cd43
fix(electron): fix ci ( #8085 )
2024-09-04 08:00:09 +00:00
EYHN
fb64bc7e55
feat(core): indexer upgrade ( #8062 )
2024-09-04 07:31:03 +00:00
EYHN
51f3566bec
fix(core): fix menu bugs ( #8074 )
2024-09-04 07:19:09 +00:00
pengx17
01e6370dd2
fix(electron): use CTRL+=
to zoom in on windows ( #8081 )
...
fix AF-1291
2024-09-04 04:23:55 +00:00
pengx17
2ac803c73f
feat(mobile): sign in page ( #8039 )
...
fix AF-1237
2024-09-04 03:58:54 +00:00
CatsJuice
0d6f468385
fix(component): nested modal view-transition support ( #8073 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/LakojjjzZNf6ogjOVwKE/b8033923-8f08-4c72-96b6-d790fc0ff703.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/LakojjjzZNf6ogjOVwKE/b8033923-8f08-4c72-96b6-d790fc0ff703.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/b8033923-8f08-4c72-96b6-d790fc0ff703.mp4 ">CleanShot 2024-09-03 at 18.36.17.mp4</video>
2024-09-04 01:29:22 +00:00
CatsJuice
ec3b97d069
fix(component): replace storybook-dark-mode with globalTypes toolbar impl ( #8066 )
2024-09-03 15:18:24 +00:00
pengx17
7dde509970
fix(core): page info modal styles ( #8067 )
2024-09-03 12:46:37 +00:00
Saul-Mirone
681f4561fb
chore: bump bs ( #8071 )
2024-09-03 12:12:59 +00:00
pengx17
d00f86c3ce
fix(core): handle modal overlay click event correctly ( #8063 )
...
1. overlay click + hide is brought back. this is because modal (ormobile menu)'s `onPointerDownOutside` is bound to document.body. Code in e58af08f63/packages/frontend/core/src/modules/explorer/views/tree/node.tsx (L353-L356)
will stop the event from bubbling to the document element.
2. when Menu's set to modal=true, the parent is set to pointer-events: none as well. changed menu to modal false instead.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/3e50281f-839d-4463-af00-dff2fce8202b.png )
2024-09-03 12:00:00 +00:00
pengx17
ae3b13bfb4
fix(electron): only the active view should respond to CMD+N ( #8068 )
2024-09-03 11:48:06 +00:00
renovate
4595df9b0e
chore: bump up react-day-picker version to v9 ( #7559 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-day-picker](https://daypicker.dev ) ([source](https://redirect.github.com/gpbl/react-day-picker )) | [`^8.10.1` -> `^9.0.0`](https://renovatebot.com/diffs/npm/react-day-picker/8.10.1/9.0.8 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-day-picker/9.0.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-day-picker/9.0.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-day-picker/8.10.1/9.0.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-day-picker/8.10.1/9.0.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>gpbl/react-day-picker (react-day-picker)</summary>
### [`v9.0.8`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.8 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.7...v9.0.8 )
This release fixes a regression in v9.0.7 affecting range mode.
#### What's Changed
- fix: update the displayed month only if start/end month change by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2358 ](https://redirect.github.com/gpbl/react-day-picker/pull/2358 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.7...v9.0.8
### [`v9.0.7`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.7 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.6...v9.0.7 )
This release improves compatibility with v8 and fix an issue with the calendar navigation.
#### What's Changed
- fix: update calendar state when `startMonth` or `endMonth` change by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2343 ](https://redirect.github.com/gpbl/react-day-picker/pull/2343 )
- feat: allow partial locales, export `defaultLocale` by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2348 ](https://redirect.github.com/gpbl/react-day-picker/pull/2348 )
- feat: allow `undefined` as initially selected value, as it was in v8 by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2341 ](https://redirect.github.com/gpbl/react-day-picker/pull/2341 )
- docs: changed class name `calendar` to `root` in the examples by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2347 ](https://redirect.github.com/gpbl/react-day-picker/pull/2347 )
- docs: replaced deprecated props by [@​josephmarkus](https://redirect.github.com/josephmarkus ) in [https://github.com/gpbl/react-day-picker/pull/2336 ](https://redirect.github.com/gpbl/react-day-picker/pull/2336 )\*
#### New Contributors
- [@​josephmarkus](https://redirect.github.com/josephmarkus ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2336 ](https://redirect.github.com/gpbl/react-day-picker/pull/2336 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.6...v9.0.7
### [`v9.0.6`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.6 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.5...v9.0.6 )
This release addresses the failed import of the common-js module for some app builder and add new `data-` attributes to help the integration with Tailwind. Thanks for your feedback!
#### What's Changed
- fix(build): add package.json to dist/cjs module by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2330 ](https://redirect.github.com/gpbl/react-day-picker/pull/2330 )
- feat: add new data-attributes to the day cells by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2331 ](https://redirect.github.com/gpbl/react-day-picker/pull/2331 )
#### New Contributors
- [@​lesleh](https://redirect.github.com/lesleh ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2329 ](https://redirect.github.com/gpbl/react-day-picker/pull/2329 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.5...v9.0.6
### [`v9.0.5`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.5 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.4...v9.0.5 )
This release improves the range mode behavior (see the [updated docs](https://daypicker.dev/docs/selection-modes#range-mode )) and address some styling issues.
#### What's Changed
- fix: improved range mode to work with min / required props by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2326 ](https://redirect.github.com/gpbl/react-day-picker/pull/2326 )
- fix(style): typo in css rdp-hidden module css breaking CSS builds by [@​ayuhito](https://redirect.github.com/ayuhito ) in [https://github.com/gpbl/react-day-picker/pull/2307 ](https://redirect.github.com/gpbl/react-day-picker/pull/2307 )
- fix(style): borders grid are not collapsed by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2323 ](https://redirect.github.com/gpbl/react-day-picker/pull/2323 )
- fix(style): week numbers are now centered by [@​gpbl](https://redirect.github.com/gpbl ) in c919ad829c
#### New Contributors
- [@​ayuhito](https://redirect.github.com/ayuhito ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2307 ](https://redirect.github.com/gpbl/react-day-picker/pull/2307 )
- [@​rishabh-ink](https://redirect.github.com/rishabh-ink ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2311 ](https://redirect.github.com/gpbl/react-day-picker/pull/2311 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.4...v9.0.5
### [`v9.0.4`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.4 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.3...v9.0.4 )
This release fixes some bugs and improves compatibility with v8.10. Thanks for your feedback and patience! 🤖
#### What's Changed
- fix(css): typo in `.rdp-range_end` by [@​AlessioDP](https://redirect.github.com/AlessioDP ) in [https://github.com/gpbl/react-day-picker/pull/2298 ](https://redirect.github.com/gpbl/react-day-picker/pull/2298 )
- fix(css): dropdown is transparent in Windows OS by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2300 ](https://redirect.github.com/gpbl/react-day-picker/pull/2300 )
- fix: `endMonth` date not working as expected by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2301 ](https://redirect.github.com/gpbl/react-day-picker/pull/2301 )
- feat: added back `onDayMouseEnter` and `onDayMouseLeave` by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2304 ](https://redirect.github.com/gpbl/react-day-picker/pull/2304 )
#### New Contributors
- [@​AlessioDP](https://redirect.github.com/AlessioDP ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2298 ](https://redirect.github.com/gpbl/react-day-picker/pull/2298 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.3...v9.0.4
### [`v9.0.3`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.3 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.2...v9.0.3 )
This release fixes two issues found with the grid style and the range mode.
#### What's Changed
- fix: alignment of grid elements by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2294 ](https://redirect.github.com/gpbl/react-day-picker/pull/2294 )
- fix: range mode not updating when selected prop changes by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2295 ](https://redirect.github.com/gpbl/react-day-picker/pull/2295 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.2...v9.0.3
### [`v9.0.2`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.2 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.1...v9.0.2 )
This update improves backward compatibility with v8.10.1 for range selection mode.
#### What's Changed
- feat: add `excludeDisabled` prop for range mode by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2290 ](https://redirect.github.com/gpbl/react-day-picker/pull/2290 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.1...v9.0.2
### [`v9.0.1`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.1 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.0.0...v9.0.1 )
This update improves backward compatibility with v8.10.1.
#### What's Changed
- fix: prop types not being correctly interpreted by TS by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2283 ](https://redirect.github.com/gpbl/react-day-picker/pull/2283 )
- feat: add `DeprecatedUI` enum by [@​gpbl](https://redirect.github.com/gpbl ) in [https://github.com/gpbl/react-day-picker/pull/2284 ](https://redirect.github.com/gpbl/react-day-picker/pull/2284 )
**Full Changelog**: https://github.com/gpbl/react-day-picker/compare/v9.0.0...v9.0.1
### [`v9.0.0`](https://redirect.github.com/gpbl/react-day-picker/releases/tag/v9.0.0 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v8.10.1...v9.0.0 )
DayPicker v9 is a major release including significant updates related to accessibility, customization and localization.
- See the updated docs at https://daypicker.dev and the [upgrading Guide](https://daypicker.dev/upgrading ) for more details.
##### Install the Latest Version
```bash
npm install react-day-picker@latest
```
#### What’s New
- Moved `date-fns` from peer dependencies to dependencies.
- Added support for [UTC dates](https://daypicker.dev/docs/localization#utc-dates ) and [Jalali Calendar](https://daypicker.dev/docs/localization#jalali-calendar ).
- [Enhanced accessibility](https://daypicker.dev/docs/accessibility ) to better comply with [WCAG 2.1](https://www.w3.org/TR/WCAG21/ ) recommendations.
- [Simplified styles](https://daypicker.dev/docs/styling ) and new CSS variables for easier customization.
- Improved selection logic for [range mode](https://daypicker.dev/docs/selection-modes.mdx ).
- New `dropdown-years` and `dropdown-months` caption layouts.
- New `hideWeekdayRow` and `hideNavigation` props.
- Updated for a complete [custom components](https://daypicker.dev/guides/custom-components ) support.
- Improved typings and props for better compatibility in TypeScript `strict` mode.
#### Breaking Changes
While we tried to keep the API as stable as possible, some breaking changes were necessary to improve the library:
- The updated ARIA labels could require new translations or updated unit tests selectors.
- Custom CSS styles will likely break, due to the updated CSS classes and simplified styles.
- Custom Components have new API and may break.
- Some typings have been renamed or deprecated.
- The `useInput` hook has been removed. See [Input fields](https://daypicker.dev/guides/input-fields ) guide for more details.
- `onWeekNumberClick` has been removed. Use a custom component to handle week number clicks.
- The updated build system to ESM and CommonJS could break some custom bundler.
##### Upgrading Guide
We prepared a [Upgrading guide](https://daypicker.dev/upgrading ) for help upgrading your app to v9. We welcome [feedback](https://redirect.github.com/gpbl/react-day-picker/discussions ) about the upgrade process, to ensure it's smooth for everyone.
#### Compatibility
DayPicker v9 is compatible with React 16.8+.
#### Get Support and Report Issues
Get support, report issues, and provide feedback on the [Discussion forums](https://redirect.github.com/gpbl/react-day-picker/discussions ). Thanks.
#### New Contributors
- [@​grzegorzpokorski](https://redirect.github.com/grzegorzpokorski ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2124 ](https://redirect.github.com/gpbl/react-day-picker/pull/2124 )
- [@​zaaakher](https://redirect.github.com/zaaakher ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2137 ](https://redirect.github.com/gpbl/react-day-picker/pull/2137 )
- [@​ArthurGoupil](https://redirect.github.com/ArthurGoupil ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2230 ](https://redirect.github.com/gpbl/react-day-picker/pull/2230 )
- [@​johnnysedh3lllo](https://redirect.github.com/johnnysedh3lllo ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2252 ](https://redirect.github.com/gpbl/react-day-picker/pull/2252 )
- [@​xardit](https://redirect.github.com/xardit ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2254 ](https://redirect.github.com/gpbl/react-day-picker/pull/2254 )
- [@​dave-meyer](https://redirect.github.com/dave-meyer ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2231 ](https://redirect.github.com/gpbl/react-day-picker/pull/2231 )
- [@​benasher44](https://redirect.github.com/benasher44 ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2249 ](https://redirect.github.com/gpbl/react-day-picker/pull/2249 )
- [@​RyanCavanaugh](https://redirect.github.com/RyanCavanaugh ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2275 ](https://redirect.github.com/gpbl/react-day-picker/pull/2275 )
- [@​kesoji](https://redirect.github.com/kesoji ) made their first contribution in [https://github.com/gpbl/react-day-picker/pull/2281 ](https://redirect.github.com/gpbl/react-day-picker/pull/2281 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM4LjU5LjIiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2024-09-03 10:28:42 +00:00
renovate
106f332c19
chore: bump up vitest monorepo to v2 (major) ( #7449 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul )) | [`1.6.0` -> `2.0.5`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/1.6.0/2.0.5 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/1.6.0/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/1.6.0/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [@vitest/ui](https://togithub.com/vitest-dev/vitest/tree/main/packages/ui#readme ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/ui )) | [`1.6.0` -> `2.0.5`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.6.0/2.0.5 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/1.6.0/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/1.6.0/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
| [vitest](https://togithub.com/vitest-dev/vitest ) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest )) | [`1.6.0` -> `2.0.5`](https://renovatebot.com/diffs/npm/vitest/1.6.0/2.0.5 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.6.0/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.6.0/2.0.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary>
### [`v2.0.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.5 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.4...v2.0.5 )
##### 🚀 Features
- Introduce experimental reported tasks - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6149 ](https://togithub.com/vitest-dev/vitest/issues/6149 ) [<samp>(13d85)</samp>](https://togithub.com/vitest-dev/vitest/commit/13d85bd1 )
- This is part of the experimental API and doesn't follow semver. We are hoping to stabilize it for 2.1. If you are working with custom reporters, give this a go!
##### 🐞 Bug Fixes
- Show a difference between string characters if both values are strings - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6191 ](https://togithub.com/vitest-dev/vitest/issues/6191 ) [<samp>(29176)</samp>](https://togithub.com/vitest-dev/vitest/commit/291766d7 )
- `testNamePattern` adds leading space - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/6186 ](https://togithub.com/vitest-dev/vitest/issues/6186 ) [<samp>(073a5)</samp>](https://togithub.com/vitest-dev/vitest/commit/073a50c9 )
- **browser**:
- Don't bundle `afterEach` cleanup hooks in node entrypoint - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6192 ](https://togithub.com/vitest-dev/vitest/issues/6192 ) [<samp>(e6fbc)</samp>](https://togithub.com/vitest-dev/vitest/commit/e6fbc620 )
- UserEvent.setup initiates a separate state for userEvent instance - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6088 ](https://togithub.com/vitest-dev/vitest/issues/6088 ) [<samp>(883f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/883f3482 )
- Correctly import optimized module in vi.importActual - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6219 ](https://togithub.com/vitest-dev/vitest/issues/6219 ) [<samp>(804ff)</samp>](https://togithub.com/vitest-dev/vitest/commit/804ff2fd )
- Passing options to hover/unhover - by [@​MNeverOff](https://togithub.com/MNeverOff ) in [https://github.com/vitest-dev/vitest/issues/6175 ](https://togithub.com/vitest-dev/vitest/issues/6175 ) [<samp>(d4c00)</samp>](https://togithub.com/vitest-dev/vitest/commit/d4c005bc )
- Improve unique CSS selector generation - by [@​zacharyvoase](https://togithub.com/zacharyvoase ) and **Zack Voase** in [https://github.com/vitest-dev/vitest/issues/6243 ](https://togithub.com/vitest-dev/vitest/issues/6243 ) [<samp>(e7acd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7acd0cf )
- **vitest**:
- Remove nuxt from auto inline deps - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(93882)</samp>](https://togithub.com/vitest-dev/vitest/commit/93882f38 )
- Improve `defineProject` and `defineWorkspace` types - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6198 ](https://togithub.com/vitest-dev/vitest/issues/6198 ) [<samp>(8cd82)</samp>](https://togithub.com/vitest-dev/vitest/commit/8cd8272b )
- Correctly resolve mocked `node:*` imports in `__mocks__` folder - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6204 ](https://togithub.com/vitest-dev/vitest/issues/6204 ) [<samp>(a48be)</samp>](https://togithub.com/vitest-dev/vitest/commit/a48be6ff )
- **web-worker**:
- Expose globals on self - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6170 ](https://togithub.com/vitest-dev/vitest/issues/6170 ) [<samp>(12bb5)</samp>](https://togithub.com/vitest-dev/vitest/commit/12bb567e )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.4...v2.0.5 )
### [`v2.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.4 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.3...v2.0.4 )
##### 🐞 Bug Fixes
- One-line environment options - by [@​hahanein](https://togithub.com/hahanein ) in [https://github.com/vitest-dev/vitest/issues/5105 ](https://togithub.com/vitest-dev/vitest/issues/5105 ) [<samp>(38269)</samp>](https://togithub.com/vitest-dev/vitest/commit/38269415 )
- Resolve assets imported with `require` - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6159 ](https://togithub.com/vitest-dev/vitest/issues/6159 ) [<samp>(807a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/807a2cbc )
- **browser**:
- Don't panic if [@​vitest/browser](https://togithub.com/vitest/browser ) is installed outside of project root - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6135 ](https://togithub.com/vitest-dev/vitest/issues/6135 ) [<samp>(ccfcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccfcd488 )
- Set global filepath - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6190 ](https://togithub.com/vitest-dev/vitest/issues/6190 ) [<samp>(0d0b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0b46b1 )
- Allow preview and open in the editor screenshot error from ui - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/6113 ](https://togithub.com/vitest-dev/vitest/issues/6113 ) [<samp>(2d620)</samp>](https://togithub.com/vitest-dev/vitest/commit/2d62051f )
- **coverage**:
- Global thresholds to include files from glob thresholds - by [@​thor-juhasz](https://togithub.com/thor-juhasz ) and [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/6172 ](https://togithub.com/vitest-dev/vitest/issues/6172 ) [<samp>(02e3f)</samp>](https://togithub.com/vitest-dev/vitest/commit/02e3f003 )
- Consistent type-only file handling - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/6183 ](https://togithub.com/vitest-dev/vitest/issues/6183 ) [<samp>(90576)</samp>](https://togithub.com/vitest-dev/vitest/commit/90576148 )
- Ignore `*.cts` files - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/6189 ](https://togithub.com/vitest-dev/vitest/issues/6189 ) [<samp>(5da45)</samp>](https://togithub.com/vitest-dev/vitest/commit/5da45db1 )
- Add `thresholds.<glob>.100` option - by [@​thor-juhasz](https://togithub.com/thor-juhasz ) and [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/6174 ](https://togithub.com/vitest-dev/vitest/issues/6174 ) [<samp>(f6845)</samp>](https://togithub.com/vitest-dev/vitest/commit/f68453f8 )
- **spy**:
- Fix `mockImplementation` for function overload and unions - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/6181 ](https://togithub.com/vitest-dev/vitest/issues/6181 ) [<samp>(7a75b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7a75bd4c )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.3...v2.0.4 )
### [`v2.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.3 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3 )
##### 🚀 Features
- **ui**: Show all suites/tests when parent matches - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/6106 ](https://togithub.com/vitest-dev/vitest/issues/6106 ) [<samp>(840e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/840e02f1 )
##### 🐞 Bug Fixes
- `--inspect-brk` stop on Windows - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/6110 ](https://togithub.com/vitest-dev/vitest/issues/6110 ) [<samp>(f8519)</samp>](https://togithub.com/vitest-dev/vitest/commit/f851982e )
- **browser**:
- Don't import from "vite" - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(35655)</samp>](https://togithub.com/vitest-dev/vitest/commit/35655419 )
- Allow immidiate reinvalidation of mocked dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6108 ](https://togithub.com/vitest-dev/vitest/issues/6108 ) [<samp>(f44cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f44cc917 )
- **spy**:
- Fix type error when assigning `vi.spyOn` to `MockInstance` of function overload - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/6086 ](https://togithub.com/vitest-dev/vitest/issues/6086 ) [<samp>(e9f9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9f9adcd )
- **vite-node**:
- Remove suffix slash on file protocol for window - by [@​syi0808](https://togithub.com/syi0808 ) in [https://github.com/vitest-dev/vitest/issues/6109 ](https://togithub.com/vitest-dev/vitest/issues/6109 ) [<samp>(93ebd)</samp>](https://togithub.com/vitest-dev/vitest/commit/93ebdefc )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3 )
### [`v2.0.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.2 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.1...v2.0.2 )
##### 🐞 Bug Fixes
- **browser**:
- Remove [@​vitest/runner](https://togithub.com/vitest/runner ) > pretty-format from prebundling because it doesn't exist - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6075 ](https://togithub.com/vitest-dev/vitest/issues/6075 ) [<samp>(a169d)</samp>](https://togithub.com/vitest-dev/vitest/commit/a169d25a )
- Inline pretty-format and replace picocolors with tinyrainbow - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6077 ](https://togithub.com/vitest-dev/vitest/issues/6077 ) [<samp>(80a43)</samp>](https://togithub.com/vitest-dev/vitest/commit/80a43d5c )
- Remove `crypto.randomUUID` from the client - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/6079 ](https://togithub.com/vitest-dev/vitest/issues/6079 ) [<samp>(04c83)</samp>](https://togithub.com/vitest-dev/vitest/commit/04c83acc )
- Correctly overwrite loupe require - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(756ac)</samp>](https://togithub.com/vitest-dev/vitest/commit/756ac2bc )
- Dedupe @​vitest/browser/client - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6081 ](https://togithub.com/vitest-dev/vitest/issues/6081 ) [<samp>(ee725)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee725184 )
- Don't release keyboard automatically - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6083 ](https://togithub.com/vitest-dev/vitest/issues/6083 ) [<samp>(58fac)</samp>](https://togithub.com/vitest-dev/vitest/commit/58fac77b )
- **ui**:
- Test files notified only when running - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/6069 ](https://togithub.com/vitest-dev/vitest/issues/6069 ) [<samp>(af7fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/af7fec58 )
- Encode html entities in task name - by [@​userquin](https://togithub.com/userquin ) and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6070 ](https://togithub.com/vitest-dev/vitest/issues/6070 ) [<samp>(7f0cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f0cc24e )
- **web-worker**:
- Peer dependency version on `vitest` - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/6060 ](https://togithub.com/vitest-dev/vitest/issues/6060 ) [<samp>(95a2d)</samp>](https://togithub.com/vitest-dev/vitest/commit/95a2d870 )
##### 🏎 Performance
- **browser**: Don't import msw if no modules are mocked - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6073 ](https://togithub.com/vitest-dev/vitest/issues/6073 ) [<samp>(aa527)</samp>](https://togithub.com/vitest-dev/vitest/commit/aa52792a )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.1...v2.0.2 )
### [`v2.0.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.1 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1 )
##### 🐞 Bug Fixes
- **browser**: Correctly inherit browser config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6054 ](https://togithub.com/vitest-dev/vitest/issues/6054 ) [<samp>(4b03e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b03e72b )
- **ui**: Move virtual scroller to dev dependencies - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/6053 ](https://togithub.com/vitest-dev/vitest/issues/6053 ) [<samp>(f94ed)</samp>](https://togithub.com/vitest-dev/vitest/commit/f94ede02 )
- **vitest**: Print only running files, not every file - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6052 ](https://togithub.com/vitest-dev/vitest/issues/6052 ) [<samp>(4d559)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d5597df )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1 )
### [`v2.0.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v2.0.0 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.6.0...v2.0.0 )
Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0 ).
##### 🚨 Breaking Changes
- Simplify mock function generic types and align with jest - by **[@​hi-ogawa](https://togithub.com/hi-ogawa )** in [https://github.com/vitest-dev/vitest/pull/4784 ](https://togithub.com/vitest-dev/vitest/pull/4784 ) [<samp>(a0c1d37)</samp>](a0c1d371ed
)
- Remove `--segfault-retry` - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5514 ](https://togithub.com/vitest-dev/vitest/issues/5514 ) [<samp>(ed60e)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed60e405e )
- This flag was introduced to combat `threads` segfaults. Our current recommendation is to use the new default `forks` pool instead.
- Run suite hooks in a stack - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5609 ](https://togithub.com/vitest-dev/vitest/issues/5609 ) [<samp>(1277d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1277dc1e3 )
- This feels like a more sensible default. Especially with the new [`onTestFinished`](https://vitest.dev/api/#ontestfinished ) hook. This can make your tests run a little bit slower.
- Enable `coverage.ignoreEmptyLines` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5543 ](https://togithub.com/vitest-dev/vitest/issues/5543 ) [<samp>(31994)</samp>](https://togithub.com/vitest-dev/vitest/commit/31994942f )
- ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See [https://github.com/vitest-dev/vitest/issues/5423 ](https://togithub.com/vitest-dev/vitest/issues/5423 ) for more details.
- Add correct location and snapshot fields in json reporter - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5434 ](https://togithub.com/vitest-dev/vitest/issues/5434 ) [<samp>(bcccc)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcccce6df )
- Previously, the `location` field pointed to the error location instead of the test location. Now it is aligned with jest and contains the `line` and `column` of a test function, but requires [`includeTaskLocation`](https://vitest.dev/config/#includeTaskLocation ) to be enabled.
- Update dependency chai to v5 - by **renovate\[bot]** and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5135 ](https://togithub.com/vitest-dev/vitest/issues/5135 ) [<samp>(73646)</samp>](https://togithub.com/vitest-dev/vitest/commit/73646b638 )
- Remove watchExclude - by [@​patak-dev](https://togithub.com/patak-dev ) in [https://github.com/vitest-dev/vitest/issues/5177 ](https://togithub.com/vitest-dev/vitest/issues/5177 ) [<samp>(d7371)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7371eae3 )
- Change default `pool` to `'forks'` - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5047 ](https://togithub.com/vitest-dev/vitest/issues/5047 ) [<samp>(7f8f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f8f9c0c0 )
- This change is done for compatibility issues
- This pool may be slightly slower than previous `threads` pool: https://vitest.dev/guide/improving-performance.html#pool
- `--merge-reports` to support coverage - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5736 ](https://togithub.com/vitest-dev/vitest/issues/5736 ) [<samp>(b7438)</samp>](https://togithub.com/vitest-dev/vitest/commit/b7438b9be )
- Add promise-based return assertions, do not auto-resolve returned promises - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5749 ](https://togithub.com/vitest-dev/vitest/issues/5749 ) [<samp>(5f710)</samp>](https://togithub.com/vitest-dev/vitest/commit/5f710182e )
- ⚠️ Vitest no longer unwraps promises in `spy.mock.returns`. If the function is async or returns a promise, it will always succeed and have a `Promise` in `results`. To make migration easier, we introduced `spy.mock.settledResults` that unwraps promises and `expect().toHaveResolved()` matcher that accepts unwrapped value.
- Do not exit process if global setup has failed - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5726 ](https://togithub.com/vitest-dev/vitest/issues/5726 ) [<samp>(ddb09)</samp>](https://togithub.com/vitest-dev/vitest/commit/ddb09eb12 )
- Don't exit process if config failed - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5715 ](https://togithub.com/vitest-dev/vitest/issues/5715 ) [<samp>(f232f)</samp>](https://togithub.com/vitest-dev/vitest/commit/f232fdd61 )
- Add meta to `json` output - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5802 ](https://togithub.com/vitest-dev/vitest/issues/5802 ) [<samp>(dd754)</samp>](https://togithub.com/vitest-dev/vitest/commit/dd754c103 )
- Rename `indexScripts` to `orchestratorScripts` in the browser config - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5842 ](https://togithub.com/vitest-dev/vitest/issues/5842 ) [<samp>(49f34)</samp>](https://togithub.com/vitest-dev/vitest/commit/49f34ec47 )
- Add "vitest list" API to print collected tests without running them - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6013 ](https://togithub.com/vitest-dev/vitest/issues/6013 ) [<samp>(583dd)</samp>](https://togithub.com/vitest-dev/vitest/commit/583dd8a98 )
- ⚠️ This changes the custom `pool` API - now requires `collectTests` method alongside `runTests`.
- Remove the empty suite from the runner - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5435 ](https://togithub.com/vitest-dev/vitest/issues/5435 ) [<samp>(dbbbe)</samp>](https://togithub.com/vitest-dev/vitest/commit/dbbbe4304 )
- Support concurrent suites - by **[@​hi-ogawa](https://togithub.com/hi-ogawa )** in [https://github.com/vitest-dev/vitest/pull/5491 ](https://togithub.com/vitest-dev/vitest/pull/5491 ) [<samp>(222ce44)</samp>](222ce44119
)
- Support overriding `exclude` in coverage - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5997 ](https://togithub.com/vitest-dev/vitest/issues/5997 ) [<samp>(169bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/169bc1fde )
- ⚠️ Vitest coverage no longer adds test files to `exclude` patterns if `coverage.exclude` was overridden in the config. Add your test patterns manually, or merge your overrides with default ones: `['**/my-pattern.js', ...coverageConfigDefaults.exclude]`. See https://vitest.dev/config/#coverage-exclude for an example.
##### 🚀 Features
<img width="1392" alt="Running tresjs example in Vitest BrowserMode" src="https://github.com/vitest-dev/vitest/assets/16173870/3b6bc721-b194-416d-a685-cf7282ee802a ">
- **browser**:
- 🌐 This release lays the groundwork for the next iteration of Vitest Browser Mode. You can read more about our future plans at [https://github.com/vitest-dev/vitest/discussions/5828 ](https://togithub.com/vitest-dev/vitest/discussions/5828 )
- Add commands to communicate betweens server and the browser - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5097 ](https://togithub.com/vitest-dev/vitest/issues/5097 ) [<samp>(aa431)</samp>](https://togithub.com/vitest-dev/vitest/commit/aa431f4db )
- Do not reload the page during watch mode - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5810 ](https://togithub.com/vitest-dev/vitest/issues/5810 ) [<samp>(e5b9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/e5b9a0be4 )
- Support changing the viewport - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5811 ](https://togithub.com/vitest-dev/vitest/issues/5811 ) [<samp>(71851)</samp>](https://togithub.com/vitest-dev/vitest/commit/718512d80 )
- Add browser iframe mouse interaction - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5815 ](https://togithub.com/vitest-dev/vitest/issues/5815 ) [<samp>(f29b9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f29b9d408 )
- Support `click` event - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5777 ](https://togithub.com/vitest-dev/vitest/issues/5777 ) [<samp>(839c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/839c39f06 )
- Rename none provider to preview, make it default - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5826 ](https://togithub.com/vitest-dev/vitest/issues/5826 ) [<samp>(18310)</samp>](https://togithub.com/vitest-dev/vitest/commit/1831008b1 )
- Run tests in parallel in headless mode, add `page.screenshot` method - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5853 ](https://togithub.com/vitest-dev/vitest/issues/5853 ) [<samp>(81c42)</samp>](https://togithub.com/vitest-dev/vitest/commit/81c42fc8a )
- Implement several `userEvent` methods, add `fill` and `dragAndDrop` events - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5882 ](https://togithub.com/vitest-dev/vitest/issues/5882 ) [<samp>(4dbea)</samp>](https://togithub.com/vitest-dev/vitest/commit/4dbea4aed )
- Introduce `expect.dom` method and bundle `jest-dom` matchers with `@vitest/browser` - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5910 ](https://togithub.com/vitest-dev/vitest/issues/5910 ) [<samp>(3a96a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a96a3d0e )
- Expose CDP in the browser - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5938 ](https://togithub.com/vitest-dev/vitest/issues/5938 ) [<samp>(bec43)</samp>](https://togithub.com/vitest-dev/vitest/commit/bec434cb6 )
- Add "init" command for browser tests - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5960 ](https://togithub.com/vitest-dev/vitest/issues/5960 ) [<samp>(49e97)</samp>](https://togithub.com/vitest-dev/vitest/commit/49e973cb9 )
- Add an option to take screenshots if the browser test fails - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5975 ](https://togithub.com/vitest-dev/vitest/issues/5975 ) [<samp>(154cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/154cb22de )
- Add `tripleClick` to interactive api - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5987 ](https://togithub.com/vitest-dev/vitest/issues/5987 ) [<samp>(200a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/200a4349a )
- Playwright provider doesn't allow resizing the browser viewport - by [@​userquin](https://togithub.com/userquin ) and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5984 ](https://togithub.com/vitest-dev/vitest/issues/5984 ) [<samp>(ff978)</samp>](https://togithub.com/vitest-dev/vitest/commit/ff978e58d )
- Pretty print diffs coming from cause - by [@​dubzzz](https://togithub.com/dubzzz ) in [https://github.com/vitest-dev/vitest/issues/5660 ](https://togithub.com/vitest-dev/vitest/issues/5660 ) [<samp>(6faf8)</samp>](https://togithub.com/vitest-dev/vitest/commit/6faf8f84b )
- Allow import statement as vi.mock path for better IDE support - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5690 ](https://togithub.com/vitest-dev/vitest/issues/5690 ) [<samp>(a99a1)</samp>](https://togithub.com/vitest-dev/vitest/commit/a99a14c1c )
- Remove deprecated options - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5696 ](https://togithub.com/vitest-dev/vitest/issues/5696 ) [<samp>(5c308)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c308edc6 )
- Add blob reporter - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5663 ](https://togithub.com/vitest-dev/vitest/issues/5663 ) [<samp>(e2053)</samp>](https://togithub.com/vitest-dev/vitest/commit/e20538a36 )
- ✅ Run Vitest in separate processes with `--reporter=blob` flag to generate reports and combine them with `vitest --merge-reports` later!
- Add expect.poll utility - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5708 ](https://togithub.com/vitest-dev/vitest/issues/5708 ) [<samp>(e2e0f)</samp>](https://togithub.com/vitest-dev/vitest/commit/e2e0ff46a )
- Add browser.ui option - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5771 ](https://togithub.com/vitest-dev/vitest/issues/5771 ) [<samp>(a5033)</samp>](https://togithub.com/vitest-dev/vitest/commit/a50330eea )
- Add median to `--output-json` - by [@​Joristdh](https://togithub.com/Joristdh ) in [https://github.com/vitest-dev/vitest/issues/5745 ](https://togithub.com/vitest-dev/vitest/issues/5745 ) [<samp>(0766b)</samp>](https://togithub.com/vitest-dev/vitest/commit/0766b7f72 )
- Allow augmenting config.test.env - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5784 ](https://togithub.com/vitest-dev/vitest/issues/5784 ) [<samp>(b2469)</samp>](https://togithub.com/vitest-dev/vitest/commit/b24691efd )
- Implement module mocking in browser mode - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5765 ](https://togithub.com/vitest-dev/vitest/issues/5765 ) [<samp>(7b2f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2f64cfa )
- Allow configuring expect options in the config - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5729 ](https://togithub.com/vitest-dev/vitest/issues/5729 ) [<samp>(fc53f)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc53f5634 )
- Add an option to print console stack trace - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5720 ](https://togithub.com/vitest-dev/vitest/issues/5720 ) [<samp>(e4fe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/e4fe6f51a )
- Add browser frame to UI - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5808 ](https://togithub.com/vitest-dev/vitest/issues/5808 ) [<samp>(3796d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3796dd7e0 )
- Image type add bmp - by **btea** in [https://github.com/vitest-dev/vitest/issues/5921 ](https://togithub.com/vitest-dev/vitest/issues/5921 ) [<samp>(98f9b)</samp>](https://togithub.com/vitest-dev/vitest/commit/98f9b7ab9 )
- Add an option to return base64 from page.screenshot - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5993 ](https://togithub.com/vitest-dev/vitest/issues/5993 ) [<samp>(be323)</samp>](https://togithub.com/vitest-dev/vitest/commit/be3231763 )
- Expose `parseAst`, `parseAstAsync` from vite - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(f645e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f645e48c5 )
- **config**:
- Allow percentage value for workers option - by [@​syi0808](https://togithub.com/syi0808 ) in [https://github.com/vitest-dev/vitest/issues/5982 ](https://togithub.com/vitest-dev/vitest/issues/5982 ) [<samp>(b1a27)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1a27d404 )
- **runner**:
- Implement `test.for` - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5861 ](https://togithub.com/vitest-dev/vitest/issues/5861 ) [<samp>(c2380)</samp>](https://togithub.com/vitest-dev/vitest/commit/c238072fd )
- **spy**:
- Collect mock.contexts - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5955 ](https://togithub.com/vitest-dev/vitest/issues/5955 ) [<samp>(3b31a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b31a56d5 )
- **ui**:
- Render tests in a tree - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5807 ](https://togithub.com/vitest-dev/vitest/issues/5807 ) [<samp>(7900f)</samp>](https://togithub.com/vitest-dev/vitest/commit/7900f9f89 )
- Load module graph on tab selection - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5844 ](https://togithub.com/vitest-dev/vitest/issues/5844 ) [<samp>(b117e)</samp>](https://togithub.com/vitest-dev/vitest/commit/b117e8756 )
- Replace navigation tree with test explorer - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5907 ](https://togithub.com/vitest-dev/vitest/issues/5907 ) [<samp>(45dfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/45dfc95ae )
- Add initializing explorer logic - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5941 ](https://togithub.com/vitest-dev/vitest/issues/5941 ) [<samp>(c31c4)</samp>](https://togithub.com/vitest-dev/vitest/commit/c31c41c72 )
- Add action to explorer item to show the test/suite line in the source code tab - by [@​userquin](https://togithub.com/userquin ) and **Anjorin Damilare** in [https://github.com/vitest-dev/vitest/issues/5948 ](https://togithub.com/vitest-dev/vitest/issues/5948 ) [<samp>(7ec29)</samp>](https://togithub.com/vitest-dev/vitest/commit/7ec298eb3 )
- **ws-client**:
- Allow change reactive for state, filesMap and idMap - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5906 ](https://togithub.com/vitest-dev/vitest/issues/5906 ) [<samp>(e6020)</samp>](https://togithub.com/vitest-dev/vitest/commit/e6020b9c2 )
##### 🐞 Bug Fixes
- Print console statements in vmThreads - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5678 ](https://togithub.com/vitest-dev/vitest/issues/5678 ) [<samp>(34a80)</samp>](https://togithub.com/vitest-dev/vitest/commit/34a80b392 )
- Repeatable `--exclude` option - by [@​fregante](https://togithub.com/fregante ) in [https://github.com/vitest-dev/vitest/issues/5782 ](https://togithub.com/vitest-dev/vitest/issues/5782 ) [<samp>(d6700)</samp>](https://togithub.com/vitest-dev/vitest/commit/d6700bbd8 )
- Remove browser.fileParallelism - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5790 ](https://togithub.com/vitest-dev/vitest/issues/5790 ) [<samp>(b881e)</samp>](https://togithub.com/vitest-dev/vitest/commit/b881e88b2 )
- Install UI icons - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(b84f1)</samp>](https://togithub.com/vitest-dev/vitest/commit/b84f1721d )
- Remove process.exit if workspace project failed to be created - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5804 ](https://togithub.com/vitest-dev/vitest/issues/5804 ) [<samp>(a820e)</samp>](https://togithub.com/vitest-dev/vitest/commit/a820e7ac6 )
- Vi.waitFor/vi.waitUntil interval is now cleared after it times out - by [@​pedro00dk](https://togithub.com/pedro00dk ) in [https://github.com/vitest-dev/vitest/issues/5875 ](https://togithub.com/vitest-dev/vitest/issues/5875 ) [<samp>(04107)</samp>](https://togithub.com/vitest-dev/vitest/commit/041076e7c )
- ToJSON recursive error serialization - by [@​eddienubes](https://togithub.com/eddienubes ) in [https://github.com/vitest-dev/vitest/issues/5848 ](https://togithub.com/vitest-dev/vitest/issues/5848 ) and [https://github.com/vitest-dev/vitest/issues/5884 ](https://togithub.com/vitest-dev/vitest/issues/5884 ) [<samp>(8d55d)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d55d6bd4 )
- Print error properties only in verbose reporter - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5917 ](https://togithub.com/vitest-dev/vitest/issues/5917 ) [<samp>(2bd8d)</samp>](https://togithub.com/vitest-dev/vitest/commit/2bd8d9d6f )
- Use TTY reporter when running in Deno - by [@​marvinhagemeister](https://togithub.com/marvinhagemeister ) in [https://github.com/vitest-dev/vitest/issues/5972 ](https://togithub.com/vitest-dev/vitest/issues/5972 ) [<samp>(e0f45)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0f45cb57 )
- Don't override uppercase - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(caef4)</samp>](https://togithub.com/vitest-dev/vitest/commit/caef40a0b )
- Clear screen and scrollback on iTerm2 - by [@​kxalex](https://togithub.com/kxalex ) in [https://github.com/vitest-dev/vitest/issues/5978 ](https://togithub.com/vitest-dev/vitest/issues/5978 ) [<samp>(d7f23)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7f23d08c )
- Include pretty-format in [@​vitest/runner](https://togithub.com/vitest/runner ) for optimization on npm - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(42bd4)</samp>](https://togithub.com/vitest-dev/vitest/commit/42bd4a259 )
- Transpile esnext to node18 to support newest JS and TS features - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4409 ](https://togithub.com/vitest-dev/vitest/issues/4409 ) [<samp>(8f65a)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f65ae906 )
- **api**:
- Correct `project.provide` type - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5959 ](https://togithub.com/vitest-dev/vitest/issues/5959 ) [<samp>(0eda9)</samp>](https://togithub.com/vitest-dev/vitest/commit/0eda99de9 )
- Don't call process.exit manually - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5926 ](https://togithub.com/vitest-dev/vitest/issues/5926 ) [<samp>(e9b63)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9b638d40 )
- **browser**:
- Display UI - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(d41e4)</samp>](https://togithub.com/vitest-dev/vitest/commit/d41e46a81 )
- Browser actions icons colors - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5816 ](https://togithub.com/vitest-dev/vitest/issues/5816 ) [<samp>(f9d9b)</samp>](https://togithub.com/vitest-dev/vitest/commit/f9d9b3bef )
- Restore the original viewport when unselecting the preset viewport - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5821 ](https://togithub.com/vitest-dev/vitest/issues/5821 ) [<samp>(5ebb3)</samp>](https://togithub.com/vitest-dev/vitest/commit/5ebb3abf5 )
- Don't get stuck after the manual page refresh - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(2220b)</samp>](https://togithub.com/vitest-dev/vitest/commit/2220bb3fe )
- Use iframe id instead of calculating it from filenames - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5823 ](https://togithub.com/vitest-dev/vitest/issues/5823 ) [<samp>(34a31)</samp>](https://togithub.com/vitest-dev/vitest/commit/34a310da1 )
- Always clean up iframes on rerun - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5827 ](https://togithub.com/vitest-dev/vitest/issues/5827 ) [<samp>(087fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/087fa87c3 )
- Support [@​testing-library/vue](https://togithub.com/testing-library/vue ) in browser mode out of the box - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(76b82)</samp>](https://togithub.com/vitest-dev/vitest/commit/76b82e5b9 )
- Print correct transformed module graph - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5833 ](https://togithub.com/vitest-dev/vitest/issues/5833 ) [<samp>(a7581)</samp>](https://togithub.com/vitest-dev/vitest/commit/a75815756 )
- Use `preview` provider when running in StackBlitz - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5836 ](https://togithub.com/vitest-dev/vitest/issues/5836 ) [<samp>(76e13)</samp>](https://togithub.com/vitest-dev/vitest/commit/76e13587c )
- Specify entries for correct deps optimization - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5839 ](https://togithub.com/vitest-dev/vitest/issues/5839 ) [<samp>(c79b3)</samp>](https://togithub.com/vitest-dev/vitest/commit/c79b3f1f9 )
- Allow iframe to load even if there is a custom CSP header - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5841 ](https://togithub.com/vitest-dev/vitest/issues/5841 ) [<samp>(caaaf)</samp>](https://togithub.com/vitest-dev/vitest/commit/caaafd903 )
- Don't optimize Vitest dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5843 ](https://togithub.com/vitest-dev/vitest/issues/5843 ) [<samp>(f15b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/f15b4e99d )
- Set server.open to false and move error handling after init - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5845 ](https://togithub.com/vitest-dev/vitest/issues/5845 ) [<samp>(47003)</samp>](https://togithub.com/vitest-dev/vitest/commit/470036794 )
- Show correct prepare time - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5852 ](https://togithub.com/vitest-dev/vitest/issues/5852 ) [<samp>(52d54)</samp>](https://togithub.com/vitest-dev/vitest/commit/52d545bf9 )
- Resolve `coverage.reporter` from string values - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5920 ](https://togithub.com/vitest-dev/vitest/issues/5920 ) [<samp>(f33da)</samp>](https://togithub.com/vitest-dev/vitest/commit/f33dabbef )
- Correctly update inline snapshot if changed - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5925 ](https://togithub.com/vitest-dev/vitest/issues/5925 ) [<samp>(2380c)</samp>](https://togithub.com/vitest-dev/vitest/commit/2380cb95e )
- Remove "util" warning - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5935 ](https://togithub.com/vitest-dev/vitest/issues/5935 ) [<samp>(48f28)</samp>](https://togithub.com/vitest-dev/vitest/commit/48f28f731 )
- Remove hacky retry - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5971 ](https://togithub.com/vitest-dev/vitest/issues/5971 ) [<samp>(2a2c9)</samp>](https://togithub.com/vitest-dev/vitest/commit/2a2c9085a )
- Make userEvent more stable when running in parallel - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5974 ](https://togithub.com/vitest-dev/vitest/issues/5974 ) [<samp>(14a21)</samp>](https://togithub.com/vitest-dev/vitest/commit/14a217d53 )
- Print screenshot path alongside the test error message - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5992 ](https://togithub.com/vitest-dev/vitest/issues/5992 ) [<samp>(15289)</samp>](https://togithub.com/vitest-dev/vitest/commit/152891b3d )
- Print correct stack trace in source files - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6003 ](https://togithub.com/vitest-dev/vitest/issues/6003 ) [<samp>(62aa7)</samp>](https://togithub.com/vitest-dev/vitest/commit/62aa72081 )
- Correctly mock optimized cjs dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6035 ](https://togithub.com/vitest-dev/vitest/issues/6035 ) [<samp>(057b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/057b4f34b )
- Support shadow root and svg elements - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6036 ](https://togithub.com/vitest-dev/vitest/issues/6036 ) [<samp>(2e3c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/2e3c872ae )
- **coverage**:
- Clean up empty coverage reports directory - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5731 ](https://togithub.com/vitest-dev/vitest/issues/5731 ) [<samp>(c469c)</samp>](https://togithub.com/vitest-dev/vitest/commit/c469c74d7 )
- `thresholds.autoUpdate` to support `mergeConfig` - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5818 ](https://togithub.com/vitest-dev/vitest/issues/5818 ) [<samp>(7afb3)</samp>](https://togithub.com/vitest-dev/vitest/commit/7afb3682f )
- Pass thresholds errors to `stderr` of `startVitest()` - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5954 ](https://togithub.com/vitest-dev/vitest/issues/5954 ) [<samp>(70805)</samp>](https://togithub.com/vitest-dev/vitest/commit/708051319 )
- Exclude bench files from coverage - by [@​kouak](https://togithub.com/kouak ) in [https://github.com/vitest-dev/vitest/issues/5983 ](https://togithub.com/vitest-dev/vitest/issues/5983 ) [<samp>(429e1)</samp>](https://togithub.com/vitest-dev/vitest/commit/429e1a7f8 )
- Vite to ignore dynamic import of provider - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5998 ](https://togithub.com/vitest-dev/vitest/issues/5998 ) [<samp>(6d884)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d8848e86 )
- Istanbul to support import attributes - by [@​Gravitonic](https://togithub.com/Gravitonic ) in [https://github.com/vitest-dev/vitest/issues/6006 ](https://togithub.com/vitest-dev/vitest/issues/6006 ) [<samp>(2898a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2898a525d )
- Remove work-around for implicit `else` - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/6014 ](https://togithub.com/vitest-dev/vitest/issues/6014 ) [<samp>(368c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/368c13728 )
- **deps**:
- Update dependency [@​testing-library/dom](https://togithub.com/testing-library/dom ) to v10 - by **renovate\[bot]** in [https://github.com/vitest-dev/vitest/issues/5866 ](https://togithub.com/vitest-dev/vitest/issues/5866 ) [<samp>(e9745)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9745997e )
- Update vulnerable `test-exclude` to v7 - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5867 ](https://togithub.com/vitest-dev/vitest/issues/5867 ) [<samp>(0a715)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a715946b )
- **expect**:
- Fix immutable.js iterable equality - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/5692 ](https://togithub.com/vitest-dev/vitest/issues/5692 ) [<samp>(1532c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1532c19a0 )
- **forks**:
- Resolve `poolOptions.<name>.isolate` from `forks` options - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/5840 ](https://togithub.com/vitest-dev/vitest/issues/5840 ) [<samp>(a60a1)</samp>](https://togithub.com/vitest-dev/vitest/commit/a60a140ef )
- **runner**:
- Ensure inner suite { sequential: true } correctly overrides outer suite { concurrent: true } - by [@​pengooseDev](https://togithub.com/pengooseDev ) in [https://github.com/vitest-dev/vitest/issues/5737 ](https://togithub.com/vitest-dev/vitest/issues/5737 ) [<samp>(a20e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/a20e75b89 )
- Ensure test.each print -0 and -NaN properly - by [@​pengooseDev](https://togithub.com/pengooseDev ) in [https://github.com/vitest-dev/vitest/issues/5806 ](https://togithub.com/vitest-dev/vitest/issues/5806 ) [<samp>(9ac8f)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ac8ff9bd )
- **snapshot**:
- Fix `toMatchFileSnapshot` with empty file - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/5894 ](https://togithub.com/vitest-dev/vitest/issues/5894 ) [<samp>(88006)</samp>](https://togithub.com/vitest-dev/vitest/commit/8800601d2 )
- **spy**:
- Correctly track constructor's "this" type - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(4776e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4776eca1d )
- **types**:
- Mark pool options as not available in project config - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5934 ](https://togithub.com/vitest-dev/vitest/issues/5934 ) [<samp>(486fd)</samp>](https://togithub.com/vitest-dev/vitest/commit/486fd1169 )
- **ui**:
- Show correct module graph and project name in a Vitest workspace - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5792 ](https://togithub.com/vitest-dev/vitest/issues/5792 ) [<samp>(48c50)</samp>](https://togithub.com/vitest-dev/vitest/commit/48c502fbe )
- Update running todo tests inside todo suites (each) - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5939 ](https://togithub.com/vitest-dev/vitest/issues/5939 ) [<samp>(63ae1)</samp>](https://togithub.com/vitest-dev/vitest/commit/63ae10bd9 )
- `FileDetails` title status icon not being updated - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5942 ](https://togithub.com/vitest-dev/vitest/issues/5942 ) [<samp>(e9ddf)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9ddf9ce2 )
- **ui, browser**:
- Disable mouse events when resizing main navigation panel - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5863 ](https://togithub.com/vitest-dev/vitest/issues/5863 ) [<samp>(7cbd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/7cbd943c7 )
- **utils**:
- Produce valid snapshot names - by [@​dubzzz](https://togithub.com/dubzzz ) in [https://github.com/vitest-dev/vitest/issues/5724 ](https://togithub.com/vitest-dev/vitest/issues/5724 ) [<samp>(1ec61)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ec61ceee )
- Fix color util maximum call stack error - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/5733 ](https://togithub.com/vitest-dev/vitest/issues/5733 ) [<samp>(a4ec5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a4ec58319 )
- Package exports - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/5847 ](https://togithub.com/vitest-dev/vitest/issues/5847 ) [<samp>(07876)</samp>](https://togithub.com/vitest-dev/vitest/commit/07876b7e0 )
- **vite-node**:
- Expose all envs from .env file, not just with a prefix `VITE_` - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6017 ](https://togithub.com/vitest-dev/vitest/issues/6017 ) [<samp>(d87be)</samp>](https://togithub.com/vitest-dev/vitest/commit/d87bef961 )
- **vitest**:
- Expose `provide` to the public API - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5897 ](https://togithub.com/vitest-dev/vitest/issues/5897 ) [<samp>(66e64)</samp>](https://togithub.com/vitest-dev/vitest/commit/66e648ff8 )
- Cache fs code only for forks pool - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/5909 ](https://togithub.com/vitest-dev/vitest/issues/5909 ) [<samp>(e30d9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e30d9b4d5 )
- Allow testing unandled rejection/exception - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6016 ](https://togithub.com/vitest-dev/vitest/issues/6016 ) [<samp>(c8d56)</samp>](https://togithub.com/vitest-dev/vitest/commit/c8d56fe5f )
- Show all failed tests when rerunning a test - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/6022 ](https://togithub.com/vitest-dev/vitest/issues/6022 ) [<samp>(91ba6)</samp>](https://togithub.com/vitest-dev/vitest/commit/91ba6f95e )
##### [View changes on GitHub](6b29f3ddc8
...v2.0.0)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM4LjU2LjAiLCJ0YXJnZXRCcmFuY2giOiJjYW5hcnkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
2024-09-03 10:02:02 +00:00
fundon
98d9295259
feat(core): support block or element reference links ( #7946 )
...
Upstreams: https://github.com/toeverything/blocksuite/pull/8021
* open doc with mode
* monitor mode changes in query string
* scroll anchoring
https://github.com/user-attachments/assets/681abff8-e51b-47ea-bb71-447e8b312142
https://github.com/user-attachments/assets/e73ed4c0-4e33-45f8-9db4-d8eed3525d05
2024-09-03 09:49:15 +00:00
darkskygit
935771c8a8
feat(server): make captcha modular ( #5961 )
2024-09-03 09:03:51 +00:00
forehalo
52c9da67f0
refactor(auth): authenticate user in main window ( #8032 )
2024-09-03 09:03:47 +00:00
forehalo
e33aa35f7e
refactor(core): auth ( #7999 )
...
closes AF-753 AF-1227
2024-09-03 09:03:43 +00:00