Joooye_34
e3882f9648
feat: bump bs ( #5346 )
...
Change history: a781985...8254dc9
2023-12-20 02:43:01 +00:00
DarkSky
33a589a8ba
feat: onboarding electron redirect ( #5327 )
2023-12-19 13:54:43 +00:00
DarkSky
8ea910a2bb
feat: onboarding page ( #5277 )
2023-12-19 13:54:41 +00:00
Yifeng Wang
31b1b2dade
feat: bump blocksuite ( #5343 )
2023-12-19 21:53:57 +08:00
JimmFly
38617abc17
fix(component): fix incorrect input component width and height styling ( #5292 )
...
after:
https://github.com/toeverything/AFFiNE/assets/102217452/5d8f51c5-c7a6-4ec8-b2b0-7f1391f045c7
2023-12-19 08:27:46 +00:00
EYHN
c7fe42a5b9
chore: bump up vitest monorepo to v1 (major) ( #5217 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
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 )) | [`0.34.6` -> `1.0.4`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.34.6/1.0.4 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.34.6/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.34.6/1.0.4?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 )) | [`0.34.6` -> `1.0.4`](https://renovatebot.com/diffs/npm/@vitest%2fui/0.34.6/1.0.4 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/0.34.6/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/0.34.6/1.0.4?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 )) | [`0.34.6` -> `1.0.4`](https://renovatebot.com/diffs/npm/vitest/0.34.6/1.0.4 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.6/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.6/1.0.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary>
### [`v1.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.4 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4 )
The previous release was built incorrectly and didn't include the performance fix. This release fixes that.
##### 🐞 Bug Fixes
- **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4697 ](https://togithub.com/vitest-dev/vitest/issues/4697 ) [<samp>(a7931)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7931bbf )
##### 🏎 Performance
- **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4711 ](https://togithub.com/vitest-dev/vitest/issues/4711 ) [<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3 )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4 )
### [`v1.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.3 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3 )
##### 🐞 Bug Fixes
- Correct package exports - by [@​userquin](https://togithub.com/userquin ) in [https://github.com/vitest-dev/vitest/issues/4707 ](https://togithub.com/vitest-dev/vitest/issues/4707 ) [<samp>(37388)</samp>](https://togithub.com/vitest-dev/vitest/commit/37388d69 )
- **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4700 ](https://togithub.com/vitest-dev/vitest/issues/4700 ) [<samp>(92afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/92afd54c )
- **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4693 ](https://togithub.com/vitest-dev/vitest/issues/4693 ) [<samp>(34135)</samp>](https://togithub.com/vitest-dev/vitest/commit/3413518b )
##### 🏎 Performance
- **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4711 ](https://togithub.com/vitest-dev/vitest/issues/4711 ) [<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3 )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3 )
### [`v1.0.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.2 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2 )
##### 🐞 Bug Fixes
- Don't check if vite is installed - by [@​wojtekmaj](https://togithub.com/wojtekmaj ) in [https://github.com/vitest-dev/vitest/issues/4659 ](https://togithub.com/vitest-dev/vitest/issues/4659 ) [<samp>(775e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/775e2014 )
- Fix ensurePackageInstalled on Yarn PnP - by [@​wojtekmaj](https://togithub.com/wojtekmaj ) in [https://github.com/vitest-dev/vitest/issues/4657 ](https://togithub.com/vitest-dev/vitest/issues/4657 ) [<samp>(574cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/574cc7d0 )
- Apply `stripSnapshotIndentation` for thrown snapshot - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4663 ](https://togithub.com/vitest-dev/vitest/issues/4663 ) [<samp>(74820)</samp>](https://togithub.com/vitest-dev/vitest/commit/748205dc )
- **cli**:
- Prompted packages fail to install - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4593 ](https://togithub.com/vitest-dev/vitest/issues/4593 ) [<samp>(a9908)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9908453 )
- **expect**:
- Apply `URL` equality check only when `URL` is available - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4670 ](https://togithub.com/vitest-dev/vitest/issues/4670 ) [<samp>(43783)</samp>](https://togithub.com/vitest-dev/vitest/commit/43783cfe )
- **runner**:
- Improve fixture error messages - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4673 ](https://togithub.com/vitest-dev/vitest/issues/4673 ) [<samp>(1e4aa)</samp>](https://togithub.com/vitest-dev/vitest/commit/1e4aa8e4 )
- Fix fixture cleanup when test times out - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4679 ](https://togithub.com/vitest-dev/vitest/issues/4679 ) [<samp>(e7c5e)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7c5e1f7 )
- **vitest**:
- Support new Request('/api') in happy-dom - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4671 ](https://togithub.com/vitest-dev/vitest/issues/4671 ) [<samp>(6e6ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/6e6ee10e )
- Skip processing getter in auto-mocked constructor call - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4677 ](https://togithub.com/vitest-dev/vitest/issues/4677 ) [<samp>(cb786)</samp>](https://togithub.com/vitest-dev/vitest/commit/cb7864aa )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2 )
### [`v1.0.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.1 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1 )
##### 🐞 Bug Fixes
- Bump vitest packages `peerDependencies` versions - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4654 ](https://togithub.com/vitest-dev/vitest/issues/4654 ) [<samp>(42070)</samp>](https://togithub.com/vitest-dev/vitest/commit/420707fc )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1 )
### [`v1.0.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.0 )
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.6...v1.0.0 )
Vitest 1.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-from-vitest-0-34-6 ).
##### 🚨 Breaking Changes
- Add support for `pool` and `poolOptions`, remove old flags - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4172 ](https://togithub.com/vitest-dev/vitest/issues/4172 ) [<samp>(114a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/114a993c )
- Support multiple parallel `child_process` - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/3925 ](https://togithub.com/vitest-dev/vitest/issues/3925 ) [<samp>(8b4a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b4a44ad )
- Make snapshots more visually pleasing by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/pull/3961 ](https://togithub.com/vitest-dev/vitest/pull/3961 )
- Set `vitest` peer dependency range for sub packages - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4299 ](https://togithub.com/vitest-dev/vitest/issues/4299 ) [<samp>(cd03c)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd03cb51 )
- Bump minimum node version to 18 and match Vite 5 requirement - by [@​ghiscoding](https://togithub.com/ghiscoding ) in [https://github.com/vitest-dev/vitest/issues/4296 ](https://togithub.com/vitest-dev/vitest/issues/4296 ) [<samp>(263b7)</samp>](https://togithub.com/vitest-dev/vitest/commit/263b7167 )
- Remove deprecated node loader - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4371 ](https://togithub.com/vitest-dev/vitest/issues/4371 ) [<samp>(29299)</samp>](https://togithub.com/vitest-dev/vitest/commit/29299f3c )
- Move browser providers to [@​vitest/browser](https://togithub.com/vitest/browser ) package - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4364 ](https://togithub.com/vitest-dev/vitest/issues/4364 ) [<samp>(5cdeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cdeb558 )
- Remove EnhancedSpy type, deprecate SpyInstance, improve mocks and vi documentation - by [@​sheremet-va](https://togithub.com/sheremet-va ) and [@​dammy001](https://togithub.com/dammy001 ) in [https://github.com/vitest-dev/vitest/issues/4400 ](https://togithub.com/vitest-dev/vitest/issues/4400 ) [<samp>(d40b3)</samp>](https://togithub.com/vitest-dev/vitest/commit/d40b3a58 )
- `expect().toContain()` can handle classList, Node.contains, and any array-like structure. This means you cannot use it to check if one object is a subset of another - use `expect().toMatchObject()` in that case - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4239 ](https://togithub.com/vitest-dev/vitest/issues/4239 ) [<samp>(ce84f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce84f069 )
- **runner**: Correctly process custom tasks, update runner hooks naming by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/pull/4076 ](https://togithub.com/vitest-dev/vitest/pull/4076 )
- **coverage**:
- glob based coverage thresholds by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/pull/4442 ](https://togithub.com/vitest-dev/vitest/pull/4442 ) [<samp>(18300)</samp>](4953410e8d
)
- Use `transformMode` and workspace project based source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4309 ](https://togithub.com/vitest-dev/vitest/issues/4309 ) [<samp>(28109cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/28109cc )
- Enable `coverage.all` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4265 ](https://togithub.com/vitest-dev/vitest/issues/4265 ) [<samp>(5a741)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a741ca2 )
##### 🚀 Features
- Add Marko example and include code coverage for Marko files - by [@​DylanPiercey](https://togithub.com/DylanPiercey ) in [https://github.com/vitest-dev/vitest/issues/4263 ](https://togithub.com/vitest-dev/vitest/issues/4263 ) [<samp>(eac77)</samp>](https://togithub.com/vitest-dev/vitest/commit/eac77765 )
- Update magic-string - by [@​bluwy](https://togithub.com/bluwy ) in [https://github.com/vitest-dev/vitest/issues/4345 ](https://togithub.com/vitest-dev/vitest/issues/4345 ) [<samp>(fde18)</samp>](https://togithub.com/vitest-dev/vitest/commit/fde1843e )
- Implement provide/inject API to transfer data from the main thread - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4422 ](https://togithub.com/vitest-dev/vitest/issues/4422 ) [<samp>(a7522)</samp>](https://togithub.com/vitest-dev/vitest/commit/a75228f1 )
- Improve expectTypeOf error messages - by [@​mmkal](https://togithub.com/mmkal ), **Misha Kaletsky** and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4206 ](https://togithub.com/vitest-dev/vitest/issues/4206 ) [<samp>(18300)</samp>](https://togithub.com/vitest-dev/vitest/commit/183005e9 )
- Add test.sequential() api - by [@​dsyddall](https://togithub.com/dsyddall ) in [https://github.com/vitest-dev/vitest/issues/4512 ](https://togithub.com/vitest-dev/vitest/issues/4512 ) [<samp>(c3619)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3619c78 )
- Allow custom pools - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4417 ](https://togithub.com/vitest-dev/vitest/issues/4417 ) [<samp>(a3fd5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3fd5f85 )
- Add --project option to limit what projects are running - by [@​sheremet-va](https://togithub.com/sheremet-va ), [@​dammy001](https://togithub.com/dammy001 ) and [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4561 ](https://togithub.com/vitest-dev/vitest/issues/4561 ) [<samp>(58ef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/58ef51a9 )
- **benchmark**:
- Move importTinybench to runner - by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/vitest-dev/vitest/issues/4376 ](https://togithub.com/vitest-dev/vitest/issues/4376 ) [<samp>(c36d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/c36d2b97 )
- **browser**:
- Support "none" provider and update lit example to use it - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4427 ](https://togithub.com/vitest-dev/vitest/issues/4427 ) [<samp>(d03a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/d03a2a21 )
- **coverage**:
- Support `/* v8 ignore...` ignore hints - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4573 ](https://togithub.com/vitest-dev/vitest/issues/4573 ) [<samp>(f9e4a)</samp>](https://togithub.com/vitest-dev/vitest/commit/f9e4ad83 )
- **expect**:
- Support `expect.closeTo` api - by [@​Dunqing](https://togithub.com/Dunqing ) and **golebiowskib** in [https://github.com/vitest-dev/vitest/issues/4260 ](https://togithub.com/vitest-dev/vitest/issues/4260 ) [<samp>(7f91c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f91c6f6 )
- Compare URL objects by href - by [@​kleinfreund](https://togithub.com/kleinfreund ) and [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4615 ](https://togithub.com/vitest-dev/vitest/issues/4615 ) [<samp>(f7a73)</samp>](https://togithub.com/vitest-dev/vitest/commit/f7a73338 )
- **snapshot**:
- Add option to configure snapshot directory - by [@​d3lm](https://togithub.com/d3lm ) in [https://github.com/vitest-dev/vitest/issues/4651 ](https://togithub.com/vitest-dev/vitest/issues/4651 ) [<samp>(20b2a)</samp>](https://togithub.com/vitest-dev/vitest/commit/20b2a857 )
- **vite-node**:
- Support import.meta.hot.off for vite 5 - by [@​bluwy](https://togithub.com/bluwy ) in [https://github.com/vitest-dev/vitest/issues/4315 ](https://togithub.com/vitest-dev/vitest/issues/4315 ) [<samp>(01b1c)</samp>](https://togithub.com/vitest-dev/vitest/commit/01b1c55c )
- **vitest**:
- Expose getBenchFn, getBenchOptions - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4208 ](https://togithub.com/vitest-dev/vitest/issues/4208 ) [<samp>(8e5e4)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e5e42dc )
- Run typecheck during tests - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4324 ](https://togithub.com/vitest-dev/vitest/issues/4324 ) [<samp>(a1aad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1aadd71 )
- Filter stacktraces - by [@​clarkf](https://togithub.com/clarkf ) in [https://github.com/vitest-dev/vitest/issues/1999 ](https://togithub.com/vitest-dev/vitest/issues/1999 ) and [https://github.com/vitest-dev/vitest/issues/4338 ](https://togithub.com/vitest-dev/vitest/issues/4338 ) [<samp>(6b734)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b73473f )
- Expose execArgv to the different pools - by [@​adriencaccia](https://togithub.com/adriencaccia ) in [https://github.com/vitest-dev/vitest/issues/4383 ](https://togithub.com/vitest-dev/vitest/issues/4383 ) [<samp>(9021e)</samp>](https://togithub.com/vitest-dev/vitest/commit/9021e8b8 )
##### 🐞 Bug Fixes
- Add multiple globals in VM+JSDOM - by [@​nstepien](https://togithub.com/nstepien ) in [https://github.com/vitest-dev/vitest/issues/4199 ](https://togithub.com/vitest-dev/vitest/issues/4199 ) and [https://github.com/vitest-dev/vitest/issues/4202 ](https://togithub.com/vitest-dev/vitest/issues/4202 ) [<samp>(fc947)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc947ce6 )
- Ignore "plugins" field in snapshotFormat option - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4204 ](https://togithub.com/vitest-dev/vitest/issues/4204 ) [<samp>(db1ff)</samp>](https://togithub.com/vitest-dev/vitest/commit/db1ff438 )
- `nextTick` mocking error message to mention correct config option - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4215 ](https://togithub.com/vitest-dev/vitest/issues/4215 ) [<samp>(98fe3)</samp>](https://togithub.com/vitest-dev/vitest/commit/98fe3d55 )
- Export VitestUtils interface - by [@​fbritoferreira](https://togithub.com/fbritoferreira ) in [https://github.com/vitest-dev/vitest/issues/4301 ](https://togithub.com/vitest-dev/vitest/issues/4301 ) [<samp>(b1439)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1439852 )
- Assertion diff message handle non-writable sub-properties - by [@​bfamchon](https://togithub.com/bfamchon ) in [https://github.com/vitest-dev/vitest/issues/4278 ](https://togithub.com/vitest-dev/vitest/issues/4278 ) [<samp>(7e1a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e1a0f83 )
- Don't bundle import from rollup - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4392 ](https://togithub.com/vitest-dev/vitest/issues/4392 ) [<samp>(3b584)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b58487b )
- Support accessing fixture at same index of dependency fixture - by [@​dsyddall](https://togithub.com/dsyddall ) in [https://github.com/vitest-dev/vitest/issues/4387 ](https://togithub.com/vitest-dev/vitest/issues/4387 ) [<samp>(4cd1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/4cd1d3ce )
- Make asynchronous fixtures work concurrently - by [@​dsyddall](https://togithub.com/dsyddall ) in [https://github.com/vitest-dev/vitest/issues/4403 ](https://togithub.com/vitest-dev/vitest/issues/4403 ) [<samp>(3c9f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c9f920a )
- Coverage.100 crash when using as an cli argument - by [@​marcelobotega](https://togithub.com/marcelobotega ) in [https://github.com/vitest-dev/vitest/issues/4346 ](https://togithub.com/vitest-dev/vitest/issues/4346 ) [<samp>(0db38)</samp>](https://togithub.com/vitest-dev/vitest/commit/0db386dc )
- Support typechecking with Yarn PnP - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4412 ](https://togithub.com/vitest-dev/vitest/issues/4412 ) [<samp>(1ecbe)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ecbe74d )
- Support accessing task from test context without accessing fixtures - by [@​dsyddall](https://togithub.com/dsyddall ) in [https://github.com/vitest-dev/vitest/issues/4419 ](https://togithub.com/vitest-dev/vitest/issues/4419 ) [<samp>(3397f)</samp>](https://togithub.com/vitest-dev/vitest/commit/3397fdc4 )
- Copy custom asymmetric matchers to local `expect` - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4405 ](https://togithub.com/vitest-dev/vitest/issues/4405 ) [<samp>(9fe38)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fe38737 )
- Apply serializer to `Error` instance for thrown snapshot - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4396 ](https://togithub.com/vitest-dev/vitest/issues/4396 ) [<samp>(ac309)</samp>](https://togithub.com/vitest-dev/vitest/commit/ac309726 )
- Throw an error when running "vitest typecheck" - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4439 ](https://togithub.com/vitest-dev/vitest/issues/4439 ) [<samp>(7f502)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f502299 )
- Don't expand snapshot diff by default - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4430 ](https://togithub.com/vitest-dev/vitest/issues/4430 ) [<samp>(8983c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8983cd48 )
- Handle errors thrown in fixtures - by [@​dsyddall](https://togithub.com/dsyddall ) [<samp>(f6844)</samp>](https://togithub.com/vitest-dev/vitest/commit/f6844ad6 )
- Default --open to !process.env.CI - by [@​collinstevens](https://togithub.com/collinstevens ) in [https://github.com/vitest-dev/vitest/issues/4477 ](https://togithub.com/vitest-dev/vitest/issues/4477 ) [<samp>(088a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/088a047d )
- Disable ESBuild when user config disables it - by [@​Namchee](https://togithub.com/Namchee ) in [https://github.com/vitest-dev/vitest/issues/4492 ](https://togithub.com/vitest-dev/vitest/issues/4492 ) [<samp>(9abde)</samp>](https://togithub.com/vitest-dev/vitest/commit/9abde204 )
- Inherit concurrent/sequential in nested suites - by [@​dsyddall](https://togithub.com/dsyddall ) in [https://github.com/vitest-dev/vitest/issues/4482 ](https://togithub.com/vitest-dev/vitest/issues/4482 ) [<samp>(ca168)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca168a14 )
- Provide customTesters to asymmetric matchers - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(ac665)</samp>](https://togithub.com/vitest-dev/vitest/commit/ac665c96 )
- Apply `retry` and `bail` from test config file - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4530 ](https://togithub.com/vitest-dev/vitest/issues/4530 ) [<samp>(94f9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/94f9a3ca )
- Respect trailing slash when filtering by file path - by [@​ibuibu](https://togithub.com/ibuibu ) in [https://github.com/vitest-dev/vitest/issues/4538 ](https://togithub.com/vitest-dev/vitest/issues/4538 ) [<samp>(f377a)</samp>](https://togithub.com/vitest-dev/vitest/commit/f377a3bf )
- Date prototype when using setSystemTime - by [@​spiroka](https://togithub.com/spiroka ) in [https://github.com/vitest-dev/vitest/issues/4584 ](https://togithub.com/vitest-dev/vitest/issues/4584 ) [<samp>(3f8c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/3f8c3fb1 )
- BrowserTestRunner called incorrect super methods - by [@​samthor](https://togithub.com/samthor ) in [https://github.com/vitest-dev/vitest/issues/4632 ](https://togithub.com/vitest-dev/vitest/issues/4632 ) [<samp>(8385c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8385c981 )
- Set process name for idle workers - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4641 ](https://togithub.com/vitest-dev/vitest/issues/4641 ) [<samp>(eca25)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca25dc9 )
- **bench**:
- Extract ChainableBenchmarkAPI type - by [@​dsyddall](https://togithub.com/dsyddall ) in [https://github.com/vitest-dev/vitest/issues/4537 ](https://togithub.com/vitest-dev/vitest/issues/4537 ) [<samp>(79e9b)</samp>](https://togithub.com/vitest-dev/vitest/commit/79e9bfaa )
- **browser**:
- Improve error handling and don't rely on Node.js builtin modules in browser mode - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4244 ](https://togithub.com/vitest-dev/vitest/issues/4244 ) [<samp>(e7e8c)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7e8c3cc )
- Disable hijacking ES modules until vi.mock is implemented - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4414 ](https://togithub.com/vitest-dev/vitest/issues/4414 ) [<samp>(ab556)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab556376 )
- Add vitest/ imports to entries - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4514 ](https://togithub.com/vitest-dev/vitest/issues/4514 ) [<samp>(648bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/648bccb9 )
- Wait until vite finishes prebundling of vitest dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4518 ](https://togithub.com/vitest-dev/vitest/issues/4518 ) [<samp>(56ee7)</samp>](https://togithub.com/vitest-dev/vitest/commit/56ee7026 )
- Allow for `pretty-format` as a sibling dependency - by [@​nicojs](https://togithub.com/nicojs ) in [https://github.com/vitest-dev/vitest/issues/4590 ](https://togithub.com/vitest-dev/vitest/issues/4590 ) [<samp>(ed50a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed50a944 )
- Don't go into an infinite reload loop, don't fail if "error" event is caught - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4618 ](https://togithub.com/vitest-dev/vitest/issues/4618 ) [<samp>(ec3d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec3d6949 )
- Respect "server" option in vite config - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4627 ](https://togithub.com/vitest-dev/vitest/issues/4627 ) [<samp>(723f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/723f65b9 )
- **cli**:
- Do not capture `stdin` when in run mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4310 ](https://togithub.com/vitest-dev/vitest/issues/4310 ) [<samp>(fc51a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc51ad04 )
- **config**:
- Type issue of `pool` and `poolMatchGlobs` in defineConfig - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy ) in [https://github.com/vitest-dev/vitest/issues/4282 ](https://togithub.com/vitest-dev/vitest/issues/4282 ) [<samp>(9112c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9112cc96 )
- **coverage**:
- `thresholdAutoUpdate` to detect zero limits - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4287 ](https://togithub.com/vitest-dev/vitest/issues/4287 ) [<samp>(a29fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/a29fecee )
- Exclude files and directories starting with dot by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4428 ](https://togithub.com/vitest-dev/vitest/issues/4428 ) [<samp>(b3327)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3327a64 )
- Improve memory usage by writing temporary files on file system - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4603 ](https://togithub.com/vitest-dev/vitest/issues/4603 ) [<samp>(4166c)</samp>](https://togithub.com/vitest-dev/vitest/commit/4166c413 )
- **deps**:
- Update dependency v8-to-istanbul to ^9.2.0 - by [@​renovate](https://togithub.com/renovate )\[bot] in[https://github.com/vitest-dev/vitest/issues/4583 ](https://togithub.com/vitest-dev/vitest/issues/4583 )3 [<samp>(a70f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a70f216d )
- Update dependency std-env to ^3.5.0 - by [@​renovate](https://togithub.com/renovate )\[bot] in[https://github.com/vitest-dev/vitest/issues/4582 ](https://togithub.com/vitest-dev/vitest/issues/4582 )2 [<samp>(1fdd6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fdd6fe2 )
- **example**:
- Resolve type error - by [@​jqkk](https://togithub.com/jqkk ) in [https://github.com/vitest-dev/vitest/issues/4515 ](https://togithub.com/vitest-dev/vitest/issues/4515 ) [<samp>(2d1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/2d1b4785 )
- **expect**:
- Publish types file - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(5996c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5996c8c0 )
- `Object.freeze` breaks `toEqual` - by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/vitest-dev/vitest/issues/4303 ](https://togithub.com/vitest-dev/vitest/issues/4303 ) [<samp>(a4501)</samp>](https://togithub.com/vitest-dev/vitest/commit/a4501d6b )
- Publish semantically correct chai types - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4322 ](https://togithub.com/vitest-dev/vitest/issues/4322 ) [<samp>(80a70)</samp>](https://togithub.com/vitest-dev/vitest/commit/80a706a1 )
- Print full error if promise is rejected - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4467 ](https://togithub.com/vitest-dev/vitest/issues/4467 ) [<samp>(cadb9)</samp>](https://togithub.com/vitest-dev/vitest/commit/cadb9cd3 )
- Don't fail when using jest expect - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4517 ](https://togithub.com/vitest-dev/vitest/issues/4517 ) [<samp>(60d6d)</samp>](https://togithub.com/vitest-dev/vitest/commit/60d6d173 )
- **happy-dom**:
- Don't crash when calling useFakeTimers with empty config - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4214 ](https://togithub.com/vitest-dev/vitest/issues/4214 ) [<samp>(2e1a1)</samp>](https://togithub.com/vitest-dev/vitest/commit/2e1a1bd4 )
- **jsdom**:
- Don't go into an infinite recusion when calling atob - by [@​sheremet-va](https://togithub.com/sheremet-va ) [<samp>(da794)</samp>](https://togithub.com/vitest-dev/vitest/commit/da7949dc )
- **runner**:
- Fixture needs to be initialized for each test - by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/vitest-dev/vitest/issues/4250 ](https://togithub.com/vitest-dev/vitest/issues/4250 ) [<samp>(76a93)</samp>](https://togithub.com/vitest-dev/vitest/commit/76a93298 )
- Nested tests should throw errors - by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/vitest-dev/vitest/issues/4262 ](https://togithub.com/vitest-dev/vitest/issues/4262 ) [<samp>(8ac9f)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ac9f8b1 )
- Removes deprecated `error` option from TaskResult - by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/vitest-dev/vitest/issues/4313 ](https://togithub.com/vitest-dev/vitest/issues/4313 ) [<samp>(4cee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/4cee6711 )
- Preserve fixtures when calling runif and skipif - by [@​dsyddall](https://togithub.com/dsyddall ) in [https://github.com/vitest-dev/vitest/issues/4585 ](https://togithub.com/vitest-dev/vitest/issues/4585 ) and [https://github.com/vitest-dev/vitest/issues/4591 ](https://togithub.com/vitest-dev/vitest/issues/4591 ) [<samp>(515ea)</samp>](https://togithub.com/vitest-dev/vitest/commit/515eadf9 )
- PassWithNoTests option not work - by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/vitest-dev/vitest/issues/4553 ](https://togithub.com/vitest-dev/vitest/issues/4553 ) [<samp>(8d183)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d183da4 )
- **vite-node**:
- Have a separate cache for web/ssr transforms - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4221 ](https://togithub.com/vitest-dev/vitest/issues/4221 ) [<samp>(ca5db)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca5dbef4 )
- Mjs files watch not work - by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/vitest-dev/vitest/issues/3982 ](https://togithub.com/vitest-dev/vitest/issues/3982 ) [<samp>(77ea9)</samp>](https://togithub.com/vitest-dev/vitest/commit/77ea9326 )
- **vitest**:
- Make [@​types/node](https://togithub.com/types/node ) optional - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4210 ](https://togithub.com/vitest-dev/vitest/issues/4210 ) [<samp>(a5383)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5383c2d )
- Inline chai types instead of using [@​types/chai](https://togithub.com/types/chai ) - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4209 ](https://togithub.com/vitest-dev/vitest/issues/4209 ) [<samp>(5f477)</samp>](https://togithub.com/vitest-dev/vitest/commit/5f4774fc )
- Don't initialize globalSetup if workspace doesn't run tests - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4213 ](https://togithub.com/vitest-dev/vitest/issues/4213 ) [<samp>(06461)</samp>](https://togithub.com/vitest-dev/vitest/commit/0646197e )
- Deduplicate vitest when running globally or in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4238 ](https://togithub.com/vitest-dev/vitest/issues/4238 ) [<samp>(93504)</samp>](https://togithub.com/vitest-dev/vitest/commit/93504619 )
- Print file path instead of "unknown test" when logging - by [@​Dunqing](https://togithub.com/Dunqing ) in [https://github.com/vitest-dev/vitest/issues/4146 ](https://togithub.com/vitest-dev/vitest/issues/4146 ) [<samp>(ec2e8)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec2e8040 )
- Failed to load custom environment from js/ts file - by [@​Dunqing](https://togithub.com/Dunqing ) and [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4255 ](https://togithub.com/vitest-dev/vitest/issues/4255 ) [<samp>(da8d0)</samp>](https://togithub.com/vitest-dev/vitest/commit/da8d0570 )
- Support assets in new URL in Vite 5 - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4258 ](https://togithub.com/vitest-dev/vitest/issues/4258 ) [<samp>(d280f)</samp>](https://togithub.com/vitest-dev/vitest/commit/d280f489 )
- Correctly hoist `vi.hoisted` if assigned - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4285 ](https://togithub.com/vitest-dev/vitest/issues/4285 ) [<samp>(ff93a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ff93a573 )
- Run globalSetup from the root config even if it's not in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4325 ](https://togithub.com/vitest-dev/vitest/issues/4325 ) [<samp>(4293e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4293e1b1 )
- Pass correct mode in vitest config function - by [@​adriencaccia](https://togithub.com/adriencaccia ) in [https://github.com/vitest-dev/vitest/issues/4399 ](https://togithub.com/vitest-dev/vitest/issues/4399 ) [<samp>(b8ca3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8ca3873 )
- Throw an error if vitest is imported using require() - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4466 ](https://togithub.com/vitest-dev/vitest/issues/4466 ) [<samp>(e5cf1)</samp>](https://togithub.com/vitest-dev/vitest/commit/e5cf1418 )
- Use correct type for defineProject to allow usage in mergeConfig - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4498 ](https://togithub.com/vitest-dev/vitest/issues/4498 ) [<samp>(7dee8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7dee832d )
- Throw an error if Vite wasn't able to resolve aliased path - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4503 ](https://togithub.com/vitest-dev/vitest/issues/4503 ) [<samp>(50333)</samp>](https://togithub.com/vitest-dev/vitest/commit/503331d8 )
- Improve vi.waitUntil type to excude falsy types - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4572 ](https://togithub.com/vitest-dev/vitest/issues/4572 ) [<samp>(23652)</samp>](https://togithub.com/vitest-dev/vitest/commit/23652300 )
- Add import-meta.d.ts - by [@​macdaddyaz](https://togithub.com/macdaddyaz ) in [https://github.com/vitest-dev/vitest/issues/4571 ](https://togithub.com/vitest-dev/vitest/issues/4571 ) [<samp>(dd802)</samp>](https://togithub.com/vitest-dev/vitest/commit/dd80288f )
- Correctly support CSS variable when using happy-dom - by [@​sheremet-va](https://togithub.com/sheremet-va ) in [https://github.com/vitest-dev/vitest/issues/4601 ](https://togithub.com/vitest-dev/vitest/issues/4601 ) [<samp>(9fbf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fbf39af )
- Pass correct server options in workspace - by [@​hironytic](https://togithub.com/hironytic ) in [https://github.com/vitest-dev/vitest/issues/4539 ](https://togithub.com/vitest-dev/vitest/issues/4539 ) and [https://github.com/vitest-dev/vitest/issues/4540 ](https://togithub.com/vitest-dev/vitest/issues/4540 ) [<samp>(241a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/241a8c13 )
- Independently mock each instance's methods for mocked class - by [@​hi-ogawa](https://togithub.com/hi-ogawa ) in [https://github.com/vitest-dev/vitest/issues/4564 ](https://togithub.com/vitest-dev/vitest/issues/4564 ) [<samp>(05b05)</samp>](https://togithub.com/vitest-dev/vitest/commit/05b0521c )
- **vm**:
- Remove sequencer usage from createVmThreadsPool function - by [@​mhogeveen](https://togithub.com/mhogeveen ) in [https://github.com/vitest-dev/vitest/issues/4638 ](https://togithub.com/vitest-dev/vitest/issues/4638 ) [<samp>(54d52)</samp>](https://togithub.com/vitest-dev/vitest/commit/54d52d44 )
##### 🏎 Performance
- Update `log-update` v9 - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4390 ](https://togithub.com/vitest-dev/vitest/issues/4390 ) [<samp>(ba1df)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1df849 )
- Close pool early in run-mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4623 ](https://togithub.com/vitest-dev/vitest/issues/4623 ) [<samp>(e0e20)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0e20176 )
- **coverage-istanbul**: `all: true` instruments already instrumented files - by [@​AriPerkkio](https://togithub.com/AriPerkkio ) in [https://github.com/vitest-dev/vitest/issues/4552 ](https://togithub.com/vitest-dev/vitest/issues/4552 ) [<samp>(d1e1b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1e1bc90 )
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.7...v1.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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-18 13:46:29 +00:00
JimmFly
cef9e0539d
fix(storybook): fix test ( #5325 )
...
<img width="440" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/329f9c12-cc0b-4aae-9352-3811ab0a27a6 ">
2023-12-18 13:36:56 +00:00
EYHN
fe2851d3e9
refactor: workspace manager ( #5060 )
2023-12-15 07:20:50 +00:00
Yifeng Wang
af15aa06d4
feat: bump blocksuite ( #5286 )
...
Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
2023-12-15 12:57:52 +08:00
Peng Xiao
63de73a815
fix: width blink in side bar ( #5291 )
2023-12-14 09:20:18 +00:00
Peng Xiao
098787bd0c
fix(core): collection modal position after modal style changes ( #5289 )
...
fix https://github.com/toeverything/AFFiNE/issues/5270
fix TOV-161
2023-12-13 08:14:55 +00:00
Peng Xiao
ce64685176
refactor(core): side bar resizing ( #5280 )
...
Rewrite sidebar panel using a customized react-resizable-panels version that supports sidebar pixel sizing (not using flex percentages).
Now the left & right sidebar using the same `ResizePanel` impl.
fix https://github.com/toeverything/AFFiNE/issues/5271
fix TOV-163
fix TOV-146
fix TOV-168
fix TOV-109
fix TOV-165
2023-12-13 07:52:01 +00:00
Peng Xiao
883ab46557
fix(core): bg color issues in transparent mode ( #5278 )
...
fix the following style issue
![CleanShot 2023-12-13 at 00.06.13@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/46f5e766-e6c9-4965-bab7-6fd6dbb2c651.png )
2023-12-13 07:14:24 +00:00
JimmFly
f4a52c031f
feat(core): support sidebar page item dnd ( #5132 )
...
Added the ability to drag page items from the `all pages` view to the sidebar, including `favourites,` `collection` and `trash`. Page items in `favourites` and `collection` can also be dragged between each other. However, linked subpages cannot be dragged.
Additionally, an operation menu and ‘add’ button have been provided for the sidebar’s page items, enabling the addition of a subpage, renaming, deletion or removal from the sidebar.
On the code front, the `useSidebarDrag` hooks have been implemented for consolidating drag events. The functions `getDragItemId` and `getDropItemId` have been created, and they accept type and ID to obtain itemId.
https://github.com/toeverything/AFFiNE/assets/102217452/d06bac18-3c28-41c9-a7d4-72de955d7b11
2023-12-12 16:04:58 +00:00
Flrande
9aa33d0228
feat: bump blocksuite ( #5267 )
...
Change history: 2b5bb47...2b3d2ba
2023-12-12 06:18:30 +00:00
Peng Xiao
cfd200528f
fix(component): revert theme flickering ( #5238 ) ( #5256 )
...
This reverts commit e8cfc807ea
.
2023-12-11 06:05:16 +00:00
Peng Xiao
5979162a5c
fix(component): theme flickering ( #5238 )
...
Add color-scheme to html so that the web will use system scheme when scripts has not being loaded;
Use `(prefers-color-scheme: dark)` so that the css vars do not defer load based on `data-theme`, which is set by next-themes (which is deferred).
2023-12-08 10:12:20 +00:00
LongYinan
feed400462
chore: bump up vite version to v5 ( #5203 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vitejs.dev ) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite )) | [`^4.4.11` -> `^5.0.0`](https://renovatebot.com/diffs/npm/vite/4.5.1/5.0.6 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.0.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.0.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.5.1/5.0.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.5.1/5.0.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
### [`v5.0.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small506-2023-12-06-small )
[Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.5...v5.0.6 )
- perf: in-memory public files check ([#​15195](https://togithub.com/vitejs/vite/issues/15195 )) ([0f9e1bf](https://togithub.com/vitejs/vite/commit/0f9e1bf )), closes [#​15195](https://togithub.com/vitejs/vite/issues/15195 )
- chore: remove unneccessary eslint-disable-next-line regexp/no-unused-capturing-group ([#​15247](https://togithub.com/vitejs/vite/issues/15247 )) ([35a5bcf](https://togithub.com/vitejs/vite/commit/35a5bcf )), closes [#​15247](https://togithub.com/vitejs/vite/issues/15247 )
### [`v5.0.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small505-2023-12-04-small )
[Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.4...v5.0.5 )
- fix: emit `vite:preloadError` for chunks without deps ([#​15203](https://togithub.com/vitejs/vite/issues/15203 )) ([d8001c5](https://togithub.com/vitejs/vite/commit/d8001c5 )), closes [#​15203](https://togithub.com/vitejs/vite/issues/15203 )
- fix: esbuild glob import resolve error ([#​15140](https://togithub.com/vitejs/vite/issues/15140 )) ([676804d](https://togithub.com/vitejs/vite/commit/676804d )), closes [#​15140](https://togithub.com/vitejs/vite/issues/15140 )
- fix: json error with position ([#​15225](https://togithub.com/vitejs/vite/issues/15225 )) ([14be75f](https://togithub.com/vitejs/vite/commit/14be75f )), closes [#​15225](https://togithub.com/vitejs/vite/issues/15225 )
- fix: proxy html path should be encoded ([#​15223](https://togithub.com/vitejs/vite/issues/15223 )) ([5b85040](https://togithub.com/vitejs/vite/commit/5b85040 )), closes [#​15223](https://togithub.com/vitejs/vite/issues/15223 )
- fix(deps): update all non-major dependencies ([#​15233](https://togithub.com/vitejs/vite/issues/15233 )) ([ad3adda](https://togithub.com/vitejs/vite/commit/ad3adda )), closes [#​15233](https://togithub.com/vitejs/vite/issues/15233 )
- fix(hmr): don't consider CSS dep as a circular dep ([#​15229](https://togithub.com/vitejs/vite/issues/15229 )) ([5f2cdec](https://togithub.com/vitejs/vite/commit/5f2cdec )), closes [#​15229](https://togithub.com/vitejs/vite/issues/15229 )
- feat: add '\*.mov' to client.d.ts ([#​15189](https://togithub.com/vitejs/vite/issues/15189 )) ([d93a211](https://togithub.com/vitejs/vite/commit/d93a211 )), closes [#​15189](https://togithub.com/vitejs/vite/issues/15189 )
- feat(server): allow disabling built-in shortcuts ([#​15218](https://togithub.com/vitejs/vite/issues/15218 )) ([7fd7c6c](https://togithub.com/vitejs/vite/commit/7fd7c6c )), closes [#​15218](https://togithub.com/vitejs/vite/issues/15218 )
- chore: replace 'some' with 'includes' in resolveEnvPrefix ([#​15220](https://togithub.com/vitejs/vite/issues/15220 )) ([ee12f30](https://togithub.com/vitejs/vite/commit/ee12f30 )), closes [#​15220](https://togithub.com/vitejs/vite/issues/15220 )
- chore: update the website url for homepage in package.json ([#​15181](https://togithub.com/vitejs/vite/issues/15181 )) ([282bd8f](https://togithub.com/vitejs/vite/commit/282bd8f )), closes [#​15181](https://togithub.com/vitejs/vite/issues/15181 )
- chore: update vitest to 1.0.0-beta.6 ([#​15194](https://togithub.com/vitejs/vite/issues/15194 )) ([2fce647](https://togithub.com/vitejs/vite/commit/2fce647 )), closes [#​15194](https://togithub.com/vitejs/vite/issues/15194 )
- refactor: make HMR agnostic to environment ([#​15179](https://togithub.com/vitejs/vite/issues/15179 )) ([0571b7c](https://togithub.com/vitejs/vite/commit/0571b7c )), closes [#​15179](https://togithub.com/vitejs/vite/issues/15179 )
- refactor: use dedicated regex methods ([#​15228](https://togithub.com/vitejs/vite/issues/15228 )) ([0348137](https://togithub.com/vitejs/vite/commit/0348137 )), closes [#​15228](https://togithub.com/vitejs/vite/issues/15228 )
- perf: remove debug only prettifyUrl call ([#​15204](https://togithub.com/vitejs/vite/issues/15204 )) ([73e971f](https://togithub.com/vitejs/vite/commit/73e971f )), closes [#​15204](https://togithub.com/vitejs/vite/issues/15204 )
- perf: skip computing sourceRoot in injectSourcesContent ([#​15207](https://togithub.com/vitejs/vite/issues/15207 )) ([1df1fd1](https://togithub.com/vitejs/vite/commit/1df1fd1 )), closes [#​15207](https://togithub.com/vitejs/vite/issues/15207 )
### [`v5.0.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small504-2023-11-29-small )
[Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.3...v5.0.4 )
- fix: bindCLIShortcuts to proper server ([#​15162](https://togithub.com/vitejs/vite/issues/15162 )) ([67ac572](https://togithub.com/vitejs/vite/commit/67ac572 )), closes [#​15162](https://togithub.com/vitejs/vite/issues/15162 )
- fix: revert "fix: js fallback sourcemap content should be using original content ([#​15135](https://togithub.com/vitejs/vite/issues/15135 ))" ([#​15178](https://togithub.com/vitejs/vite/issues/15178 )) ([d2a2493](https://togithub.com/vitejs/vite/commit/d2a2493 )), closes [#​15135](https://togithub.com/vitejs/vite/issues/15135 ) [#​15178](https://togithub.com/vitejs/vite/issues/15178 )
- fix(define): allow define process.env ([#​15173](https://togithub.com/vitejs/vite/issues/15173 )) ([ec401da](https://togithub.com/vitejs/vite/commit/ec401da )), closes [#​15173](https://togithub.com/vitejs/vite/issues/15173 )
- fix(resolve): respect order of browser in mainFields when resolving ([#​15137](https://togithub.com/vitejs/vite/issues/15137 )) ([4a111aa](https://togithub.com/vitejs/vite/commit/4a111aa )), closes [#​15137](https://togithub.com/vitejs/vite/issues/15137 )
- feat: preserve vite.middlewares connect instance after restarts ([#​15166](https://togithub.com/vitejs/vite/issues/15166 )) ([9474c4b](https://togithub.com/vitejs/vite/commit/9474c4b )), closes [#​15166](https://togithub.com/vitejs/vite/issues/15166 )
- refactor: align with Promise.withResolvers() ([#​15171](https://togithub.com/vitejs/vite/issues/15171 )) ([642f9bc](https://togithub.com/vitejs/vite/commit/642f9bc )), closes [#​15171](https://togithub.com/vitejs/vite/issues/15171 )
### [`v5.0.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small503-2023-11-28-small )
[Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.2...v5.0.3 )
- fix: `generateCodeFrame` infinite loop ([#​15093](https://togithub.com/vitejs/vite/issues/15093 )) ([6619de7](https://togithub.com/vitejs/vite/commit/6619de7 )), closes [#​15093](https://togithub.com/vitejs/vite/issues/15093 )
- fix: js fallback sourcemap content should be using original content ([#​15135](https://togithub.com/vitejs/vite/issues/15135 )) ([227d56d](https://togithub.com/vitejs/vite/commit/227d56d )), closes [#​15135](https://togithub.com/vitejs/vite/issues/15135 )
- fix(css): render correct asset url when CSS chunk name is nested ([#​15154](https://togithub.com/vitejs/vite/issues/15154 )) ([ef403c0](https://togithub.com/vitejs/vite/commit/ef403c0 )), closes [#​15154](https://togithub.com/vitejs/vite/issues/15154 )
- fix(css): use non-nested chunk name if facadeModule is not CSS file ([#​15155](https://togithub.com/vitejs/vite/issues/15155 )) ([811e392](https://togithub.com/vitejs/vite/commit/811e392 )), closes [#​15155](https://togithub.com/vitejs/vite/issues/15155 )
- fix(dev): bind plugin context functions ([#​14569](https://togithub.com/vitejs/vite/issues/14569 )) ([cb3243c](https://togithub.com/vitejs/vite/commit/cb3243c )), closes [#​14569](https://togithub.com/vitejs/vite/issues/14569 )
- chore(deps): update all non-major dependencies ([#​15145](https://togithub.com/vitejs/vite/issues/15145 )) ([7ff2c0a](https://togithub.com/vitejs/vite/commit/7ff2c0a )), closes [#​15145](https://togithub.com/vitejs/vite/issues/15145 )
- build: handle latest json-stable-stringify replacement ([#​15049](https://togithub.com/vitejs/vite/issues/15049 )) ([bcc4a61](https://togithub.com/vitejs/vite/commit/bcc4a61 )), closes [#​15049](https://togithub.com/vitejs/vite/issues/15049 )
### [`v5.0.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small502-2023-11-21-small )
[Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.1...v5.0.2 )
- fix: make htmlFallback more permissive ([#​15059](https://togithub.com/vitejs/vite/issues/15059 )) ([6fcceeb](https://togithub.com/vitejs/vite/commit/6fcceeb )), closes [#​15059](https://togithub.com/vitejs/vite/issues/15059 )
### [`v5.0.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small501-2023-11-21-small )
- test: avoid read check when running as root ([#​14884](https://togithub.com/vitejs/vite/issues/14884 )) ([1d9516c](https://togithub.com/vitejs/vite/commit/1d9516c )), closes [#​14884](https://togithub.com/vitejs/vite/issues/14884 )
- perf(hmr): skip traversed modules when checking circular imports ([#​15034](https://togithub.com/vitejs/vite/issues/15034 )) ([41e437f](https://togithub.com/vitejs/vite/commit/41e437f )), closes [#​15034](https://togithub.com/vitejs/vite/issues/15034 )
- fix: run htmlFallbackMiddleware for no accept header requests ([#​15025](https://togithub.com/vitejs/vite/issues/15025 )) ([b93dfe3](https://togithub.com/vitejs/vite/commit/b93dfe3 )), closes [#​15025](https://togithub.com/vitejs/vite/issues/15025 )
- fix: update type CSSModulesOptions interface ([#​14987](https://togithub.com/vitejs/vite/issues/14987 )) ([d0b2153](https://togithub.com/vitejs/vite/commit/d0b2153 )), closes [#​14987](https://togithub.com/vitejs/vite/issues/14987 )
- fix(legacy): error in build with --watch and manifest enabled ([#​14450](https://togithub.com/vitejs/vite/issues/14450 )) ([b9ee620](https://togithub.com/vitejs/vite/commit/b9ee620 )), closes [#​14450](https://togithub.com/vitejs/vite/issues/14450 )
- chore: add comment about crossorigin attribute for script module ([#​15040](https://togithub.com/vitejs/vite/issues/15040 )) ([03c371e](https://togithub.com/vitejs/vite/commit/03c371e )), closes [#​15040](https://togithub.com/vitejs/vite/issues/15040 )
- chore: cleanup v5 beta changelog ([#​14694](https://togithub.com/vitejs/vite/issues/14694 )) ([531d3cb](https://togithub.com/vitejs/vite/commit/531d3cb )), closes [#​14694](https://togithub.com/vitejs/vite/issues/14694 )
### [`v5.0.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#500-2023-11-16 )
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-08 09:57:11 +00:00
Peng Xiao
fcd43033fe
fix(electron): sync settings from localStorage -> atom -> electron ( #5020 )
...
- moved `appSettingAtom` to infra since we now have different packages that depends on it. There is no better place to fit in for now
- use atomEffect to sync setting changes to updater related configs to Electron side
- refactored how Electron reacts to updater config changes.
2023-12-08 03:20:02 +00:00
Umar Faiz
453d4db713
fix: close font calt to avoid render twinkle ( #4969 )
2023-12-08 03:08:59 +00:00
Rakhee Singh
780ffd94dc
feat(core): added new filter for last n days ( #5167 )
...
Co-authored-by: rakhee28 <rakhee@strings.ai>
Co-authored-by: EYHN <cneyhn@gmail.com>
2023-12-08 11:08:15 +08:00
Peng Xiao
5352736eba
feat(component): new right sidebar ( #5169 )
...
Refactor AFFiNE layout to support new right sidebar.
The new layout:
![image](https://github.com/toeverything/AFFiNE/assets/584378/678a05f5-bd48-4dbe-ad78-7a0bcc979918 )
**Highlights:**
- new sidebar UI/UX
- favoring top-down UI components that are composed by basic building blocks in each route, instead of creating universal component like `WorkspaceHeader` that renders every possible cases (which I think is really hard to maintain)
- remove plugin based solution
**Pros/cons for current plugin-based solution:**
The current solution is somewhat a Dependency Injection (DI) approach, where the layout is defined at the top and UI items can be injected using Jotai atom slots.
This approach works well if we want a fully configurable system with everything being handled by plugins. It provides flexibility for custom extensions.
However, this solution is more suitable for single-page applications where the UI is completely controlled by configuration. It becomes challenging to achieve an optimized and visually appealing UI that remains under our control. An example of such a scenario would be a customizable dashboard like Grafana.
Another drawback of the existing solution is that we need to use Jotai and hooks to access context values, resulting in an unclear data flow within the component hierarchy.
**Alternatively, our approach in this PR** provides layout building blocks such as headers and sidebars, which can then be composed in individual route components. The good is that we have cleaner biz component instead of vague all-in-one layout component (like `<WorkspaceHeader />`).
**Issues of the implementation in this PR:**
Some UI layouts that that seems to be defined at the root layout are now defined in individual route component instead.
New 3-col layout component like the right sidebar still needs some abstraction and they are right now just for the detail editor only.
2023-12-08 01:03:48 +00:00
Peng Xiao
ed8e526f71
fix(core): remove duplicate loading component ( #5168 )
2023-12-07 15:34:10 +00:00
Peng Xiao
352bb548f0
fix(core): update noise image ( #5219 )
...
seems https://github.com/toeverything/AFFiNE/pull/4946 not in latest canary.
2023-12-07 15:11:00 +00:00
Yifeng Wang
d507c24570
feat: bump blocksuite ( #5228 )
2023-12-07 19:28:49 +08:00
Yifeng Wang
819f0243d5
feat: bump blocksuite ( #5218 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-12-07 18:24:23 +08:00
JimmFly
7ec8e49b3b
feat(core): add responsive styles to registration page ( #5044 )
...
The responsive style of the login and registration page has been adjusted, with special treatment given to the input.
work for #4843
2023-12-06 10:43:14 +00:00
Yifeng Wang
6cbf5b2a92
feat: bump blocksuite ( #5194 )
...
Co-authored-by: AyushAgrawal-A2 <ayushagl06@gmail.com>
2023-12-06 18:15:03 +08:00
JimmFly
b32a427ecd
chore: adjust banner content text ( #5153 )
...
![image](https://github.com/toeverything/AFFiNE/assets/102217452/86a77f1f-1be5-4d05-bdfa-9e1b321c0d9e )
2023-12-06 08:13:56 +00:00
Peng Xiao
1e01ed0b0f
fix(component): modal blurness ( #5177 )
...
moved https://github.com/toeverything/design/pull/108
Do not use transform to center the modal. It has know issue to cause modal to have blurred texts.
https://github.com/radix-ui/website/issues/383
fix https://github.com/toeverything/AFFiNE/issues/5176
2023-12-05 09:18:49 +00:00
Cats Juice
1cd8de9d60
fix(component): clear page list operation's link style ( #5148 )
...
- before
![CleanShot 2023-12-01 at 12 03 24@2x](https://github.com/toeverything/AFFiNE/assets/39363750/6951ee61-d3c3-43b3-8949-fe6ed9ceb99e )
- after
![CleanShot 2023-12-01 at 12 08 02@2x](https://github.com/toeverything/AFFiNE/assets/39363750/2a85e5f7-9156-4aef-81a2-76d66a673ebd )
2023-12-05 07:01:42 +00:00
LongYinan
1dacb21178
chore: bump up @dnd-kit/modifiers version to v7 ( #5189 )
...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@dnd-kit/modifiers](https://togithub.com/clauderic/dnd-kit ) ([source](https://togithub.com/clauderic/dnd-kit/tree/HEAD/packages/modifiers )) | [`^6.0.1` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@dnd-kit%2fmodifiers/6.0.1/7.0.0 ) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@dnd-kit%2fmodifiers/7.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@dnd-kit%2fmodifiers/7.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@dnd-kit%2fmodifiers/6.0.1/7.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@dnd-kit%2fmodifiers/6.0.1/7.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>clauderic/dnd-kit (@​dnd-kit/modifiers)</summary>
### [`v7.0.0`](https://togithub.com/clauderic/dnd-kit/blob/HEAD/packages/modifiers/CHANGELOG.md#700 )
[Compare Source](https://togithub.com/clauderic/dnd-kit/compare/@dnd-kit/modifiers@6.0.1...@dnd-kit/modifiers@7.0.0 )
##### Patch Changes
- Updated dependencies \[[`bc588c7`](bc588c7f7b
), [`b417f0f`](b417f0f94b
), [`f342d5e`](f342d5efd9
)]:
- [@​dnd-kit/core](https://togithub.com/dnd-kit/core )[@​6](https://togithub.com/6 ).1.0
- [@​dnd-kit/utilities](https://togithub.com/dnd-kit/utilities )[@​3](https://togithub.com/3 ).2.2
</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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 04:05:29 +00:00
Flrande
a2784c352f
chore: bump blocksuite ( #5138 )
2023-12-04 12:02:35 +00:00
Cats Juice
d911d21d1c
feat(component): add storybook ( #5079 )
2023-12-04 08:32:19 +00:00
Cats Juice
9c50dbc362
feat(core): remove all imports from design/component ( #5078 )
...
feat(core): remove all imports from design/component
feat(plugin): remove imports from design-components
feat(storybook): remove design-components imoprts
feat(core): remove
fix(component): remove design/component import in local-demo-tip
2023-12-04 08:32:16 +00:00
Cats Juice
0abadbe7bb
refactor(component): migrate design components ( #5000 )
...
```[tasklist]
### Tasks
- [x] Migrate components from [design](https://github.com/toeverything/design )
- [x] Replace all imports from `@toeverything/components`
- [x] Clean up `@toeverything/components` dependencies
- [x] Storybook
```
### Influence
Here are all the components that are influenced by `@toeverything/components`
- `@affine/component`
- App update `Button` `Tooltip`
- App sidebar header `IconButton`, `Tooltip`
- Back `Button`
- Auth
- Change email page save `Button`
- Change password page all `Button`s (Save, Later, Open)
- Confirm change email `Button`
- Set password page `Button`
- Sign in success page `Button`
- Sign up page `Button`
- Auth `Modal`
- Workspace card `Avatar`, `Divider`, `Tooltip`, `IconButton`
- Share
- Disable shared public link `Modal`
- Import page `IconButton`, `Tooltip`
- Accept invite page `Avatar`, `Button`
- Invite member `Modal`
- 404 Page `Avatar`, `Button`, `IconButton`, `Tooltip`
- Notification center `IconButton`
- Page list
- operation cell `IconButton`, `Menu`, `ConfirmModal`, `Tooltip`
- tags more `Menu`
- favorite `IconButton`, `Tooltip`
- new page dropdown `Menu`
- filter `Menu`, `Button`, `IconButton`
- Page operation `Menu`
- export `MenuItem`
- move to trash `MenuItem`, `ConfirmModal`
- Workspace header filter `Menu`, `Button`
- Collection bar `Button`, `Tooltip` (*⚠️ seems not used*)
- Collection operation `Menu`, `MenuItem`
- Create collection `Modal`, `Button`
- Edit collection `Modal`, `Button`
- Page mode filter `Menu`
- Page mode `Button`, `Menu`
- Setting modal
- storage usage progress `Button`, `Tooltip`
- On boarding tour `Modal`
- `@affine/core`
- Bookmark `Menu`
- Affine error boundary `Button`
- After sign in send email `Button`
- After sign up send email `Button`
- Send email `Button`
- Sign in `Button`
- Subscription redirect `Loading`, `Button`
- Setting `Modal`
- User plan button `Tooltip`
- Members `Avatar`, `Button`, `IconButton`, `Loading`, `Tooltip`, `Menu`
- Profile `Button`, `Avatar`
- Workspace
- publish panel `Button`, `Tooltip`
- export panel `Button`
- storage panel `Button`, `Tooltip`
- delete `ConfirmModal`
- Language `Menu`
- Account setting `Avatar`, `Button`
- Date format setting `Menu`
- Billing `Button`, `IconButton`, `Loading`
- Payment plans `Button`, `ConfirmModal`, `Modal`, `Tooltip`
- Create workspace `Modal`, `ConfirmModal`, `Button`
- Payment disabled `ConfirmModal`
- Share/Export `Menu`, `Button`, `Divider`
- Sign out `ConfirmModal`
- Temp disable affine cloud `Modal`
- Page detail operation `Menu`
- Blocksuite mode switch `Tooltip`
- Login card `Avatar`
- Help island `Tooltip`
- `plugin`
- copilot
- hello world
- image preview
- outline
2023-12-04 08:32:12 +00:00
Joooye_34
eb7d293aaa
fix(core): implement editor timeout and report error from boundary ( #5105 ) ( #5151 )
...
fix(core): implement editor timeout and report error from boundary (#5105 )
ci: add sentry env when frontend assets build (#5131 )
fix(core): expose catched editor load error (#5133 )
fix(infra): use blocksuite api to check compatibility (#5137 )
fix(infra): compatibility logic follow blocksuite (#5143 )
fix(core): rerender error boundary when route change and improve sentry report (#5147 )
2023-12-01 07:25:08 +00:00
JimmFly
3e662f358d
fix(core): adjust ui styles ( #5094 )
2023-11-30 12:23:57 +08:00
JimmFly
23518cae16
feat(core): add manual check for updates ( #4957 )
...
work for #4523
add `appBuildType` to `runtimeConfig`
add `useAppUpdater` to manage client updates
<!--
copilot:summary
-->
### <samp>🤖 [[deprecated]](https://githubnext.com/copilot-for-prs-sunset ) Generated by Copilot at cdd012c</samp>
This pull request refactors and enhances the update functionality for the frontend. It introduces a new custom hook `useAppUpdater` that simplifies the update logic and state management, and uses it in various components and commands. It also adds more options and feedback for the user to control and monitor the update process, such as manual download, auto-check, and auto-download toggles, and update status and progress indicators. It also updates the `AboutAffine` component to show the app icon, version, and build type. It also adds new translations, dependencies, types, and schemas related to the update functionality.
<img width="1073" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/16ae7a6a-0035-4e57-902b-6b8f63169501 ">
2023-11-29 13:31:25 +00:00
LongYinan
7a7cbc45d7
fix: add prefer-readonly rule ( #5122 )
2023-11-29 15:19:00 +08:00
LongYinan
e9ea67bd38
fix: add prefer-for-of rule ( #5121 )
2023-11-29 15:18:52 +08:00
LongYinan
cb2c659f52
fix: add no-new-array rule ( #5117 )
2023-11-29 04:44:06 +00:00
LongYinan
4dddbbdaee
fix: add prefer-dom-node-remove rule ( #5112 )
2023-11-29 04:43:51 +00:00
LongYinan
23cfc58fe2
fix: add prefer-dom-node-append rule ( #5108 )
2023-11-29 04:43:39 +00:00
LongYinan
923844f302
fix: add eqeqeq lint rule ( #5106 )
2023-11-29 04:43:31 +00:00
LongYinan
a843dcd851
fix: resolve cycle imports and prevent it by oxlint ( #5103 )
2023-11-29 04:43:27 +00:00
JimmFly
469a18f794
feat(component): default collapse and float sidebar on mobile ( #5077 )
...
work for #4843
https://github.com/toeverything/AFFiNE/assets/102217452/c658dbab-4db8-4065-a3a6-3e20274b6cb9
2023-11-29 02:12:13 +00:00
Peng Xiao
3891f23dfa
fix(component): rework tags list collapsing ( #5072 )
...
Before:
![CleanShot 2023-11-27 at 16.39.55@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/2ac2b8e3-6c30-41f7-a9b2-7a9c81b250fa.png )
After:
![CleanShot 2023-11-27 at 16.38.50@2x.png ](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/12eac806-e641-45be-9215-d166f8733db9.png )
2023-11-27 09:56:25 +00:00
Peng Xiao
71d6b730f7
chore: bump blocksuite ( #5051 )
...
https://github.com/toeverything/blocksuite/pull/5337
2023-11-27 04:46:23 +00:00
DarkSky
f04ec50d12
feat: optional payment for frontend ( #5056 )
2023-11-25 15:15:44 +00:00