Commit Graph

3222 Commits

Author SHA1 Message Date
renovate
d898dae280
chore: bump up fake-indexeddb version to v6 (#6998)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fake-indexeddb](https://togithub.com/dumbmatter/fakeIndexedDB) | [`^5.0.2` -> `^6.0.0`](https://renovatebot.com/diffs/npm/fake-indexeddb/5.0.2/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fake-indexeddb/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fake-indexeddb/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fake-indexeddb/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fake-indexeddb/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [fake-indexeddb](https://togithub.com/dumbmatter/fakeIndexedDB) | [`5.0.2` -> `6.0.0`](https://renovatebot.com/diffs/npm/fake-indexeddb/5.0.2/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/fake-indexeddb/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fake-indexeddb/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fake-indexeddb/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fake-indexeddb/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>dumbmatter/fakeIndexedDB (fake-indexeddb)</summary>

### [`v6.0.0`](https://togithub.com/dumbmatter/fakeIndexedDB/blob/HEAD/CHANGELOG.md#600-2024-05-20)

[Compare Source](https://togithub.com/dumbmatter/fakeIndexedDB/compare/v5.0.2...v6.0.0)

I made this a new major version because it includes a few changes that could in theory break something in some weird situations. But I think the vast majority of users (possibly all users?) won't have any issue upgrading.

-   [#&#8203;48](https://togithub.com/dumbmatter/fakeIndexedDB/issues/48) - Switched to using `DOMException` errors rather than normal errors, since that's what the IndexedDB spec says to use, and Node.js now has a built-in DOMException in all supported versions.

-   [#&#8203;93](https://togithub.com/dumbmatter/fakeIndexedDB/issues/93) - [@&#8203;bryan-codaio](https://togithub.com/bryan-codaio) made the latest tweak to event scheduling, this time improving how `setImmediate` is used in some situations where people are mocking timers.

-   [#&#8203;99](https://togithub.com/dumbmatter/fakeIndexedDB/issues/99) - [@&#8203;sjnho](https://togithub.com/sjnho) fixed handling of `Date` objects to account for some edge cases, including jsdom overriding the native `Date` constructor.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-21 03:53:30 +00:00
EYHN
d5c93f10ac
fix(core): cant leave workspace (#6999) 2024-05-21 03:41:03 +00:00
EYHN
7fddd14f72
fix(core): fix active view with mouse (#6994) 2024-05-20 08:19:53 +00:00
darkskygit
df73b6ddc7
feat: revoke token after sensitive operations (#6993)
fix #6914
2024-05-20 06:38:48 +00:00
darkskygit
f2866f57c9
feat: add lora support (#6977) 2024-05-20 05:05:34 +00:00
renovate
53ee1801e6
chore: bump up @blocksuite/icons version to v2.1.51 (#6973)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/icons](https://togithub.com/toeverything/icons) | [`2.1.50` -> `2.1.51`](https://renovatebot.com/diffs/npm/@blocksuite%2ficons/2.1.50/2.1.51) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2ficons/2.1.51?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2ficons/2.1.51?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2ficons/2.1.50/2.1.51?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2ficons/2.1.50/2.1.51?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/icons (@&#8203;blocksuite/icons)</summary>

### [`v2.1.51`](937b436274...6390fb2163)

[Compare Source](937b436274...6390fb2163)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-20 04:25:25 +00:00
regischen
01eff4ff20 chore: bump blocksuite (#6975)
## Features
- https://github.com/toeverything/BlockSuite/pull/7085 @regischen
- https://github.com/toeverything/BlockSuite/pull/7077 @fourdim

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7087 @Mirone
- https://github.com/toeverything/BlockSuite/pull/7076 @donteatfriedrice
2024-05-20 01:38:18 +00:00
CatsJuice
03104cd8b1
fix(component): ui storybook's doc page can not scroll (#6909) 2024-05-20 01:26:37 +00:00
renovate
4156b3ae89
chore: bump up blocksuite-canary to v0.15.0-canary-202405161332-f0fb4ad (#6932)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405160907-89e5893` -> `0.15.0-canary-202405161332-f0fb4ad`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202405160907-89e5893/0.15.0-canary-202405161332-f0fb4ad?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-17 07:53:02 +00:00
Flrande
35a6cf655b
feat(core): bump blocksuite (#6965)
## Features
- https://github.com/toeverything/BlockSuite/pull/7052 @donteatfriedrice

## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7072 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7073 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7062 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7066 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7061 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7058 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7060 @doouding
- https://github.com/toeverything/BlockSuite/pull/7051 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7054 @L-Sun
- https://github.com/toeverything/BlockSuite/pull/7023 @golok727
- https://github.com/toeverything/BlockSuite/pull/7022 @golok727
- https://github.com/toeverything/BlockSuite/pull/7047 @fundon
- https://github.com/toeverything/BlockSuite/pull/7043 @akumatus
- https://github.com/toeverything/BlockSuite/pull/7041 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7038 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7040 @regischen

## Refactor
- https://github.com/toeverything/BlockSuite/pull/7068 @doouding
- https://github.com/toeverything/BlockSuite/pull/7069 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7065 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7048 @fundon
- https://github.com/toeverything/BlockSuite/pull/7045 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7046 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7039 @Flrande
- https://github.com/toeverything/BlockSuite/pull/7036 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7032 @Saul-Mirone

## Misc
- https://github.com/toeverything/BlockSuite/pull/7063 @Saul-Mirone
- https://github.com/toeverything/BlockSuite/pull/7050 @fourdim
- https://github.com/toeverything/BlockSuite/pull/7044 @doouding
- https://github.com/toeverything/BlockSuite/pull/7042 @Flrande
- https://github.com/toeverything/BlockSuite/pull/6992 @doouding
2024-05-17 03:44:11 +00:00
pengx17
bd5023d4ab
fix(electron): remove all migration code in electron (#6969)
The migration code import blocksuite in the dependency tree and prevent affine from running because electron's helper process tries to run browser only code that is part of the side effect of `@blocksuite/blocks`.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/53da3972-7433-4631-b8c2-d3e322066c7d.png)

[The side effect free trick in esbuild config](https://github.com/toeverything/AFFiNE/pull/6415)  does not clean up these - not sure why.

It has been already 6 month since we introduced the migration code in DB.
Instead of finding out the real root cause, I think may be better to remove the migration code completely so that no blocksuite code will be in the import paths in helper.js.

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/3b03522a-2a25-4bdb-8287-86a6b94623e1.png)
2024-05-17 03:01:14 +00:00
JimmFly
10015c59b7
feat(core): add private anchor link for sharing (#6966)
close AFF-1085
2024-05-16 13:35:02 +00:00
darkskygit
a3f3d09764
feat: add upscaler & bg remover (#6967) 2024-05-16 11:09:34 +00:00
renovate
f37bbb0784
chore: bump up @sentry/react version to v8 (#6919)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@sentry/react](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/react) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`^7.109.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/7.111.0/8.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2freact/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2freact/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2freact/7.111.0/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2freact/7.111.0/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>getsentry/sentry-javascript (@&#8203;sentry/react)</summary>

### [`v8.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#800-rc3)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.114.0...8.0.0)

##### Important Changes

-   **feat(bun): Add Bun Global Unhandled Handlers ([#&#8203;11960](https://togithub.com/getsentry/sentry-javascript/issues/11960))**

The Bun SDK will now capture global unhandled errors.

##### Other Changes

-   feat(node): Log process and thread info on initialisation ([#&#8203;11972](https://togithub.com/getsentry/sentry-javascript/issues/11972))
-   fix(aws-serverless): Include ESM artifacts in package ([#&#8203;11973](https://togithub.com/getsentry/sentry-javascript/issues/11973))
-   fix(browser): Only start `http.client` spans if there is an active parent span ([#&#8203;11974](https://togithub.com/getsentry/sentry-javascript/issues/11974))
-   fix(feedback): Improve CSS theme variable names and layout ([#&#8203;11964](https://togithub.com/getsentry/sentry-javascript/issues/11964))
-   fix(node): Ensure `execArgv` are not sent to worker threads ([#&#8203;11963](https://togithub.com/getsentry/sentry-javascript/issues/11963))
-   ref(feedback): Simplify feedback function params ([#&#8203;11957](https://togithub.com/getsentry/sentry-javascript/issues/11957))

### [`v7.114.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.114.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0)

##### Important Changes

-   **fix(browser/v7): Continuously record CLS ([#&#8203;11935](https://togithub.com/getsentry/sentry-javascript/issues/11935))**

This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the
cases where it should have been reported. With this change, the CLS web vital should now always be reported for
pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.

**Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.**

##### Other Changes

-   build(aws-lambda/v7): Turn off lambda layer publishing ([#&#8203;11875](https://togithub.com/getsentry/sentry-javascript/issues/11875))
-   feat(v7): Add `tunnel` support to multiplexed transport ([#&#8203;11851](https://togithub.com/getsentry/sentry-javascript/issues/11851))
-   fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#&#8203;11929](https://togithub.com/getsentry/sentry-javascript/issues/11929))
-   fix(react/v7): Fix react router v4/v5 span names ([#&#8203;11940](https://togithub.com/getsentry/sentry-javascript/issues/11940))

### [`v7.113.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.113.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0)

##### Important Changes

-   **feat(node): Support Node 22 ([#&#8203;11754](https://togithub.com/getsentry/sentry-javascript/issues/11754))**

This release adds support for Node 22! 🎉

It also adds prebuilt-binaries for Node 22 to `@sentry/profiling-node`.

##### Other Changes

-   feat(feedback): \[v7] New feedback button design ([#&#8203;11841](https://togithub.com/getsentry/sentry-javascript/issues/11841))
-   feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#&#8203;11752](https://togithub.com/getsentry/sentry-javascript/issues/11752))
-   fix(ember/v7): Ensure unnecessary spans are avoided ([#&#8203;11848](https://togithub.com/getsentry/sentry-javascript/issues/11848))

### [`v7.112.2`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.2)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2)

-   fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#&#8203;11765](https://togithub.com/getsentry/sentry-javascript/issues/11765))

### [`v7.112.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.1)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1)

-   fix(ember/v7): Do not create rendering spans without transaction ([#&#8203;11750](https://togithub.com/getsentry/sentry-javascript/issues/11750))

### [`v7.112.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0)

##### Important Changes

-   **feat: Export pluggable integrations from SDK packages ([#&#8203;11723](https://togithub.com/getsentry/sentry-javascript/issues/11723))**

Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK
package:

```js
// Before
import * as Sentry fromv '@&#8203;sentry/browser';
import { dedupeIntegration } from '@&#8203;sentry/integrations';

Sentry.init({
  integrations: [dedupeIntegration()],
});

// After
import * as Sentry from '@&#8203;sentry/browser';

Sentry.init({
  integrations: [Sentry.dedupeIntegration()],
});
```

Note that only the functional integrations (e.g. `xxxIntegration()`) are re-exported.

##### Other Changes

-   feat(replay): Add "maxCanvasSize" option for replay canvases ([#&#8203;11732](https://togithub.com/getsentry/sentry-javascript/issues/11732))
-   fix(serverless): \[v7] Check if cloud event callback is a function ([#&#8203;11734](https://togithub.com/getsentry/sentry-javascript/issues/11734))

#### Bundle size 📦

| Path                                                                               | Size              |
| ---------------------------------------------------------------------------------- | ----------------- |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped)              | 80.72 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped)                        | 71.69 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay with Canvas) - Webpack (gzipped)            | 75.91 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped)                                | 35.62 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. browserTracingIntegration) - Webpack (gzipped)              | 35.5 KB   |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) - Webpack (gzipped)                               | 31.57 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. sendFeedback) - Webpack (gzipped)                           | 31.58 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped)                                                | 22.78 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)       | 78.9 KB   |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)                 | 70.27 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped)                         | 36.02 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped)                                         | 25.28 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)         | 109.01 KB |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed)                         | 75.79 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped)                         | 39.3 KB   |
| [@&#8203;sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped)                          | 72.18 KB  |
| [@&#8203;sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped)                                                  | 22.81 KB  |
| [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped)                  | 90.01 KB  |
| [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped)                                          | 54.15 KB  |
| [@&#8203;sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped)                                      | 17.32 KB  |

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 10:06:35 +00:00
Brooooooklyn
6d5d09bb74
chore: use workspace dependencies (#6964) 2024-05-16 09:49:23 +00:00
Brooooooklyn
94af2caba8
chore: simplify renovate config and upgrade msw (#6961) 2024-05-16 08:40:00 +00:00
JimmFly
b8612f3071
refactor(core): replace the loading state written in useState with useDebouncedValue (#6925)
close TOV-856

refactor(core): replace the loading state written in useState with useDebouncedState

fix(core): cloudSvg obscures toggle button
2024-05-16 08:11:31 +00:00
Brooooooklyn
c7ddd679fd
feat(server): use native tokenizer impl (#6960)
### Benchmark

`yarn workspace @affine/server-native bench`

```
┌─────────┬────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name  │ ops/sec │ Average Time (ns)  │ Margin   │ Samples │
├─────────┼────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0       │ 'tiktoken' │ '5'     │ 176932518.76000002 │ '±4.71%' │ 100     │
│ 1       │ 'native'   │ '16'    │ 61041597.51000003  │ '±0.60%' │ 100     │
└─────────┴────────────┴─────────┴────────────────────┴──────────┴─────────┘
```
2024-05-16 07:55:10 +00:00
CatsJuice
46140039d9
fix(core): local onboarding should dismiss after clicking learn more (#6942) 2024-05-16 07:41:49 +00:00
CatsJuice
6cef03c4c3
fix(core): adjust ai onboarding trigger logic, launch by auth status (#6941)
- if signed in, show ai-onboarding dialog
- if not signed in, show ai onboarding toast
2024-05-16 07:41:39 +00:00
renovate
ad09bb6cd9
chore: bump up sinon version to v18 (#6950)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sinon](https://sinonjs.org/) ([source](https://togithub.com/sinonjs/sinon)) | [`^17.0.1` -> `^18.0.0`](https://renovatebot.com/diffs/npm/sinon/17.0.1/18.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sinon/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sinon/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sinon/17.0.1/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sinon/17.0.1/18.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>sinonjs/sinon (sinon)</summary>

### [`v18.0.0`](https://togithub.com/sinonjs/sinon/compare/v17.0.2...v18.0.0)

[Compare Source](https://togithub.com/sinonjs/sinon/compare/v17.0.2...v18.0.0)

### [`v17.0.2`](https://togithub.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1702)

[Compare Source](https://togithub.com/sinonjs/sinon/compare/v17.0.1...v17.0.2)

-   [`f6dca0ba`](f6dca0bac3)
    upgrade packages ([#&#8203;2595](https://togithub.com/sinonjs/sinon/issues/2595)) (Carl-Erik Kopseng)
-   [`5025d001`](5025d00140)
    Avoid return and callArg\* clearing each other's state ([#&#8203;2593](https://togithub.com/sinonjs/sinon/issues/2593)) (Carl-Erik Kopseng)
    > -   Partially revert "fix returns does not override call through ([#&#8203;2567](https://togithub.com/sinonjs/sinon/issues/2567))"
    >
    > <!---->
    >
    > -   revert to the old manual clearing of props
-   [`ed068a88`](ed068a886f)
    Bump ip from 1.1.8 to 1.1.9 ([#&#8203;2587](https://togithub.com/sinonjs/sinon/issues/2587)) (dependabot\[bot])
-   [`ec4d592e`](ec4d592ee4)
    fix [#&#8203;2589](https://togithub.com/sinonjs/sinon/issues/2589): avoid invoking getter as side-effect ([#&#8203;2592](https://togithub.com/sinonjs/sinon/issues/2592)) (Carl-Erik Kopseng)
-   [`9972e1e3`](9972e1e399)
    Fix typo in mocks documentation ([#&#8203;2591](https://togithub.com/sinonjs/sinon/issues/2591)) (Eduardo de la Cruz Palacios)
-   [`52e6e4c5`](52e6e4c540)
    chore: prefer cache option of setup-node (Morgan Roderick)
-   [`08da1235`](08da123555)
    Bump actions/cache from 3 to 4 (dependabot\[bot])
-   [`404ef47e`](404ef47e11)
    Bump nokogiri from 1.14.3 to 1.16.2 (dependabot\[bot])
-   [`fd79612c`](fd79612c33)
    Update Bug_report.md (Carl-Erik Kopseng)
-   [`1fbc812a`](1fbc812a9f)
    Re-add about (Carl-Erik Kopseng)
-   [`fc8f6c3e`](fc8f6c3e11)
    Fix formatting :clown: (Carl-Erik Kopseng)
-   [`c57e38ae`](c57e38ae2e)
    Remove old template (Carl-Erik Kopseng)
-   [`754bf7a9`](754bf7a98b)
    Update Bug_report.md (Carl-Erik Kopseng)
-   [`87eed9d2`](87eed9d255)
    Fix some typos at code comments ([#&#8203;2581](https://togithub.com/sinonjs/sinon/issues/2581)) (EliyahuMachluf)
-   [`cbae6997`](cbae69978c)
    Link to createStubInstance util.md docs in stubs.md ([#&#8203;2577](https://togithub.com/sinonjs/sinon/issues/2577)) (Daniel Kaplan)
-   [`adcf936d`](adcf936de0)
    Fix Mocha watch task by delegating to Node ([#&#8203;2573](https://togithub.com/sinonjs/sinon/issues/2573)) (Carl-Erik Kopseng)
-   [`30ad2372`](30ad237295)
    prettier:write (Carl-Erik Kopseng)
-   [`45c4d6b9`](45c4d6b9b8)
    Remove outdated info from README ([#&#8203;2571](https://togithub.com/sinonjs/sinon/issues/2571)) (Carl-Erik Kopseng)
-   [`6c9f5c2a`](6c9f5c2ade)
    Add a notice that the Fake Timers API doc is incomplete ([#&#8203;2570](https://togithub.com/sinonjs/sinon/issues/2570)) (Carl-Erik Kopseng)
-   [`93db3ef3`](93db3ef3b0)
    breaking: Remove sinon.defaultConfig and related modules ([#&#8203;2565](https://togithub.com/sinonjs/sinon/issues/2565)) (Carl-Erik Kopseng)
    > -   breaking: Remove sinon.defaultConfig and related modules
    >
    > default-config and get-config are leftovers from when Sinon
    >
    > shipped with sinon.test (now the independent NPM module
    >
    > 'sinon-test').

*Released by [Carl-Erik Kopseng](https://togithub.com/fatso83) on 2024-05-07.*

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-16 07:24:24 +00:00
CatsJuice
301586c0f4
fix(component): avoid close button of the notification being invisible in dark mode and bright bg (#6946) 2024-05-16 06:43:47 +00:00
pengx17
3cca879a83
refactor(electron): use sqlite to store server clock & sync meta (#6957)
After this PR, IDB should not be used in desktop any longer.
2024-05-16 06:31:05 +00:00
pengx17
27af9b4d1a
perf(electron): add index for updates (#6951)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/cd2e982a-f78a-4cc3-b090-ee4c0090e19d.png)

Above image shows the performance on querying a 20k rows of updates table, which is super slow at 150+ms. After adding index for doc_id the performance should be greatly improved.

After:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/45ea4389-1833-4dc5-bd64-84d8c99cd647.png)

fix TOV-866
2024-05-16 06:30:53 +00:00
darkskygit
37cb5b86f4
fix: migrate typo (#6948) 2024-05-15 14:03:09 +00:00
darkskygit
0076359d6a
feat: add retry support for copilot (#6947) 2024-05-15 11:02:37 +00:00
darkskygit
7e7a4120aa
feat: renew models (#6934) 2024-05-15 09:13:05 +00:00
JimmFly
a61ded3f25
fix(core): add affine.pro to trustedDomain (#6943) 2024-05-15 09:00:15 +00:00
JimmFly
f48cd0dfef
fix(core): unexpected history preview style (#6944)
close TOV-865

https://github.com/toeverything/AFFiNE/assets/102217452/3ca12496-b4d9-4caf-a30b-981b52a2f42f
2024-05-15 08:48:37 +00:00
renovate
6da566c5f6
chore: bump up nx-cloud version to v19 (#6937)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [nx-cloud](https://nx.app) | [`^18.0.0` -> `^19.0.0`](https://renovatebot.com/diffs/npm/nx-cloud/18.0.0/19.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nx-cloud/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nx-cloud/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nx-cloud/18.0.0/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nx-cloud/18.0.0/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-15 08:21:22 +00:00
darkskygit
98e218af93
feat: allow undefined new model (#6933) 2024-05-14 13:05:07 +00:00
LongYinan
b036f1b5c9
Revert "feat: renew models (#6926)"
This reverts commit 5bf9351be4.
2024-05-14 18:46:32 +08:00
darkskygit
8881286025
chore: adjust log level (#6913) 2024-05-14 09:32:29 +00:00
darkskygit
b8333de119
fix: blob test flaky (#6929) 2024-05-14 09:20:58 +00:00
renovate
0d3180fd94
chore: bump up all non-major dependencies (#6918)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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.574.0` -> `3.575.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.574.0/3.575.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@nx/vite](https://nx.dev) ([source](https://togithub.com/nrwl/nx/tree/HEAD/packages/vite)) | [`19.0.2` -> `19.0.3`](https://renovatebot.com/diffs/npm/@nx%2fvite/19.0.2/19.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fvite/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fvite/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fvite/19.0.2/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fvite/19.0.2/19.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [electron-squirrel-startup](https://togithub.com/mongodb-js/electron-squirrel-startup) | [`1.0.0` -> `1.0.1`](https://renovatebot.com/diffs/npm/electron-squirrel-startup/1.0.0/1.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/electron-squirrel-startup/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/electron-squirrel-startup/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/electron-squirrel-startup/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/electron-squirrel-startup/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>aws/aws-sdk-js-v3 (@&#8203;aws-sdk/client-s3)</summary>

### [`v3.575.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#35750-2024-05-13)

[Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.574.0...v3.575.0)

**Note:** Version bump only for package [@&#8203;aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3)

</details>

<details>
<summary>nrwl/nx (@&#8203;nx/vite)</summary>

### [`v19.0.3`](https://togithub.com/nrwl/nx/releases/tag/19.0.3)

[Compare Source](https://togithub.com/nrwl/nx/compare/19.0.2...19.0.3)

##### 19.0.3 (2024-05-13)

##### 🚀 Features

-   **nx-dev:** show banner on documentation pages ([#&#8203;23266](https://togithub.com/nrwl/nx/pull/23266))
-   **nx-dev:** check for missing images ([#&#8203;23248](https://togithub.com/nrwl/nx/pull/23248))
-   **nx-dev:** put banner above menu ([#&#8203;23335](https://togithub.com/nrwl/nx/pull/23335))
-   **react:** Add SvgOptions for NxReactWebpackPlugin and WithNx ([#&#8203;23283](https://togithub.com/nrwl/nx/pull/23283))

##### 🩹 Fixes

-   **core:** include more binary extensions ([#&#8203;22788](https://togithub.com/nrwl/nx/pull/22788), [#&#8203;22861](https://togithub.com/nrwl/nx/pull/22861))
-   **core:** workspace remove generator should handle no root jest config ([#&#8203;23328](https://togithub.com/nrwl/nx/pull/23328))
-   **core:** addPlugin should not conflict on project.json targets ([#&#8203;23264](https://togithub.com/nrwl/nx/pull/23264))
-   **core:** throw a specific error for print-affected and affected graph ([#&#8203;23336](https://togithub.com/nrwl/nx/pull/23336))
-   **js:** Adds mjs files to prettierrcNameOptions ([#&#8203;21796](https://togithub.com/nrwl/nx/pull/21796))
-   **linter:** ensure all spreads are removed from rules before parsing ([#&#8203;23292](https://togithub.com/nrwl/nx/pull/23292))
-   **linter:** log transpilation errors of workspace rules ([#&#8203;21503](https://togithub.com/nrwl/nx/pull/21503))
-   **linter:** rename languageSettings to languageOptions for flat config migration ([#&#8203;22924](https://togithub.com/nrwl/nx/pull/22924))
-   **linter:** fix migrating projects with the eslint plugin ([#&#8203;23147](https://togithub.com/nrwl/nx/pull/23147))
-   **misc:** move e2e-ci to a separate parallel 1 command ([#&#8203;23305](https://togithub.com/nrwl/nx/pull/23305))
-   **module-federation:** Throw an error if remote is invalid ([#&#8203;23100](https://togithub.com/nrwl/nx/pull/23100))
-   **nx-cloud:** ensure generated ci workflows use dlx for nx-cloud ([#&#8203;23333](https://togithub.com/nrwl/nx/pull/23333))
-   **nx-dev:** move table of contents down ([#&#8203;23350](https://togithub.com/nrwl/nx/pull/23350))
-   **storybook:** should handle inferred cypress when generating cypress project [#&#8203;21770](https://togithub.com/nrwl/nx/issues/21770) ([#&#8203;23327](https://togithub.com/nrwl/nx/pull/23327), [#&#8203;21770](https://togithub.com/nrwl/nx/issues/21770))
-   **testing:** resolve absolute paths for ts path mappings in jest resolver ([#&#8203;23346](https://togithub.com/nrwl/nx/pull/23346))
-   **vite:** support passing --watch to inferred vitest commands ([#&#8203;23298](https://togithub.com/nrwl/nx/pull/23298))
-   **vite:** generate vitest cache dir scoped to each project root and normalize vite cache dir ([#&#8203;23330](https://togithub.com/nrwl/nx/pull/23330))

##### ❤️  Thank You

-   Colum Ferry [@&#8203;Coly010](https://togithub.com/Coly010)
-   Denis Bendrikov
-   Dmitry Zakharov [@&#8203;pumano](https://togithub.com/pumano)
-   Isaac Mann [@&#8203;isaacplmann](https://togithub.com/isaacplmann)
-   James Henry [@&#8203;JamesHenry](https://togithub.com/JamesHenry)
-   Jason Jean [@&#8203;FrozenPandaz](https://togithub.com/FrozenPandaz)
-   Leosvel Pérez Espinosa [@&#8203;leosvelperez](https://togithub.com/leosvelperez)
-   Mehrad Rafigh [@&#8203;mehrad-rafigh](https://togithub.com/mehrad-rafigh)
-   Nicholas Cunningham [@&#8203;ndcunningham](https://togithub.com/ndcunningham)
-   Patrick P [@&#8203;ppfenning92](https://togithub.com/ppfenning92)

</details>

<details>
<summary>mongodb-js/electron-squirrel-startup (electron-squirrel-startup)</summary>

### [`v1.0.1`](https://togithub.com/mongodb-js/electron-squirrel-startup/compare/v1.0.0...v1.0.1)

[Compare Source](https://togithub.com/mongodb-js/electron-squirrel-startup/compare/v1.0.0...v1.0.1)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-14 09:07:15 +00:00
darkskygit
5bf9351be4
feat: renew models (#6926) 2024-05-14 08:54:58 +00:00
JimmFly
419f1b34b3
fix(core): unexpected toast style in editor (#6924)
<img width="1327" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/16115440-5265-44d6-9f05-b5621436cd59">
2024-05-14 07:39:24 +00:00
JimmFly
1b91ffa6a5
chore: adjust quick search style (#6906)
close TOV-854
<img width="651" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/f281eb82-852c-411d-b3dd-4bf7d7ce74e8">
2024-05-14 07:28:25 +00:00
renovate
431ed770fa
chore: bump up blocksuite-canary to v0.15.0-canary-202405131108-aa6f0b7 (#6921)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.15.0-canary-202405122323-6456127` -> `0.15.0-canary-202405131108-aa6f0b7`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.15.0-canary-202405122323-6456127/0.15.0-canary-202405131108-aa6f0b7?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-14 05:48:09 +00:00
pengx17
dd45c80cc4
chore: track doc create action in bs editor (#6915)
fix TOV-855

added shape element create & doc create event tracking in blocksuite editor.
What's still missing:
the control (source) that triggered whiteboard element creation, i.e., from canvas dbclick, dnd or pasting.
2024-05-14 05:35:08 +00:00
akumatus
261d413607
feat: history timeline shows relative time, such as today and yesterday (#6864)
### TL;DR
First, fixed an i18n issue in history panel. When the browser language is set to Chinese, and the AFFiNE application language is set to English, the language supposed to be English global. But now the language is a mixture of Chinese and English, which is obviously wrong.

![截屏2024-05-08 18.23.21.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/93d8218a-3b26-4b0c-9f15-71a8996556db.png)

Second, design a time formatter to convert timestamp into relative calendar date, such today and yesterday and so on. Long-ago edits will show the exact date like before.

![截屏2024-05-10 15.30.57.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/dbc59e80-9504-40b1-b712-5c155cb6fa63.png)

### What changed?
- `new Intl.DateTimeFormat` with language option form  `document.documentElement.lang`
- Added `timestampToCalendarDate` function to convert timestamp into relative calendar date
- Updated unit tests
- Updated i18n copywriting

### How to test?
1. Open view history version
2. Check edit timeline
2024-05-13 11:59:48 +00:00
JimmFly
b723dd8ab8
fix(core): the loading of cmdk flashes during synchronization (#6907)
close TOV-852
2024-05-13 09:11:39 +00:00
renovate
b557c6e6e5
chore: bump up blocksuite-canary to v0.15.0-canary-202405122323-6456127 (#5782)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@blocksuite/block-std](https://togithub.com/toeverything/blocksuite) | [`0.14.0-canary-202405100201-e591bb8` -> `0.15.0-canary-202405122323-6456127`](https://renovatebot.com/diffs/npm/@blocksuite%2fblock-std/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblock-std/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblock-std/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblock-std/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblock-std/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/blocks](https://togithub.com/toeverything/blocksuite) | [`0.14.0-canary-202405100201-e591bb8` -> `0.15.0-canary-202405122323-6456127`](https://renovatebot.com/diffs/npm/@blocksuite%2fblocks/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fblocks/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fblocks/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fblocks/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fblocks/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/global](https://togithub.com/toeverything/blocksuite) | [`0.14.0-canary-202405100201-e591bb8` -> `0.15.0-canary-202405122323-6456127`](https://renovatebot.com/diffs/npm/@blocksuite%2fglobal/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fglobal/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fglobal/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fglobal/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fglobal/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/inline](https://togithub.com/toeverything/blocksuite) | [`0.14.0-canary-202405100201-e591bb8` -> `0.15.0-canary-202405122323-6456127`](https://renovatebot.com/diffs/npm/@blocksuite%2finline/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2finline/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2finline/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2finline/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2finline/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/presets](https://togithub.com/toeverything/blocksuite) | [`0.14.0-canary-202405100201-e591bb8` -> `0.15.0-canary-202405122323-6456127`](https://renovatebot.com/diffs/npm/@blocksuite%2fpresets/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fpresets/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fpresets/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fpresets/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fpresets/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@blocksuite/store](https://togithub.com/toeverything/blocksuite) | [`0.14.0-canary-202405100201-e591bb8` -> `0.15.0-canary-202405122323-6456127`](https://renovatebot.com/diffs/npm/@blocksuite%2fstore/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@blocksuite%2fstore/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@blocksuite%2fstore/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@blocksuite%2fstore/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@blocksuite%2fstore/0.14.0-canary-202405100201-e591bb8/0.15.0-canary-202405122323-6456127?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>toeverything/blocksuite (@&#8203;blocksuite/block-std)</summary>

### [`v0.14.0`](https://togithub.com/toeverything/blocksuite/releases/tag/v0.14.0)

BlockSuite v0.14.0 is now released with 348 PRs landed and 5 new contributors.
It's currently used in [Affine 0.14](). This release includes a lot of new features, improvements, and bug fixes.
And it's a version centered around the AI features.

##### AI Features

> \[!IMPORTANT]
> The AI features are only available in the [Affine AI](https://affine.pro/ai) due to the dependency on the backend service.

![AI](https://affine.pro/ai/slide-write.png)

We have added a lot of AI features in this release to support the [Affine AI](https://affine.pro/ai) project.
Thanks to our team members and contributors ([@&#8203;Flrande](https://togithub.com/Flrande), [@&#8203;pengx17](https://togithub.com/pengx17), [@&#8203;fundon](https://togithub.com/fundon), [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice), [@&#8203;zzj3720](https://togithub.com/zzj3720), [@&#8203;doouding](https://togithub.com/doouding), [@&#8203;regischen](https://togithub.com/regischen)) for their hard work on this release.

-   **AI Action Infra**: The AI features are supported by a new AI action infrastructure.
-   **Ask AI Format Bar**: The format bar now has a new button to ask AI for help.
-   **AI Chat Panel**: A new AI panel is added to the right sidebar. It can generate text, images, and slides.
-   **Edgeless AI**: The edgeless elements and blocks now can be interacted with AI actions.

<details>
<summary>

##### Contribution Details

</summary>

-   chore(presets): sync ai create message interface parameters [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6741](https://togithub.com/toeverything/blocksuite/issues/6741))
-   feat: format bar ask ai [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6578](https://togithub.com/toeverything/blocksuite/issues/6578))
-   feat: add slash menu ai button [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6605](https://togithub.com/toeverything/blocksuite/issues/6605))
-   feat: copilot client [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6626](https://togithub.com/toeverything/blocksuite/issues/6626))
-   feat: add basic ai example with backend integration [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6661](https://togithub.com/toeverything/blocksuite/issues/6661))
-   feat: add iframe message template on ai chat panel [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6701](https://togithub.com/toeverything/blocksuite/issues/6701))
-   feat: chat panel [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6645](https://togithub.com/toeverything/blocksuite/issues/6645))
-   feat: add text action renderer [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6740](https://togithub.com/toeverything/blocksuite/issues/6740))
-   feat: add actions renderer [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6756](https://togithub.com/toeverything/blocksuite/issues/6756))
-   feat: add slide action [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6759](https://togithub.com/toeverything/blocksuite/issues/6759))
-   feat: add discard modal for ai panel [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6765](https://togithub.com/toeverything/blocksuite/issues/6765))
-   feat: support copy ai answer and fix ui issues [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6774](https://togithub.com/toeverything/blocksuite/issues/6774))
-   feat: add chat pause [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6836](https://togithub.com/toeverything/blocksuite/issues/6836))
-   feat: support clicking to send content to AI [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6846](https://togithub.com/toeverything/blocksuite/issues/6846))
-   feat: support display answer and error at the same time [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6856](https://togithub.com/toeverything/blocksuite/issues/6856))
-   feat: add image renderer and fix bug [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6863](https://togithub.com/toeverything/blocksuite/issues/6863))
-   feat: pressing escape to stop ai generating [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6917](https://togithub.com/toeverything/blocksuite/issues/6917))
-   feat(blocks): instantiating Copilot in RootService [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6528](https://togithub.com/toeverything/blocksuite/issues/6528))
-   feat(blocks): copilot add EditorHost parameter [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6529](https://togithub.com/toeverything/blocksuite/issues/6529))
-   feat(blocks): support real abort for copilot [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6530](https://togithub.com/toeverything/blocksuite/issues/6530))
-   feat(blocks): add ai action panel [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6567](https://togithub.com/toeverything/blocksuite/issues/6567))
-   feat(blocks): add action config for ai answer ui component [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6580](https://togithub.com/toeverything/blocksuite/issues/6580))
-   feat(blocks): support custom placeholder for paragraph [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6787](https://togithub.com/toeverything/blocksuite/issues/6787))
-   feat(blocks): add esc tip when iframe is fullscreen [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6968](https://togithub.com/toeverything/blocksuite/issues/6968))
-   feat(edgeless): copilot selection widget [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6497](https://togithub.com/toeverything/blocksuite/issues/6497))
-   feat(edgeless): add mindmap support [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6508](https://togithub.com/toeverything/blocksuite/issues/6508))

</details>

##### Infra Improvements

-   Rewrite the view store to support the new block collection and selector. ([#&#8203;6521](https://togithub.com/toeverything/blocksuite/issues/6521), [#&#8203;6672](https://togithub.com/toeverything/blocksuite/issues/6672), [#&#8203;6534](https://togithub.com/toeverything/blocksuite/issues/6534), [#&#8203;6737](https://togithub.com/toeverything/blocksuite/issues/6737), [#&#8203;6780](https://togithub.com/toeverything/blocksuite/issues/6780))
    In previous versions, the view store is responsible for managing the views of the blocks.
    It was designed to control different views of the same block, such as the editor view and the preview view.
    However, we found that it's a anti-pattern to render different views of the same block in the same block tree.
    Which makes it hard to track the view by the block model.
    In this release, we introduce the block collection and selector to make it easier to render different views of the same block.

-   Introduced the draft model for the transformer. ([#&#8203;6630](https://togithub.com/toeverything/blocksuite/issues/6630))
    The draft model is a new model that can be used to transform the block model to a new model.
    It's useful when you want to transform the block model to a new model without changing the original block model.

-   Bson for clipboard. ([#&#8203;6526](https://togithub.com/toeverything/blocksuite/issues/6526), [#&#8203;6562](https://togithub.com/toeverything/blocksuite/issues/6562))
    We use bson for the clipboard mime to optimize the clipboard data serialization and deserialization.

-   Add spec builder. ([#&#8203;6976](https://togithub.com/toeverything/blocksuite/issues/6976))
    The spec builder is a new tool to manage the block specs.

-   Switch to es2022 targets. ([#&#8203;6527](https://togithub.com/toeverything/blocksuite/issues/6527))
    We have switched to the es2022 targets to support the latest JavaScript features.

-   refactor(store): support streaming `editor.doc` from empty state [@&#8203;doodlewind](https://togithub.com/doodlewind) ([#&#8203;6522](https://togithub.com/toeverything/blocksuite/issues/6522))

-   refactor(examples): sync collection lifecycle with provider [@&#8203;doodlewind](https://togithub.com/doodlewind) ([#&#8203;6683](https://togithub.com/toeverything/blocksuite/issues/6683))

##### Embed Doc Polishing

In this release, we have polished the embed doc feature to make it more user-friendly.

-   Move embed reload button. ([#&#8203;6502](https://togithub.com/toeverything/blocksuite/issues/6502))
-   Polish the styles. ([#&#8203;6523](https://togithub.com/toeverything/blocksuite/issues/6523), [#&#8203;6536](https://togithub.com/toeverything/blocksuite/issues/6536))
-   Make embed card toolbar a widget. ([#&#8203;6635](https://togithub.com/toeverything/blocksuite/issues/6635))
-   Fix the issue that creating linked doc from block selection will loss data. ([#&#8203;6510](https://togithub.com/toeverything/blocksuite/issues/6510))
-   Fix the issue that users can't jump into doc inside embed synced doc. ([#&#8203;6531](https://togithub.com/toeverything/blocksuite/issues/6531))

##### Database Enhancements

In this release, the Database has seen a series of enhancements aimed at increasing the fluidity of the editing experience, with improvements to keyboard shortcuts and cursor behavior:

1.  Supports using the Tab key to move the cursor to the next field ([#&#8203;6565](https://togithub.com/toeverything/blocksuite/issues/6565))
2.  Supports selecting additional rows using arrow keys ([#&#8203;6941](https://togithub.com/toeverything/blocksuite/issues/6941))
3.  Clicking on “New Record” now focuses on the title cell of the new row ([#&#8203;6561](https://togithub.com/toeverything/blocksuite/issues/6561))
4.  Supports filling a column with the same content via drag-and-drop ([#&#8203;6895](https://togithub.com/toeverything/blocksuite/issues/6895))

Additionally, enhancements to the title column now allow it to link to another page ([#&#8203;6572](https://togithub.com/toeverything/blocksuite/issues/6572)).
When you drag Kanban cards to the edge, the Kanban will now automatically scroll ([#&#8203;6614](https://togithub.com/toeverything/blocksuite/issues/6614)).
The Database will display as many views as possible instead of just three ([#&#8203;6642](https://togithub.com/toeverything/blocksuite/issues/6642)), and the same goes for filters ([#&#8203;6739](https://togithub.com/toeverything/blocksuite/issues/6739)).

There are also some experimental features that can be enabled through feature flags:

1.  Table now includes a statistics feature ([#&#8203;6560](https://togithub.com/toeverything/blocksuite/issues/6560))
2.  The Database now supports using Todo blocks from all pages as a data source ([#&#8203;6785](https://togithub.com/toeverything/blocksuite/issues/6785))

##### Documentation Improvements

We've added some new examples thanks to [@&#8203;doodlewind](https://togithub.com/doodlewind), [@&#8203;L-Sun](https://togithub.com/L-Sun).

-   Add vanilla-indexeddb example. ([#&#8203;6525](https://togithub.com/toeverything/blocksuite/issues/6525))
-   Add react-indexeddb example. ([#&#8203;6689](https://togithub.com/toeverything/blocksuite/issues/6689))
-   Add react-websocket example. ([#&#8203;6624](https://togithub.com/toeverything/blocksuite/issues/6624))

##### Community Features

-   **Lasso Tool**: A new lasso tool is added to the edgeless whiteboard thanks to [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6602](https://togithub.com/toeverything/blocksuite/issues/6602), [#&#8203;6716](https://togithub.com/toeverything/blocksuite/issues/6716), [#&#8203;6874](https://togithub.com/toeverything/blocksuite/issues/6874))
-   **Pie Menu**: A new pie menu is added to the edgeless whiteboard thanks to [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6493](https://togithub.com/toeverything/blocksuite/issues/6493), [#&#8203;6571](https://togithub.com/toeverything/blocksuite/issues/6571), [#&#8203;6632](https://togithub.com/toeverything/blocksuite/issues/6632), [#&#8203;6553](https://togithub.com/toeverything/blocksuite/issues/6553))

<details>
<summary>

##### Detailed Bug Fixes and Improvements

</summary>

-   chore: remove unused code [@&#8203;c0sc0s](https://togithub.com/c0sc0s) ([#&#8203;6807](https://togithub.com/toeverything/blocksuite/issues/6807))
-   docs: commanddata -> commandcontext [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6938](https://togithub.com/toeverything/blocksuite/issues/6938))
-   feat: remove card view box shadow when doc mode [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6532](https://togithub.com/toeverything/blocksuite/issues/6532))
-   feat: create zod union [@&#8203;F4lkr4m](https://togithub.com/F4lkr4m) ([#&#8203;6855](https://togithub.com/toeverything/blocksuite/issues/6855))
-   feat: create zod union [@&#8203;F4lkr4m](https://togithub.com/F4lkr4m) ([#&#8203;6855](https://togithub.com/toeverything/blocksuite/issues/6855))
-   feat(edgeless): shift key to constrain to axis [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6543](https://togithub.com/toeverything/blocksuite/issues/6543))
-   feat(edgeless): shift + arrow keys to move elements with 10px inc [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6544](https://togithub.com/toeverything/blocksuite/issues/6544))
-   feat(edgeless): connector keep only one shortcut key L [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6573](https://togithub.com/toeverything/blocksuite/issues/6573))
-   feat(edgeless): paste SVG in text/plain mime [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6540](https://togithub.com/toeverything/blocksuite/issues/6540))
-   feat(edgeless): shift + s to toggle between shapes [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6634](https://togithub.com/toeverything/blocksuite/issues/6634))
-   feat(edgeless): note block supports auto complete panel [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6591](https://togithub.com/toeverything/blocksuite/issues/6591))
-   feat(edgeless): font family panel refactoring [@&#8203;RubaXa](https://togithub.com/RubaXa) ([#&#8203;6692](https://togithub.com/toeverything/blocksuite/issues/6692))
-   feat(edgeless): remove the kerning information stored in a font [@&#8203;RubaXa](https://togithub.com/RubaXa) ([#&#8203;6978](https://togithub.com/toeverything/blocksuite/issues/6978))
-   feat(page): html adapter YouTube import [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6705](https://togithub.com/toeverything/blocksuite/issues/6705))
-   fix: publish script [@&#8203;doodlewind](https://togithub.com/doodlewind) ([#&#8203;6524](https://togithub.com/toeverything/blocksuite/issues/6524))
-   fix: deletion behavior in DocsPanel component [@&#8203;congzhou09](https://togithub.com/congzhou09) ([#&#8203;6511](https://togithub.com/toeverything/blocksuite/issues/6511))
-   fix: clean up documentation content [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6558](https://togithub.com/toeverything/blocksuite/issues/6558))
-   fix: arrow up and down works incorrectly [@&#8203;Saul-Mirone](https://togithub.com/Saul-Mirone) ([#&#8203;6593](https://togithub.com/toeverything/blocksuite/issues/6593))
-   fix: placeholder visibility and cursor style in readonly mode [@&#8203;L-Sun](https://togithub.com/L-Sun) ([#&#8203;6686](https://togithub.com/toeverything/blocksuite/issues/6686))
-   fix: frame selection conflicts with note selection [@&#8203;Saul-Mirone](https://togithub.com/Saul-Mirone) ([#&#8203;6802](https://togithub.com/toeverything/blocksuite/issues/6802))
-   fix: bash escape by \` in PR title linting [@&#8203;lawvs](https://togithub.com/lawvs) ([#&#8203;6839](https://togithub.com/toeverything/blocksuite/issues/6839))
-   fix: memory leak [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6977](https://togithub.com/toeverything/blocksuite/issues/6977))
-   fix: should not inherit last text element hasMaxWidth prop [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6990](https://togithub.com/toeverything/blocksuite/issues/6990))
-   fix(blocks): pdf preview [@&#8203;zkwolf](https://togithub.com/zkwolf) ([#&#8203;6659](https://togithub.com/toeverything/blocksuite/issues/6659))
-   fix: catch error in ydoc transaction and doc getter [@&#8203;Saul-Mirone](https://togithub.com/Saul-Mirone) ([#&#8203;6989](https://togithub.com/toeverything/blocksuite/issues/6989))
-   fix(blocks): ignore formart-bar-widget\&block-selection tags when exporting png/pdf [@&#8203;Tzyito](https://togithub.com/Tzyito) ([#&#8203;6711](https://togithub.com/toeverything/blocksuite/issues/6711))
-   fix(blocks): the IME sometimes break because of placeholder [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6734](https://togithub.com/toeverything/blocksuite/issues/6734))
-   fix(blocks): do not log error when parse url hostname [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6779](https://togithub.com/toeverything/blocksuite/issues/6779))
-   fix(blocks): page movement due to scrolling into view [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6776](https://togithub.com/toeverything/blocksuite/issues/6776))
-   fix(blocks): update list number prefix when updating a block [@&#8203;lawvs](https://togithub.com/lawvs) ([#&#8203;6790](https://togithub.com/toeverything/blocksuite/issues/6790))
-   fix(blocks): switch the file-type to [@&#8203;sgtpooki/file-type](https://togithub.com/sgtpooki/file-type) [@&#8203;lawvs](https://togithub.com/lawvs) ([#&#8203;6803](https://togithub.com/toeverything/blocksuite/issues/6803))
-   fix(blocks): should not delete children when transform block type [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6840](https://togithub.com/toeverything/blocksuite/issues/6840))
-   fix(blocks): edge case for toggle link [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6841](https://togithub.com/toeverything/blocksuite/issues/6841))
-   fix(blocks): should not go proxy when it is an onsite image [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6859](https://togithub.com/toeverything/blocksuite/issues/6859))
-   fix(blocks): github icon dark mode [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6864](https://togithub.com/toeverything/blocksuite/issues/6864))
-   fix(blocks): optimize height and position of panels [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6866](https://togithub.com/toeverything/blocksuite/issues/6866))
-   fix(blocks): linked doc horizontal card quote block [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6865](https://togithub.com/toeverything/blocksuite/issues/6865))
-   fix(blocks): video attachments can not be embed [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6869](https://togithub.com/toeverything/blocksuite/issues/6869))
-   fix(blocks): try fix surface ref note portal stuck [@&#8203;EYHN](https://togithub.com/EYHN) ([#&#8203;6867](https://togithub.com/toeverything/blocksuite/issues/6867))
-   fix(blocks): linked doc style without note block or image block [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6876](https://togithub.com/toeverything/blocksuite/issues/6876))
-   fix(blocks): should reset scroll top while retrying [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6882](https://togithub.com/toeverything/blocksuite/issues/6882))
-   fix(blocks): github block title text color [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6887](https://togithub.com/toeverything/blocksuite/issues/6887))
-   fix(blocks): line break in reference node [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6894](https://togithub.com/toeverything/blocksuite/issues/6894))
-   fix(blocks): do not display name in remote cursor when no user info [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6898](https://togithub.com/toeverything/blocksuite/issues/6898))
-   fix(blocks): missing elements when frames are selected [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6915](https://togithub.com/toeverything/blocksuite/issues/6915))
-   fix(blocks): allow users to enter prompt words when content is missing [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6930](https://togithub.com/toeverything/blocksuite/issues/6930))
-   fix(blocks): last pos should be updated in not wheeling [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6939](https://togithub.com/toeverything/blocksuite/issues/6939))
-   fix(blocks): zoom bar toggle button should be displayed when the width of viewport is equal to 1200 [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6954](https://togithub.com/toeverything/blocksuite/issues/6954))
-   fix(blocks): reference node not update as expected [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6958](https://togithub.com/toeverything/blocksuite/issues/6958))
-   fix(blocks): use passive listeners to improve wheel event [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6960](https://togithub.com/toeverything/blocksuite/issues/6960))
-   fix(blocks): support config the vertical scroll container of rich-text [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6965](https://togithub.com/toeverything/blocksuite/issues/6965))
-   fix(blocks): block portal should be `display: block` in firefox [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6909](https://togithub.com/toeverything/blocksuite/issues/6909))
-   fix(database): slow first rendering of the Database Block [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6563](https://togithub.com/toeverything/blocksuite/issues/6563))
-   fix(database): group as Database cannot keep inbound link [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6564](https://togithub.com/toeverything/blocksuite/issues/6564))
-   fix(database): incorrect insertion and focus position [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6569](https://togithub.com/toeverything/blocksuite/issues/6569))
-   fix(database): select all text in the rich-text cell by press Ctrl+A or Cmd+A [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6570](https://togithub.com/toeverything/blocksuite/issues/6570))
-   fix(database): delete the corresponding cell data while removing row data [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6589](https://togithub.com/toeverything/blocksuite/issues/6589))
-   fix(database): cannot move Kanban card when text-field was selected last [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6590](https://togithub.com/toeverything/blocksuite/issues/6590))
-   fix(database): incorrect position of detail panel [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6588](https://togithub.com/toeverything/blocksuite/issues/6588))
-   fix(database): cannot open detail panel [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6596](https://togithub.com/toeverything/blocksuite/issues/6596))
-   fix(database): the first render should not have an empty YText [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6617](https://togithub.com/toeverything/blocksuite/issues/6617))
-   fix(database): soft enter removes next character [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6691](https://togithub.com/toeverything/blocksuite/issues/6691))
-   fix(database): can't scroll in database side details [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6851](https://togithub.com/toeverything/blocksuite/issues/6851))
-   fix(database): can't undo in number cell [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6912](https://togithub.com/toeverything/blocksuite/issues/6912))
-   fix(database): rich-text cell level copy and paste [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6918](https://togithub.com/toeverything/blocksuite/issues/6918))
-   fix(database): cant move to next kanban card if next group is empty [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6910](https://togithub.com/toeverything/blocksuite/issues/6910))
-   fix(database): drag to fill value conflict [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6920](https://togithub.com/toeverything/blocksuite/issues/6920))
-   fix(database): edge-cases for drag to fill [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6942](https://togithub.com/toeverything/blocksuite/issues/6942))
-   fix(edgeless): horizontal pan with mouse under the windows system [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6507](https://togithub.com/toeverything/blocksuite/issues/6507))
-   fix(edgeless): should not be dragged in editing [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6519](https://togithub.com/toeverything/blocksuite/issues/6519))
-   fix(edgeless): copyAsPng on shape with rotation has cutoff edges [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6537](https://togithub.com/toeverything/blocksuite/issues/6537))
-   fix(edgeless): connector missing c and x shortcuts [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6547](https://togithub.com/toeverything/blocksuite/issues/6547))
-   fix(edgeless): copyAsPng failed to copy on image blocks [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6538](https://togithub.com/toeverything/blocksuite/issues/6538))
-   fix(edgeless): auto complete panel position [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6579](https://togithub.com/toeverything/blocksuite/issues/6579))
-   fix(edgeless): connector default color [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6574](https://togithub.com/toeverything/blocksuite/issues/6574))
-   fix(edgeless): auto complete panel position when zooming in and out [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6595](https://togithub.com/toeverything/blocksuite/issues/6595))
-   fix(edgeless): connector indicator style [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6576](https://togithub.com/toeverything/blocksuite/issues/6576))
-   fix(edgeless): code not updated [#&#8203;6622](https://togithub.com/toeverything/blocksuite/issues/6622) [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6633](https://togithub.com/toeverything/blocksuite/issues/6633))
-   fix(edgeless): empty element like group or brush should have correct deserializedXYWH [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6644](https://togithub.com/toeverything/blocksuite/issues/6644))
-   fix(edgeless): click on the whiteboard throw error when the format-bar is active [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6662](https://togithub.com/toeverything/blocksuite/issues/6662))
-   fix(edgeless): stash/pop of surface element [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6648](https://togithub.com/toeverything/blocksuite/issues/6648))
-   fix(edgeless): viewport should not scroll when scrolling in format-bar [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6649](https://togithub.com/toeverything/blocksuite/issues/6649))
-   fix(edgeless): selection when all elements are connectors [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6652](https://togithub.com/toeverything/blocksuite/issues/6652))
-   fix(edgeless): remove redundant variables [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6673](https://togithub.com/toeverything/blocksuite/issues/6673))
-   fix(edgeless): use relative points [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6681](https://togithub.com/toeverything/blocksuite/issues/6681))
-   fix(edgeless): update path in local connector [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6684](https://togithub.com/toeverything/blocksuite/issues/6684))
-   fix(edgeless): connector modes display order issue [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6688](https://togithub.com/toeverything/blocksuite/issues/6688))
-   fix(edgeless): should not switch shapes in editing [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6690](https://togithub.com/toeverything/blocksuite/issues/6690))
-   fix(edgeless): exclude canvas editor when sync range and selection [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6685](https://togithub.com/toeverything/blocksuite/issues/6685))
-   fix(edgeless): element-handle should consider rotation [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6717](https://togithub.com/toeverything/blocksuite/issues/6717))
-   fix(edgeless): curve path bounding box [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6694](https://togithub.com/toeverything/blocksuite/issues/6694))
-   fix(edgeless): refine mindmap [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6736](https://togithub.com/toeverything/blocksuite/issues/6736))
-   fix(edgeless): selection issue with copilot tool [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6791](https://togithub.com/toeverything/blocksuite/issues/6791))
-   fix(edgeless): edgeless issues [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6781](https://togithub.com/toeverything/blocksuite/issues/6781))
-   fix(edgeless): paste as note block if all other cases fails [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6827](https://togithub.com/toeverything/blocksuite/issues/6827))
-   fix(edgeless): optimize ai panel user experience [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6810](https://togithub.com/toeverything/blocksuite/issues/6810))
-   fix(edgeless): mindmap refine [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6824](https://togithub.com/toeverything/blocksuite/issues/6824))
-   fix(edgeless): add a paragraph block when clicking on empty space on the note block [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6870](https://togithub.com/toeverything/blocksuite/issues/6870))
-   fix(edgeless): surface-ref rendering [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6890](https://togithub.com/toeverything/blocksuite/issues/6890))
-   fix(edgeless): hide the template in expand/regenerate mind map [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6888](https://togithub.com/toeverything/blocksuite/issues/6888))
-   fix(edgeless): refine mindmap [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6879](https://togithub.com/toeverything/blocksuite/issues/6879))
-   fix(edgeless): edgeless-index-label has empty reference [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6893](https://togithub.com/toeverything/blocksuite/issues/6893))
-   fix(edgeless): prevent mindmap node from adding to other group [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6899](https://togithub.com/toeverything/blocksuite/issues/6899))
-   fix(edgeless): support for moving elements by scroll wheel [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6789](https://togithub.com/toeverything/blocksuite/issues/6789))
-   fix(edgeless): caret does not display when text is empty [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6953](https://togithub.com/toeverything/blocksuite/issues/6953))
-   fix(edgeless): shape text cannot be edited [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6957](https://togithub.com/toeverything/blocksuite/issues/6957))
-   fix(edgeless): ai panel text layout [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6964](https://togithub.com/toeverything/blocksuite/issues/6964))
-   fix(edgeless): improve element toolbar bottom position [@&#8203;L-Sun](https://togithub.com/L-Sun) ([#&#8203;6969](https://togithub.com/toeverything/blocksuite/issues/6969))
-   fix(edgeless): focus on mindmap after generate [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6972](https://togithub.com/toeverything/blocksuite/issues/6972))
-   fix(edgeless): incorrect cursor style of selected rect [@&#8203;L-Sun](https://togithub.com/L-Sun) ([#&#8203;6983](https://togithub.com/toeverything/blocksuite/issues/6983))
-   fix(edgeless): text element issue [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6991](https://togithub.com/toeverything/blocksuite/issues/6991))
-   fix(edgeless): imporve ai pannel position in edgeless [@&#8203;L-Sun](https://togithub.com/L-Sun) ([#&#8203;6993](https://togithub.com/toeverything/blocksuite/issues/6993))
-   fix(examples): angular compat and list reactivity [@&#8203;doodlewind](https://togithub.com/doodlewind) ([#&#8203;6516](https://togithub.com/toeverything/blocksuite/issues/6516))
-   fix(inline): select line when triple click [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6698](https://togithub.com/toeverything/blocksuite/issues/6698))
-   fix(inline): delete backward not works in the start of line in firefox [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6758](https://togithub.com/toeverything/blocksuite/issues/6758))
-   fix(page): non-spread markdown list export [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6556](https://togithub.com/toeverything/blocksuite/issues/6556))
-   fix(page): should not remove empty line when canceling insertion [@&#8203;lawvs](https://togithub.com/lawvs) ([#&#8203;6584](https://togithub.com/toeverything/blocksuite/issues/6584))
-   fix(page): treat data url as fetchable [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6600](https://togithub.com/toeverything/blocksuite/issues/6600))
-   fix(page): add missing assets back [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6641](https://togithub.com/toeverything/blocksuite/issues/6641))
-   fix(page): the imported markdown file name is displayed by default [@&#8203;Tzyito](https://togithub.com/Tzyito) ([#&#8203;6702](https://togithub.com/toeverything/blocksuite/issues/6702))
-   fix(page): process mime types in adapters [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6732](https://togithub.com/toeverything/blocksuite/issues/6732))
-   fix(page): support notion plain table import [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6743](https://togithub.com/toeverything/blocksuite/issues/6743))
-   fix(page): import markdown file title [@&#8203;zkwolf](https://togithub.com/zkwolf) ([#&#8203;6778](https://togithub.com/toeverything/blocksuite/issues/6778))
-   fix(page): add caption when exporting [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6845](https://togithub.com/toeverything/blocksuite/issues/6845))
-   fix(page): hide placeholder when printing [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6925](https://togithub.com/toeverything/blocksuite/issues/6925))
-   fix(playground): fallback to broadcast channel when failed to connect websocket [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6618](https://togithub.com/toeverything/blocksuite/issues/6618))
-   fix(playground): playground debug menu icon in dev mode [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6742](https://togithub.com/toeverything/blocksuite/issues/6742))
-   fix(playground): generate random doc id for the starter entry [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6955](https://togithub.com/toeverything/blocksuite/issues/6955))
-   fix(presets): fragment import suffix [@&#8203;doodlewind](https://togithub.com/doodlewind) ([#&#8203;6517](https://togithub.com/toeverything/blocksuite/issues/6517))
-   fix(presets): ask ai in slash menu [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6687](https://togithub.com/toeverything/blocksuite/issues/6687))
-   fix(presets): should send markdown to remote api [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6699](https://togithub.com/toeverything/blocksuite/issues/6699))
-   fix(presets): ai message should be encoded [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6707](https://togithub.com/toeverything/blocksuite/issues/6707))
-   fix(presets): expose global namespace BlockSuitePresets [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6715](https://togithub.com/toeverything/blocksuite/issues/6715))
-   fix(presets): ai panel response style [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6718](https://togithub.com/toeverything/blocksuite/issues/6718))
-   fix(presets): fix code error action [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6722](https://togithub.com/toeverything/blocksuite/issues/6722))
-   fix(presets): support code block in ai text renderer [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6723](https://togithub.com/toeverything/blocksuite/issues/6723))
-   fix(presets): should stop propagation pointerdown events [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6725](https://togithub.com/toeverything/blocksuite/issues/6725))
-   fix(presets): continue in chat action [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6726](https://togithub.com/toeverything/blocksuite/issues/6726))
-   fix(presets): ai response insert and replace [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6744](https://togithub.com/toeverything/blocksuite/issues/6744))
-   fix(presets): should extract image when content does not exist [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6760](https://togithub.com/toeverything/blocksuite/issues/6760))
-   fix(presets): requestContinueInChat issue [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6768](https://togithub.com/toeverything/blocksuite/issues/6768))
-   fix(presets): text stream error handling [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6795](https://togithub.com/toeverything/blocksuite/issues/6795))
-   fix(presets): incorrect error message handling [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6798](https://togithub.com/toeverything/blocksuite/issues/6798))
-   fix(presets): filter out image blocks [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6815](https://togithub.com/toeverything/blocksuite/issues/6815))
-   fix(presets): stable get photo url [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6814](https://togithub.com/toeverything/blocksuite/issues/6814))
-   fix(presets): auto scroll answer text to bottom when generating [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6817](https://togithub.com/toeverything/blocksuite/issues/6817))
-   fix(presets): insert and replace [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6819](https://togithub.com/toeverything/blocksuite/issues/6819))
-   fix(presets): should not show discard modal when showing error panel [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6820](https://togithub.com/toeverything/blocksuite/issues/6820))
-   fix(presets): add edgeless ai panel entry [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6821](https://togithub.com/toeverything/blocksuite/issues/6821))
-   fix(presets): should not update ai panel when generation is aborted [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6822](https://togithub.com/toeverything/blocksuite/issues/6822))
-   fix(presets): should preprocess html [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6823](https://togithub.com/toeverything/blocksuite/issues/6823))
-   fix(presets): add login error handle in chat [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6828](https://togithub.com/toeverything/blocksuite/issues/6828))
-   fix(presets): should not send attachments when multiple blocks selected [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6831](https://togithub.com/toeverything/blocksuite/issues/6831))
-   fix(presets): edgeless ai panel response actions [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6835](https://togithub.com/toeverything/blocksuite/issues/6835))
-   fix(presets): fix send attachments logic [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6838](https://togithub.com/toeverything/blocksuite/issues/6838))
-   fix(presets): filter out non text content in text preview [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6843](https://togithub.com/toeverything/blocksuite/issues/6843))
-   fix(presets): update error message [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6837](https://togithub.com/toeverything/blocksuite/issues/6837))
-   fix(presets): optimize ai images [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6847](https://togithub.com/toeverything/blocksuite/issues/6847))
-   fix(presets): review action list items [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6848](https://togithub.com/toeverything/blocksuite/issues/6848))
-   fix(presets): review action list [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6873](https://togithub.com/toeverything/blocksuite/issues/6873))
-   fix(presets): ai text preview without widgets [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6878](https://togithub.com/toeverything/blocksuite/issues/6878))
-   fix(presets): ai action panel icons [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6880](https://togithub.com/toeverything/blocksuite/issues/6880))
-   fix(presets): add canvas export options for generating image [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6881](https://togithub.com/toeverything/blocksuite/issues/6881))
-   fix(presets): move find actions to the last of generate group [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6886](https://togithub.com/toeverything/blocksuite/issues/6886))
-   fix(presets): bring explain this code action back [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6889](https://togithub.com/toeverything/blocksuite/issues/6889))
-   fix(presets): create popper only if more button exists [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6891](https://togithub.com/toeverything/blocksuite/issues/6891))
-   fix(presets): ai star icon size [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6904](https://togithub.com/toeverything/blocksuite/issues/6904))
-   fix(presets): ai panel bottom padding [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6902](https://togithub.com/toeverything/blocksuite/issues/6902))
-   fix(presets): mindmap expand [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6921](https://togithub.com/toeverything/blocksuite/issues/6921))
-   fix(presets): explain image action missing picture [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6919](https://togithub.com/toeverything/blocksuite/issues/6919))
-   fix(presets): optimize make it real action [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6906](https://togithub.com/toeverything/blocksuite/issues/6906))
-   fix(presets): add new note in right position and change icon [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6923](https://togithub.com/toeverything/blocksuite/issues/6923))
-   fix(presets): add user change logic for chat panel [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6932](https://togithub.com/toeverything/blocksuite/issues/6932))
-   fix(presets): update ai action icons [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6933](https://togithub.com/toeverything/blocksuite/issues/6933))
-   fix(presets): ai text renderer default style [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6931](https://togithub.com/toeverything/blocksuite/issues/6931))
-   fix(presets): update slides template [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6935](https://togithub.com/toeverything/blocksuite/issues/6935))
-   fix(presets): trim content directly within function [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6940](https://togithub.com/toeverything/blocksuite/issues/6940))
-   fix(presets): fix insert below in chat [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6952](https://togithub.com/toeverything/blocksuite/issues/6952))
-   fix(presets): chat ui issue [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6959](https://togithub.com/toeverything/blocksuite/issues/6959))
-   fix(presets): insert slide bug [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6961](https://togithub.com/toeverything/blocksuite/issues/6961))
-   fix(presets): optimize insertion position, left alignment [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6951](https://togithub.com/toeverything/blocksuite/issues/6951))
-   fix(presets): refine ai tracking properties [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6966](https://togithub.com/toeverything/blocksuite/issues/6966))
-   fix(presets): update error message [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6967](https://togithub.com/toeverything/blocksuite/issues/6967))
-   fix(presets): limit ai text rendering [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6971](https://togithub.com/toeverything/blocksuite/issues/6971))
-   fix(presets): text renderer scroll behavior [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6973](https://togithub.com/toeverything/blocksuite/issues/6973))
-   fix(presets): chat input support image paste [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6979](https://togithub.com/toeverything/blocksuite/issues/6979))
-   fix(presets): add make it real to doc note [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6980](https://togithub.com/toeverything/blocksuite/issues/6980))
-   fix(presets): add unauthorized event to ai provider [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6987](https://togithub.com/toeverything/blocksuite/issues/6987))
-   fix(presets): improve make it real action [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6988](https://togithub.com/toeverything/blocksuite/issues/6988))
-   fix(std): outline in editor host [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6905](https://togithub.com/toeverything/blocksuite/issues/6905))
-   fix(store): fix export snapshot error [@&#8203;EYHN](https://togithub.com/EYHN) ([#&#8203;6877](https://togithub.com/toeverything/blocksuite/issues/6877))
-   refactor: optimizing element check [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6653](https://togithub.com/toeverything/blocksuite/issues/6653))
-   refactor(database): remove duplicate event listener [@&#8203;golok727](https://togithub.com/golok727) ([#&#8203;6913](https://togithub.com/toeverything/blocksuite/issues/6913))
-   refactor(edgeless): remove redundant code [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6518](https://togithub.com/toeverything/blocksuite/issues/6518))
-   refactor(edgeless): remove duplicate return [@&#8203;shvixxl](https://togithub.com/shvixxl) ([#&#8203;6945](https://togithub.com/toeverything/blocksuite/issues/6945))
-   refactor(store): support more node props in base adapter [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6926](https://togithub.com/toeverything/blocksuite/issues/6926))
-   revert: build: manual split chunks [#&#8203;6654](https://togithub.com/toeverything/blocksuite/issues/6654) [@&#8203;fourdim](https://togithub.com/fourdim) ([#&#8203;6657](https://togithub.com/toeverything/blocksuite/issues/6657))
-   feat(edgeless): edgeless copilot panel [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6620](https://togithub.com/toeverything/blocksuite/issues/6620))
-   feat(edgeless): mindmap gen [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6675](https://togithub.com/toeverything/blocksuite/issues/6675))
-   feat(edgeless): edgeless copilot actions [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6714](https://togithub.com/toeverything/blocksuite/issues/6714))
-   feat(edgeless): edgeless copilot toolbar entry [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6763](https://togithub.com/toeverything/blocksuite/issues/6763))
-   feat(edgeless): expand mindmap action [@&#8203;doouding](https://togithub.com/doouding) ([#&#8203;6852](https://togithub.com/toeverything/blocksuite/issues/6852))
-   feat(playground): add chat panel to playground [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6735](https://togithub.com/toeverything/blocksuite/issues/6735))
-   feat(presets): new chat panel fragment [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6514](https://togithub.com/toeverything/blocksuite/issues/6514))
-   feat(presets): ai actions in format bar [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6679](https://togithub.com/toeverything/blocksuite/issues/6679))
-   feat(presets): support render ai answer text as rich text [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6682](https://togithub.com/toeverything/blocksuite/issues/6682))
-   feat(presets): copilot uses documentation as background knowledge [@&#8203;zzj3720](https://togithub.com/zzj3720) ([#&#8203;6719](https://togithub.com/toeverything/blocksuite/issues/6719))
-   feat(presets): ai create message [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6724](https://togithub.com/toeverything/blocksuite/issues/6724))
-   feat(presets): support image to text [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6727](https://togithub.com/toeverything/blocksuite/issues/6727))
-   feat(presets): add more doc mode actions [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6733](https://togithub.com/toeverything/blocksuite/issues/6733))
-   feat(presets): ai images [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6728](https://togithub.com/toeverything/blocksuite/issues/6728))
-   feat(presets): ai create an image [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6746](https://togithub.com/toeverything/blocksuite/issues/6746))
-   feat(presets): error handling [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6775](https://togithub.com/toeverything/blocksuite/issues/6775))
-   feat(presets): add UnauthorizedError handling [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6809](https://togithub.com/toeverything/blocksuite/issues/6809))
-   feat(presets): add chat copy and more button [@&#8203;regischen](https://togithub.com/regischen) ([#&#8203;6825](https://togithub.com/toeverything/blocksuite/issues/6825))
-   feat(presets): add generating placeholder for some ai actions [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6842](https://togithub.com/toeverything/blocksuite/issues/6842))
-   feat(presets): create an image from user input [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6849](https://togithub.com/toeverything/blocksuite/issues/6849))
-   feat(presets): add actions slots [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6860](https://togithub.com/toeverything/blocksuite/issues/6860))
-   feat(presets): add seed to image generation [@&#8203;fundon](https://togithub.com/fundon) ([#&#8203;6900](https://togithub.com/toeverything/blocksuite/issues/6900))
-   feat(presets): add edgeless actions to doc mode [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6903](https://togithub.com/toeverything/blocksuite/issues/6903))
-   feat(presets): add beta flags for some actions [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6929](https://togithub.com/toeverything/blocksuite/issues/6929))
-   feat(presets): add more tracked actions to ai [@&#8203;pengx17](https://togithub.com/pengx17) ([#&#8203;6948](https://togithub.com/toeverything/blocksuite/issues/6948))
-   fix: move slash menu ai entry to presets [@&#8203;donteatfriedrice](https://togithub.com/donteatfriedrice) ([#&#8203;6677](https://togithub.com/toeverything/blocksuite/issues/6677))
-   fix: should not trigger ai panel when composing [@&#8203;Flrande](https://togithub.com/Flrande) ([#&#8203;6721](https://togithub.com/toeverything/blocksuite/

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-05-13 07:32:56 +00:00
JimmFly
df6d0a2750
fix(core): navigation shortcut keys can't be used when the sidebar is collapsed (#6903)
close #6877
2024-05-13 07:15:40 +00:00
JimmFly
644bd8c817
fix(core): page does not fully stretch the entire screen (#6902)
close AFF-1054

https://github.com/toeverything/AFFiNE/assets/102217452/6e4447b7-380d-402b-9445-1c2d9c036363
2024-05-13 06:25:20 +00:00
EYHN
4ebe8f5fb4
chore(core): improve export snapshot tool (#6863) 2024-05-13 04:00:47 +00:00
JimmFly
f94306703a
feat(core): tag groups sorted alphabetically (#6865)
feat(core): tag groups sorted alphabetically
feat(core): add display group to collection page and tag page

<img width="755" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/17a5abbe-cd1a-4ce2-8adc-f9aa5b6d6e77">
2024-05-13 03:48:17 +00:00
pengx17
3e23878e0f
feat: add more tracking events (#6866)
Added most tracking events

what is missing:
- still need a way to track events in blocksuite
- some events may not 100% accurate of the one defined in the PRD
2024-05-13 03:36:32 +00:00
pengx17
bd1733b2a9
chore: remove unused file (#6894) 2024-05-13 02:27:21 +00:00
renovate
31f7f6c9cf
chore: bump up @napi-rs/cli version to v3.0.0-alpha.55 (#6900)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@napi-rs/cli](https://togithub.com/napi-rs/napi-rs) | [`3.0.0-alpha.54` -> `3.0.0-alpha.55`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.0.0-alpha.54/3.0.0-alpha.55) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.0.0-alpha.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fcli/3.0.0-alpha.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fcli/3.0.0-alpha.54/3.0.0-alpha.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.0.0-alpha.54/3.0.0-alpha.55?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>napi-rs/napi-rs (@&#8203;napi-rs/cli)</summary>

### [`v3.0.0-alpha.55`](https://togithub.com/napi-rs/napi-rs/releases/tag/%40napi-rs/cli%403.0.0-alpha.55)

[Compare Source](https://togithub.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.54...@napi-rs/cli@3.0.0-alpha.55)

##### Bug Fixes

-   **cli:** prevent the wasm optimization crash the build ([#&#8203;2107](https://togithub.com/napi-rs/napi-rs/issues/2107)) ([c9c3c0e](c9c3c0ed05))
-   **deps:** update dependency [@&#8203;napi-rs/cross-toolchain](https://togithub.com/napi-rs/cross-toolchain) to ^0.0.16 ([#&#8203;2079](https://togithub.com/napi-rs/napi-rs/issues/2079)) ([d022f64](d022f64834))
-   **napi:** set explicit target flag for x86\_64 CI template ([#&#8203;2077](https://togithub.com/napi-rs/napi-rs/issues/2077)) ([ebc1e2c](ebc1e2ca18))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-05-13 02:16:05 +00:00