Brooooooklyn
03b806384c
ci: fix doc deployment container port ( #10048 )
2025-02-10 07:06:10 +00:00
forehalo
c3f5b4abb4
test(server): utils ( #10028 )
2025-02-10 06:35:11 +00:00
Flrande
8f6b512cfd
feat(editor): update edgeless media entry icon and anime ( #10047 )
2025-02-10 05:59:07 +00:00
doodlewind
614ae024c2
fix(editor): workaround empty content in worker renderer ( #10043 )
2025-02-10 03:35:50 +00:00
EYHN
92f4f0c2d9
feat(core): guard service ( #9816 )
2025-02-09 23:26:38 +00:00
EYHN
879157b938
fix(core): hide export tab on mobile ( #10038 )
2025-02-09 20:36:25 +08:00
fengmk2
09b5eb60eb
refactor(server): handle ConnectedAccount on user model ( #10030 )
2025-02-09 08:31:02 +00:00
Brooooooklyn
18513c6e55
chore: make DOC_SERVICE_ENDPOINT dynamic computed ( #10029 )
2025-02-08 05:27:57 +00:00
fengmk2
e5d1cd9ea2
feat(server): use doc service ( #9967 )
...
close CLOUD-94
2025-02-08 05:27:56 +00:00
zzj3720
ee0df52531
feat(editor): table block supports copy and paste in HTML format ( #10020 )
...
close: BS-2483
2025-02-08 04:40:12 +00:00
fengmk2
5d62c5e85c
feat(server): implement doc service ( #9961 )
...
close CLOUD-94
2025-02-08 03:37:41 +00:00
JimmFly
5ae5fd88f1
feat(core): add doc grant feature to share menu ( #9672 )
2025-02-07 13:05:58 +00:00
L-Sun
459972fe6c
fix(editor): add missing zod schema for edgeless frame ( #10024 )
...
Related to https://github.com/toeverything/AFFiNE/pull/9970#discussion_r1944971309
### What changes:
- Add missing zod shcema for edgeless basic props
- Change `applyLastProps` to generic function for better return type inference of
- Fix: add `ZodIntersection` case to `makeDeepOptional`
2025-02-07 12:49:59 +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
donteatfriedrice
0df94b8e35
fix(core): typo ( #10022 )
...
[BS-2532](https://linear.app/affine-design/issue/BS-2532/typo-tidy-a-article-with-ai-mindmap-action-tidy-an-article-with-xxxxx )
2025-02-07 11:09:00 +00:00
Brooooooklyn
1fda17af64
chore: remove depracated package ( #10018 )
2025-02-07 10:38:58 +00:00
donteatfriedrice
b38389c670
feat(core): add tooltip for import dialog snapshot item ( #10013 )
...
[PD-2132](https://linear.app/affine-design/issue/PD-2132/import-导入优化:snapshot-需要一个问号,解释文档 )
2025-02-07 10:23:59 +00:00
JimmFly
d5a626d9c3
feat(core): optimize team workspace member management ( #9737 )
...
close AF-2106 AF-2077 AF-2089
feat(core): handle need more seat status
feat(core): prevent invite members when team plan is canceled
2025-02-07 10:08:00 +00:00
CatsJuice
85d916f1eb
feat(mobile): create from template on mobile ( #9968 )
2025-02-07 09:52:59 +00:00
CatsJuice
527878a55c
chore(core): allow to rename and add multiple template property ( #9972 )
2025-02-07 09:36:58 +00:00
CatsJuice
b4f078b9c9
feat(core): add deleted state for sidebar journal template ( #9980 )
2025-02-07 09:09:58 +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
CatsJuice
f13aac7331
chore(core): adjust starter-bar badge size ( #9976 )
2025-02-07 08:01:58 +00:00
forehalo
4b1c931503
fix(server): default page owner ( #10015 )
2025-02-07 07:31:56 +00:00
pengx17
9fd547d484
chore(core): upload flaky test traces ( #9974 )
2025-02-07 15:15:45 +08:00
Yifeng Wang
fc4fe481ef
refactor(editor): improve worker renderer code structure ( #10011 )
2025-02-07 14:59:08 +08:00
Flrande
7eb1ed170c
feat(editor): add edgeless media entry ( #9949 )
2025-02-07 06:10:11 +00:00
forehalo
12cc94f32a
fix(server): batch grant page roles ( #10007 )
2025-02-07 05:55:07 +00:00
Yifeng Wang
b9ad53ae68
feat(editor): support reusing bitmap cache when panning ( #10008 )
2025-02-07 04:59:43 +00:00
pengx17
3f0a9f4433
feat(core): index table block types ( #9989 )
...

fix BS-2520
2025-02-07 04:04:27 +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
renovate
d45d6d8a61
chore: bump up all non-major dependencies ( #9996 )
...
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.741.0` -> `3.743.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.741.0/3.743.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 |
| [@opentelemetry/semantic-conventions](https://redirect.github.com/open-telemetry/opentelemetry-js/tree/main/semantic-conventions ) ([source](https://redirect.github.com/open-telemetry/opentelemetry-js )) | [`1.28.0` -> `1.29.0`](https://renovatebot.com/diffs/npm/@opentelemetry%2fsemantic-conventions/1.28.0/1.29.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 |
| [@tailwindcss/postcss](https://tailwindcss.com ) ([source](https://redirect.github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss )) | [`4.0.3` -> `4.0.4`](https://renovatebot.com/diffs/npm/@tailwindcss%2fpostcss/4.0.3/4.0.4 ) | [](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 |
| [electron](https://redirect.github.com/electron/electron ) | [`34.1.0` -> `34.1.1`](https://renovatebot.com/diffs/npm/electron/34.1.0/34.1.1 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | devDependencies | patch |
| [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 |
| [shiki](https://redirect.github.com/shikijs/shiki ) ([source](https://redirect.github.com/shikijs/shiki/tree/HEAD/packages/shiki )) | [`2.3.1` -> `2.3.2`](https://renovatebot.com/diffs/npm/shiki/2.3.1/2.3.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 |
| [tailwindcss](https://tailwindcss.com ) ([source](https://redirect.github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss )) | [`4.0.3` -> `4.0.4`](https://renovatebot.com/diffs/npm/tailwindcss/4.0.3/4.0.4 ) | [](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.3` -> `4.0.4`](https://renovatebot.com/diffs/npm/tailwindcss/4.0.3/4.0.4 ) | [](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 |
| [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>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary>
### [`v3.743.0`](https://redirect.github.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#37430-2025-02-06 )
[Compare Source](https://redirect.github.com/aws/aws-sdk-js-v3/compare/v3.741.0...v3.743.0 )
##### Features
- **client-s3:** Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets. ([794f4b5](794f4b5cd8 ))
</details>
<details>
<summary>open-telemetry/opentelemetry-js (@​opentelemetry/semantic-conventions)</summary>
### [`v1.29.0`](https://redirect.github.com/open-telemetry/opentelemetry-js/blob/HEAD/CHANGELOG.md#1290 )
[Compare Source](https://redirect.github.com/open-telemetry/opentelemetry-js/compare/v1.28.0...v1.29.0 )
##### 💥 Breaking Change
- feat(sdk-metrics): Add support for aggregation cardinality limit with a default limit of 2000. This limit can be customized via views [#​5182](https://redirect.github.com/open-telemetry/opentelemetry-js/pull/5128 )
</details>
<details>
<summary>tailwindlabs/tailwindcss (@​tailwindcss/postcss)</summary>
### [`v4.0.4`](https://redirect.github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#404---2025-02-06 )
[Compare Source](https://redirect.github.com/tailwindlabs/tailwindcss/compare/v4.0.3...v4.0.4 )
##### Fixed
- Fix a crash when setting JS theme values to `null` ([#​16210](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16210 ))
- Ensure escaped underscores in CSS variables in arbitrary values are properly unescaped ([#​16206](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16206 ))
- Ensure that the `containers` JS theme key is added to the `--container-*` namespace ([#​16169](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16169 ))
- Ensure theme `@keyframes` are generated even if an `--animation-*` variable spans multiple lines ([#​16237](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16237 ))
- Vite: Skip parsing stylesheets with the `?commonjs-proxy` flag ([#​16238](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16238 ))
- Fix `order-first` and `order-last` for Firefox ([#​16266](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16266 ))
- Fix support for older instruction sets on Linux x64 builds of the standalone CLI ([#​16244](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16244 ))
- Ensure `NODE_PATH` is respected when resolving JavaScript and CSS files ([#​16274](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16274 ))
- Ensure Node addons are packaged correctly with FreeBSD builds ([#​16277](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16277 ))
- Fix an issue where `@variant` inside a referenced stylesheet could cause a stack overflow ([#​16300](https://redirect.github.com/tailwindlabs/tailwindcss/pull/16300 ))
</details>
<details>
<summary>electron/electron (electron)</summary>
### [`v34.1.1`](https://redirect.github.com/electron/electron/releases/tag/v34.1.1 ): electron v34.1.1
[Compare Source](https://redirect.github.com/electron/electron/compare/v34.1.0...v34.1.1 )
### Release Notes for v34.1.1
#### Other Changes
- Backported fix for [`3872580`](https://redirect.github.com/electron/electron/commit/387258077 ),383070811. [#​45497](https://redirect.github.com/electron/electron/pull/45497 )
</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>shikijs/shiki (shiki)</summary>
### [`v2.3.2`](https://redirect.github.com/shikijs/shiki/releases/tag/v2.3.2 )
[Compare Source](https://redirect.github.com/shikijs/shiki/compare/v2.3.1...v2.3.2 )
##### 🚀 Features
- Update grammars - by [@​antfu](https://redirect.github.com/antfu ) [<samp>(4c9ab)</samp>](https://redirect.github.com/shikijs/shiki/commit/4c9ab999 )
##### 🐞 Bug Fixes
- **monaco**: Handle colors in array - by [@​antfu](https://redirect.github.com/antfu ) [<samp>(e3018)</samp>](https://redirect.github.com/shikijs/shiki/commit/e30181b5 )
##### [View changes on GitHub](https://redirect.github.com/shikijs/shiki/compare/v2.3.1...v2.3.2 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-02-07 03:02:26 +00:00
forehalo
c673088cc6
feat(nbstore): use polling as ios websocket transport ( #10001 )
2025-02-07 02:44:52 +00:00
pengx17
61d2cec913
fix(core): remove suspense from image preview ( #9981 )
2025-02-07 02:30:22 +00:00
fengmk2
1e83a056fc
feat(server): add request id on cluster event ( #9998 )
2025-02-07 02:06:53 +00:00
L-Sun
891d9df0b1
feat(editor): show doc title in page block ( #9975 )
...
Close [BS-2392](https://linear.app/affine-design/issue/BS-2392/page-block-需要显示文章title )
### What Changes
- Add `<doc-title>` to edgeless page block (a.k.a the first page visible note block)
- Refactors:
- Move `<doc-title>` to `@blocksuite/affine-component`, but you can aslo import it from `@blocksuite/preset`
- Extract `<edgeless-note-mask>` and `<edgeless-note-background>` from `<affine-edgeless-note>` to a seperate file
- Rewrite styles of `<affine-edgeless-note>` with `@vanilla-extract/css`
https://github.com/user-attachments/assets/a0c03239-803e-4bfa-b30e-33b919213b12
2025-02-06 21:18:28 +00:00
Brooooooklyn
41107eafae
feat(server): allow to set default role in page ( #9963 )
2025-02-06 17:18:50 +00:00
L-Sun
f309f8f3e1
fix(ios): incorrect return of getBlob binding in ios ( #9995 )
2025-02-06 17:03:51 +00:00
Saul-Mirone
5b750bbba4
feat(editor): support delete in flat block proxy ( #9994 )
2025-02-06 16:30:06 +00:00
pengx17
86de184593
fix(electron): split view drag indicator tooltip ( #9979 )
...
fix PD-2244
2025-02-06 16:14:54 +00:00
forehalo
2ff31c6274
build(component): fix component storybook ( #9990 )
2025-02-06 15:58:10 +00:00
zzj3720
1652e6df6b
fix(editor): some UI bugs of table block ( #9987 )
...
close: BS-2507, BS-2508, BS-2511, BS-2519, BS-2523
2025-02-06 15:42:05 +00:00
forehalo
7c7febd495
refactor(server): remove never used column in page permission ( #9985 )
2025-02-06 10:52:05 +00:00
pengx17
d7da12597a
fix(core): use divider component to replace height dividers ( #9986 )
2025-02-06 10:37:05 +00:00
pengx17
5066f50c4f
fix(editor): should focus the textarea will clicking the chat input box ( #9983 )
...

Clicking outside of the textarea should also focuses the textarea
2025-02-06 10:20:05 +00:00