mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 23:26:30 +08:00
ea72599bdeefd7dd67e7371c727bdccc8bc139bb
706 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
381be8a982 | fix(component): useConfirmModal can't be closed automatically when 'onConfirm' is non-async (#6439) | ||
|
|
9127bfae67 |
refactor(core): replace all notification relies on jotai (#6417)
- remove all notification that implemented with jotai and replaced with new `notify` - Add some notify presets: - `notify.error` - `notify.success` - `notify.warning` |
||
|
|
a4cd51e503 |
refactor(component): new notification center implemented with sonner (#6416)
The Notification has been reimplemented using sooner, no longer relies on jotai, and new story has been added.
- Before
```ts
import { pushNotificationAtom } from '@affine/component/notification-center';
import { useSetAtom } from 'jotai';
export const Component = () => {
const pushNotification = useSetAtom(pushNotificationAtom);
pushNotification({ ... });
}
```
- After
```ts
import { notify } from "@affine/component";
export const Component = () => {
notify({ ... });
}
```
|
||
|
|
f4e1e23120 |
feat(core): add cloud usage in sidebar avatar menu (#6400)
- Extract logic of getting cloud storage usage information into new hook - Move `<StorageProgress />`: `component` → `core` - Set minimum progress `0.5%` - Add cloud usage progress bar in sidebar user avatar's dropdown  |
||
|
|
35715ab1d8 |
feat(core): sidebar local workspace enable cloud directly (#6366)
- Add a new hook `useEnableClould`, remove `<EnableAffineClouldModal />` - Sidebar local workspace list item support enable AFFiNE Cloud |
||
|
|
d14552b5af | fix(core): sidebar workspace list can't scroll on mobile (#6370) | ||
|
|
8ed38d7c0d | fix(component): uppercase avatar letter fallback (#6354) | ||
|
|
fbe7a346c6 | fix(core): adjust sidebar workspace card syncing tooltip style (#6356) | ||
|
|
710edd28db | feat(core): open restore history confirm modal with hook (#6343) | ||
|
|
d412635f6b |
feat(component): new hook to open confirm modal (#6342)
new exports from `@affine/component`:
```ts
import { ConfirmModalProvider, useConfirmModal } from "@affine/component"
```
Open confirm modal with hook:
```ts
const Component = () => {
const { openConfirmModal } = useConformModal();
const open = () => {
openConfirmModal({
// props of ConfirmModal
/**
* will show loading state when confirm clicked, and close after onConfirm finished
*/
onConfirm: async () => {
await new Promise((r) => setTimeout(r, 2000));
},
});
}
return <Button onClick={open}>Open</Button>
}
```
|
||
|
|
8ee9f6ec05 |
chore: improve password error message (#6255)
chore: improve error message chore: add password minlength & maxlength i18n chore: check max length fix: i18n variables feat: add CredentialsRequirementType |
||
|
|
0731872347 |
feat(core): refactor sidebar header (#6251)
- Add user avatar - Move sign-out/user settings link from workspace-modal to user avatar modal - Modify the style of workspace list items - Modify gap of navigation buttons - Animate Syncing/Offline/...  |
||
|
|
d8a3cd5ce2 | chore: bump oxlint and rules (#6314) | ||
|
|
095f8c2359 | fix: button should have its font-family inherited (#6311) | ||
|
|
b2f34d17a2 | feat(core): adjust app sidebar's style (#6162) | ||
|
|
48abc52e85 |
feat: bump blocksuite (#6294)
## Features - https://github.com/toeverything/BlockSuite/pull/6544 @golok727 - https://github.com/toeverything/BlockSuite/pull/6543 @golok727 - https://github.com/toeverything/BlockSuite/pull/6536 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6497 @doouding - https://github.com/toeverything/BlockSuite/pull/6514 @regischen - https://github.com/toeverything/BlockSuite/pull/6523 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6530 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6526 @fourdim - https://github.com/toeverything/BlockSuite/pull/6532 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6493 @golok727 - https://github.com/toeverything/BlockSuite/pull/6529 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6528 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6509 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6525 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6502 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6489 @Flrande ## Bugfix - https://github.com/toeverything/BlockSuite/pull/6558 @fourdim - https://github.com/toeverything/BlockSuite/pull/6556 @fourdim - https://github.com/toeverything/BlockSuite/pull/6547 @fundon - https://github.com/toeverything/BlockSuite/pull/6537 @golok727 - https://github.com/toeverything/BlockSuite/pull/6531 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6524 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6519 @regischen - https://github.com/toeverything/BlockSuite/pull/6517 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6516 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6510 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6511 @congzhou09 - https://github.com/toeverything/BlockSuite/pull/6507 @doouding - https://github.com/toeverything/BlockSuite/pull/6500 @fourdim - https://github.com/toeverything/BlockSuite/pull/6486 @congzhou09 - https://github.com/toeverything/BlockSuite/pull/6495 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6488 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6482 @Flrande - https://github.com/toeverything/BlockSuite/pull/6558 @fourdim ## Refactor - https://github.com/toeverything/BlockSuite/pull/6548 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6522 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6518 @regischen - https://github.com/toeverything/BlockSuite/pull/6521 @Saul-Mirone ## Misc - https://github.com/toeverything/BlockSuite/pull/6557 @fourdim - https://github.com/toeverything/BlockSuite/pull/6546 @Flrande - docs: update package desc - https://github.com/toeverything/BlockSuite/pull/6527 @fourdim - https://github.com/toeverything/BlockSuite/pull/6505 @Brooooooklyn - https://github.com/toeverything/BlockSuite/pull/6503 @fourdim - v0.13.0 - https://github.com/toeverything/BlockSuite/pull/6496 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6562 @donteatfriedrice |
||
|
|
f2adbdaba4 | style: enable import-x/no-duplicates (#6279) | ||
|
|
3c6983ee49 |
fix(core): storybook build issue (#6274)
1. es2022 is required and should be set separately in storybook. 2. @blocksuite/icons versions are not consistent across packages. |
||
|
|
332cd3b380 |
refactor(core): split web entry from core (#6082)
This pr is trying to split `web` and `electron` entries from `core`. It allows more platform-related optimization to be addressed in each entry. We should remove all browser/electron only codes from `core` eventually, this is the very first step for that. |
||
|
|
398d66fac1 |
chore: bump up all non-major dependencies (#6107)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.529.1` -> `3.536.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.529.1/3.536.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`18.0.8` -> `18.1.2`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.8/18.1.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-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.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/1.3.1/1.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.3.1/1.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.536.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35360-2024-03-18) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.535.0...v3.536.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) ### [`v3.535.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35350-2024-03-15) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.534.0...v3.535.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) ### [`v3.534.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35340-2024-03-14) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.533.0...v3.534.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) ### [`v3.533.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35330-2024-03-13) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.529.1...v3.533.0) ##### Features - **client-s3:** This release makes the default option for S3 on Outposts request signing to use the SigV4A algorithm when using AWS Common Runtime (CRT). ([2ddd8ec](https://togithub.com/aws/aws-sdk-js-v3/commit/2ddd8ec13eaba4609acedfcf9ded5a380db8ae2e)) #### [3.529.1](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) (2024-03-08) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) </details> <details> <summary>nrwl/nx (@​nx/vite)</summary> ### [`v18.1.2`](https://togithub.com/nrwl/nx/releases/tag/18.1.2) [Compare Source](https://togithub.com/nrwl/nx/compare/18.1.1...18.1.2) ##### 18.1.2 (2024-03-18) ##### 🚀 Features - **nx-dev:** add apollo.io tracking script to `_app.tsx` ([#​22339](https://togithub.com/nrwl/nx/pull/22339)) ##### 🩹 Fixes - **core:** do not use pseudo terminal if platform is unsuported and f… ([#​22341](https://togithub.com/nrwl/nx/pull/22341)) - **js:** read lockfile from the workspace root ([#​22340](https://togithub.com/nrwl/nx/pull/22340)) ##### ❤️ Thank You - Benjamin Cabanes [@​bcabanes](https://togithub.com/bcabanes) - Jason Jean [@​FrozenPandaz](https://togithub.com/FrozenPandaz) ### [`v18.1.1`](https://togithub.com/nrwl/nx/releases/tag/18.1.1) [Compare Source](https://togithub.com/nrwl/nx/compare/5e64e7dcb011fd164e22f87a9f2a6358a7c2cd32...18.1.1) ##### 18.1.1 (2024-03-15) ##### 🚀 Features - **angular:** update jest-preset-angular version ([#​21776](https://togithub.com/nrwl/nx/pull/21776)) - **angular:** add the extract-i18n executor ([#​21802](https://togithub.com/nrwl/nx/pull/21802)) - **angular:** ensure all targets are generated for application and libraries ([#​21826](https://togithub.com/nrwl/nx/pull/21826)) - **angular:** support angular 17.2.0 ([#​21671](https://togithub.com/nrwl/nx/pull/21671)) - **angular:** force explicit targets when NX_ADD_PLUGINS is not explicitly true ([#​21852](https://togithub.com/nrwl/nx/pull/21852)) - **angular:** update jest-preset-angular dependency to 14.0.3 ([#​21912](https://togithub.com/nrwl/nx/pull/21912)) - **angular:** remove optional [@​nx/cypress](https://togithub.com/nx/cypress) and [@​nx/jest](https://togithub.com/nx/jest) from dependencies ([#​22162](https://togithub.com/nrwl/nx/pull/22162)) - **bundling:** bump rollup-plugin-typescript2 version ([#​20609](https://togithub.com/nrwl/nx/pull/20609)) - **bundling:** rollup should support ESM config files ([#​21999](https://togithub.com/nrwl/nx/pull/21999)) - **bundling:** crystalize rollup ([#​22045](https://togithub.com/nrwl/nx/pull/22045)) - **core:** update swc/register ([#​21755](https://togithub.com/nrwl/nx/pull/21755)) - **core:** add option to disable log grouping on CI ([#​21782](https://togithub.com/nrwl/nx/pull/21782)) - **core:** remove leading arrow from output headlines ([#​21359](https://togithub.com/nrwl/nx/pull/21359)) - **core:** remove leading arrow from output headlines" ([#​21800](https://togithub.com/nrwl/nx/pull/21800)) - **core:** support migrating to canary versions of nx for testing ([#​21812](https://togithub.com/nrwl/nx/pull/21812)) - **core:** flatten default base config to base ([#​19964](https://togithub.com/nrwl/nx/pull/19964)) - **core:** execute plugins in isolated processes ([#​21760](https://togithub.com/nrwl/nx/pull/21760)) - **core:** provide a hint when project.json has empty targets ([#​22028](https://togithub.com/nrwl/nx/pull/22028)) - **core:** add gradle plugin ([#​21055](https://togithub.com/nrwl/nx/pull/21055)) - **core:** use flag in nx.json for toggling crystal ([#​21980](https://togithub.com/nrwl/nx/pull/21980)) - **core:** forward options for run command ([#​22064](https://togithub.com/nrwl/nx/pull/22064)) - **core:** revert running plugins in isolation ([#​22246](https://togithub.com/nrwl/nx/pull/22246)) - **core:** run commands directly ([#​21918](https://togithub.com/nrwl/nx/pull/21918)) - **detox:** upgrade [@​config-plugins/detox](https://togithub.com/config-plugins/detox) to 7 ([#​21959](https://togithub.com/nrwl/nx/pull/21959)) - **expo:** support cjs and mjs ([#​21408](https://togithub.com/nrwl/nx/pull/21408)) - **graph:** add error boundary error page for project details ([#​22007](https://togithub.com/nrwl/nx/pull/22007)) - **graph:** add spinner on the projects page ([#​22149](https://togithub.com/nrwl/nx/pull/22149)) - **js:** replace publish script with nx release config ([#​21474](https://togithub.com/nrwl/nx/pull/21474)) - **misc:** log message in nx init when detecting plugins ([#​21932](https://togithub.com/nrwl/nx/pull/21932)) - **nextjs:** use global NX_GRAPH_CREATION in withNx plugin to guard against graph creation during create nodes ([#​22026](https://togithub.com/nrwl/nx/pull/22026)) - **nuxt:** export storybook generator ([#​21969](https://togithub.com/nrwl/nx/pull/21969)) - **nx-dev:** update launch conf timings ([a0e4cf747d](https://togithub.com/nrwl/nx/commit/a0e4cf747d)) - **nx-dev:** update launch page link text ([#​21747](https://togithub.com/nrwl/nx/pull/21747)) - **nx-dev:** update website header components ([#​21833](https://togithub.com/nrwl/nx/pull/21833)) - **nx-dev:** change color for nx-agents & nx-ai buttons on home ([#​22142](https://togithub.com/nrwl/nx/pull/22142)) - **react:** add tailwind as style prompt option for app gen ([#​21784](https://togithub.com/nrwl/nx/pull/21784)) - **release:** prompt to create github release when no file changes ([#​21819](https://togithub.com/nrwl/nx/pull/21819)) - **release:** interpolate workspaceRoot in changelog path ([#​22058](https://togithub.com/nrwl/nx/pull/22058)) - **release:** add conventional commits configurability for version and changelog ([#​22004](https://togithub.com/nrwl/nx/pull/22004)) - **remix:** add playwright option for e2eTestRunner ([#​21603](https://togithub.com/nrwl/nx/pull/21603)) - **remix:** upgrade to latest remix 2.6.0 ([#​21843](https://togithub.com/nrwl/nx/pull/21843)) - **remix:** use Remix CLI directly with Remix Crystal Plugin ([#​22234](https://togithub.com/nrwl/nx/pull/22234)) - **remix:** support version 2.8.0 ([#​22326](https://togithub.com/nrwl/nx/pull/22326)) - **remix:** add option to create-nx-workspace ([#​22334](https://togithub.com/nrwl/nx/pull/22334)) - **repo:** use latest pnpm for CI runs ([#​22207](https://togithub.com/nrwl/nx/pull/22207)) - **testing:** update cypress version ([#​21961](https://togithub.com/nrwl/nx/pull/21961)) - **testing:** add getJestProjectsAsync to support inferred targets ([#​21897](https://togithub.com/nrwl/nx/pull/21897)) - **vite:** add vitest.workspace.ts at root ([#​21915](https://togithub.com/nrwl/nx/pull/21915)) ##### 🩹 Fixes - **angular:** fix wrong trailing comma in mf bootstrap code generation ([#​21600](https://togithub.com/nrwl/nx/pull/21600)) - **angular:** support inferred cypress targets in setup-mf generator ([#​21619](https://togithub.com/nrwl/nx/pull/21619)) - **angular:** ajv hoisting issue ([#​21641](https://togithub.com/nrwl/nx/pull/21641)) - **angular:** resolve the index html transformer correctly for esbuild based build targets in dev-server ([#​21679](https://togithub.com/nrwl/nx/pull/21679)) - **angular:** generate app server module setup correctly in setup-ssr generator ([#​21702](https://togithub.com/nrwl/nx/pull/21702)) - **angular:** add missing forceEsbuild option to dev-server executor ([#​21753](https://togithub.com/nrwl/nx/pull/21753)) - **angular:** do not force explicit targets for separate e2e projects ([#​21865](https://togithub.com/nrwl/nx/pull/21865)) - **angular:** stop using npmScope as a prefix for component and directive selectors ([#​21828](https://togithub.com/nrwl/nx/pull/21828)) - **angular:** do not add target defaults for the ng-packagr-lite executor when generating non-buildable library ([#​21935](https://togithub.com/nrwl/nx/pull/21935)) - **angular:** ensure generated editor tsconfig in apps only include runtime files ([#​21945](https://togithub.com/nrwl/nx/pull/21945)) - **angular:** log message about unsupported ng cache command ([#​22154](https://togithub.com/nrwl/nx/pull/22154)) - **angular:** fix message logged for unsupported ng cache ([#​22211](https://togithub.com/nrwl/nx/pull/22211)) - **angular:** Module federation with Crystal enabled. ([#​22224](https://togithub.com/nrwl/nx/pull/22224)) - **angular:** install jsonc-eslint-parser only when [@​nx/dependency-checks](https://togithub.com/nx/dependency-checks) is used ([#​22231](https://togithub.com/nrwl/nx/pull/22231)) - **core:** nx cloud prompt during migrate doesn't skip connection ([#​21588](https://togithub.com/nrwl/nx/pull/21588)) - **core:** pass the full resolved path of ts-node/esm when reloading the CLI ([#​21607](https://togithub.com/nrwl/nx/pull/21607)) - **core:** remove logic to reload process with esm loader for Node 18 ([#​21623](https://togithub.com/nrwl/nx/pull/21623)) - **core:** prevent target defaults from being discarded during merge process ([#​21624](https://togithub.com/nrwl/nx/pull/21624)) - **core:** add missing parts to ci workflws and update docs ([ab76d6291a](https://togithub.com/nrwl/nx/commit/ab76d6291a)) - **core:** temporary use forked portable_pty to inherit cursor position for windows ([#​21683](https://togithub.com/nrwl/nx/pull/21683)) - **core:** handle blocking stdin ([#​21672](https://togithub.com/nrwl/nx/pull/21672)) - **core:** remove implementation detail from warning ([18efd62003](https://togithub.com/nrwl/nx/commit/18efd62003)) - **core:** static run one lifecycle should always print dependent task status, and output when verbose ([#​21720](https://togithub.com/nrwl/nx/pull/21720)) - **core:** run migrations ordered by their target version ([#​21799](https://togithub.com/nrwl/nx/pull/21799)) - **core:** Update NxWelcome connect to cloud ([#​21830](https://togithub.com/nrwl/nx/pull/21830)) - **core:** propagate `verbose` flag when running `init` generator dur… ([#​21868](https://togithub.com/nrwl/nx/pull/21868)) - **core:** ensure migrate works with yarn PnP ([#​21824](https://togithub.com/nrwl/nx/pull/21824)) - **core:** align terminal output padding and remove leading arrow ([#​21809](https://togithub.com/nrwl/nx/pull/21809)) - **core:** read all targets from package json when defining target defaults ([#​21719](https://togithub.com/nrwl/nx/pull/21719)) - **core:** include nx/nuxt in migrations ([#​21885](https://togithub.com/nrwl/nx/pull/21885)) - **core:** do not use the new pty function for older versions of windows ([#​21854](https://togithub.com/nrwl/nx/pull/21854)) - **core:** normalize migration target versions when sorting migrations ([#​21967](https://togithub.com/nrwl/nx/pull/21967)) - **core:** target defaults application shouldn't include extra scripts ([#​21970](https://togithub.com/nrwl/nx/pull/21970)) - **core:** update generated README pages with more useful instructions ([#​21976](https://togithub.com/nrwl/nx/pull/21976)) - **core:** plugin pool should not clobber promises when called multiple times ([#​21977](https://togithub.com/nrwl/nx/pull/21977)) - **core:** plugins should not be registered twice and should respect shutdown queue ([#​22057](https://togithub.com/nrwl/nx/pull/22057)) - **core:** nextjs-standalone generates package scripts consistent with create-next-app ([#​21996](https://togithub.com/nrwl/nx/pull/21996)) - **core:** target defaults should represent nx.json in source info ([#​22080](https://togithub.com/nrwl/nx/pull/22080)) - **core:** setting up .nx inside gradle shouldn't throw ([#​21957](https://togithub.com/nrwl/nx/pull/21957)) - **core:** add outputs to nx.json for nx init in monorepo ([#​22061](https://togithub.com/nrwl/nx/pull/22061)) - **core:** fix no such file or directory, open 'package-lock.json' ([#​21835](https://togithub.com/nrwl/nx/pull/21835)) - **core:** reject all promises in pool during shutdown ([#​22188](https://togithub.com/nrwl/nx/pull/22188)) - **core:** fix terminal message alignment on errors ([#​22189](https://togithub.com/nrwl/nx/pull/22189)) - **core:** only start plugin workers once ([#​22222](https://togithub.com/nrwl/nx/pull/22222)) - **core:** properly cleanup when the project-graph creation fails ([#​22243](https://togithub.com/nrwl/nx/pull/22243)) - **core:** make windows runtime input hashing windowless ([#​22197](https://togithub.com/nrwl/nx/pull/22197)) - **core:** fix gh group success icon ([#​22281](https://togithub.com/nrwl/nx/pull/22281)) - **core:** fix pty for multiple commands in 1 process ([#​22294](https://togithub.com/nrwl/nx/pull/22294)) - **devkit:** respect expectComments when parsing json ([#​21584](https://togithub.com/nrwl/nx/pull/21584)) - **graph:** fix open project with / in name ([#​21722](https://togithub.com/nrwl/nx/pull/21722)) - **graph:** show command property as monospace ([#​21997](https://togithub.com/nrwl/nx/pull/21997)) - **js:** babel preset should also check for JEST_WORKER_ID to transpile to CJS ([#​21754](https://togithub.com/nrwl/nx/pull/21754)) - **js:** nx release-version resolve-version-spec should normalize fetchSpec ([#​21710](https://togithub.com/nrwl/nx/pull/21710)) - **js:** swc executor should support inlining on windows ([#​21801](https://togithub.com/nrwl/nx/pull/21801)) - **js:** set moduleResolution to Node10 so it is compatible with CommonJS module ([#​21979](https://togithub.com/nrwl/nx/pull/21979)) - **js:** use NodeJs moduleResolution with ts-node to support CommonJS module and TS 4.x ([#​22258](https://togithub.com/nrwl/nx/pull/22258)) - **linter:** adjust terminal run check for crystal ([#​21638](https://togithub.com/nrwl/nx/pull/21638)) - **linter:** fix eslint-plugin migration target version ([#​21966](https://togithub.com/nrwl/nx/pull/21966)) - **linter:** add v7 of typescript-eslint to peerDeps ([#​21853](https://togithub.com/nrwl/nx/pull/21853)) - **linter:** refactor pcv3 plugin, expose configFiles on context ([#​21677](https://togithub.com/nrwl/nx/pull/21677)) - **misc:** handle workspaces if no plugin selected in nx init and only generate files after prompts ([#​21606](https://togithub.com/nrwl/nx/pull/21606)) - **misc:** ensure swc transpiler process required files ([#​21674](https://togithub.com/nrwl/nx/pull/21674)) - **misc:** pin generated vite version to ~5.0.0 to avoid issues with storybook ([#​21740](https://togithub.com/nrwl/nx/pull/21740)) - **misc:** logs from rm-default-collection should render properly ([#​21953](https://togithub.com/nrwl/nx/pull/21953)) - **misc:** set nx property in root package.json when no replacing script in nx init ([#​21974](https://togithub.com/nrwl/nx/pull/21974)) - **misc:** migration should shutdown plugin workers if it starts them ([#​22048](https://togithub.com/nrwl/nx/pull/22048)) - **misc:** make sure to add e2e crystal plugin ([#​22041](https://togithub.com/nrwl/nx/pull/22041)) - **misc:** fix buildable libs utils calculating dependent projects from task graph ([#​22015](https://togithub.com/nrwl/nx/pull/22015)) - **misc:** add missing format files call ([#​22137](https://togithub.com/nrwl/nx/pull/22137)) - **misc:** improve package.json scripts handling when running "nx init" and "nx add" ([#​22168](https://togithub.com/nrwl/nx/pull/22168)) - **misc:** do not add includedScripts unless really needed when running nx add ([#​22180](https://togithub.com/nrwl/nx/pull/22180)) - **module-federation:** map static remote locations correctly ([#​21709](https://togithub.com/nrwl/nx/pull/21709)) - **module-federation:** ensure targetDefaults for module federation executors are setup correctly ([#​22282](https://togithub.com/nrwl/nx/pull/22282)) - **nextjs:** move `next/constants` from top-level import to when it is needed ([#​21612](https://togithub.com/nrwl/nx/pull/21612)) - **nextjs:** Enable next e2e test ([#​21625](https://togithub.com/nrwl/nx/pull/21625)) - **nextjs:** src package.json should not be copied to output folder ([aa622bab5a](https://togithub.com/nrwl/nx/commit/aa622bab5a)) - **nextjs:** Custom server should work with Crystal ([#​21736](https://togithub.com/nrwl/nx/pull/21736)) - **nextjs:** Svg should work when svgr is true in next config ([#​21761](https://togithub.com/nrwl/nx/pull/21761)) - **nextjs:** Add missing e2e-ci target for cypress ([#​21805](https://togithub.com/nrwl/nx/pull/21805)) - **nextjs:** Add spec files when creating a next app ([#​22079](https://togithub.com/nrwl/nx/pull/22079)) - **nextjs:** avoid path error on dev server creation ([#​21998](https://togithub.com/nrwl/nx/pull/21998)) - **nextjs:** Adding styles to nextjs cypress should not fail. ([#​22170](https://togithub.com/nrwl/nx/pull/22170)) - **nextjs:** Surface error codes when build is interrupted by signals SIGINT, SIGTERM etc... ([#​22190](https://togithub.com/nrwl/nx/pull/22190)) - **nextjs:** runCLI stdio ([#​22267](https://togithub.com/nrwl/nx/pull/22267)) - **node:** Broken E2E tests ([#​21569](https://togithub.com/nrwl/nx/pull/21569)) - **node:** Increase timeout for CI ([#​22003](https://togithub.com/nrwl/nx/pull/22003)) - **nuxt:** init generator should add [@​nx/vite](https://togithub.com/nx/vite) to dependencies ([#​21911](https://togithub.com/nrwl/nx/pull/21911)) - **nuxt:** turn on autoimport ([#​21894](https://togithub.com/nrwl/nx/pull/21894)) - **nuxt:** tsconfig types and output dir ([#​21934](https://togithub.com/nrwl/nx/pull/21934)) - **nuxt:** fix storybook preview config path ([#​22020](https://togithub.com/nrwl/nx/pull/22020)) - **nuxt:** Add e2e-ci and serve-static targets ([#​22056](https://togithub.com/nrwl/nx/pull/22056)) - **nx-dev:** redirect core-features page ([#​21616](https://togithub.com/nrwl/nx/pull/21616)) - **nx-dev:** launch page mobile experience ([de676e207f](https://togithub.com/nrwl/nx/commit/de676e207f)) - **nx-dev:** redirect on remote caching page ([#​21669](https://togithub.com/nrwl/nx/pull/21669)) - **nx-dev:** remove fence from new packages and "nx add" commands ([#​21705](https://togithub.com/nrwl/nx/pull/21705)) - **nx-dev:** add colors to ms logo ([#​21790](https://togithub.com/nrwl/nx/pull/21790)) - **nx-plugin:** do not print duplicated warning about derived format when generating plugin ([#​22230](https://togithub.com/nrwl/nx/pull/22230)) - **nx-plugin:** support root tsconfig.json in nx-plugin-checks eslint rule ([4850bdb6aa](https://togithub.com/nrwl/nx/commit/4850bdb6aa)) - **playwright:** fix include in tsconfig.json ([#​21730](https://togithub.com/nrwl/nx/pull/21730)) - **react:** generate correctly when --js is used for module federation host/remote ([#​20119](https://togithub.com/nrwl/nx/pull/20119)) - **react:** full support custom secure host for module federation ([#​21777](https://togithub.com/nrwl/nx/pull/21777)) - **react:** ensure playwright configuration is using correct port in app gen ([#​21941](https://togithub.com/nrwl/nx/pull/21941)) - **react:** pass correct argument to rspack configuration generator ([#​22241](https://togithub.com/nrwl/nx/pull/22241)) - **react-native:** change gradlew to absolute path ([#​21725](https://togithub.com/nrwl/nx/pull/21725)) - **react-native:** add all flag to sync-deps ([#​21821](https://togithub.com/nrwl/nx/pull/21821)) - **react-native:** pin ajv version to 8.12.0 ([#​22002](https://togithub.com/nrwl/nx/pull/22002)) - **release:** logging improvements ([#​21692](https://togithub.com/nrwl/nx/pull/21692)) - **release:** ensure `nx release publish --graph` only includes projects with target ([#​21726](https://togithub.com/nrwl/nx/pull/21726)) - **release:** do not stop daemon in dry-run ([#​21743](https://togithub.com/nrwl/nx/pull/21743)) - **release:** skip prompt for publish when no version created ([#​21769](https://togithub.com/nrwl/nx/pull/21769)) - **release:** use --first-parent to support merged repos ([#​21686](https://togithub.com/nrwl/nx/pull/21686)) - **release:** move github release creation to git tasks ([#​21510](https://togithub.com/nrwl/nx/pull/21510)) - **release:** currentVersionResolver git-tag should prefer merged tags ([#​22082](https://togithub.com/nrwl/nx/pull/22082)) - **release:** skip lock file update if workspaces are not enabled ([#​22055](https://togithub.com/nrwl/nx/pull/22055)) - **release:** store rawVersionSpec on versionData ([#​22071](https://togithub.com/nrwl/nx/pull/22071)) - **release:** fix default renderer resolution to be relative within t… ([#​22331](https://togithub.com/nrwl/nx/pull/22331)) - **remix:** do not rename root jest.preset.js ([#​21703](https://togithub.com/nrwl/nx/pull/21703)) - **remix:** should add remix plugin to nx.json on init correctly ([#​21827](https://togithub.com/nrwl/nx/pull/21827)) - **remix:** the output path should respect the remix.config.js in crystal ([#​21842](https://togithub.com/nrwl/nx/pull/21842)) - **remix:** adjust remix start script when building ([#​21883](https://togithub.com/nrwl/nx/pull/21883)) - **remix:** typo in tsconfig.spec.json update led to invalid tsconfig ([#​21886](https://togithub.com/nrwl/nx/pull/21886)) - **remix:** ensure component-testing is exported correctly [#​22091](https://togithub.com/nrwl/nx/issues/22091) ([#​22095](https://togithub.com/nrwl/nx/pull/22095), [#​22091](https://togithub.com/nrwl/nx/issues/22091)) - **repo:** update browser tools to fix ci ([#​21955](https://togithub.com/nrwl/nx/pull/21955)) - **storybook:** handle main.js file correctly in storybook plugin ([#​22081](https://togithub.com/nrwl/nx/pull/22081)) - **testing:** cleanup e2e atomization plugins ([#​21688](https://togithub.com/nrwl/nx/pull/21688)) - **testing:** increase the default timeout to 15s for the dev server to start ([#​21716](https://togithub.com/nrwl/nx/pull/21716)) - **testing:** ensure cypress closes the web dev server ([#​21759](https://togithub.com/nrwl/nx/pull/21759)) - **testing:** jest should handle root jest.preset.cjs ([#​21746](https://togithub.com/nrwl/nx/pull/21746)) - **testing:** fix cypress project targets does not exist ([#​21785](https://togithub.com/nrwl/nx/pull/21785)) - **testing:** pin cypress version to avoid issue with verifying cypress ([#​21917](https://togithub.com/nrwl/nx/pull/21917)) - **testing:** ensure baseUrl is not passed to playwright cli ([#​21943](https://togithub.com/nrwl/nx/pull/21943)) - **testing:** playwright plugin enoent error ([#​21951](https://togithub.com/nrwl/nx/pull/21951)) - **testing:** add null checks when reading targets ([#​21952](https://togithub.com/nrwl/nx/pull/21952)) - **testing:** calculate correct support file path in cypress e2e preset ([#​22096](https://togithub.com/nrwl/nx/pull/22096)) - **testing:** increase the default timeout to 60s for the cypress web dev server to start ([#​22132](https://togithub.com/nrwl/nx/pull/22132)) - **testing:** close cypress web server correctly on windows ([#​22125](https://togithub.com/nrwl/nx/pull/22125)) - **testing:** resolve cypress config glob pattern correctly to handle root projects ([#​22165](https://togithub.com/nrwl/nx/pull/22165)) - **testing:** minor adjustment to the config generation template ([#​22175](https://togithub.com/nrwl/nx/pull/22175)) - **testing:** fix project config might not be defined ([#​22174](https://togithub.com/nrwl/nx/pull/22174)) - **vite:** import esbuild before loading config to keep it in cache ([#​21685](https://togithub.com/nrwl/nx/pull/21685)) - **vite:** normalize vitest cli args in executor ([#​21870](https://togithub.com/nrwl/nx/pull/21870)) - **vite:** project conversion generator ([#​21646](https://togithub.com/nrwl/nx/pull/21646)) - **vite:** update vitest and use parseCLI ([#​21890](https://togithub.com/nrwl/nx/pull/21890)) - **vite:** Storing nxjson details too early ([#​22285](https://togithub.com/nrwl/nx/pull/22285)) - **vue:** fixing vue and nuxt welcome templates ([#​21792](https://togithub.com/nrwl/nx/pull/21792)) - **vue:** tailwind generator ignoring styleSheet option ([#​21840](https://togithub.com/nrwl/nx/pull/21840)) - **vue:** small typo in CNW description ([#​21888](https://togithub.com/nrwl/nx/pull/21888)) - **webpack:** require ForkTsCheckerWebpackPlugin only as required ([#​21629](https://togithub.com/nrwl/nx/pull/21629)) - **webpack:** resolve relative path for assets inputs ([#​21822](https://togithub.com/nrwl/nx/pull/21822)) - **webpack:** correctly handle paranthesis in PostCSS in url ([#​21884](https://togithub.com/nrwl/nx/pull/21884)) - **webpack:** surface original error when remotes fail to start ([#​21919](https://togithub.com/nrwl/nx/pull/21919)) ##### ❤️ Thank You - Alex Swindler - Alon Valadji [@​alonronin](https://togithub.com/alonronin) - Austin Fahsl [@​fahslaj](https://togithub.com/fahslaj) - Benjamin Cabanes [@​bcabanes](https://togithub.com/bcabanes) - Colum Ferry [@​Coly010](https://togithub.com/Coly010) - Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder) - Dan Roujinsky - Edouard Bozon [@​edbzn](https://togithub.com/edbzn) - Emily Xiong [@​xiongemi](https://togithub.com/xiongemi) - Jack Hsu [@​jaysoo](https://togithub.com/jaysoo) - James Henry [@​JamesHenry](https://togithub.com/JamesHenry) - Jason Jean [@​FrozenPandaz](https://togithub.com/FrozenPandaz) - Javier Abia [@​weberjavi](https://togithub.com/weberjavi) - Jonathan Cammisuli - Julian Martin - Juri [@​juristr](https://togithub.com/juristr) - Juri Strumpflohner [@​juristr](https://togithub.com/juristr) - Katerina Skroumpelou [@​mandarini](https://togithub.com/mandarini) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - MaxKless [@​MaxKless](https://togithub.com/MaxKless) - Miroslav Jonas [@​meeroslav](https://togithub.com/meeroslav) - Miroslav Jonaš [@​meeroslav](https://togithub.com/meeroslav) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) - Nikita Barsukov [@​nsbarsukov](https://togithub.com/nsbarsukov) - Philip Fulcher - Remco Krams - Steven Nance [@​llwt](https://togithub.com/llwt) - Tine Kondo [@​tinesoft](https://togithub.com/tinesoft) - Vadim Goy - Victor Login [@​batazor](https://togithub.com/batazor) - Viktor Pöntinen - Yu Zheng - Zachary DeRose [@​ZackDeRose](https://togithub.com/ZackDeRose) ### [`v18.1.0`](https://togithub.com/nrwl/nx/compare/18.0.8...5e64e7dcb011fd164e22f87a9f2a6358a7c2cd32) [Compare Source](https://togithub.com/nrwl/nx/compare/18.0.8...5e64e7dcb011fd164e22f87a9f2a6358a7c2cd32) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(4f6e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://togithub.com/saitonakamura) and [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(38119)</samp>](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [<samp>(ce5ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [<samp>(29f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
bba1a95f9c | chore: bump base version to 0.14.0 (#6170) | ||
|
|
dc8f351051 |
refactor(component): render react element into lit (#6124)
See docs in https://insider.affine.pro/share/af3478a2-9c9c-4d16-864d-bffa1eb10eb6/oL1ifjA4rKv7HRn5nYzIF This PR also enables opening split view by ctrl-click a page link in a doc. |
||
|
|
8301d82548 | fix(core): sync list titles in sidebar (#6157) | ||
|
|
636fa503b8 | feat: support esc shortcut on input-edit (#6143) | ||
|
|
a24320da68 | feat: bump blocksuite (#6123) | ||
|
|
05583dbe98 | feat: bump blocksuite (#6112) | ||
|
|
c1f5e848b4 | feat: blocksuite bump (#6104) | ||
|
|
e116a82c24 |
fix(component): an input display issue in confirm dialog (#6102)
fix the following issue of `input`  |
||
|
|
fddbb426a6 | feat: bump blocksuite (#6078) | ||
|
|
9e1adfed81 |
chore: bump up all non-major dependencies (#6069)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@storybook/test-runner](https://togithub.com/storybookjs/test-runner) | [`^0.16.0` -> `^0.17.0`](https://renovatebot.com/diffs/npm/@storybook%2ftest-runner/0.16.0/0.17.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [next-themes](https://togithub.com/pacocoursey/next-themes) | [`^0.2.1` -> `^0.3.0`](https://renovatebot.com/diffs/npm/next-themes/0.2.1/0.3.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>storybookjs/test-runner (@​storybook/test-runner)</summary> ### [`v0.17.0`](https://togithub.com/storybookjs/test-runner/releases/tag/v0.17.0) [Compare Source](https://togithub.com/storybookjs/test-runner/compare/v0.16.0...v0.17.0) ##### 🚀 Enhancement - Release 0.17.0 [#​438](https://togithub.com/storybookjs/test-runner/pull/438) ([@​JReinhold](https://togithub.com/JReinhold) [@​shilman](https://togithub.com/shilman) [@​valentinpalkovic](https://togithub.com/valentinpalkovic) [@​yannbf](https://togithub.com/yannbf) [@​ndelangen](https://togithub.com/ndelangen)) - Support Storybook 8 [#​429](https://togithub.com/storybookjs/test-runner/pull/429) ([@​yannbf](https://togithub.com/yannbf)) - Support unhandled rendering errors [#​421](https://togithub.com/storybookjs/test-runner/pull/421) ([@​yannbf](https://togithub.com/yannbf)) ##### 🐛 Bug Fix - Prebundle dependencies [#​431](https://togithub.com/storybookjs/test-runner/pull/431) ([@​yannbf](https://togithub.com/yannbf)) - Update internal example to Storybook 8 [#​430](https://togithub.com/storybookjs/test-runner/pull/430) ([@​yannbf](https://togithub.com/yannbf)) - swap storybook/jest to storybook/test [#​427](https://togithub.com/storybookjs/test-runner/pull/427) ([@​ndelangen](https://togithub.com/ndelangen)) - Add PR template [#​428](https://togithub.com/storybookjs/test-runner/pull/428) ([@​yannbf](https://togithub.com/yannbf)) - Fix build step [#​425](https://togithub.com/storybookjs/test-runner/pull/425) ([@​valentinpalkovic](https://togithub.com/valentinpalkovic)) - Remove --prerelease from sb upgrade CI [#​423](https://togithub.com/storybookjs/test-runner/pull/423) ([@​JReinhold](https://togithub.com/JReinhold)) - Support stories with meta id for permalinking [#​419](https://togithub.com/storybookjs/test-runner/pull/419) ([@​yannbf](https://togithub.com/yannbf)) ##### 📝 Documentation - Docs: Add remark regarding pnp support [#​432](https://togithub.com/storybookjs/test-runner/pull/432) ([@​yannbf](https://togithub.com/yannbf)) - docs: replace postRender(deprecated) with postVisit [#​418](https://togithub.com/storybookjs/test-runner/pull/418) ([@​junkisai](https://togithub.com/junkisai)) ##### Authors: 6 - Jeppe Reinhold ([@​JReinhold](https://togithub.com/JReinhold)) - Junki Saito ([@​junkisai](https://togithub.com/junkisai)) - Michael Shilman ([@​shilman](https://togithub.com/shilman)) - Norbert de Langen ([@​ndelangen](https://togithub.com/ndelangen)) - Valentin Palkovic ([@​valentinpalkovic](https://togithub.com/valentinpalkovic)) - Yann Braga ([@​yannbf](https://togithub.com/yannbf)) </details> <details> <summary>pacocoursey/next-themes (next-themes)</summary> ### [`v0.3.0`](https://togithub.com/pacocoursey/next-themes/releases/tag/v0.3.0) #### What's - `"use client"` was added to the library output so that you can use it as a React Client component without creating a wrapper. #### New Contributors - [@​MaxLeiter](https://togithub.com/MaxLeiter) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/120](https://togithub.com/pacocoursey/next-themes/pull/120) - [@​gnoff](https://togithub.com/gnoff) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/135](https://togithub.com/pacocoursey/next-themes/pull/135) - [@​WITS](https://togithub.com/WITS) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/168](https://togithub.com/pacocoursey/next-themes/pull/168) - [@​dimaMachina](https://togithub.com/dimaMachina) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/186](https://togithub.com/pacocoursey/next-themes/pull/186) - [@​amrhassab](https://togithub.com/amrhassab) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/192](https://togithub.com/pacocoursey/next-themes/pull/192) - [@​BekzodIsakov](https://togithub.com/BekzodIsakov) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/241](https://togithub.com/pacocoursey/next-themes/pull/241) - [@​BlankParticle](https://togithub.com/BlankParticle) made their first contribution in [https://github.com/pacocoursey/next-themes/pull/253](https://togithub.com/pacocoursey/next-themes/pull/253) **Full Changelog**: https://github.com/pacocoursey/next-themes/compare/v0.2.0...v0.3.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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
9f74cb32ea | fix(component): input focus implementation (#6086) | ||
|
|
fb3a0e7b8f |
refactor(server): auth (#5895)
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.
## Server
- [x] tokens
- [x] function
- [x] encryption
- [x] AuthController
- [x] /api/auth/sign-in
- [x] /api/auth/sign-out
- [x] /api/auth/session
- [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)
- [x] OAuthPlugin
- [x] OAuthController
- [x] /oauth/login
- [x] /oauth/callback
- [x] Providers
- [x] Google
- [x] GitHub
## Client
- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut
## NOTE:
Tests will be adding in the future
|
||
|
|
cb96d7de43 |
chore: bump up @blocksuite/icons version to v2.1.45 (#6061)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.44` -> `2.1.45`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.44/2.1.45) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>toeverything/icons (@​blocksuite/icons)</summary> ### [`v2.1.45`](https://togithub.com/toeverything/icons/compare/bc31d7096132890aa055ac3bdf632826b7734bc5...cc4113532a0b2c9dc5d0beaea2d854a7d04b2abf) [Compare Source](https://togithub.com/toeverything/icons/compare/bc31d7096132890aa055ac3bdf632826b7734bc5...cc4113532a0b2c9dc5d0beaea2d854a7d04b2abf) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
fc9bf9cd8a | chore(component): simplify code (#6056) | ||
|
|
e9d51f6c96 | fix(component): journal header button no responce (#6021) | ||
|
|
5bebcec2eb |
feat: bump blocksuite (#6015)
## Features - https://github.com/toeverything/BlockSuite/pull/6379 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6375 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6370 @donteatfriedrice ## Bugfix - https://github.com/toeverything/BlockSuite/pull/6380 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6377 @doouding - https://github.com/toeverything/BlockSuite/pull/6376 @fourdim - https://github.com/toeverything/BlockSuite/pull/6374 @regischen ## Misc - docs: update examples desc - ci: start publishing 0.13 canary |
||
|
|
7c76c25a9c |
refactor(core): new back&forward button base on workbench (#6012)
# feature: ## In Browser: - hidden back&forward button in sidebar. - back and forward is equal with `window.history.back()` `window.history.forward()` ## In Desktop: - Back and forward can be controlled through the sidebar, cmdk, and shortcut keys. - back and forward act on the currently **active** view. - buttons change disable&enable style based on current active view history # Refactor: Move app-sidebar and app-container from @affine/component to @affine/core |
||
|
|
ebf7a74387 | feat: bump blocksuite (#6010) | ||
|
|
9a3ae9302e |
chore: bump up all non-major dependencies (#5964)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.523.0` -> `3.525.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.523.0/3.525.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@node-rs/jsonwebtoken](https://togithub.com/napi-rs/node-rs) | [`^0.4.0` -> `^0.5.0`](https://renovatebot.com/diffs/npm/@node-rs%2fjsonwebtoken/0.4.0/0.5.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`18.0.5` -> `18.0.7`](https://renovatebot.com/diffs/npm/@nx%2fvite/18.0.5/18.0.7) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/exporter-prometheus](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-exporter-prometheus) ([source](https://togithub.com/open-telemetry/opentelemetry-js)) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fexporter-prometheus/0.48.0/0.49.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation) ([source](https://togithub.com/open-telemetry/opentelemetry-js)) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation/0.48.0/0.49.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/instrumentation-http](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http) ([source](https://togithub.com/open-telemetry/opentelemetry-js)) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2finstrumentation-http/0.48.0/0.49.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@opentelemetry/sdk-node](https://togithub.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-sdk-node) ([source](https://togithub.com/open-telemetry/opentelemetry-js)) | [`^0.48.0` -> `^0.49.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fsdk-node/0.48.0/0.49.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [jotai-effect](https://togithub.com/jotaijs/jotai-effect) | [`^0.5.0` -> `^0.6.0`](https://renovatebot.com/diffs/npm/jotai-effect/0.5.0/0.6.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [yarn](https://togithub.com/yarnpkg/berry) ([source](https://togithub.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli)) | [`4.1.0` -> `4.1.1`](https://renovatebot.com/diffs/npm/yarn/4.1.0/4.1.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.525.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35250-2024-02-29) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.523.0...v3.525.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) </details> <details> <summary>napi-rs/node-rs (@​node-rs/jsonwebtoken)</summary> ### [`v0.5.1`](https://togithub.com/napi-rs/node-rs/releases/tag/%40node-rs/jsonwebtoken%400.5.1) [Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.5.0...@node-rs/jsonwebtoken@0.5.1) #### What's Changed - chore(deps): lock file maintenance by [@​renovate](https://togithub.com/renovate) in [https://github.com/napi-rs/node-rs/pull/800](https://togithub.com/napi-rs/node-rs/pull/800) - fix(jsonwebtoken): handle error in decodeHeader by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/node-rs/pull/801](https://togithub.com/napi-rs/node-rs/pull/801) **Full Changelog**: https://github.com/napi-rs/node-rs/compare/[@​node-rs/crc32](https://togithub.com/node-rs/crc32)[@​1](https://togithub.com/1).10.0...[@​node-rs/jsonwebtoken](https://togithub.com/node-rs/jsonwebtoken)[@​0](https://togithub.com/0).5.1 ### [`v0.5.0`](https://togithub.com/napi-rs/node-rs/releases/tag/%40node-rs/jsonwebtoken%400.5.0) [Compare Source](https://togithub.com/napi-rs/node-rs/compare/@node-rs/jsonwebtoken@0.4.0...@node-rs/jsonwebtoken@0.5.0) #### What's Changed - fix(jsonwebtoken): num typings by [@​tada5hi](https://togithub.com/tada5hi) in [https://github.com/napi-rs/node-rs/pull/777](https://togithub.com/napi-rs/node-rs/pull/777) - feat(jsonwebtoken): flatten claims to align with rfc by [@​tada5hi](https://togithub.com/tada5hi) in [https://github.com/napi-rs/node-rs/pull/780](https://togithub.com/napi-rs/node-rs/pull/780) - feat(jsonwebtoken): expose decode header utility by [@​tada5hi](https://togithub.com/tada5hi) in [https://github.com/napi-rs/node-rs/pull/795](https://togithub.com/napi-rs/node-rs/pull/795) - chore(\*): upgrade NAPI-RS cli and bindings by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/node-rs/pull/797](https://togithub.com/napi-rs/node-rs/pull/797) - feat(jsonwebtoken): support wasm32-wasi target by [@​Brooooooklyn](https://togithub.com/Brooooooklyn) in [https://github.com/napi-rs/node-rs/pull/798](https://togithub.com/napi-rs/node-rs/pull/798) #### New Contributors - [@​tada5hi](https://togithub.com/tada5hi) made their first contribution in [https://github.com/napi-rs/node-rs/pull/777](https://togithub.com/napi-rs/node-rs/pull/777) **Full Changelog**: https://github.com/napi-rs/node-rs/compare/[@​node-rs/argon2](https://togithub.com/node-rs/argon2)[@​1](https://togithub.com/1).7.0...[@​node-rs/jsonwebtoken](https://togithub.com/node-rs/jsonwebtoken)[@​0](https://togithub.com/0).5.0 </details> <details> <summary>nrwl/nx (@​nx/vite)</summary> ### [`v18.0.7`](https://togithub.com/nrwl/nx/releases/tag/18.0.7) [Compare Source](https://togithub.com/nrwl/nx/compare/18.0.6...18.0.7) #### 18.0.7 (2024-03-04) ##### 🩹 Fixes - **core:** target defaults should represent nx.json in source info ([#​22080](https://togithub.com/nrwl/nx/pull/22080)) - **nextjs:** Add spec files when creating a next app ([#​22079](https://togithub.com/nrwl/nx/pull/22079)) - **release:** skip lock file update if workspaces are not enabled ([#​22055](https://togithub.com/nrwl/nx/pull/22055)) - **remix:** ensure component-testing is exported correctly [#​22091](https://togithub.com/nrwl/nx/issues/22091) ([#​22095](https://togithub.com/nrwl/nx/pull/22095), [#​22091](https://togithub.com/nrwl/nx/issues/22091)) - **storybook:** handle main.js file correctly in storybook plugin ([#​22081](https://togithub.com/nrwl/nx/pull/22081)) - **testing:** calculate correct support file path in cypress e2e preset ([#​22096](https://togithub.com/nrwl/nx/pull/22096)) ##### ❤️ Thank You - Austin Fahsl [@​fahslaj](https://togithub.com/fahslaj) - Colum Ferry [@​Coly010](https://togithub.com/Coly010) - Craigory Coppola [@​AgentEnder](https://togithub.com/AgentEnder) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) ### [`v18.0.6`](https://togithub.com/nrwl/nx/releases/tag/18.0.6) [Compare Source](https://togithub.com/nrwl/nx/compare/18.0.5...18.0.6) ##### 18.0.6 (2024-02-29) ##### 🩹 Fixes - **core:** nextjs-standalone generates package scripts consistent with create-next-app ([#​21996](https://togithub.com/nrwl/nx/pull/21996)) - **misc:** make sure to add e2e crystal plugin ([#​22041](https://togithub.com/nrwl/nx/pull/22041)) - **misc:** fix buildable libs utils calculating dependent projects from task graph ([#​22015](https://togithub.com/nrwl/nx/pull/22015)) - **node:** Increase timeout for CI ([#​22003](https://togithub.com/nrwl/nx/pull/22003)) - **nuxt:** fix storybook preview config path ([#​22020](https://togithub.com/nrwl/nx/pull/22020)) - **nuxt:** Add e2e-ci and serve-static targets ([#​22056](https://togithub.com/nrwl/nx/pull/22056)) - **release:** currentVersionResolver git-tag should prefer merged tags ([#​22082](https://togithub.com/nrwl/nx/pull/22082)) ##### ❤️ Thank You - Austin Fahsl [@​fahslaj](https://togithub.com/fahslaj) - Jack Hsu [@​jaysoo](https://togithub.com/jaysoo) - Katerina Skroumpelou [@​mandarini](https://togithub.com/mandarini) - Leosvel Pérez Espinosa [@​leosvelperez](https://togithub.com/leosvelperez) - Nicholas Cunningham [@​ndcunningham](https://togithub.com/ndcunningham) </details> <details> <summary>open-telemetry/opentelemetry-js (@​opentelemetry/exporter-prometheus)</summary> ### [`v0.49.1`](https://togithub.com/open-telemetry/opentelemetry-js/compare/7be35c7845e206b27b682e8ce1cee850b09cec04...3920b158d08daa776280bde68a79e44bafa4e8ea) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-js/compare/7be35c7845e206b27b682e8ce1cee850b09cec04...3920b158d08daa776280bde68a79e44bafa4e8ea) ### [`v0.49.0`](https://togithub.com/open-telemetry/opentelemetry-js/compare/828f2ed730e4d26d71f92e220f96b60a552a673a...7be35c7845e206b27b682e8ce1cee850b09cec04) [Compare Source](https://togithub.com/open-telemetry/opentelemetry-js/compare/828f2ed730e4d26d71f92e220f96b60a552a673a...7be35c7845e206b27b682e8ce1cee850b09cec04) </details> <details> <summary>jotaijs/jotai-effect (jotai-effect)</summary> ### [`v0.6.0`](https://togithub.com/jotaijs/jotai-effect/releases/tag/v0.6.0) [Compare Source](https://togithub.com/jotaijs/jotai-effect/compare/v0.5.0...v0.6.0) #### What's Changed - rethrow errors thrown during effectFn and cleanup by [@​dmaskasky](https://togithub.com/dmaskasky) in [https://github.com/jotaijs/jotai-effect/pull/33](https://togithub.com/jotaijs/jotai-effect/pull/33) **Full Changelog**: https://github.com/jotaijs/jotai-effect/compare/v0.5.0...v0.6.0 </details> <details> <summary>yarnpkg/berry (yarn)</summary> ### [`v4.1.1`](https://togithub.com/yarnpkg/berry/compare/52909a5e0d2fe72245957870bcd654218d93ef72...6b7621f0736ef7ed423672392882d68592d61c81) [Compare Source](https://togithub.com/yarnpkg/berry/compare/52909a5e0d2fe72245957870bcd654218d93ef72...6b7621f0736ef7ed423672392882d68592d61c81) </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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
|
|
a9be19ce6c | fix(core): fix style break when scroll to block (#6001) | ||
|
|
ee54e00a03 | fix(core): upgrade dialog close button layout level (#6004) | ||
|
|
2275eee5b2 | feat(core): resize and reorder split-view (#5994) | ||
|
|
c599715963 |
feat(core): split right sidebar (#5971)
https://github.com/toeverything/AFFiNE/assets/13579374/c846c069-aa32-445d-b59b-b773a9b05ced Now each view has a general container, the yellow area is the general container part, and the green part is the routing specific part.  |
||
|
|
de939bb6f6 | fix(core): fix page mode scroll bar (#5955) | ||
|
|
752c8580ae |
fix: remove vite-tsconfig-paths (#5960)
It will cause storybook from running. related to https://github.com/aleclarson/vite-tsconfig-paths/issues/132 We are not actually using `vite-tsconfig-paths` now because we rely on package.json's export field to do path mapping. |
||
|
|
d1e6b23e1a | feat: bump blocksuite (#5953) | ||
|
|
35454c3bfc |
fix(core): polyfill resize-observer for development to avoid error overlay (#5943)
Brought a temporary solution from https://github.com/petyosi/react-virtuoso/issues/875#issuecomment-1962897033 |
||
|
|
148807879b |
refactor(component): use react-transition-state to simplify exit animation (#5923)
## **User description**
use react-transition-state to simplify exit animation
___
## **Type**
enhancement
___
## **Description**
- Integrated `react-transition-state` for managing animations in `ResizePanel` and `CMDKModal` components, simplifying the code and improving maintainability.
- Introduced a shared animation timeout variable to standardize animation durations across components.
- Added `react-transition-state` to dependencies to enable the new animation handling.
___
## **Changes walkthrough**
<table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>resize-panel.tsx</strong><dd><code>Integrate `react-transition-state` for Resize Panel Animations</code></dd></summary>
<hr>
packages/frontend/component/src/components/resize-panel/resize-panel.tsx
<li>Introduced <code>useTransition</code> hook from <code>react-transition-state</code> for managing <br>animations.<br> <li> Added a constant for animation timeout and applied it to the <br>transition.<br> <li> Utilized the transition state to toggle the open state of the resize <br>panel.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-a4d6e633862f63f97c167ff41ba62aff8aebf3e3b2f6e7ce13d5a0e22e8ff287">+12/-0</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>modal.css.ts</strong><dd><code>Use Variable for Animation Timeout in Modal CSS</code> </dd></summary>
<hr>
packages/frontend/core/src/components/pure/cmdk/modal.css.ts
<li>Created a variable for animation timeout.<br> <li> Updated animation durations to use the new timeout variable.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-ba8935611b9c1695153d92d08ecb0f7dac73a6197f54ccda5a6e791902cd651d">+6/-3</a> </td>
</tr>
<tr>
<td>
<details>
<summary><strong>modal.tsx</strong><dd><code>Simplify CMDK Modal Animation with `react-transition-state`</code></dd></summary>
<hr>
packages/frontend/core/src/components/pure/cmdk/modal.tsx
<li>Replaced custom animation state management with <code>useTransition</code> hook.<br> <li> Removed old animation state logic and simplified the component.<br> <li> Added animation timeout variable and applied it to the transition.<br>
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-ab3fe66c9b1d3a691fafd1aebc9988e840fedfcd09b5b89570838a5a2a9469c9">+13/-33</a> </td>
</tr>
</table></td></tr><tr><td><strong>Dependencies</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>package.json</strong><dd><code>Add `react-transition-state` Dependency</code> </dd></summary>
<hr>
packages/frontend/core/package.json
- Added `react-transition-state` as a dependency.
</details>
</td>
<td><a href="https:/toeverything/AFFiNE/pull/5923/files#diff-23e0e5dc0ceb004a0a5d3d13e7d00545de7487535ca0e5eab4c5047f1e24eff0">+1/-0</a> </td>
</tr>
</table></td></tr></tr></tbody></table>
___
> ✨ **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
|
||
|
|
606397e319 | feat(core): workbench system (#5837) | ||
|
|
0be62d892d |
refactor(core): use custom scrollbar for editor and adjust shared page style (#5752)
Close TOV-481 - Use a custom scrollbar component for editor - Modified the header of the share page and added a new footer |