Commit Graph

4793 Commits

Author SHA1 Message Date
fengmk2
b7635c8944 refactor(server): use session model in auth service (#9660) 2025-01-14 07:43:26 +00:00
fengmk2
ee99b0cc9d refactor(server): use verificationToken model instead of tokenService (#9657) 2025-01-14 03:39:05 +00:00
fengmk2
290b2074c8 feat(server): verificationToken model (#9655) 2025-01-14 03:39:05 +00:00
fengmk2
afd2c3f642 feat(server): session model (#9652) 2025-01-14 03:02:19 +00:00
CatsJuice
af3ad4bfe9 feat(core): template doc setting ui (#9658)
close AF-2051, AF-2052
2025-01-14 02:10:35 +00:00
CatsJuice
57b89b5ad4 feat(core): template-doc settings for user-worksapce scope (#9566) 2025-01-14 02:10:34 +00:00
CatsJuice
10196f6785 feat(core): new template doc property (#9538)
close AF-2045, AF-2047, AF-2065
2025-01-14 02:10:33 +00:00
fundon
7e5e6031e8 chore(editor): update default colors of shape (#9633)
Closes: [PD-2176](https://linear.app/affine-design/issue/PD-2176/edgeless-shape默认颜色调整)

* updates shape's text color to the `#000000ff` and custom button should be selected by default in color picker
* updates shape background default color palette to `medium`

<img width="727" alt="Screenshot 2025-01-13 at 11 07 14" src="https://github.com/user-attachments/assets/81962741-0dbc-4990-8eec-db5e48624305" />
<img width="444" alt="Screenshot 2025-01-13 at 11 07 09" src="https://github.com/user-attachments/assets/2d119e33-635e-4bd4-826f-e3094c8a3fa2" />

<img width="764" alt="Screenshot 2025-01-13 at 11 08 14" src="https://github.com/user-attachments/assets/09f5c778-0e25-4972-8529-8d8323c27594" />
2025-01-13 10:19:58 +00:00
Brooooooklyn
e72371d15c style: use typescript resolver for eslint import plugin (#9662) 2025-01-13 05:56:29 +00:00
github-actions[bot]
00b2362b03 chore(i18n): sync translations (#9534)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-13 03:02:24 +00:00
donteatfriedrice
5c4e87ddb5 feat(editor): support text highlight html adapter (#9632)
[BS-2061](https://linear.app/affine-design/issue/BS-2061/html-adapter-支持-text-highlight-样式)
2025-01-13 02:20:58 +00:00
Mirone
446b31b621 refactor(editor): rename job to transformer (#9639) 2025-01-11 12:04:07 +08:00
renovate
6de62ef7cf chore: bump up all non-major dependencies (#9598)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| [@aws-sdk/client-s3](https://redirect.github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://redirect.github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3)) | [`3.723.0` -> `3.726.1`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.723.0/3.726.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@aws-sdk%2fclient-s3/3.726.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@aws-sdk%2fclient-s3/3.726.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@aws-sdk%2fclient-s3/3.723.0/3.726.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@aws-sdk%2fclient-s3/3.723.0/3.726.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [@clack/core](https://redirect.github.com/natemoo-re/clack/tree/main/packages/core#readme) ([source](https://redirect.github.com/natemoo-re/clack/tree/HEAD/packages/core)) | [`0.4.0` -> `0.4.1`](https://renovatebot.com/diffs/npm/@clack%2fcore/0.4.0/0.4.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@clack%2fcore/0.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@clack%2fcore/0.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@clack%2fcore/0.4.0/0.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@clack%2fcore/0.4.0/0.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [@clack/prompts](https://redirect.github.com/natemoo-re/clack/tree/main/packages/prompts#readme) ([source](https://redirect.github.com/natemoo-re/clack/tree/HEAD/packages/prompts)) | [`0.9.0` -> `0.9.1`](https://renovatebot.com/diffs/npm/@clack%2fprompts/0.9.0/0.9.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@clack%2fprompts/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@clack%2fprompts/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@clack%2fprompts/0.9.0/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@clack%2fprompts/0.9.0/0.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [@eslint/js](https://eslint.org) ([source](https://redirect.github.com/eslint/eslint/tree/HEAD/packages/js)) | [`9.17.0` -> `9.18.0`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.17.0/9.18.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@eslint%2fjs/9.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@eslint%2fjs/9.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@eslint%2fjs/9.17.0/9.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@eslint%2fjs/9.17.0/9.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [@sentry/esbuild-plugin](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/esbuild-plugin) ([source](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins)) | [`2.22.7` -> `2.23.0`](https://renovatebot.com/diffs/npm/@sentry%2fesbuild-plugin/2.22.7/2.23.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fesbuild-plugin/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2fesbuild-plugin/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2fesbuild-plugin/2.22.7/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2fesbuild-plugin/2.22.7/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [@sentry/webpack-plugin](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/tree/main/packages/webpack-plugin) ([source](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins)) | [`2.22.7` -> `2.23.0`](https://renovatebot.com/diffs/npm/@sentry%2fwebpack-plugin/2.22.7/2.23.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fwebpack-plugin/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2fwebpack-plugin/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2fwebpack-plugin/2.22.7/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2fwebpack-plugin/2.22.7/2.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [@smarttools/eslint-plugin-rxjs](https://redirect.github.com/DaveMBush/eslint-plugin-rxjs) | [`1.0.13` -> `1.0.14`](https://renovatebot.com/diffs/npm/@smarttools%2feslint-plugin-rxjs/1.0.13/1.0.14) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@smarttools%2feslint-plugin-rxjs/1.0.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@smarttools%2feslint-plugin-rxjs/1.0.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@smarttools%2feslint-plugin-rxjs/1.0.13/1.0.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@smarttools%2feslint-plugin-rxjs/1.0.13/1.0.14?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [@swc/core](https://swc.rs) ([source](https://redirect.github.com/swc-project/swc)) | [`1.10.6` -> `1.10.7`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.10.6/1.10.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.10.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.10.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.10.6/1.10.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.10.6/1.10.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [apollographql/apollo-ios](https://redirect.github.com/apollographql/apollo-ios) | `from: "1.15.3"` -> `from: "1.16.0"` | [![age](https://developer.mend.io/api/mc/badges/age/git-tags/https:%2f%2fgithub.com%2fapollographql%2fapollo-ios.git/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/git-tags/https:%2f%2fgithub.com%2fapollographql%2fapollo-ios.git/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/git-tags/https:%2f%2fgithub.com%2fapollographql%2fapollo-ios.git/1.15.3/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/git-tags/https:%2f%2fgithub.com%2fapollographql%2fapollo-ios.git/1.15.3/1.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |  | minor |
| [glob](https://redirect.github.com/isaacs/node-glob) | [`11.0.0` -> `11.0.1`](https://renovatebot.com/diffs/npm/glob/11.0.0/11.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/glob/11.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/glob/11.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/glob/11.0.0/11.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/glob/11.0.0/11.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [happy-dom](https://redirect.github.com/capricorn86/happy-dom) | [`16.5.2` -> `16.5.3`](https://renovatebot.com/diffs/npm/happy-dom/16.5.2/16.5.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/16.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/16.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/16.5.2/16.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/16.5.2/16.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [html-validate](https://html-validate.org) ([source](https://gitlab.com/html-validate/html-validate)) | [`9.1.1` -> `9.1.3`](https://renovatebot.com/diffs/npm/html-validate/9.1.1/9.1.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/html-validate/9.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/html-validate/9.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/html-validate/9.1.1/9.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/html-validate/9.1.1/9.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [lucide-react](https://lucide.dev) ([source](https://redirect.github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react)) | [`^0.469.0` -> `^0.471.0`](https://renovatebot.com/diffs/npm/lucide-react/0.469.0/0.471.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lucide-react/0.471.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lucide-react/0.471.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lucide-react/0.469.0/0.471.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lucide-react/0.469.0/0.471.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [openai](https://redirect.github.com/openai/openai-node) | [`4.77.4` -> `4.78.1`](https://renovatebot.com/diffs/npm/openai/4.77.4/4.78.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/openai/4.78.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/openai/4.78.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/openai/4.77.4/4.78.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/openai/4.77.4/4.78.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [thiserror](https://redirect.github.com/dtolnay/thiserror) | `2.0.10` -> `2.0.11` | [![age](https://developer.mend.io/api/mc/badges/age/crate/thiserror/2.0.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/thiserror/2.0.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/thiserror/2.0.10/2.0.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/thiserror/2.0.10/2.0.11?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch |
| [undici](https://undici.nodejs.org) ([source](https://redirect.github.com/nodejs/undici)) | [`7.2.0` -> `7.2.1`](https://renovatebot.com/diffs/npm/undici/7.2.0/7.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/7.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/7.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/7.2.0/7.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/7.2.0/7.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [uuid](https://redirect.github.com/uuidjs/uuid) | [`11.0.4` -> `11.0.5`](https://renovatebot.com/diffs/npm/uuid/11.0.4/11.0.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/uuid/11.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/uuid/11.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/uuid/11.0.4/11.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/uuid/11.0.4/11.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [wrangler](https://redirect.github.com/cloudflare/workers-sdk) ([source](https://redirect.github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler)) | [`3.100.0` -> `3.101.0`](https://renovatebot.com/diffs/npm/wrangler/3.100.0/3.101.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/wrangler/3.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/wrangler/3.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/wrangler/3.100.0/3.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/wrangler/3.100.0/3.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [com.android.tools.build:gradle](https://developer.android.com/studio/build) ([source](https://android.googlesource.com/platform/tools/base)) | `8.7.3` -> `8.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.tools.build:gradle/8.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.android.tools.build:gradle/8.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.android.tools.build:gradle/8.7.3/8.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.tools.build:gradle/8.7.3/8.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |

---

### Release Notes

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

### [`v3.726.1`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#37261-2025-01-10)

[Compare Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.726.0...v3.726.1)

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

### [`v3.726.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#37260-2025-01-09)

[Compare Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.723.0...v3.726.0)

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

</details>

<details>
<summary>natemoo-re/clack (@&#8203;clack/core)</summary>

### [`v0.4.1`](https://redirect.github.com/natemoo-re/clack/blob/HEAD/packages/core/CHANGELOG.md#041)

[Compare Source](https://redirect.github.com/natemoo-re/clack/compare/@clack/core@0.4.0...@clack/core@0.4.1)

##### Patch Changes

-   [`8093f3c`](https://redirect.github.com/natemoo-re/clack/commit/8093f3c): Adds `Error` support to the `validate` function
-   [`e5ba09a`](https://redirect.github.com/natemoo-re/clack/commit/e5ba09a): Fixes a cursor display bug in terminals that do not support the "hidden" escape sequence. See [Issue #&#8203;127](https://redirect.github.com/bombshell-dev/clack/issues/127).
-   [`8cba8e3`](https://redirect.github.com/natemoo-re/clack/commit/8cba8e3): Fixes a rendering bug with cursor positions for `TextPrompt`

</details>

<details>
<summary>natemoo-re/clack (@&#8203;clack/prompts)</summary>

### [`v0.9.1`](https://redirect.github.com/natemoo-re/clack/blob/HEAD/packages/prompts/CHANGELOG.md#091)

[Compare Source](https://redirect.github.com/natemoo-re/clack/compare/@clack/prompts@0.9.0...@clack/prompts@0.9.1)

##### Patch Changes

-   [`8093f3c`](https://redirect.github.com/natemoo-re/clack/commit/8093f3c): Adds `Error` support to the `validate` function
-   [`98925e3`](https://redirect.github.com/natemoo-re/clack/commit/98925e3): Exports the `Option` type and improves JSDocannotations
-   [`1904e57`](https://redirect.github.com/natemoo-re/clack/commit/1904e57): Replace custom utility for stripping ANSI control sequences with Node's built-in [`stripVTControlCharacters`](https://nodejs.org/docs/latest/api/util.html#utilstripvtcontrolcharactersstr) utility.
-   Updated dependencies \[[`8093f3c`](https://redirect.github.com/natemoo-re/clack/commit/8093f3c)]
-   Updated dependencies \[[`e5ba09a`](https://redirect.github.com/natemoo-re/clack/commit/e5ba09a)]
-   Updated dependencies \[[`8cba8e3`](https://redirect.github.com/natemoo-re/clack/commit/8cba8e3)]
    -   [@&#8203;clack/core](https://redirect.github.com/clack/core)[@&#8203;0](https://redirect.github.com/0).4.1

</details>

<details>
<summary>eslint/eslint (@&#8203;eslint/js)</summary>

### [`v9.18.0`](https://redirect.github.com/eslint/eslint/compare/v9.17.0...362099c580992b2602316fc417ce3e595b96f28c)

[Compare Source](https://redirect.github.com/eslint/eslint/compare/v9.17.0...v9.18.0)

</details>

<details>
<summary>getsentry/sentry-javascript-bundler-plugins (@&#8203;sentry/esbuild-plugin)</summary>

### [`v2.23.0`](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/blob/HEAD/CHANGELOG.md#2230)

[Compare Source](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/compare/2.22.7...2.23.0)

-   chore(deps): bump nanoid from 3.3.6 to 3.3.8 ([#&#8203;641](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/641))
-   feat(core): Detect Railway release name ([#&#8203;639](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/639))
-   feat(core): Write module injections to `globalThis` ([#&#8203;636](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/636))
-   feat(react-component-annotate): Allow skipping annotations on specified components ([#&#8203;617](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/617))
-   ref(core): Rename release management plugin name ([#&#8203;647](https://redirect.github.com/getsentry/sentry-javascript-bundler-plugins/issues/647))

Work in this release contributed by [@&#8203;conor-ob](https://redirect.github.com/conor-ob). Thank you for your contribution!

</details>

<details>
<summary>DaveMBush/eslint-plugin-rxjs (@&#8203;smarttools/eslint-plugin-rxjs)</summary>

### [`v1.0.14`](https://redirect.github.com/DaveMBush/eslint-plugin-rxjs/releases/tag/v1.0.14): 1.0.14 (2025-01-10)

[Compare Source](https://redirect.github.com/DaveMBush/eslint-plugin-rxjs/compare/v1.0.13...v1.0.14)

Rules should now work from ESM modules

</details>

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

### [`v1.10.7`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1107---2025-01-10)

[Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.10.6...v1.10.7)

##### Bug Fixes

-   **(ci/publish)** Do not tag stable if `onlyNightly` is on ([#&#8203;9863](https://redirect.github.com/swc-project/swc/issues/9863)) ([c0c6056](c0c60569e2))

-   **(es/minifier)** Improve DCE ([#&#8203;9853](https://redirect.github.com/swc-project/swc/issues/9853)) ([85fb16c](85fb16c3a2))

-   **(es/parser)** Fix context of dynamic import type ([#&#8203;9852](https://redirect.github.com/swc-project/swc/issues/9852)) ([caa7f37](caa7f370ff))

##### Documentation

-   Update the link to the team ([0fcdc31](0fcdc31435))

##### Features

-   **(ts/fast-strip)** Distinguish invalid vs unsupported ([#&#8203;9846](https://redirect.github.com/swc-project/swc/issues/9846)) ([5709bc2](5709bc2205))

##### Testing

-   **(parallel)** Add test to debug segfault on windows x64 ([#&#8203;9857](https://redirect.github.com/swc-project/swc/issues/9857)) ([ae53a35](ae53a359c3))

##### Build

-   Update `wasmer` to `v5.0.5-rc1` ([#&#8203;9860](https://redirect.github.com/swc-project/swc/issues/9860)) ([615ae93](615ae9302e))

</details>

<details>
<summary>apollographql/apollo-ios (apollographql/apollo-ios)</summary>

### [`v1.16.0`](https://redirect.github.com/apollographql/apollo-ios/blob/HEAD/CHANGELOG.md#v1160)

[Compare Source](https://redirect.github.com/apollographql/apollo-ios/compare/1.15.3...1.16.0)

##### New

-   **Added codegen config support for spm module type versions ([#&#8203;539](https://redirect.github.com/apollographql/apollo-ios-dev/pull/539)):** There is a [new codegen config option](https://www.apollographql.com/docs/ios/code-generation/codegen-configuration#swift-package) for supplying a version to the SPM module type to allow for pointing to specific branches or local versions of Apollo iOS.
-   **`@oneOf` input object support ([#&#8203;537](https://redirect.github.com/apollographql/apollo-ios-dev/pull/537)):** Adding support for `@OneOf` Input Objects, more info can be found in the official [RFC](https://redirect.github.com/graphql/graphql-spec/pull/825).

##### Improvements

-   **`URLRequest` cache policy default changed ([#&#8203;550](https://redirect.github.com/apollographql/apollo-ios-dev/pull/550)):** The updated default closer matches the original behaviour before the introduction of setting `URLRequest.CachePolicy`. *Thank you to [@&#8203;marksvend](https://redirect.github.com/marksvend) for raising the issue.*

##### Fixed

-   **`DataDict` initialization of `deferredFragments` property ([#&#8203;557](https://redirect.github.com/apollographql/apollo-ios-dev/pull/557)):** Generated selection set initializers were not correctly setting deferred fragment identifiers. This only affected selection sets that were instantiated with the generated selection set initializers, response-based results are unaffected.
-   **Multipart chunk content type ([#&#8203;572](https://redirect.github.com/apollographql/apollo-ios-dev/pull/572)):** Multipart response parsing would produce an error when the chunk content type contained more than one directive. *Thank you to [@&#8203;brettephillips](https://redirect.github.com/brettephillips) for raising the issue.*

</details>

<details>
<summary>isaacs/node-glob (glob)</summary>

### [`v11.0.1`](https://redirect.github.com/isaacs/node-glob/compare/v11.0.0...148ef611eec9454201b1f2e81721e6fa00582043)

[Compare Source](https://redirect.github.com/isaacs/node-glob/compare/v11.0.0...v11.0.1)

</details>

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

### [`v16.5.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v16.5.3)

[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v16.5.2...v16.5.3)

##### 👷‍♂️ Patch fixes

-   Fixes problem with encoding and decoding attribute values in HTML - By **[@&#8203;capricorn86](https://redirect.github.com/capricorn86)** in task [#&#8203;1678](https://redirect.github.com/capricorn86/happy-dom/issues/1678)
-   Fixes issue where it was not possible to query selector by class when the attribute value had line breaks in it - By **[@&#8203;capricorn86](https://redirect.github.com/capricorn86)** in task [#&#8203;1678](https://redirect.github.com/capricorn86/happy-dom/issues/1678)

</details>

<details>
<summary>html-validate/html-validate (html-validate)</summary>

### [`v9.1.3`](https://gitlab.com/html-validate/html-validate/blob/HEAD/CHANGELOG.md#913-2025-01-09)

[Compare Source](https://gitlab.com/html-validate/html-validate/compare/v9.1.2...v9.1.3)

##### Bug Fixes

-   nodejs 18.19 or later is required ([69ec7e2](69ec7e232a))

### [`v9.1.2`](https://gitlab.com/html-validate/html-validate/blob/HEAD/CHANGELOG.md#912-2025-01-08)

[Compare Source](https://gitlab.com/html-validate/html-validate/compare/v9.1.1...v9.1.2)

##### Bug Fixes

-   fix `ERR_UNSUPPORTED_ESM_URL_SCHEME` on windows ([6b193f3](6b193f3bd8))

</details>

<details>
<summary>lucide-icons/lucide (lucide-react)</summary>

### [`v0.471.0`](https://redirect.github.com/lucide-icons/lucide/releases/tag/0.471.0): Dynamic Icon component Lucide React and new icons 0.471.0

[Compare Source](https://redirect.github.com/lucide-icons/lucide/compare/0.470.0...0.471.0)

#### New Dynamic Icon Component (lucide-react)

This is an easier approach than the previous `dynamicIconImports` we exported in the library. This one supports all environments.
We removed the examples in the docs of how you can make a dynamic icon yourself with a dedicated DynamicIcon component.
This one fetches the icon data itself and renders it instead of fetching the Icon component from the library.
This makes it more flexible with all the frontend frameworks and libraries that exist for React.

> 🚨
> Not recommended for regular applications that work fine with the regular static icon components.
> Using the dynamic icon component increases build time, separate bundles, and separate network requests for each icon.

##### How to use

`DynamicIcon` is useful for applications that want to show icons dynamically by icon name, for example when using a content management system where icon names are stored in a database.

```jsx
const App = () => (
  <DynamicIcon name="camera" color="red" size={48} />
);
```

##### Possible Breaking changes

We have switched to the ["exports"](https://nodejs.org/api/packages.html#exports-sugar) property in `package.json`. This can cause issues if you have directly imported scripts from the package. Please open an issue if we need to refine this export map.

#### New icons 🎨

-   `triangle-dashed` ([#&#8203;2652](https://redirect.github.com/lucide-icons/lucide/issues/2652)) by [@&#8203;Yohh](https://redirect.github.com/Yohh)

### [`v0.470.0`](https://redirect.github.com/lucide-icons/lucide/releases/tag/0.470.0): New icons 0.470.0

[Compare Source](https://redirect.github.com/lucide-icons/lucide/compare/0.469.0...0.470.0)

#### New icons 🎨

-   `house-wifi` ([#&#8203;2723](https://redirect.github.com/lucide-icons/lucide/issues/2723)) by [@&#8203;akshaymemane](https://redirect.github.com/akshaymemane)

#### Modified Icons 🔨

-   `rat` ([#&#8203;2692](https://redirect.github.com/lucide-icons/lucide/issues/2692)) by [@&#8203;jguddas](https://redirect.github.com/jguddas)

</details>

<details>
<summary>openai/openai-node (openai)</summary>

### [`v4.78.1`](https://redirect.github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4781-2025-01-10)

[Compare Source](https://redirect.github.com/openai/openai-node/compare/v4.78.0...v4.78.1)

Full Changelog: [v4.78.0...v4.78.1](https://redirect.github.com/openai/openai-node/compare/v4.78.0...v4.78.1)

##### Bug Fixes

-   send correct Accept header for certain endpoints ([#&#8203;1257](https://redirect.github.com/openai/openai-node/issues/1257)) ([8756693](8756693c56))

### [`v4.78.0`](https://redirect.github.com/openai/openai-node/blob/HEAD/CHANGELOG.md#4780-2025-01-09)

[Compare Source](https://redirect.github.com/openai/openai-node/compare/v4.77.4...v4.78.0)

Full Changelog: [v4.77.4...v4.78.0](https://redirect.github.com/openai/openai-node/compare/v4.77.4...v4.78.0)

##### Features

-   **client:** add realtime types ([#&#8203;1254](https://redirect.github.com/openai/openai-node/issues/1254)) ([7130995](71309957a9))

</details>

<details>
<summary>dtolnay/thiserror (thiserror)</summary>

### [`v2.0.11`](https://redirect.github.com/dtolnay/thiserror/releases/tag/2.0.11)

[Compare Source](https://redirect.github.com/dtolnay/thiserror/compare/2.0.10...2.0.11)

-   Add feature gate to tests that use std ([#&#8203;409](https://redirect.github.com/dtolnay/thiserror/issues/409), [#&#8203;410](https://redirect.github.com/dtolnay/thiserror/issues/410), thanks [@&#8203;Maytha8](https://redirect.github.com/Maytha8))

</details>

<details>
<summary>nodejs/undici (undici)</summary>

### [`v7.2.1`](https://redirect.github.com/nodejs/undici/releases/tag/v7.2.1)

[Compare Source](https://redirect.github.com/nodejs/undici/compare/v7.2.0...v7.2.1)

#### What's Changed

-   fix(3951): typo on errorede dns lookup by [@&#8203;metcoder95](https://redirect.github.com/metcoder95) in [https://github.com/nodejs/undici/pull/3956](https://redirect.github.com/nodejs/undici/pull/3956)
-   feat: add missing error type by [@&#8203;Gigioliva](https://redirect.github.com/Gigioliva) in [https://github.com/nodejs/undici/pull/3964](https://redirect.github.com/nodejs/undici/pull/3964)
-   websocket: improve frame parsing by [@&#8203;tsctx](https://redirect.github.com/tsctx) in [https://github.com/nodejs/undici/pull/3447](https://redirect.github.com/nodejs/undici/pull/3447)
-   fix([#&#8203;3966](https://redirect.github.com/nodejs/undici/issues/3966)): account for network errors by [@&#8203;metcoder95](https://redirect.github.com/metcoder95) in [https://github.com/nodejs/undici/pull/3967](https://redirect.github.com/nodejs/undici/pull/3967)
-   build(deps-dev): bump [@&#8203;fastify/busboy](https://redirect.github.com/fastify/busboy) from 3.1.0 to 3.1.1 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/nodejs/undici/pull/3971](https://redirect.github.com/nodejs/undici/pull/3971)
-   Update WPT by [@&#8203;github-actions](https://redirect.github.com/github-actions) in [https://github.com/nodejs/undici/pull/3954](https://redirect.github.com/nodejs/undici/pull/3954)
-   docs: fix dispatcher stream example links by [@&#8203;luddd3](https://redirect.github.com/luddd3) in [https://github.com/nodejs/undici/pull/3972](https://redirect.github.com/nodejs/undici/pull/3972)
-   fix: `undici:request:headers` does not indicate completion of a response by [@&#8203;legendecas](https://redirect.github.com/legendecas) in [https://github.com/nodejs/undici/pull/3974](https://redirect.github.com/nodejs/undici/pull/3974)
-   build(deps): bump cronometro from 3.0.2 to 4.0.1 in /benchmarks by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/nodejs/undici/pull/3976](https://redirect.github.com/nodejs/undici/pull/3976)
-   fix([#&#8203;3975](https://redirect.github.com/nodejs/undici/issues/3975)): do not unref timeout by [@&#8203;metcoder95](https://redirect.github.com/metcoder95) in [https://github.com/nodejs/undici/pull/3977](https://redirect.github.com/nodejs/undici/pull/3977)
-   fix: bad response on h2 server by [@&#8203;metcoder95](https://redirect.github.com/metcoder95) in [https://github.com/nodejs/undici/pull/3978](https://redirect.github.com/nodejs/undici/pull/3978)
-   build(deps): bump peter-evans/create-pull-request from 7.0.5 to 7.0.6 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/nodejs/undici/pull/3981](https://redirect.github.com/nodejs/undici/pull/3981)
-   build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/nodejs/undici/pull/3983](https://redirect.github.com/nodejs/undici/pull/3983)
-   chore: ensure automated v7 release compared to v7 by [@&#8203;trivikr](https://redirect.github.com/trivikr) in [https://github.com/nodejs/undici/pull/3986](https://redirect.github.com/nodejs/undici/pull/3986)
-   test: ignore test for CITGM by [@&#8203;metcoder95](https://redirect.github.com/metcoder95) in [https://github.com/nodejs/undici/pull/3993](https://redirect.github.com/nodejs/undici/pull/3993)
-   fix: retry flaky test by [@&#8203;metcoder95](https://redirect.github.com/metcoder95) in [https://github.com/nodejs/undici/pull/3992](https://redirect.github.com/nodejs/undici/pull/3992)

#### New Contributors

-   [@&#8203;legendecas](https://redirect.github.com/legendecas) made their first contribution in [https://github.com/nodejs/undici/pull/3974](https://redirect.github.com/nodejs/undici/pull/3974)

**Full Changelog**: https://github.com/nodejs/undici/compare/v7.2.0...v7.2.1

</details>

<details>
<summary>uuidjs/uuid (uuid)</summary>

### [`v11.0.5`](https://redirect.github.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1105-2025-01-09)

[Compare Source](https://redirect.github.com/uuidjs/uuid/compare/v11.0.4...v11.0.5)

##### Bug Fixes

-   add TS unit test, pin to typescript@5.0.4 ([#&#8203;860](https://redirect.github.com/uuidjs/uuid/issues/860)) ([24ac2fd](24ac2fd067))

</details>

<details>
<summary>cloudflare/workers-sdk (wrangler)</summary>

### [`v3.101.0`](https://redirect.github.com/cloudflare/workers-sdk/blob/HEAD/packages/wrangler/CHANGELOG.md#31010)

[Compare Source](https://redirect.github.com/cloudflare/workers-sdk/compare/wrangler@3.100.0...wrangler@3.101.0)

##### Minor Changes

-   [#&#8203;7534](https://redirect.github.com/cloudflare/workers-sdk/pull/7534) [`7c8ae1c`](7c8ae1c7bc) Thanks [@&#8203;cmackenzie1](https://redirect.github.com/cmackenzie1)! - feat: Use OAuth flow to generate R2 tokens for Pipelines

-   [#&#8203;7674](https://redirect.github.com/cloudflare/workers-sdk/pull/7674) [`45d1d1e`](45d1d1edd6) Thanks [@&#8203;Ankcorn](https://redirect.github.com/Ankcorn)! - Add support for env files to wrangler secret bulk i.e. `.dev.vars`

    Run `wrangler secret bulk .dev.vars` to add the env file

    ```env
    //.dev.vars
    KEY=VALUE
    KEY_2=VALUE
    ```

    This will upload the secrets KEY and KEY\_2 to your worker

-   [#&#8203;7442](https://redirect.github.com/cloudflare/workers-sdk/pull/7442) [`e4716cc`](e4716cc878) Thanks [@&#8203;petebacondarwin](https://redirect.github.com/petebacondarwin)! - feat: add support for redirecting Wrangler to a generated config when running deploy-related commands

    This new feature is designed for build tools and frameworks to provide a deploy-specific configuration,
    which Wrangler can use instead of user configuration when running deploy-related commands.
    It is not expected that developers of Workers will need to use this feature directly.

##### Affected commands

The commands that use this feature are:

-   `wrangler deploy`
-   `wrangler dev`
-   `wrangler versions upload`
-   `wrangler versions deploy`
-   `wrangler pages deploy`
-   `wrangler pages build`
-   `wrangler pages build-env`

##### Config redirect file

When running these commands, Wrangler will look up the directory tree from the current working directory for a file at the path `.wrangler/deploy/config.json`. This file must contain only a single JSON object of the form:

```json
{ "configPath": "../../path/to/wrangler.json" }
```

When this file exists Wrangler will follow the `configPath` (relative to the `.wrangler/deploy/config.json` file) to find an alternative Wrangler configuration file to load and use as part of this command.

When this happens Wrangler will display a warning to the user to indicate that the configuration has been redirected to a different file than the user's configuration file.

##### Custom build tool example

A common approach that a build tool might choose to implement.

-   The user writes code that uses Cloudflare Workers resources, configured via a user `wrangler.toml` file.

    ```toml
    name = "my-worker"
    main = "src/index.ts"
    [[kv_namespaces]]
    binding = "<BINDING_NAME1>"
    id = "<NAMESPACE_ID1>"
    ```

    Note that this configuration points `main` at user code entry-point.

-   The user runs a custom build, which might read the `wrangler.toml` to find the entry-point:

    ```bash
    > my-tool build
    ```

-   This tool generates a `dist` directory that contains both compiled code and a new deployment configuration file, but also a `.wrangler/deploy/config.json` file that redirects Wrangler to this new deployment configuration file:

    ```plain
    - dist
      - index.js
    	- wrangler.json
    - .wrangler
      - deploy
    	  - config.json
    ```

    The `dist/wrangler.json` will contain:

    ```json
    {
      "name": "my-worker",
      "main": "./index.js",
      "kv_namespaces": [
        { "binding": "<BINDING_NAME1>", "id": "<NAMESPACE_ID1>" }
      ]
    }
    ```

    And the `.wrangler/deploy/config.json` will contain:

    ```json
    {
      "configPath": "../../dist/wrangler.json"
    }
    ```

-   [#&#8203;7685](https://redirect.github.com/cloudflare/workers-sdk/pull/7685) [`9d2740a`](9d2740aa58) Thanks [@&#8203;vicb](https://redirect.github.com/vicb)! - allow overriding the unenv preset.

    By default wrangler uses the bundled unenv preset.

    Setting `WRANGLER_UNENV_RESOLVE_PATHS` allow to use another version of the preset.
    Those paths are used when resolving the unenv module identifiers to absolute paths.
    This can be used to test a development version.

-   [#&#8203;7694](https://redirect.github.com/cloudflare/workers-sdk/pull/7694) [`f3c2f69`](f3c2f69b30) Thanks [@&#8203;joshthoward](https://redirect.github.com/joshthoward)! - Default wrangler d1 export to --local rather than failing

##### Patch Changes

-   [#&#8203;7456](https://redirect.github.com/cloudflare/workers-sdk/pull/7456) [`ff4e77e`](ff4e77e5ad) Thanks [@&#8203;andyjessop](https://redirect.github.com/andyjessop)! - chore: removes --experimental-versions flag, as versions is now GA.

-   [#&#8203;7712](https://redirect.github.com/cloudflare/workers-sdk/pull/7712) [`6439347`](6439347a92) Thanks [@&#8203;penalosa](https://redirect.github.com/penalosa)! - Remove CF-Connecting-IP for requests to the edge preview

-   [#&#8203;7703](https://redirect.github.com/cloudflare/workers-sdk/pull/7703) [`e771fe9`](e771fe9909) Thanks [@&#8203;petebacondarwin](https://redirect.github.com/petebacondarwin)! - include the top level Worker name in the parsed config structure

-   [#&#8203;7576](https://redirect.github.com/cloudflare/workers-sdk/pull/7576) [`773bda8`](773bda8b38) Thanks [@&#8203;cmackenzie1](https://redirect.github.com/cmackenzie1)! - Remove defaults for `batch-max-*` pipeline parameters and define value ranges

-   Updated dependencies \[[`2c76887`](2c76887373), [`78bdec5`](78bdec59ce)]:
    -   miniflare@3.20241230.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://redirect.github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2025-01-11 02:56:37 +00:00
pengx17
7d2ee8d742 feat(electron): close inactive views when switching workspace (#9601)
fix AF-1355
2025-01-10 09:52:42 +00:00
fengmk2
93c585a0e2 test(server): should await throwsAsync assert (#9631) 2025-01-10 09:08:10 +00:00
fundon
9882af5d01 fix(core): dependency cycle (#9628) 2025-01-10 07:37:13 +00:00
akumatus
2f49c064eb feat(editor): remove chat-cards and Open AI Chat menu item (#9626)
Support issue [BS-2353](https://linear.app/affine-design/issue/BS-2353).

### What changed?
- Remove `Open AI Chat` menu item.
- Remove `chat-cards` web component.
- Add `extractAll` function for page and edgeless doc full content extract.
2025-01-10 03:53:11 +00:00
forehalo
1b6f0e78c4 chore(server): move server tests folder (#9614) 2025-01-10 02:38:10 +00:00
Saul-Mirone
126ab18967 feat(editor): selection as store extension (#9605) 2025-01-09 11:49:23 +00:00
akumatus
c2d8c23f13 fix(core): update chat session after session created or reused (#9613)
For an existing AI chat session, the prompt will not be updated when the front-end calls the `createChatSession` gql interface. Thus update it manually here.

In the future, the architecture needs to be adjusted to support multiple LLM model calls in one chat session.
2025-01-09 10:56:24 +00:00
pengx17
c0ed78dc66 fix(core): split view should only be dragged by the handle (#9610)
fix BS-2354
also fix AF-2096
2025-01-09 10:40:25 +00:00
darkskygit
755cebfb18 chore(server): not allow to update action's prompt (#9615) 2025-01-09 10:18:53 +00:00
Brooooooklyn
fed0156f22 style: add @typescript-eslint/return-await rule (#9612) 2025-01-09 09:28:59 +00:00
forehalo
6d29f80894 feat(server): user model (#9608) 2025-01-09 09:14:02 +00:00
pengx17
f78857bb11 feat(editor): add more open doc options to editor toolbar (#9588)
fix AF-2036, AF-2092
2025-01-09 08:04:21 +00:00
Saul-Mirone
422bac6cbe refactor(editor): remove readonly in awareness (#9597) 2025-01-09 05:15:35 +00:00
Saul-Mirone
d21ef47ae8 chore(editor): rename std.doc to std.store (#9596) 2025-01-09 04:16:28 +00:00
akumatus
58ce86533e feat(core): support ai network search (#9357)
### What Changed?
- Add `PerplexityProvider` in backend.
- Update session prompt name if user toggle network search mode in chat panel.
- Add experimental flag for AI network search feature.
- Add unit tests and e2e tests.

Search results are streamed and appear word for word:

<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/56f6ec7b-4b21-405f-9612-43e083f6fb84.mov">录屏2024-12-27 18.58.40.mov</video>

Click the little globe icon to manually turn on/off Internet search:
<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/778f1406-bf29-498e-a90d-7dad813392d1.mov">录屏2024-12-27 19.01.16.mov</video>

When there is an image, it will automatically switch to the openai model:

<div class='graphite__hidden'>
          <div>🎥 Video uploaded on Graphite:</div>
            <a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov">
              <img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov">
            </a>
          </div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/56431d8e-75e1-4d84-ab4a-b6636042cc6a.mov">录屏2024-12-27 19.02.13.mov</video>
2025-01-09 04:00:59 +00:00
Saul-Mirone
3683297ccf feat(editor): add feature flag service (#9592) 2025-01-08 15:46:31 +00:00
Brooooooklyn
fd26b72255 fix(server): disable winston in seflhost instance (#9585) 2025-01-08 14:47:42 +00:00
Saul-Mirone
5842d45ab1 feat(editor): merge store and blocks (#9591) 2025-01-08 13:01:19 +00:00
L-Sun
a0cba55a5b feat(mobile): mobile toc menu (#9582)
Close [BS-1787](https://linear.app/affine-design/issue/BS-1787/toc-移动端适配)
2025-01-08 08:03:11 +00:00
Saul-Mirone
fe727412be feat(editor): add editor store (#9584) 2025-01-08 07:47:43 +00:00
forehalo
0554df6bc2 fix(electron): filename escape (#9583) 2025-01-08 07:31:09 +00:00
pengx17
a4841bbfa3 feat(core): drop doc onto split view (#9487)
fix AF-2068, AF-2069, AF-1175, AF-2061, AF-2079, AF-2034, AF-2080, AF-1960, AF-2081

1. replace `dnd-kit` with `@atlaskit/pragmatic-drag-and-drop`
2. allow creating split views by drag & drop the following
   a. WorkbenchLinks (route links), like journals, trash, all docs
   b. doc refs
   c. tags/collection
3. style adjustments to split view
4. remove split view's feature flag and make it GA for electron

https://github.com/user-attachments/assets/6a3e4a25-faa2-4215-8eb0-983f44db6e8c
2025-01-08 05:05:33 +00:00
forehalo
c0ed74dfed chore: standardize tsconfig (#9568) 2025-01-08 04:07:56 +00:00
Brooooooklyn
482b534a90 chore(server): setup winston logger (#9561)
There is no impact on the existing logger, as the current logger is used with `new Logger(Context)` and does not utilize dependency injection. In the next phase, gradually replace and supplement the existing `Logger`.
2025-01-07 09:15:08 +00:00
Saul-Mirone
26fb9d148c chore: remove awareness sync since it's not used (#9563) 2025-01-07 06:12:08 +00:00
Saul-Mirone
0d2eb64817 chore: move page not found error out of constants (#9547) 2025-01-07 05:57:38 +00:00
L-Sun
ded17abf7e fix(editor): add childElementIds to ai generated frame (#9537)
Close [BS-1354](https://linear.app/affine-design/issue/BS-1354/更新-ai-slide-template-到新的-frame)

This PR add `childElementIds` to frame block in ai presentation templates
2025-01-07 04:19:09 +00:00
fundon
69e73af2a8 refactor(editor): add native clipboard extension (#9502)
Closes: [BS-2239](https://linear.app/affine-design/issue/BS-2239/不应该通过window注入affine的api)
2025-01-06 15:36:43 +00:00
Saul-Mirone
f778d1a28a refactor(editor): move extension to store (#9552) 2025-01-06 15:15:14 +00:00
EYHN
46c8c4a408 feat(nbstore): improve nbstore (#9512) 2025-01-06 09:38:04 +00:00
EYHN
a2563d2180 feat(i18n): add uk i18n (#9530) 2025-01-06 09:23:03 +00:00
EYHN
7514ccd452 feat(ios): add apis for native (#9536) 2025-01-06 08:20:31 +00:00
donteatfriedrice
09c7a597be fix(core): should focus when clicking sidebar button (#9339) 2025-01-06 04:09:01 +00:00
Saul-Mirone
fc863e484c refactor(editor): remove selection global types (#9532)
Closes: [BS-2217](https://linear.app/affine-design/issue/BS-2217/remove-global-types-in-selection)
2025-01-06 03:45:11 +00:00
EYHN
8669936f2f feat(i18n): i18n Localization and translations for Farsi (fa) 🇮🇷 (#9533)
Co-authored-by: Mahyar Riazati <mr.riazati1999@gmail.com>
2025-01-06 03:28:57 +00:00
CatsJuice
09937a8e4d chore: bump icons with new design source (#9529) 2025-01-06 03:10:03 +00:00
Saul-Mirone
3d168ba2d2 refactor(editor): reorg code structure of store package (#9525) 2025-01-05 12:49:02 +00:00