forehalo
da67c78152
feat(server): use job system ( #10218 )
2025-02-18 05:41:57 +00:00
forehalo
cb895d4cb0
feat(server): job system ( #10134 )
2025-02-18 05:41:57 +00:00
forehalo
31f8e92a4b
test(server): fix flaky cache tests ( #10238 )
2025-02-18 04:25:23 +00:00
forehalo
a303455ded
fix(server): default workspace avatar size ( #10229 )
2025-02-18 03:53:59 +00:00
fengmk2
bae1a7f2ac
fix(server): log error on gcloud ( #10235 )
2025-02-18 03:21:31 +00:00
fengmk2
57213781a8
refactor(server): dont convert graphql bad request into internal server error ( #10203 )
2025-02-17 06:17:00 +00:00
forehalo
3dde47dd08
fix(server): event handler bindings ( #10165 )
2025-02-14 11:29:03 +00:00
darkskygit
42e0563d2e
feat: filter out session create request for root doc ( #10187 )
2025-02-14 11:14:57 +00:00
darkskygit
981b4efecf
feat(server): worker improve ( #10176 )
...
fix AF-2225
2025-02-14 09:47:57 +00:00
akumatus
1bf1832211
refactor(core): get copilot sessions api ( #10168 )
...
Fix issue [BS-2575](https://linear.app/affine-design/issue/BS-2575 ).
### What Changed?
- Refactor `getCopilotSessions` api.
- Add `docId` parameter.
- Add `action` parameter.
2025-02-14 06:57:58 +00:00
forehalo
dcc9c9a7ec
fix(server): should fallback to doc role permission if not specified ( #10166 )
2025-02-14 03:00:56 +00:00
Brooooooklyn
96bde3ceaf
chore(server): enhance log context and messages ( #10151 )
2025-02-13 12:24:12 +00:00
akumatus
79d5f55471
feat(core): move context docs to user prompt ( #10162 )
...
Fix issue [BS-2522](https://linear.app/affine-design/issue/BS-2522 ).
### Why make this change?
If the user data contains illegal content, carrying the user data in the system prompt will run the risk of having the account banned.
### What Changed?
- Move the `Context Documents` to the user prompt.
- Add `withPrompt` in `QueryChatHistoriesInput` options.
- Get chat histories without prompt messages.
- Omit document context when saving messages to the `aiSessionMessage` db.
2025-02-13 12:08:13 +00:00
fengmk2
3ff721abe8
refactor(server): auto print full stack on logger.error ( #10161 )
2025-02-13 11:49:41 +00:00
darkskygit
899b1d60e0
feat: better error handle for sse endpoint ( #10155 )
...
fix CLOUD-123
2025-02-13 10:10:13 +00:00
forehalo
ab538ef9bb
fix(server): selfhost subscription customer portal creation ( #10149 )
2025-02-13 08:23:28 +00:00
forehalo
3f97203623
fix(server): wrong affine pro endpoint ( #10144 )
2025-02-13 07:41:08 +00:00
Brooooooklyn
01b9aa91b2
chore(server): migrate depracated opentelemetry usage ( #10140 )
2025-02-13 04:02:07 +00:00
fengmk2
0ce4cc8609
refactor(server): add debug info on global exception log ( #10118 )
...
before

after

2025-02-13 02:20:02 +00:00
forehalo
8129434a2e
fix(server): allow to checkout selfhost team in canary ( #10130 )
2025-02-12 12:19:28 +00:00
fengmk2
db8557eafb
fix(server): get doc diff from doc service ( #10067 )
...
close CLOUD-121
avoid sync server to merge doc updates
before

after

2025-02-12 10:20:23 +00:00
forehalo
72bf81245a
chore(server): set script flavor instead of NODE_ENV ( #10121 )
2025-02-12 08:49:51 +00:00
akumatus
58fed5928b
feat: add doc copilot context api ( #10103 )
...
### What Changed?
- Add graphql APIs.
- Provide context and session service in `AIProvider`.
- Rename the state from `embedding` to `processing`.
- Reafctor front-end session create, update and save logic.
Persist the document selected by the user:
[录屏2025-02-08 11.04.40.mov <span class="graphite__hidden">(uploaded via Graphite)</span> <img class="graphite__hidden" src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/195a85f2-43c4-4e49-88d9-6b5fc4f235ca.mov " />](https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/195a85f2-43c4-4e49-88d9-6b5fc4f235ca.mov )
2025-02-12 08:33:07 +00:00
forehalo
53fdb1e8a5
refactor(server): workspace doc query ( #10042 )
2025-02-12 08:13:07 +00:00
akumatus
573af16aa4
feat(core): upgrade pplx models ( #10115 )
...
Old models will be deprecated and will no longer be available to use after 2/22/2025.
https://docs.perplexity.ai/guides/model-cards
2025-02-12 07:21:10 +00:00
fengmk2
d970bd041c
test(server): avoid db deadlock on unittest ( #10104 )
...
https://github.com/toeverything/AFFiNE/runs/37010719190

2025-02-12 03:48:21 +00:00
DarkSky
88a3a2d13b
feat(server): self-hosted worker ( #10085 )
2025-02-12 08:01:57 +08:00
darkskygit
a725df6ebe
feat(server): basic context api ( #10056 )
...
fix CLOUD-97
fix CLOUD-98
2025-02-11 10:45:01 +00:00
fengmk2
7840e0f900
fix(server): don't set the wrong context on logger ( #10088 )
...

2025-02-11 10:12:56 +00:00
renovate
64bb6c5a71
chore: bump up all non-major dependencies ( #10066 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| [@capgo/inappbrowser](https://redirect.github.com/Cap-go/capacitor-inappbrowser ) | [`7.2.15` -> `7.2.16`](https://renovatebot.com/diffs/npm/@capgo%2finappbrowser/7.2.15/7.2.16 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [@react-email/components](https://redirect.github.com/resend/react-email ) ([source](https://redirect.github.com/resend/react-email/tree/HEAD/packages/components )) | [`0.0.32` -> `0.0.33`](https://renovatebot.com/diffs/npm/@react-email%2fcomponents/0.0.32/0.0.33 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [@tailwindcss/postcss](https://tailwindcss.com ) ([source](https://redirect.github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss )) | [`4.0.5` -> `4.0.6`](https://renovatebot.com/diffs/npm/@tailwindcss%2fpostcss/4.0.5/4.0.6 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [@toeverything/theme](https://redirect.github.com/toeverything/design ) | [`1.1.8` -> `1.1.9`](https://renovatebot.com/diffs/npm/@toeverything%2ftheme/1.1.8/1.1.9 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [cloudflare/wrangler-action](https://redirect.github.com/cloudflare/wrangler-action ) | `v3.13.1` -> `v3.14.0` | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | action | minor |
| [happy-dom](https://redirect.github.com/capricorn86/happy-dom ) | [`17.0.2` -> `17.0.3`](https://renovatebot.com/diffs/npm/happy-dom/17.0.2/17.0.3 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | devDependencies | patch |
| [jotai](https://redirect.github.com/pmndrs/jotai ) | [`2.11.3` -> `2.12.0`](https://renovatebot.com/diffs/npm/jotai/2.11.3/2.12.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | minor |
| [lucide-react](https://lucide.dev ) ([source](https://redirect.github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react )) | [`^0.474.0` -> `^0.475.0`](https://renovatebot.com/diffs/npm/lucide-react/0.474.0/0.475.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | minor |
| [mdast-util-gfm-footnote](https://redirect.github.com/syntax-tree/mdast-util-gfm-footnote ) | [`2.0.0` -> `2.1.0`](https://renovatebot.com/diffs/npm/mdast-util-gfm-footnote/2.0.0/2.1.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | minor |
| [nestjs-cls](https://papooch.github.io/nestjs-cls/ ) ([source](https://redirect.github.com/Papooch/nestjs-cls )) | [`5.1.2` -> `5.2.0`](https://renovatebot.com/diffs/npm/nestjs-cls/5.1.2/5.2.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | minor |
| [once_cell](https://redirect.github.com/matklad/once_cell ) | `1.20.2` -> `1.20.3` | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | workspace.dependencies | patch |
| [postcss](https://postcss.org/ ) ([source](https://redirect.github.com/postcss/postcss )) | [`8.5.1` -> `8.5.2`](https://renovatebot.com/diffs/npm/postcss/8.5.1/8.5.2 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [react-email](https://redirect.github.com/resend/react-email ) ([source](https://redirect.github.com/resend/react-email/tree/HEAD/packages/react-email )) | [`3.0.6` -> `3.0.7`](https://renovatebot.com/diffs/npm/react-email/3.0.6/3.0.7 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | devDependencies | patch |
| [tailwindcss](https://tailwindcss.com ) ([source](https://redirect.github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss )) | [`4.0.5` -> `4.0.6`](https://renovatebot.com/diffs/npm/tailwindcss/4.0.5/4.0.6 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | dependencies | patch |
| [tailwindcss](https://tailwindcss.com ) ([source](https://redirect.github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss )) | [`4.0.5` -> `4.0.6`](https://renovatebot.com/diffs/npm/tailwindcss/4.0.5/4.0.6 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | devDependencies | patch |
| [typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint ) ([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint )) | [`8.23.0` -> `8.24.0`](https://renovatebot.com/diffs/npm/typescript-eslint/8.23.0/8.24.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | devDependencies | minor |
| [uniffi](https://mozilla.github.io/uniffi-rs ) ([source](https://redirect.github.com/mozilla/uniffi-rs )) | `0.28` -> `0.29` | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | workspace.dependencies | minor |
---
### Release Notes
<details>
<summary>Cap-go/capacitor-inappbrowser (@​capgo/inappbrowser)</summary>
### [`v7.2.16`](https://redirect.github.com/Cap-go/capacitor-inappbrowser/blob/HEAD/CHANGELOG.md#7216-2025-02-10 )
[Compare Source](https://redirect.github.com/Cap-go/capacitor-inappbrowser/compare/7.2.15...7.2.16 )
</details>
<details>
<summary>resend/react-email (@​react-email/components)</summary>
### [`v0.0.33`](https://redirect.github.com/resend/react-email/blob/HEAD/packages/components/CHANGELOG.md#0033 )
[Compare Source](https://redirect.github.com/resend/react-email/compare/@react-email/components@0.0.32...@react-email/components@0.0.33 )
##### Patch Changes
- Updated dependencies \[[`caa49b3`](https://redirect.github.com/resend/react-email/commit/caa49b3 )]
- Updated dependencies \[[`337ac4e`](https://redirect.github.com/resend/react-email/commit/337ac4e )]
- Updated dependencies \[[`b44c937`](https://redirect.github.com/resend/react-email/commit/b44c937 )]
- [@​react-email/render](https://redirect.github.com/react-email/render )[@​1](https://redirect.github.com/1 ).0.5
- [@​react-email/body](https://redirect.github.com/react-email/body )[@​0](https://redirect.github.com/0 ).0.11
- [@​react-email/button](https://redirect.github.com/react-email/button )[@​0](https://redirect.github.com/0 ).0.19
- [@​react-email/code-block](https://redirect.github.com/react-email/code-block )[@​0](https://redirect.github.com/0 ).0.11
- [@​react-email/code-inline](https://redirect.github.com/react-email/code-inline )[@​0](https://redirect.github.com/0 ).0.5
- [@​react-email/column](https://redirect.github.com/react-email/column )[@​0](https://redirect.github.com/0 ).0.13
- [@​react-email/container](https://redirect.github.com/react-email/container )[@​0](https://redirect.github.com/0 ).0.15
- [@​react-email/font](https://redirect.github.com/react-email/font )[@​0](https://redirect.github.com/0 ).0.9
- [@​react-email/head](https://redirect.github.com/react-email/head )[@​0](https://redirect.github.com/0 ).0.12
- [@​react-email/heading](https://redirect.github.com/react-email/heading )[@​0](https://redirect.github.com/0 ).0.15
- [@​react-email/hr](https://redirect.github.com/react-email/hr )[@​0](https://redirect.github.com/0 ).0.11
- [@​react-email/html](https://redirect.github.com/react-email/html )[@​0](https://redirect.github.com/0 ).0.11
- [@​react-email/img](https://redirect.github.com/react-email/img )[@​0](https://redirect.github.com/0 ).0.11
- [@​react-email/link](https://redirect.github.com/react-email/link )[@​0](https://redirect.github.com/0 ).0.12
- [@​react-email/markdown](https://redirect.github.com/react-email/markdown )[@​0](https://redirect.github.com/0 ).0.14
- [@​react-email/preview](https://redirect.github.com/react-email/preview )[@​0](https://redirect.github.com/0 ).0.12
- [@​react-email/row](https://redirect.github.com/react-email/row )[@​0](https://redirect.github.com/0 ).0.12
- [@​react-email/section](https://redirect.github.com/react-email/section )[@​0](https://redirect.github.com/0 ).0.16
- [@​react-email/tailwind](https://redirect.github.com/react-email/tailwind )[@​1](https://redirect.github.com/1 ).0.4
- [@​react-email/text](https://redirect.github.com/react-email/text )[@​0](https://redirect.github.com/0 ).0.11
</details>
<details>
<summary>tailwindlabs/tailwindcss (@​tailwindcss/postcss)</summary>
### [`v4.0.6`](https://redirect.github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#406---2025-02-10 )
[Compare Source](https://redirect.github.com/tailwindlabs/tailwindcss/compare/v4.0.5...v4.0.6 )
##### Fixed
- Revert change to no longer include theme variables that aren't used in compiled CSS ([#​16403](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16403 ))
</details>
<details>
<summary>toeverything/design (@​toeverything/theme)</summary>
### [`v1.1.9`](https://redirect.github.com/toeverything/design/compare/1.1.8...1.1.9 )
[Compare Source](https://redirect.github.com/toeverything/design/compare/1.1.8...1.1.9 )
</details>
<details>
<summary>cloudflare/wrangler-action (cloudflare/wrangler-action)</summary>
### [`v3.14.0`](https://redirect.github.com/cloudflare/wrangler-action/releases/tag/v3.14.0 )
[Compare Source](https://redirect.github.com/cloudflare/wrangler-action/compare/v3.13.1...v3.14.0 )
##### Minor Changes
- [#​351](https://redirect.github.com/cloudflare/wrangler-action/pull/351 ) [`4ff07f4`](4ff07f4310 ) Thanks [@​Maximo-Guk](https://redirect.github.com/Maximo-Guk )! - Use wrangler outputs for version upload and wrangler deploy
##### Patch Changes
- [#​350](https://redirect.github.com/cloudflare/wrangler-action/pull/350 ) [`e209094`](e209094e62 ) Thanks [@​Maximo-Guk](https://redirect.github.com/Maximo-Guk )! - Handle failures in createGitHubDeployment and createGitHubJobSummary
</details>
<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>
### [`v17.0.3`](https://redirect.github.com/capricorn86/happy-dom/releases/tag/v17.0.3 )
[Compare Source](https://redirect.github.com/capricorn86/happy-dom/compare/v17.0.2...v17.0.3 )
##### 👷♂️ Patch fixes
- Fix bug where nested query selector is not returning the correct result when there are multiple matching selectorGroups - By **[@​betterqualityassuranceuser](https://redirect.github.com/betterqualityassuranceuser )** in task 1720
</details>
<details>
<summary>pmndrs/jotai (jotai)</summary>
### [`v2.12.0`](https://redirect.github.com/pmndrs/jotai/compare/v2.11.3...v2.12.0 )
[Compare Source](https://redirect.github.com/pmndrs/jotai/compare/v2.11.3...v2.12.0 )
</details>
<details>
<summary>lucide-icons/lucide (lucide-react)</summary>
### [`v0.475.0`](https://redirect.github.com/lucide-icons/lucide/releases/tag/0.475.0 ): New icons 0.475.0
[Compare Source](https://redirect.github.com/lucide-icons/lucide/compare/0.474.0...0.475.0 )
#### New icons 🎨
- `circle-small` ([#​2607](https://redirect.github.com/lucide-icons/lucide/issues/2607 )) by [@​jamiemlaw](https://redirect.github.com/jamiemlaw )
- `mars-stroke` ([#​2607](https://redirect.github.com/lucide-icons/lucide/issues/2607 )) by [@​jamiemlaw](https://redirect.github.com/jamiemlaw )
- `mars` ([#​2607](https://redirect.github.com/lucide-icons/lucide/issues/2607 )) by [@​jamiemlaw](https://redirect.github.com/jamiemlaw )
- `non-binary` ([#​2607](https://redirect.github.com/lucide-icons/lucide/issues/2607 )) by [@​jamiemlaw](https://redirect.github.com/jamiemlaw )
- `transgender` ([#​2607](https://redirect.github.com/lucide-icons/lucide/issues/2607 )) by [@​jamiemlaw](https://redirect.github.com/jamiemlaw )
- `venus-and-mars` ([#​2607](https://redirect.github.com/lucide-icons/lucide/issues/2607 )) by [@​jamiemlaw](https://redirect.github.com/jamiemlaw )
- `venus` ([#​2607](https://redirect.github.com/lucide-icons/lucide/issues/2607 )) by [@​jamiemlaw](https://redirect.github.com/jamiemlaw )
</details>
<details>
<summary>syntax-tree/mdast-util-gfm-footnote (mdast-util-gfm-footnote)</summary>
### [`v2.1.0`](https://redirect.github.com/syntax-tree/mdast-util-gfm-footnote/releases/tag/2.1.0 )
[Compare Source](https://redirect.github.com/syntax-tree/mdast-util-gfm-footnote/compare/2.0.0...2.1.0 )
##### Add
- [`8499c82`](https://redirect.github.com/syntax-tree/mdast-util-gfm-footnote/commit/8499c82 ) Add `firstLineBlank` option
##### Types
- [`93e4e11`](https://redirect.github.com/syntax-tree/mdast-util-gfm-footnote/commit/93e4e11 ) Refactor to use `@import`s
- [`1dc664d`](https://redirect.github.com/syntax-tree/mdast-util-gfm-footnote/commit/1dc664d ) Add declaration maps
**Full Changelog**: https://github.com/syntax-tree/mdast-util-gfm-footnote/compare/2.0.0...2.1.0
</details>
<details>
<summary>Papooch/nestjs-cls (nestjs-cls)</summary>
### [`v5.2.0`](https://redirect.github.com/Papooch/nestjs-cls/releases/tag/nestjs-cls%405.2.0 )
[Compare Source](https://redirect.github.com/Papooch/nestjs-cls/compare/nestjs-cls@5.1.2...nestjs-cls@5.2.0 )
Adds backward compatibility for NestJS 10
##### Dependencies
- allow nestjs 10 as peer dependency ([b7057cb](https://redirect.github.com/Papooch/nestjs-cls/commits/b7057cb ))
##### Features
- **core**: automatically detect fastify and express versions ([45a1be3](https://redirect.github.com/Papooch/nestjs-cls/commits/45a1be3 ))
</details>
<details>
<summary>matklad/once_cell (once_cell)</summary>
### [`v1.20.3`](https://redirect.github.com/matklad/once_cell/compare/v1.20.2...v1.20.3 )
[Compare Source](https://redirect.github.com/matklad/once_cell/compare/v1.20.2...v1.20.3 )
</details>
<details>
<summary>postcss/postcss (postcss)</summary>
### [`v8.5.2`](https://redirect.github.com/postcss/postcss/blob/HEAD/CHANGELOG.md#852 )
[Compare Source](https://redirect.github.com/postcss/postcss/compare/8.5.1...8.5.2 )
- Fixed end position of rules with semicolon (by [@​romainmenke](https://redirect.github.com/romainmenke )).
</details>
<details>
<summary>resend/react-email (react-email)</summary>
### [`v3.0.7`](https://redirect.github.com/resend/react-email/blob/HEAD/packages/react-email/CHANGELOG.md#307 )
[Compare Source](https://redirect.github.com/resend/react-email/compare/react-email@3.0.6...react-email@3.0.7 )
##### Patch Changes
- [`c61760e`](https://redirect.github.com/resend/react-email/commit/c61760e ): use the `punycode` package for the static modules
- [`382c305`](https://redirect.github.com/resend/react-email/commit/382c305 ): Fixes active state for root email templats on file tree
- [`519f0c6`](https://redirect.github.com/resend/react-email/commit/519f0c6 ): Respect user's NODE_ENV when previewing templates
- [`e149816`](https://redirect.github.com/resend/react-email/commit/e149816 ): Upgrade socket.io to 4.8.1
</details>
<details>
<summary>typescript-eslint/typescript-eslint (typescript-eslint)</summary>
### [`v8.24.0`](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-eslint/CHANGELOG.md#8240-2025-02-10 )
[Compare Source](https://redirect.github.com/typescript-eslint/typescript-eslint/compare/v8.23.0...v8.24.0 )
This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning ) and [releases](https://main--typescript-eslint.netlify.app/users/releases ) on our website.
</details>
<details>
<summary>mozilla/uniffi-rs (uniffi)</summary>
### [`v0.29.0`](https://redirect.github.com/mozilla/uniffi-rs/blob/HEAD/CHANGELOG.md#v0290-backend-crates-v0290---2025-02-06 )
[Compare Source](https://redirect.github.com/mozilla/uniffi-rs/compare/v0.28.3...v0.29.0 )
##### ⚠️ Breaking Changes ⚠️
We've made a number of breaking changes to fix long standing paper-cuts with UniFFI in multi-crate and procmacro+udl environments.
[See the detailed upgrade notes](https://mozilla.github.io/uniffi-rs/next/Upgrading.html )
While **no changes are required to foreign code**, we apologize for the inconvenience!
You are impacted if you use `UniffiCustomTypeConverter` to implement "Custom types",
or use UDL with types from more than one crate.
- `UniffiCustomTypeConverter` has been removed, you must now use the
[`custom_type!` macro](https://mozilla.github.io/uniffi-rs/next/types/custom_types.html ) instead.
- The [UDL syntax for external types](https://mozilla.github.io/uniffi-rs/next/udl/external_types.html ) has changed.
`typedef extern MyEnum;` has been replaced
with `typedef enum MyEnum;`. `[Custom]` and `[External]` are the only supported attributes for a `typedef`.
- "remote" types (where UDL can re-export a type defined in
a non-UniFFI crate - eg, `log::Level`) must now use a
[`[Remote]` attribute](https://mozilla.github.io/uniffi-rs/next/types/remote_ext_types.html ).
- Various `use_udl_*`/`use_remote_type` etc macros have been removed.
[Detailed upgrade notes](https://mozilla.github.io/uniffi-rs/next/Upgrading.html )
- `uniffi::generate_component_scaffolding` has been removed. It's almost certainly unused as it is
behind the wrong feature and undocumented. `uniffi::generate_scaffolding` does exacly the same thing and is
correctly behind the `build` feature.
##### What's new?
- Kotlin and Swift follow Python: Proc-macros exporting an `impl Trait for Struct` block now has a class inheritance
hierarcy to reflect that.
[#​2297](https://redirect.github.com/mozilla/uniffi-rs/pull/2297 ), [#​2363](https://redirect.github.com/mozilla/uniffi-rs/pull/2363 )
- External types work much better, particularly between UDL and proc-macros. (Kotlin external errors do not work - [#​2392](https://redirect.github.com/mozilla/uniffi-rs/issues/2392 )).
- Swift interfaces are marked as `Sendable` ([#​2318](https://redirect.github.com/mozilla/uniffi-rs/pull/2318 ))
- Removed the `log` dependency and logging statements about FFI calls. These were not really useful
to consumers and could have high overhead when lots of FFI calls are made. Instead, the
`ffi-trace` feature can be used to get tracing-style printouts about the FFI.
- External errors work for Swift and Python. Kotlin does not work - see [#​2392](https://redirect.github.com/mozilla/uniffi-rs/issues/2392 ).
- Added `disable_java_cleaner` option for kotlin to allow for Java 8 compatible code
- Proc-macros now allow Enums to hold objects ([#​1372](https://redirect.github.com/mozilla/uniffi-rs/issues/1372 ))
- Swift and Kotlin make it possible to opt-out of the runtime checksum integrity tests done as the library is initialized.
Opting out will shoot yourself in the foot if you mixup your build pipeline in any way, but might speed the initialization.
(Python apparently hasn't made these checks for some time, so no changes there!)
##### What's changed?
- Switching jinja template engine from askama to rinja.
- For `wasm32` build targets, `Future`s do not have to be `Send` ([#​2418](https://redirect.github.com/mozilla/uniffi-rs/pull/2418 )),
making them compatible with `wasm-bindgen` `Future`s.
##### ⚠️ Breaking Changes for external bindings authors ⚠️
- Added the `FfiType::MutReference` variant.
- `Callable` trait has changed, `return_type` and `throws_type` are now references.
- `Type::External` has been removed. Binding authors must now check the type is local themselves before
deciding to treat it as a local or external type.
To get a feel for the impact on the bindings, see where we [first did this for custom types](c5a437e9f3 ),
and where we [then stopped using it entirely](df514fd1cc )
[All changes in v0.29.0](https://redirect.github.com/mozilla/uniffi-rs/compare/v0.28.3...v0.29.0 ).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-02-11 07:59:25 +00:00
fengmk2
5a63bc0e53
feat(server): wrong context setting on doc publish ( #10080 )
...
context should be `WorkspaceDocResolver`

2025-02-11 06:16:51 +00:00
fengmk2
c8c7b7b65c
feat(server): use x-cloud-trace-context instead of x-rpc-trace-id ( #10068 )
...
x-cloud-trace-context will be overwritten by lb,
and cannot be fake from internet access request

2025-02-11 03:50:23 +00:00
fengmk2
7214ef9fbc
fix(server): only handle doc.snapshot.updated event on renderer ( #10062 )
...
before

after

2025-02-11 00:18:08 +00:00
fengmk2
67b6c28d67
refactor(server): use user model on oauth plugin ( #10031 )
...
close CLOUD-117
2025-02-10 20:26:34 +08:00
fengmk2
0757f29f83
refactor(server): use doc model on doc cron job ( #10057 )
2025-02-10 09:52:44 +00:00
forehalo
c3f5b4abb4
test(server): utils ( #10028 )
2025-02-10 06:35:11 +00:00
EYHN
92f4f0c2d9
feat(core): guard service ( #9816 )
2025-02-09 23:26:38 +00:00
fengmk2
09b5eb60eb
refactor(server): handle ConnectedAccount on user model ( #10030 )
2025-02-09 08:31:02 +00:00
fengmk2
e5d1cd9ea2
feat(server): use doc service ( #9967 )
...
close CLOUD-94
2025-02-08 05:27:56 +00:00
fengmk2
5d62c5e85c
feat(server): implement doc service ( #9961 )
...
close CLOUD-94
2025-02-08 03:37:41 +00:00
fengmk2
36ed81bcc6
refactor(server): use doc model on PgWorkspaceDocStorageAdapter ( #9852 )
...
close CLOUD-104
2025-02-07 12:21:58 +00:00
forehalo
0b9d30b55a
refactor: rename all page query to doc ( #10019 )
2025-02-07 11:40:59 +00:00
Brooooooklyn
4e00ddd5f1
feat(server): graceful shutdown for AI streams ( #10025 )
...
https://github.com/user-attachments/assets/8dd3c4f5-4059-4f03-9f51-68078d7ab5c4
2025-02-07 11:25:02 +00:00
Brooooooklyn
2ed54ad421
test(server): grant doc user roles ( #10016 )
2025-02-07 08:54:27 +00:00
Brooooooklyn
9262cb120c
test(server): update page default role with non-exists workspace ( #10012 )
2025-02-07 08:27:58 +00:00
forehalo
4b1c931503
fix(server): default page owner ( #10015 )
2025-02-07 07:31:56 +00:00
forehalo
12cc94f32a
fix(server): batch grant page roles ( #10007 )
2025-02-07 05:55:07 +00:00
liuyi
00b1f01f9b
feat(server): add public user type ( #10006 )
2025-02-07 04:03:59 +00:00
JimmFly
e68bdbde3e
feat(core): add self host team plan ( #9569 )
2025-02-07 03:35:24 +00:00
Brooooooklyn
5710e8c639
fix(server): generate migration for workspace pages default role ( #10002 )
2025-02-07 03:16:54 +00:00