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 |
|
forehalo
|
c673088cc6
|
feat(nbstore): use polling as ios websocket transport (#10001)
|
2025-02-07 02:44:52 +00:00 |
|
fengmk2
|
1e83a056fc
|
feat(server): add request id on cluster event (#9998)
|
2025-02-07 02:06:53 +00:00 |
|
Brooooooklyn
|
41107eafae
|
feat(server): allow to set default role in page (#9963)
|
2025-02-06 17:18:50 +00:00 |
|
forehalo
|
7c7febd495
|
refactor(server): remove never used column in page permission (#9985)
|
2025-02-06 10:52:05 +00:00 |
|
forehalo
|
e9afbbcdc5
|
fix(server): cannot revalidate licenses (#9982)
|
2025-02-06 09:48:02 +00:00 |
|
forehalo
|
d873a78534
|
feat(server): align pro plan for free in selfhost (#9973)
close AF-2099
|
2025-02-06 05:25:06 +00:00 |
|
forehalo
|
d3843d8f11
|
refactor(server): role actions definition (#9962)
|
2025-02-06 04:54:34 +00:00 |
|
fengmk2
|
a2acacea3b
|
refactor(server): use userDoc model on PgUserspaceDocStorageAdapter (#9845)
close CLOUD-104
|
2025-02-06 11:08:06 +08:00 |
|
fengmk2
|
8e7cfb6115
|
feat(server): userDoc model (#9835)
close CLOUD-104
|
2025-02-06 11:08:06 +08:00 |
|
fengmk2
|
b40f007ccf
|
feat(server): doc model (#9834)
close CLOUD-104
|
2025-02-06 02:50:27 +00:00 |
|
Brooooooklyn
|
db1fcf42c9
|
chore(server): stdout is enough for collecting server logging (#9964)
`@google-cloud/logging-winston` is not working well :(

|
2025-02-05 13:25:11 +00:00 |
|
forehalo
|
4ed03c9f0e
|
feat(i18n): introduce server error i18n (#9953)
close AF-2054
|
2025-02-05 12:30:19 +00:00 |
|
forehalo
|
7826e2b7c8
|
refactor(server): use feature model (#9932)
|
2025-02-05 10:27:26 +00:00 |
|
forehalo
|
0ff8d3af6f
|
feat(server): auto create page owner role (#9944)
|
2025-02-05 10:09:57 +00:00 |
|
Brooooooklyn
|
abeff8bb1a
|
feat(server): doc level permission (#9760)
close CLOUD-89 CLOUD-90 CLOUD-91 CLOUD-92
|
2025-02-05 07:06:57 +00:00 |
|
liuyi
|
a95803d33b
|
fix(server): selfhost should not use canary mobile pages (#9929)
|
2025-02-02 10:00:51 +00:00 |
|
liuyi
|
2084b86797
|
chore(server): remove old subscription table usage (#9928)
|
2025-02-02 17:48:54 +08:00 |
|
forehalo
|
d03447f52e
|
fix(server): should redeem onetime invoice only once (#9927)
fix CLOUD-115
|
2025-02-02 09:18:06 +00:00 |
|
forehalo
|
6370f45928
|
feat(server): cluster level event system (#9884)
|
2025-01-25 14:51:03 +00:00 |
|
akumatus
|
95cf2e047f
|
feat(core): cite source documents in the AI answer (#9863)
Support issue [BS-2424](https://linear.app/affine-design/issue/BS-2424).
### What changed?
- Add relevant document prompt templates.
- Add citation rules in system prompts.
- Change message `params` type to `Record<string, any>`
- Add unit test.
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/sJGviKxfE3Ap685cl5bj/ec24e664-039e-4fab-bd26-b3312f011daf.mov">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/sJGviKxfE3Ap685cl5bj/ec24e664-039e-4fab-bd26-b3312f011daf.mov">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/sJGviKxfE3Ap685cl5bj/ec24e664-039e-4fab-bd26-b3312f011daf.mov">录屏2025-01-23 10.40.38.mov</video>
|
2025-01-24 04:04:01 +00:00 |
|
forehalo
|
85434fe309
|
feat(server): search user in workspace (#9870)
|
2025-01-23 08:09:17 +00:00 |
|
fengmk2
|
2088b760bf
|
refactor(server): rename tx to db (#9867)
|
2025-01-23 07:52:45 +00:00 |
|
fengmk2
|
8021b89944
|
fix(server): use ClsInterceptor on websocket (#9859)
https://papooch.github.io/nestjs-cls/considerations/compatibility#websockets
|
2025-01-23 06:54:23 +00:00 |
|
fengmk2
|
d52d03e1cd
|
refactor(server): print magic link on local dev env (#9864)
|
2025-01-23 03:39:32 +00:00 |
|
akumatus
|
862a9d0bc4
|
feat: use footnote for perplexity search results (#9851)
Support issue [BS-2475](https://linear.app/affine-design/issue/BS-2475).

|
2025-01-22 10:54:01 +00:00 |
|
forehalo
|
f8a515e89a
|
feat(server): user feature model (#9843)
close CLOUD-108
|
2025-01-22 10:38:04 +00:00 |
|