Commit Graph

8779 Commits

Author SHA1 Message Date
Saul-Mirone
321e3449ec fix(editor): block can be null in widget (#10959)
Closes: [BS-2826](https://linear.app/affine-design/issue/BS-2826/typeerror-thisblock-is-null)
2025-03-18 10:58:19 +00:00
darkskygit
b7ab49a263 chore(server): improve stream read (#10960) 2025-03-18 10:24:59 +00:00
JimmFly
0cb06668cd refactor(core): split the billing component into a separate file (#10924)
refactor(core): split the billing component into a separate file
feat(core): show subscription status in billing settings
![CleanShot 2025-03-17 at 17 02 59@2x](https://github.com/user-attachments/assets/4b3ee6e7-45ad-4d50-b9a5-55d658611e07)
![CleanShot 2025-03-17 at 17 00 33@2x](https://github.com/user-attachments/assets/995fd1d6-de1c-4df2-b66e-4823721adf14)
2025-03-18 10:05:45 +00:00
fengmk2
4fc3e92205 feat(server): separate storage quota limit and blob size limit (#10957)
close CLOUD-171
2025-03-18 09:28:50 +00:00
fengmk2
86c4e0705f fix(server): convert 4xx status HttpError to UserFriendlyError (#10956) 2025-03-18 09:28:50 +00:00
Saul-Mirone
5cb2abab76 docs(editor): add doc for reactive types in store (#10958) 2025-03-18 09:07:42 +00:00
CatsJuice
ff8c3d1cee feat(core): intilize integration module and basic readwise impl (#10726)
close AF-2257, AF-2261, AF-2260, AF-2259

### Feat

- New `Integration` Module
- Basic Readwise integration
  - connect
  - import
  - disconnect
- Common Integration UI
- Common Integration Writer  (Transform markdown to AFFiNE Doc)

### Not Implemented

>  will be implemented in down-stack
- delete docs when disconnect
- readwise settiing UI
- integration property rendering
2025-03-18 08:13:58 +00:00
Saul-Mirone
ef00a158fc docs(editor): improve documentation for store class (#10949) 2025-03-18 07:57:58 +00:00
pengx17
99370573c8 refactor(editor): use stable stringify for snapshots (#10948) 2025-03-18 05:41:20 +00:00
L-Sun
83af78d9ee chore(editor): update icon color of link doc card (#10943)
Close [BS-2679](https://linear.app/affine-design/issue/BS-2679/card-view-icon-color-incorrect)
2025-03-18 05:00:26 +00:00
Oleg
804d08423b feat(core): improve text preview in editor settings (#10070) 2025-03-18 13:00:13 +08:00
darkskygit
e09b5fee12 feat(server): init gemini provider & transcript action (#10731) 2025-03-18 04:28:18 +00:00
pengx17
a016630a82 feat(electron): create recording through tray (#10526)
- added tray menu for controlling recording status
- recording watcher for monitoring system audio input events
2025-03-18 04:12:30 +00:00
akumatus
05329e96c7 fix(core): add timeout params to graphql request options (#10919)
Close [BS-2813](https://linear.app/affine-design/issue/BS-2813).
2025-03-18 03:53:47 +00:00
Saul-Mirone
9f3cf271e3 feat(editor): support user provided role and role schema (#10939)
Let me analyze the key changes in this diff:

1. **Role System Changes**:
- Changed from a fixed enum of roles (`root`, `hub`, `content`) to a more flexible string-based system
- Removed strict role hierarchy validation rules (hub/content/root relationships)
- Added support for role-based matching using `@` prefix (e.g., `@root`, `@content`)

2. **Schema Validation Updates**:
- Added new `_matchFlavourOrRole` method to handle both flavour and role-based matching
- Updated `_validateParent` to consider both roles and flavours when validating parent-child relationships
- Simplified `_validateRole` by removing specific role hierarchy constraints

3. **Block Schema Changes**:
- Updated parent/children references in various block schemas to use the new `@` prefix notation
- Changed parent definitions from `['affine:page']` to `['@root']` in several blocks
- Updated children definitions to use role-based references (e.g., `['@content']`)

4. **Test Updates**:
- Added new test cases for role-based schema validation
- Introduced new test block schemas (`TestRoleBlockSchema`, `TestParagraphBlockSchema`) to verify role-based functionality

This appears to be a significant architectural change that makes the block schema system more flexible by:
1. Moving away from hardcoded role hierarchies
2. Introducing a more dynamic role-based relationship system
3. Supporting both flavour-based and role-based parent-child relationships
4. Using the `@` prefix convention to distinguish role references from flavour references

The changes make the system more extensible while maintaining backward compatibility with existing flavour-based relationships.
2025-03-18 01:58:59 +00:00
fengmk2
4a3180ee04 feat(server): display date in yyyy-MM-dd format on email (#10916) 2025-03-18 01:00:14 +00:00
fengmk2
3f0981a6fa feat(server): add settings resolver (#10797)
close CLOUD-166
2025-03-18 00:41:21 +00:00
fengmk2
5dcbae6f86 feat(server): add settings model (#10755)
close CLOUD-166
2025-03-18 00:41:21 +00:00
Saul-Mirone
3de7d85eea feat(editor): improve api for store, and add docs (#10941) 2025-03-17 16:30:59 +00:00
darkskygit
b0aa2c90fd feat(server): tag and collection record for context (#10926)
fix CLOUD-174
2025-03-17 14:17:01 +00:00
L-Sun
3dbeebd6ba fix(editor): background of surface-ref disappeared when it was re-rendered (#10931)
This PR fixed the background of surface-ref dis
2025-03-17 14:00:17 +00:00
L-Sun
cc8ec72f2c feat(editor): insert a mindmap slash menu action (#10930)
Close [BS-2516](https://linear.app/affine-design/issue/BS-2516/添加mind-map入口)
2025-03-17 13:19:56 +00:00
Saul-Mirone
1d04438049 docs(editor): scaffolding docs generator (#10925) 2025-03-17 12:51:08 +00:00
akumatus
363c9799f3 fix(core): chat-panel ui (#10928)
Close [AF-2332](https://linear.app/affine-design/issue/AF-2332).
Close [AF-2333](https://linear.app/affine-design/issue/AF-2333).
2025-03-17 10:53:55 +00:00
L-Sun
d80f1e8067 feat(editor): insert a blank frame slash menu action (#10899)
Close [BS-2517](https://linear.app/affine-design/issue/BS-2517/%E6%B7%BB%E5%8A%A0frame%E5%85%A5%E5%8F%A3)

### What changes:
- add a insert blank frame action to slash menu
- move `EdgelessFrameManager` and `FrameOverlay` extensions to `FrameBlockSpec`
- make `FrameBlockSpec` as a part of `CommonBlockSpecs` such that we can use `EdgelessFrameManager` to create a frame more easily

https://github.com/user-attachments/assets/ddff5866-8933-4ce5-aaf4-873661407ee4
2025-03-17 10:32:55 +00:00
forehalo
8b67496951 refactor(server): saving past_due subscription in db (#10908)
close CLOUD-122
2025-03-17 10:17:14 +00:00
forehalo
9b5d12dc71 test(server): new test facilities (#10870)
close CLOUD-142
2025-03-17 10:02:12 +00:00
darkskygit
92db9a693a fix(server): catch panic for context parsing (#10912)
fix AF-2335
fix CLOUD-173
2025-03-17 09:44:57 +00:00
EYHN
b401012d85 feat(core): user service loading state (#10922) 2025-03-17 09:28:25 +00:00
EYHN
7dbc9b42b7 feat(nbstore): add debug log for incorrect writing (#10697) 2025-03-17 09:09:27 +00:00
liuyi
aa70759f44 build(server): no build seed script (#10923) 2025-03-17 17:08:55 +08:00
darkskygit
44bede23e5 fix(server): operation name record (#10914) 2025-03-17 08:48:40 +00:00
renovate
7c99135da3 chore: bump up all non-major dependencies (#10886)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| [electron](https://redirect.github.com/electron/electron) | [`35.0.1` -> `35.0.2`](https://renovatebot.com/diffs/npm/electron/35.0.1/35.0.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/electron/35.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/electron/35.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/electron/35.0.1/35.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/electron/35.0.1/35.0.2?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.5.1` -> `9.5.2`](https://renovatebot.com/diffs/npm/html-validate/9.5.1/9.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/html-validate/9.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/html-validate/9.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/html-validate/9.5.1/9.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/html-validate/9.5.1/9.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [inquirer](https://redirect.github.com/SBoudrias/Inquirer.js/blob/main/packages/inquirer/README.md) ([source](https://redirect.github.com/SBoudrias/Inquirer.js)) | [`12.4.3` -> `12.5.0`](https://renovatebot.com/diffs/npm/inquirer/12.4.3/12.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/inquirer/12.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/inquirer/12.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/inquirer/12.4.3/12.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/inquirer/12.4.3/12.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |
| [keyv](https://redirect.github.com/jaredwray/keyv) | [`5.3.1` -> `5.3.2`](https://renovatebot.com/diffs/npm/keyv/5.3.1/5.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/keyv/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/keyv/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/keyv/5.3.1/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/keyv/5.3.1/5.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [nanoid](https://redirect.github.com/ai/nanoid) | [`5.1.3` -> `5.1.4`](https://renovatebot.com/diffs/npm/nanoid/5.1.3/5.1.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nanoid/5.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nanoid/5.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nanoid/5.1.3/5.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nanoid/5.1.3/5.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [nanoid](https://redirect.github.com/ai/nanoid) | [`5.1.3` -> `5.1.4`](https://renovatebot.com/diffs/npm/nanoid/5.1.3/5.1.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/nanoid/5.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nanoid/5.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nanoid/5.1.3/5.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nanoid/5.1.3/5.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch |
| [napi](https://redirect.github.com/napi-rs/napi-rs) | `3.0.0-alpha.31` -> `3.0.0-alpha.33` | [![age](https://developer.mend.io/api/mc/badges/age/crate/napi/3.0.0-alpha.33?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/napi/3.0.0-alpha.33?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/napi/3.0.0-alpha.31/3.0.0-alpha.33?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/napi/3.0.0-alpha.31/3.0.0-alpha.33?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch |
| [napi-derive](https://redirect.github.com/napi-rs/napi-rs) | `3.0.0-alpha.28` -> `3.0.0-alpha.29` | [![age](https://developer.mend.io/api/mc/badges/age/crate/napi-derive/3.0.0-alpha.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/napi-derive/3.0.0-alpha.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/napi-derive/3.0.0-alpha.28/3.0.0-alpha.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/napi-derive/3.0.0-alpha.28/3.0.0-alpha.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | workspace.dependencies | patch |
| [piscina](https://redirect.github.com/piscinajs/piscina) | [`5.0.0-alpha.1` -> `5.0.0-alpha.2`](https://renovatebot.com/diffs/npm/piscina/5.0.0-alpha.1/5.0.0-alpha.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/piscina/5.0.0-alpha.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/piscina/5.0.0-alpha.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/piscina/5.0.0-alpha.1/5.0.0-alpha.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/piscina/5.0.0-alpha.1/5.0.0-alpha.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch |
| [typedoc](https://typedoc.org) ([source](https://redirect.github.com/TypeStrong/TypeDoc)) | [`^0.27.4` -> `^0.28.0`](https://renovatebot.com/diffs/npm/typedoc/0.27.9/0.28.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typedoc/0.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typedoc/0.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typedoc/0.27.9/0.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typedoc/0.27.9/0.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor |
| [net.java.dev.jna:jna](https://redirect.github.com/java-native-access/jna) | `5.16.0` -> `5.17.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/net.java.dev.jna:jna/5.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/net.java.dev.jna:jna/5.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/net.java.dev.jna:jna/5.16.0/5.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/net.java.dev.jna:jna/5.16.0/5.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor |

---

### Release Notes

<details>
<summary>electron/electron (electron)</summary>

### [`v35.0.2`](https://redirect.github.com/electron/electron/releases/tag/v35.0.2): electron v35.0.2

[Compare Source](https://redirect.github.com/electron/electron/compare/v35.0.1...v35.0.2)

##### Release Notes for v35.0.2

##### Fixes

-   Fixed an issue where Web Workers crashed on unhandled rejections. [#&#8203;46020](https://redirect.github.com/electron/electron/pull/46020) <span style="font-size:small;">(Also in [34](https://redirect.github.com/electron/electron/pull/46019), [36](https://redirect.github.com/electron/electron/pull/46021))</span>
-   Fixed an issue where packages could be mistakenly not found in asar. [#&#8203;46022](https://redirect.github.com/electron/electron/pull/46022) <span style="font-size:small;">(Also in [36](https://redirect.github.com/electron/electron/pull/46023))</span>
-   Fixed title changes to not occur while navigating within a page. [#&#8203;46035](https://redirect.github.com/electron/electron/pull/46035) <span style="font-size:small;">(Also in [34](https://redirect.github.com/electron/electron/pull/46034), [36](https://redirect.github.com/electron/electron/pull/46036))</span>

##### Other Changes

-   Fixed an issue where Electron could fail to load on some older Linux distributions. [#&#8203;45983](https://redirect.github.com/electron/electron/pull/45983) <span style="font-size:small;">(Also in [34](https://redirect.github.com/electron/electron/pull/45982), [36](https://redirect.github.com/electron/electron/pull/45984))</span>
-   Updated Chromium to 134.0.6998.88. [#&#8203;45972](https://redirect.github.com/electron/electron/pull/45972)

</details>

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

### [`v9.5.2`](https://gitlab.com/html-validate/html-validate/blob/HEAD/CHANGELOG.md#952-2025-03-17)

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

##### Bug Fixes

-   **jest:** increase internal timeout for `.toHTMLValidate()` from 10s to 30s ([f5f9917](f5f9917cbf)), closes [#&#8203;298](https://gitlab.com/html-validate/html-validate/issues/298)

</details>

<details>
<summary>SBoudrias/Inquirer.js (inquirer)</summary>

### [`v12.5.0`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@12.4.3...inquirer@12.5.0)

[Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/inquirer@12.4.3...inquirer@12.5.0)

</details>

<details>
<summary>ai/nanoid (nanoid)</summary>

### [`v5.1.4`](https://redirect.github.com/ai/nanoid/blob/HEAD/CHANGELOG.md#514)

[Compare Source](https://redirect.github.com/ai/nanoid/compare/5.1.3...5.1.4)

-   Fixed latest version on npm after 3.x release.

</details>

<details>
<summary>napi-rs/napi-rs (napi)</summary>

### [`v3.0.0-alpha.33`](https://redirect.github.com/napi-rs/napi-rs/releases/tag/napi%403.0.0-alpha.33)

[Compare Source](https://redirect.github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.32...napi@3.0.0-alpha.33)

#### What's Changed

-   fix(napi): re-create async runtime by [@&#8203;Brooooooklyn](https://redirect.github.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/2519](https://redirect.github.com/napi-rs/napi-rs/pull/2519)

**Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.29...napi@3.0.0-alpha.33

### [`v3.0.0-alpha.32`](https://redirect.github.com/napi-rs/napi-rs/releases/tag/napi%403.0.0-alpha.32)

[Compare Source](https://redirect.github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.31...napi@3.0.0-alpha.32)

#### What's Changed

-   fix(deps): update rust crate ctor to 0.4.0 by [@&#8203;renovate](https://redirect.github.com/renovate) in [https://github.com/napi-rs/napi-rs/pull/2482](https://redirect.github.com/napi-rs/napi-rs/pull/2482)
-   feat(napi): tokio multi-thread mode on wasi by [@&#8203;Brooooooklyn](https://redirect.github.com/Brooooooklyn) in [https://github.com/napi-rs/napi-rs/pull/2501](https://redirect.github.com/napi-rs/napi-rs/pull/2501)
-   fix(napi): js call callback in ThreadsafeFunction should not be Send by [@&#8203;SyMind](https://redirect.github.com/SyMind) in [https://github.com/napi-rs/napi-rs/pull/2510](https://redirect.github.com/napi-rs/napi-rs/pull/2510)

**Full Changelog**: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.31...napi@3.0.0-alpha.32

</details>

<details>
<summary>piscinajs/piscina (piscina)</summary>

### [`v5.0.0-alpha.2`](https://redirect.github.com/piscinajs/piscina/blob/HEAD/CHANGELOG.md#500-alpha2-2025-03-16)

[Compare Source](https://redirect.github.com/piscinajs/piscina/compare/v5.0.0-alpha.1...v5.0.0-alpha.2)

##### Features

-   Allow long-running threads ([#&#8203;757](https://redirect.github.com/piscinajs/piscina/issues/757)) ([f0f4fd3](f0f4fd39d5))

</details>

<details>
<summary>TypeStrong/TypeDoc (typedoc)</summary>

### [`v0.28.0`](https://redirect.github.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0280-2025-03-15)

[Compare Source](https://redirect.github.com/TypeStrong/TypeDoc/compare/v0.27.9...v0.28.0)

##### Breaking Changes

-   TypeDoc now expects all input globs paths to be specified with `/` path separators, [#&#8203;2825](https://redirect.github.com/TypeStrong/TypeDoc/issues/2825).
-   TypeDoc's `--entryPointStrategy merge` mode now requires JSON from at least version 0.28.0.
-   Removed `jp` translations from `lang`, to migrate switch to `ja`.
-   File name references in `intentionallyNotExported` now use a package name/package relative path instead of an absolute path for matching.
-   The `source-order` sort ordering now considers package names / package relative paths instead of using the absolute paths to a file.
-   TypeDoc will only check for a project README file next to the discovered `package.json` file if `--readme` is not set
    this change improves handling of monorepo setups where some packages have readme files and others do not, [#&#8203;2875](https://redirect.github.com/TypeStrong/TypeDoc/issues/2875).
-   Function-like variable exports will now only be automatically converted as function types if
    they are initialized with a function expression. TypeDoc can be instructed to convert them as functions
    with the `@function` tag, [#&#8203;2881](https://redirect.github.com/TypeStrong/TypeDoc/issues/2881).
-   Object literal type alias types will now be converted in a way which causes them to be rendered more similarly
    to how interfaces are rendered, [#&#8203;2817](https://redirect.github.com/TypeStrong/TypeDoc/issues/2817).

##### API Breaking Changes

-   `ProjectReflection.getReflectionFromSymbol` and `ProjectReflection.getSymbolFromReflection` have been moved to `Context`
-   `Path` and `PathArray` parameter types now always contain normalized paths.
-   Introduced a `Router` which is used for URL creation. `Reflection.url`,
    `Reflection.anchor`, and `Reflection.hasOwnDocument` have been removed.
-   `Deserializer.reviveProject(s)` no longer accepts an option to add project documents.
-   `Deserializer.reviveProjects` now requires an `alwaysCreateEntryPointModule` option.
-   `Comment.serializeDisplayParts` no longer requires a serializer argument.
-   `ReflectionSymbolId.fileName` is now optional, TypeDoc now stores a combination of a package name and package relative path instead.
    The `fileName` property will be present when initially created, but is not serialized.
-   Removed `DeclarationReflection.relevanceBoost` attribute which was added for plugins, but never used.
-   `i18n` proxy is no longer passed to many functions, instead, reference `i18n` exported from the module directly.
-   `ReflectionKind.singularString` and `ReflectionKind.pluralString` now returns translated strings.
    The methods on `Internationalization` to do this previously have been removed.
-   The HTML output structure for the search box has changed to support the new modal.
-   `DefaultThemeRenderContext`'s `typeDeclaration` and `typeDetailsIfUseful`
    methods now require both a reflection and a type in order to support
    `@expandType`

##### Features

-   Add support for TypeScript 5.8.x
-   The search modal in the HTML output has been rewritten to provide better mobile support
-   Added a `--router` option which can be used to modify TypeDoc's output folder
    structure. This can be extended with plugins, [#&#8203;2111](https://redirect.github.com/TypeStrong/TypeDoc/issues/2111).
-   Introduced the `@primaryExport` modifier tag to provide more fine grained
    control over export conversion order, [#&#8203;2856](https://redirect.github.com/TypeStrong/TypeDoc/issues/2856)
-   Introduced `packagesRequiringDocumentation` option for `validation.notDocumented`, TypeDoc will expect comments to be present for symbols in the specified packages.
-   TypeDoc now exports a `typedoc/browser` entrypoint for parsing and using serialized JSON files, [#&#8203;2528](https://redirect.github.com/TypeStrong/TypeDoc/issues/2528).
-   Type `packageOptions` as `Partial<TypeDocOptions>`, [#&#8203;2878](https://redirect.github.com/TypeStrong/TypeDoc/issues/2878).
-   TypeDoc will now warn if an option which should only be set at the root level is set in `packageOptions`, [#&#8203;2878](https://redirect.github.com/TypeStrong/TypeDoc/issues/2878).
-   Introduced `@function` tag to force TypeDoc to convert variable declarations with a type annotation as functions, [#&#8203;2881](https://redirect.github.com/TypeStrong/TypeDoc/issues/2881).
-   Exposed a `TypeDoc` global object in the HTML theme which can be used to prevent TypeDoc from using `localStorage`, [#&#8203;2872](https://redirect.github.com/TypeStrong/TypeDoc/issues/2872).
-   Introduced `@preventInline` and `@inlineType` tags for further control extending the `@inline` tag, [#&#8203;2862](https://redirect.github.com/TypeStrong/TypeDoc/issues/2862).
-   Introduced `@preventExpand` and `@expandType` tags for further control extending the `@expand` tag, [#&#8203;2862](https://redirect.github.com/TypeStrong/TypeDoc/issues/2862).
-   API: Introduced `DefaultThemeRenderContext.reflectionIcon` for more granular control over displayed reflection icons.

##### Bug Fixes

-   TypeDoc will now only create references for symbols re-exported from modules.
-   Variable-functions will now prefer placing the comment on the signature if there is only one signature present, [#&#8203;2824](https://redirect.github.com/TypeStrong/TypeDoc/issues/2824).
-   User filter settings will no longer sometimes cause the search to have fewer visible results than expected.
-   Fixed handling of expando functions which were also merged with a namespace, [#&#8203;2876](https://redirect.github.com/TypeStrong/TypeDoc/issues/2876).
-   Fixed rendering of function types within arrays and union types, [#&#8203;2892](https://redirect.github.com/TypeStrong/TypeDoc/issues/2892).
-   Fixed an issue where if the theme JS didn't load, the page wouldn't be shown, [#&#8203;2894](https://redirect.github.com/TypeStrong/TypeDoc/issues/2894).

##### Thanks!

-   [@&#8203;crimx](https://redirect.github.com/crimx)
-   [@&#8203;jsmith2-coveo](https://redirect.github.com/jsmith2-coveo)
-   [@&#8203;phoneticallySAARTHaK](https://redirect.github.com/phoneticallySAARTHaK)
-   [@&#8203;XeroAlpha](https://redirect.github.com/XeroAlpha)

</details>

<details>
<summary>java-native-access/jna (net.java.dev.jna:jna)</summary>

### [`v5.17.0`](https://redirect.github.com/java-native-access/jna/blob/HEAD/CHANGES.md#Release-5170)

[Compare Source](https://redirect.github.com/java-native-access/jna/compare/5.16.0...5.17.0)

\================

## Features

-   [#&#8203;1658](https://redirect.github.com/java-native-access/jna/pull/1658):  Add win32 power event constants, types, and functions - [@&#8203;eranl](https://redirect.github.com/eranl).

## Bug Fixes

-   [#&#8203;1647](https://redirect.github.com/java-native-access/jna/issues/1647): Fix calls to jnidispatch on Android with 16KB page size (part 2) - [@&#8203;BugsBeGone](https://redirect.github.com/BugsBeGone).

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-03-17 07:11:58 +00:00
Saul-Mirone
d5a5df5e49 test(editor): move blocksuite test to tests folder (#10917) 2025-03-17 06:40:25 +00:00
liuyi
0f83566504 chore(server): data mocking and seeding (#10864) 2025-03-17 14:15:34 +08:00
doodlewind
81af7a0571 docs(editor): add guide for extension usage (#10911)
The guide is baed on #10847 to improve the code quality for migrating extensions using LLM.
2025-03-17 05:38:10 +00:00
Saul-Mirone
808c053c3c feat(editor): add block meta for table block (#10915) 2025-03-17 05:20:10 +00:00
donteatfriedrice
6eb34d70c1 feat(editor): support bookmark block convert to embed iframe block (#10907) 2025-03-17 05:00:55 +00:00
Saul-Mirone
8bd4125c96 feat(editor): enable block meta for code, image, list block (#10905) 2025-03-17 03:29:51 +00:00
CatsJuice
8822acf041 fix(core): correct template setting item text (#10902) 2025-03-17 02:21:08 +00:00
L-Sun
c1301be1f5 fix(editor): repeat instantiation of std (#10896) 2025-03-17 01:04:51 +00:00
Saul-Mirone
7e6ff8d9c6 chore(editor): remove unused npm scripts (#10895) 2025-03-16 17:48:49 +00:00
Saul-Mirone
2f5e801097 fix(editor): missing export (#10893) 2025-03-16 16:09:35 +00:00
Saul-Mirone
96add08ff4 fix(editor): should include node types (#10892) 2025-03-16 14:25:20 +00:00
hackerESQ
fff15222d9 feat(core): add transparent as default shape fill (#10801) 2025-03-16 20:58:50 +09:00
donteatfriedrice
d7d512084e feat(editor): embed iframe error status card in surface (#10869)
To close [BS-2806](https://linear.app/affine-design/issue/BS-2806/iframe-embed-block-edgeless-loading-and-error-status)
2025-03-16 09:05:04 +00:00
donteatfriedrice
7ecb1f510d feat(editor): embed iframe loading status card in surface (#10868) 2025-03-16 09:05:04 +00:00
Saul-Mirone
26285f7dcb feat(editor): unify block props api (#10888)
Closes: [BS-2707](https://linear.app/affine-design/issue/BS-2707/统一使用props获取和更新block-prop)
2025-03-16 05:48:34 +00:00
Oleg
8f9e5bf0aa fix(editor): minor ui bugs (#10841)
Co-authored-by: Mirone <Saul-Mirone@outlook.com>
2025-03-15 19:15:56 +09:00
donteatfriedrice
1d4ee1e383 feat(editor): support embed iframe block in edgeless (#10830)
To close:
[BS-2665](https://linear.app/affine-design/issue/BS-2665/iframe-embed-block-edgeless-mode-支持)
[BS-2666](https://linear.app/affine-design/issue/BS-2666/iframe-embed-block-edgeless-toolbar)
[BS-2667](https://linear.app/affine-design/issue/BS-2667/iframe-embed-block-edgeless-mode-拖拽调整支持)
[BS-2789](https://linear.app/affine-design/issue/BS-2789/iframe-embed-block-edgeless-block-component)
2025-03-15 09:23:02 +00:00