Saul-Mirone
fc863e484c
refactor(editor): remove selection global types ( #9532 )
...
Closes: [BS-2217](https://linear.app/affine-design/issue/BS-2217/remove-global-types-in-selection )
2025-01-06 03:45:11 +00:00
CatsJuice
09937a8e4d
chore: bump icons with new design source ( #9529 )
2025-01-06 03:10:03 +00:00
Saul-Mirone
3d168ba2d2
refactor(editor): reorg code structure of store package ( #9525 )
2025-01-05 12:49:02 +00:00
Saul-Mirone
1180e9bc15
refactor(editor): move workspace meta to affine ( #9524 )
2025-01-05 06:49:31 +00:00
Saul-Mirone
be0de6dc21
refactor(editor): remove legacy blocksuite doc ( #9521 )
2025-01-05 01:25:59 +00:00
Saul-Mirone
c773982ced
refactor(editor): rename store api ( #9518 )
2025-01-04 12:51:56 +00:00
Saul-Mirone
dcf4993265
refactor(core): move block collection to affine and implement as doc ( #9514 )
2025-01-04 06:28:55 +00:00
Saul-Mirone
4457cb7266
refactor(editor): rename doc to blocks ( #9510 )
2025-01-03 12:49:33 +00:00
Saul-Mirone
51b109ee53
chore(editor): move legacy doc collection to test workspace ( #9507 )
2025-01-03 09:40:33 +00:00
Saul-Mirone
cfd64f1fa5
refactor(core): move workspace implementation to affine ( #9504 )
2025-01-03 08:13:57 +00:00
Saul-Mirone
897c7d4284
refactor(editor): should not rely on doc collection type ( #9501 )
2025-01-03 06:30:27 +00:00
doouding
cb5d7eaabc
feat: add scroll wheel zoom setting ( #9476 )
...
### Changed
Add `scroll wheel to zoom` setting option, when the option enables, user can zoom in and out with scroll wheel without pressing the cmd/ctrl key.
2025-01-03 06:09:10 +00:00
doouding
a4e94ab72f
feat: add shortcut of zooming to selection ( #9447 )
...
### Changed
- change edgeless shortcut `cmd + 0`, `cmd + 1` to `alt + 0`, `alt + 1`
- add new shortcut `alt + 2` to zoom to currently selected elements
2025-01-03 03:57:05 +00:00
Saul-Mirone
30a181da38
refactor(editor): move mini mindmap to ai module ( #9497 )
2025-01-03 03:34:56 +00:00
Saul-Mirone
8b6c81f76d
refactor(editor): reduce dependency to doc collection ( #9492 )
2025-01-03 01:59:25 +00:00
Saul-Mirone
53f7480cb8
refactor(editor): merge docCreated and docAdded slot ( #9489 )
2025-01-02 11:47:14 +00:00
Saul-Mirone
edb5e1d87a
refactor(editor): job should not rely on doc collection directly ( #9488 )
2025-01-02 10:50:15 +00:00
EYHN
f2906bc6d0
refactor(core): add all docs properties api ( #9484 )
2025-01-02 10:35:46 +00:00
Saul-Mirone
ad422d2f05
refactor(editor): move crud to doc ( #9479 )
2025-01-02 07:27:08 +00:00
Saul-Mirone
be387a6f33
refactor(editor): set readonly ( #9475 )
2025-01-02 04:02:15 +00:00
Saul-Mirone
4be031b311
chore(editor): disable legacy validation ( #9473 )
2025-01-01 13:45:37 +00:00
doodlewind
8227d68953
refactor(core): remove abort event error on init ( #9465 )
...
Following error always throw on Affine init, which is actually an `Event` from abort controller that can be handled in upstream.

2025-01-01 01:22:29 +00:00
pengx17
1c6c2194c4
fix(core): should use doc index for at menu config ( #9430 )
2024-12-31 09:31:07 +00:00
pengx17
e3d681306c
fix(core): split view reordering crash ( #9461 )
...
a workaround fix AF-1940
2024-12-31 09:14:04 +00:00
liuyi
43adb85e7d
fix(core): wrong fetch injected to snapshot downloader ( #9460 )
2024-12-31 08:51:19 +00:00
liuyi
8732801f06
fix(core): wrong auth i18n keys ( #9455 )
2024-12-31 15:03:37 +08:00
Saul-Mirone
09427e846e
refactor(editor): extract markdown adapter ( #9443 )
2024-12-31 04:13:02 +00:00
doodlewind
adf14d11d5
fix(editor): chat panel render warning ( #9446 )
...
Fixed the updated warning of both `chat-panel` and `chat-panel-messages`

2024-12-31 03:59:02 +00:00
CatsJuice
7c41775c7f
feat(infra): orm f.enum() support ( #9323 )
2024-12-31 03:44:58 +00:00
pengx17
887732179e
feat(electron): expose electron apis to web worker ( #9441 )
...
fix AF-2044
2024-12-31 03:17:03 +00:00
Peng Xiao
6883cc2ded
fix(electron): page history api fetch issue ( #9440 )
2024-12-31 10:19:25 +08:00
pengx17
79e006467c
fix(core): split view solo view crash ( #9432 )
2024-12-30 16:54:45 +00:00
Saul-Mirone
c28f918527
refactor(editor): extract database block ( #9435 )
...
Part of: [BS-2269](https://linear.app/affine-design/issue/BS-2269/%E8%BF%81%E7%A7%BB-database-block-%E5%88%B0-affine-%E6%96%87%E4%BB%B6%E5%A4%B9%E4%B8%8B%E5%B9%B6%E5%BC%80%E5%90%AF-nouncheckedindexedaccess )
2024-12-30 12:59:57 +00:00
renovate
a85707a2e7
chore: bump up oxlint version to v0.15.4 ( #9161 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [oxlint](https://oxc.rs ) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint )) | [`0.15.0` -> `0.15.4`](https://renovatebot.com/diffs/npm/oxlint/0.15.0/0.15.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/ ) |
---
### Release Notes
<details>
<summary>oxc-project/oxc (oxlint)</summary>
### [`v0.15.4`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.15.4 ): oxlint v0.15.4
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.15.3...oxlint_v0.15.4 )
#### \[0.15.4] - 2024-12-30
- [`ed75e42`](https://redirect.github.com/oxc-project/oxc/commit/ed75e42 ) semantic: \[**BREAKING**] Make SymbolTable fields `pub(crate)` instead of `pub` ([#​7999](https://redirect.github.com/oxc-project/oxc/issues/7999 )) (Boshen)
##### Features
- [`47cea9a`](https://redirect.github.com/oxc-project/oxc/commit/47cea9a ) linter: Implement `eslint/no-extra-label` ([#​8181](https://redirect.github.com/oxc-project/oxc/issues/8181 )) (Anson Heung)
- [`ef76e28`](https://redirect.github.com/oxc-project/oxc/commit/ef76e28 ) linter: Implement `eslint/no-multi-assign` ([#​8158](https://redirect.github.com/oxc-project/oxc/issues/8158 )) (Anson Heung)
- [`384858b`](https://redirect.github.com/oxc-project/oxc/commit/384858b ) linter: Implement `jsx-a11y/no-noninteractive-tabindex` ([#​8167](https://redirect.github.com/oxc-project/oxc/issues/8167 )) (Tyler Earls)
- [`afc21a6`](https://redirect.github.com/oxc-project/oxc/commit/afc21a6 ) linter: Implement `eslint/vars-on-top` ([#​8157](https://redirect.github.com/oxc-project/oxc/issues/8157 )) (Yuichiro Yamashita)
- [`65796c4`](https://redirect.github.com/oxc-project/oxc/commit/65796c4 ) linter: Implement `eslint/prefer-rest-params` ([#​8155](https://redirect.github.com/oxc-project/oxc/issues/8155 )) (Yuichiro Yamashita)
- [`5234d96`](https://redirect.github.com/oxc-project/oxc/commit/5234d96 ) linter: Implement `eslint/no-nested-ternary` ([#​8150](https://redirect.github.com/oxc-project/oxc/issues/8150 )) (Yuichiro Yamashita)
- [`1c5db72`](https://redirect.github.com/oxc-project/oxc/commit/1c5db72 ) linter: Implement eslint/no-labels ([#​8131](https://redirect.github.com/oxc-project/oxc/issues/8131 )) (Anson Heung)
- [`0b04288`](https://redirect.github.com/oxc-project/oxc/commit/0b04288 ) linter: Move `import/named` to nursery ([#​8068](https://redirect.github.com/oxc-project/oxc/issues/8068 )) (Boshen)
##### Bug Fixes
- [`0794bee`](https://redirect.github.com/oxc-project/oxc/commit/0794bee ) editor/vscode: Set minimum supported ver. to `^1.93.0` ([#​8182](https://redirect.github.com/oxc-project/oxc/issues/8182 )) (Pavel Smirnov)
- [`f3050d4`](https://redirect.github.com/oxc-project/oxc/commit/f3050d4 ) linter: Exclude svelte files from `no_unused_vars` rule ([#​8170](https://redirect.github.com/oxc-project/oxc/issues/8170 )) (Yuichiro Yamashita)
- [`faf7464`](https://redirect.github.com/oxc-project/oxc/commit/faf7464 ) linter: Disable rule `react/rules-of-hook` by file extension ([#​8168](https://redirect.github.com/oxc-project/oxc/issues/8168 )) (Alexander S.)
- [`1171e00`](https://redirect.github.com/oxc-project/oxc/commit/1171e00 ) linter: Disable `react/rules-of-hooks` for vue and svelte files ([#​8165](https://redirect.github.com/oxc-project/oxc/issues/8165 )) (Alexander S.)
- [`1b9a5ba`](https://redirect.github.com/oxc-project/oxc/commit/1b9a5ba ) linter: False positiver in private member expr in oxc/const-comparison ([#​8164](https://redirect.github.com/oxc-project/oxc/issues/8164 )) (camc314)
- [`6bd9ddb`](https://redirect.github.com/oxc-project/oxc/commit/6bd9ddb ) linter: False positive in `typescript/ban-tslint-comment` ([#​8094](https://redirect.github.com/oxc-project/oxc/issues/8094 )) (dalaoshu)
- [`10a1fd5`](https://redirect.github.com/oxc-project/oxc/commit/10a1fd5 ) linter: Rule: `no-restricted-imports` support option `patterns` with `group` key ([#​8050](https://redirect.github.com/oxc-project/oxc/issues/8050 )) (Alexander S.)
- [`b3f38ae`](https://redirect.github.com/oxc-project/oxc/commit/b3f38ae ) linter: Rule `no-restricted-imports`: support option `allowImportNames` ([#​8002](https://redirect.github.com/oxc-project/oxc/issues/8002 )) (Alexander S.)
- [`340cc90`](https://redirect.github.com/oxc-project/oxc/commit/340cc90 ) linter: Rule `no-restricted-imports`: fix option "importNames" ([#​7943](https://redirect.github.com/oxc-project/oxc/issues/7943 )) (Alexander S.)
- [`ec2128e`](https://redirect.github.com/oxc-project/oxc/commit/ec2128e ) linter: Fix line calculation for `eslint/max-lines` in diagnostics ([#​7962](https://redirect.github.com/oxc-project/oxc/issues/7962 )) (Dmitry Zakharov)
- [`79af100`](https://redirect.github.com/oxc-project/oxc/commit/79af100 ) semantic: Reference flags not correctly resolved when after an export stmt ([#​8134](https://redirect.github.com/oxc-project/oxc/issues/8134 )) (camc314)
##### Performance
- [`d8d2ec6`](https://redirect.github.com/oxc-project/oxc/commit/d8d2ec6 ) linter: Run rules which require typescript syntax only when source type is actually typescript ([#​8166](https://redirect.github.com/oxc-project/oxc/issues/8166 )) (Alexander S.)
- [`2736657`](https://redirect.github.com/oxc-project/oxc/commit/2736657 ) semantic: Allocate `UnresolvedReferences` in allocator ([#​8046](https://redirect.github.com/oxc-project/oxc/issues/8046 )) (Boshen)
##### Refactor
- [`de8246b`](https://redirect.github.com/oxc-project/oxc/commit/de8246b ) language_server: Move structs into own file ([#​8026](https://redirect.github.com/oxc-project/oxc/issues/8026 )) (Alexander S.)
- [`774babb`](https://redirect.github.com/oxc-project/oxc/commit/774babb ) linter: Read `exported_bindings_from_star_export` lazily ([#​8062](https://redirect.github.com/oxc-project/oxc/issues/8062 )) (Boshen)
- [`547c102`](https://redirect.github.com/oxc-project/oxc/commit/547c102 ) linter: Use `RwLock<FxHashMap>` instead of `FxDashMap` for module record data ([#​8061](https://redirect.github.com/oxc-project/oxc/issues/8061 )) (Boshen)
- [`952d7e4`](https://redirect.github.com/oxc-project/oxc/commit/952d7e4 ) linter: Rename `flat.rs` to `config.rs` ([#​8033](https://redirect.github.com/oxc-project/oxc/issues/8033 )) (camc314)
- [`50848ed`](https://redirect.github.com/oxc-project/oxc/commit/50848ed ) linter: Simplify `ConfigStore` to prep for nested configs ([#​8032](https://redirect.github.com/oxc-project/oxc/issues/8032 )) (camc314)
- [`b2a4a78`](https://redirect.github.com/oxc-project/oxc/commit/b2a4a78 ) linter: Remove unused `with_rules` and `set_rule` methods ([#​8029](https://redirect.github.com/oxc-project/oxc/issues/8029 )) (camc314)
- [`6da0b21`](https://redirect.github.com/oxc-project/oxc/commit/6da0b21 ) oxlint: Remove unused `git.rs` ([#​7990](https://redirect.github.com/oxc-project/oxc/issues/7990 )) (Boshen)
- [`58e7777`](https://redirect.github.com/oxc-project/oxc/commit/58e7777 ) oxlint: Remove extra if check in `Walkdir` ([#​7989](https://redirect.github.com/oxc-project/oxc/issues/7989 )) (Boshen)
- [`02f968d`](https://redirect.github.com/oxc-project/oxc/commit/02f968d ) semantic: Change `Bindings` to a plain `FxHashMap` ([#​8019](https://redirect.github.com/oxc-project/oxc/issues/8019 )) (Boshen)
### [`v0.15.3`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.15.3 ): oxlint v0.15.3
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.15.2...oxlint_v0.15.3 )
#### \[0.15.3] - 2024-12-17
##### Features
- [`25ddb35`](https://redirect.github.com/oxc-project/oxc/commit/25ddb35 ) linter: Add the import/no_named_default rule ([#​7902](https://redirect.github.com/oxc-project/oxc/issues/7902 )) (Guillaume Piedigrossi)
- [`ee26b44`](https://redirect.github.com/oxc-project/oxc/commit/ee26b44 ) linter: Enhance `get_element_type` to resolve more element types ([#​7885](https://redirect.github.com/oxc-project/oxc/issues/7885 )) (dalaoshu)
##### Bug Fixes
- [`6f41d92`](https://redirect.github.com/oxc-project/oxc/commit/6f41d92 ) linter: False positive in `unicorn/no-useless-spread` ([#​7940](https://redirect.github.com/oxc-project/oxc/issues/7940 )) (dalaoshu)
- [`0867b40`](https://redirect.github.com/oxc-project/oxc/commit/0867b40 ) linter: Fix configuration parser for `no-restricted-imports` ([#​7921](https://redirect.github.com/oxc-project/oxc/issues/7921 )) (Alexander S.)
- [`9c9b73d`](https://redirect.github.com/oxc-project/oxc/commit/9c9b73d ) linter: Fix incorrect fixer for `prefer-regexp-test` ([#​7898](https://redirect.github.com/oxc-project/oxc/issues/7898 )) (Cameron)
- [`32935e6`](https://redirect.github.com/oxc-project/oxc/commit/32935e6 ) linter: False positive in `jsx-a11y/label-has-associated-control` ([#​7881](https://redirect.github.com/oxc-project/oxc/issues/7881 )) (dalaoshu)
- [`14c51ff`](https://redirect.github.com/oxc-project/oxc/commit/14c51ff ) semantic: Remove inherting `ScopeFlags::Modifier` from parent scope ([#​7932](https://redirect.github.com/oxc-project/oxc/issues/7932 )) (Dunqing)
##### Refactor
- [`3858221`](https://redirect.github.com/oxc-project/oxc/commit/3858221 ) global: Sort imports ([#​7883](https://redirect.github.com/oxc-project/oxc/issues/7883 )) (overlookmotel)
- [`b99ee37`](https://redirect.github.com/oxc-project/oxc/commit/b99ee37 ) linter: Move rule "no-restricted-imports" to nursery ([#​7897](https://redirect.github.com/oxc-project/oxc/issues/7897 )) (Alexander S.)
- [`ff2a68f`](https://redirect.github.com/oxc-project/oxc/commit/ff2a68f ) linter/yoda: Simplify code ([#​7941](https://redirect.github.com/oxc-project/oxc/issues/7941 )) (overlookmotel)
##### Styling
- [`7fb9d47`](https://redirect.github.com/oxc-project/oxc/commit/7fb9d47 ) rust: `cargo +nightly fmt` ([#​7877](https://redirect.github.com/oxc-project/oxc/issues/7877 )) (Boshen)
### [`v0.15.2`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.15.2 ): oxlint v0.15.2
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.15.1...oxlint_v0.15.2 )
#### \[0.15.2] - 2024-12-14
Fix the previous broken release caused by [https://github.com/softprops/action-gh-release/issues/555 ](https://redirect.github.com/softprops/action-gh-release/issues/555 )
### [`v0.15.1`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v0.15.1 ): oxlint v0.15.1
[Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v0.15.0...oxlint_v0.15.1 )
#### \[0.15.1] - 2024-12-13
##### Features
- [`38b1c2e`](https://redirect.github.com/oxc-project/oxc/commit/38b1c2e ) editor: Create a command to apply all auto-fixes for the current active text editor ([#​7672](https://redirect.github.com/oxc-project/oxc/issues/7672 )) (Nicholas Rayburn)
##### Bug Fixes
- [`2b187e5`](https://redirect.github.com/oxc-project/oxc/commit/2b187e5 ) linter: Fix configuration casing for `typescript/no_this_alias` ([#​7836](https://redirect.github.com/oxc-project/oxc/issues/7836 )) (Boshen)
- [`06e6d38`](https://redirect.github.com/oxc-project/oxc/commit/06e6d38 ) linter: Fix unicorn/prefer-query-selector to use the correct replacement for getElementsByClassName ([#​7796](https://redirect.github.com/oxc-project/oxc/issues/7796 )) (Nicholas Rayburn)
- [`7a83230`](https://redirect.github.com/oxc-project/oxc/commit/7a83230 ) semantic: Missing reference when `export default` references a type alias binding ([#​7813](https://redirect.github.com/oxc-project/oxc/issues/7813 )) (Dunqing)
</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.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS41OC4xIiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-30 10:28:04 +00:00
fundon
569e63377d
fix(core): should sync name after renaming in pdf embed view ( #9398 )
...
https://github.com/user-attachments/assets/f6a3d7b8-9ae3-4d8f-833f-d7aca1e0fffa
2024-12-30 09:56:02 +00:00
Yifeng Wang
08ebfb6e70
fix(editor): undefined selected elements ( #9429 )
2024-12-30 17:25:07 +08:00
Saul-Mirone
b66a64bc9a
refactor(editor): use spec builder ( #9424 )
2024-12-30 08:42:58 +00:00
renovate
096a925db1
chore: bump up all non-major dependencies ( #9405 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| [@smarttools/eslint-plugin-rxjs](https://redirect.github.com/DaveMBush/eslint-plugin-rxjs ) | [`1.0.9` -> `1.0.10`](https://renovatebot.com/diffs/npm/@smarttools%2feslint-plugin-rxjs/1.0.9/1.0.10 ) | [](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 |
| [@swc/core](https://swc.rs ) ([source](https://redirect.github.com/swc-project/swc )) | [`1.10.3` -> `1.10.4`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.10.3/1.10.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 |
| @​types/dompurify | [`3.0.5` -> `3.2.0`](https://renovatebot.com/diffs/npm/@types%2fdompurify/3.0.5/3.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/ ) | devDependencies | minor |
| [Lakr233/MSDisplayLink](https://redirect.github.com/Lakr233/MSDisplayLink ) | `from: "1.1.0"` -> `from: "1.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/ ) | | patch |
| [Lakr233/SpringInterpolation](https://redirect.github.com/Lakr233/SpringInterpolation ) | `from: "1.1.0"` -> `from: "1.3.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/ ) | | minor |
| [katex](https://katex.org ) ([source](https://redirect.github.com/KaTeX/KaTeX )) | [`0.16.18` -> `0.16.19`](https://renovatebot.com/diffs/npm/katex/0.16.18/0.16.19 ) | [](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 |
| [lint-staged](https://redirect.github.com/lint-staged/lint-staged ) | [`15.2.11` -> `15.3.0`](https://renovatebot.com/diffs/npm/lint-staged/15.2.11/15.3.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 |
| [react-day-picker](https://daypicker.dev ) ([source](https://redirect.github.com/gpbl/react-day-picker )) | [`9.4.4` -> `9.5.0`](https://renovatebot.com/diffs/npm/react-day-picker/9.4.4/9.5.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 |
| [react-i18next](https://redirect.github.com/i18next/react-i18next ) | [`15.2.0` -> `15.3.0`](https://renovatebot.com/diffs/npm/react-i18next/15.2.0/15.3.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 |
| [swr](https://swr.vercel.app ) ([source](https://redirect.github.com/vercel/swr )) | [`2.2.5` -> `2.3.0`](https://renovatebot.com/diffs/npm/swr/2.2.5/2.3.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 |
| [vite](https://vite.dev ) ([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite )) | [`6.0.5` -> `6.0.6`](https://renovatebot.com/diffs/npm/vite/6.0.5/6.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/ ) | resolutions | patch |
| [yarn](https://redirect.github.com/yarnpkg/berry ) ([source](https://redirect.github.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli )) | [`4.5.3` -> `4.6.0`](https://renovatebot.com/diffs/npm/yarn/4.5.3/4.6.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/ ) | packageManager | minor |
| [yjs](https://docs.yjs.dev ) ([source](https://redirect.github.com/yjs/yjs )) | [`13.6.18` -> `13.6.21`](https://renovatebot.com/diffs/npm/yjs/13.6.18/13.6.21 ) | [](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 |
---
### Release Notes
<details>
<summary>DaveMBush/eslint-plugin-rxjs (@​smarttools/eslint-plugin-rxjs)</summary>
### [`v1.0.10`](https://redirect.github.com/DaveMBush/eslint-plugin-rxjs/releases/tag/v1.0.10 ): 1.0.10 (2024-12-28)
[Compare Source](https://redirect.github.com/DaveMBush/eslint-plugin-rxjs/compare/v1.0.9...v1.0.10 )
supplies type information by placing index.d.ts file next to index.cjs file
</details>
<details>
<summary>swc-project/swc (@​swc/core)</summary>
### [`v1.10.4`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1104---2024-12-30 )
[Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.10.3...v1.10.4 )
##### Bug Fixes
- **(deps)** Update cargo (patch) ([#​9733](https://redirect.github.com/swc-project/swc/issues/9733 )) ([fb2f6e4](fb2f6e44aa ))
- Remove `Caused by: 'failed to parse'` from TS blank space ([#​9820](https://redirect.github.com/swc-project/swc/issues/9820 )) ([aaeb0ab](aaeb0ab3b3 ))
</details>
<details>
<summary>Lakr233/MSDisplayLink (Lakr233/MSDisplayLink)</summary>
### [`v1.1.1`](https://redirect.github.com/Lakr233/MSDisplayLink/compare/1.1.0...1.1.1 )
[Compare Source](https://redirect.github.com/Lakr233/MSDisplayLink/compare/1.1.0...1.1.1 )
</details>
<details>
<summary>Lakr233/SpringInterpolation (Lakr233/SpringInterpolation)</summary>
### [`v1.3.0`](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.2.2...1.3.0 )
[Compare Source](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.2.2...1.3.0 )
### [`v1.2.2`](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.2.1...1.2.2 )
[Compare Source](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.2.1...1.2.2 )
### [`v1.2.1`](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.2.0...1.2.1 )
[Compare Source](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.2.0...1.2.1 )
### [`v1.2.0`](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.1.2...1.2.0 )
[Compare Source](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.1.2...1.2.0 )
### [`v1.1.2`](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.1.1...1.1.2 )
[Compare Source](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.1.1...1.1.2 )
### [`v1.1.1`](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.1.0...1.1.1 )
[Compare Source](https://redirect.github.com/Lakr233/SpringInterpolation/compare/1.1.0...1.1.1 )
</details>
<details>
<summary>KaTeX/KaTeX (katex)</summary>
### [`v0.16.19`](https://redirect.github.com/KaTeX/KaTeX/blob/HEAD/CHANGELOG.md#01619-2024-12-29 )
[Compare Source](https://redirect.github.com/KaTeX/KaTeX/compare/v0.16.18...v0.16.19 )
##### Bug Fixes
- **types:** improve `strict` function type ([#​4009](https://redirect.github.com/KaTeX/KaTeX/issues/4009 )) ([4228b4e](4228b4eb52 ))
</details>
<details>
<summary>lint-staged/lint-staged (lint-staged)</summary>
### [`v15.3.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1530 )
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.11...v15.3.0 )
##### Minor Changes
- [#​1495](https://redirect.github.com/lint-staged/lint-staged/pull/1495 ) [`e69da9e`](e69da9e614 ) Thanks [@​iiroj](https://redirect.github.com/iiroj )! - Added more info to the debug logs so that "environment" info doesn't need to be added separately to GitHub issues.
- [#​1493](https://redirect.github.com/lint-staged/lint-staged/pull/1493 ) [`fa0fe98`](fa0fe98104 ) Thanks [@​iiroj](https://redirect.github.com/iiroj )! - Added more help messages around the automatic `git stash` that *lint-staged* creates as a backup (by default). The console output also displays the short git *hash* of the stash so that it's easier to recover lost files in case some fatal errors are encountered, or the process is killed before completing.
For example:
% npx lint-staged
✔ Backed up original state in git stash (20addf8)
✔ Running tasks for staged files...
✔ Applying modifications from tasks...
✔ Cleaning up temporary files...
where the backup can be seen with `git show 20addf8`, or `git stash list`:
% git stash list
stash@{0}: lint-staged automatic backup (20addf8)
</details>
<details>
<summary>gpbl/react-day-picker (react-day-picker)</summary>
### [`v9.5.0`](https://redirect.github.com/gpbl/react-day-picker/compare/v9.4.4...a06052e71bf199402e15c5aee7805e2be2dd4498 )
[Compare Source](https://redirect.github.com/gpbl/react-day-picker/compare/v9.4.4...v9.5.0 )
</details>
<details>
<summary>i18next/react-i18next (react-i18next)</summary>
### [`v15.3.0`](https://redirect.github.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1530 )
[Compare Source](https://redirect.github.com/i18next/react-i18next/compare/v15.2.0...v15.3.0 )
Uses the i18next logger instead of the default console logger, if there is a valid i18next instance. Now the debug i18next option is respected, and you can also inject your own logger module: https://www.i18next.com/misc/creating-own-plugins#logger
</details>
<details>
<summary>vercel/swr (swr)</summary>
### [`v2.3.0`](https://redirect.github.com/vercel/swr/compare/v2.2.5...v2.3.0 )
[Compare Source](https://redirect.github.com/vercel/swr/compare/v2.2.5...v2.3.0 )
</details>
<details>
<summary>vitejs/vite (vite)</summary>
### [`v6.0.6`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small606-2024-12-26-small )
[Compare Source](https://redirect.github.com/vitejs/vite/compare/v6.0.5...v6.0.6 )
- fix: replace runner-side path normalization with `fetchModule`-side resolve ([#​18361](https://redirect.github.com/vitejs/vite/issues/18361 )) ([9f10261](9f10261e76 )), closes [#​18361](https://redirect.github.com/vitejs/vite/issues/18361 )
- fix(css): resolve style tags in HTML files correctly for lightningcss ([#​19001](https://redirect.github.com/vitejs/vite/issues/19001 )) ([afff05c](afff05c032 )), closes [#​19001](https://redirect.github.com/vitejs/vite/issues/19001 )
- fix(css): show correct error when unknown placeholder is used for CSS modules pattern in lightningcs ([9290d85](9290d85b5d )), closes [#​19070](https://redirect.github.com/vitejs/vite/issues/19070 )
- fix(resolve): handle package.json with UTF-8 BOM ([#​19000](https://redirect.github.com/vitejs/vite/issues/19000 )) ([902567a](902567ac53 )), closes [#​19000](https://redirect.github.com/vitejs/vite/issues/19000 )
- fix(ssrTransform): preserve line offset when transforming imports ([#​19004](https://redirect.github.com/vitejs/vite/issues/19004 )) ([1aa434e](1aa434e801 )), closes [#​19004](https://redirect.github.com/vitejs/vite/issues/19004 )
- chore: fix typo in comment ([#​19067](https://redirect.github.com/vitejs/vite/issues/19067 )) ([eb06ec3](eb06ec30bb )), closes [#​19067](https://redirect.github.com/vitejs/vite/issues/19067 )
- chore: update comment about `build.target` ([#​19047](https://redirect.github.com/vitejs/vite/issues/19047 )) ([0e9e81f](0e9e81f622 )), closes [#​19047](https://redirect.github.com/vitejs/vite/issues/19047 )
- revert: unpin esbuild version ([#​19043](https://redirect.github.com/vitejs/vite/issues/19043 )) ([8bfe247](8bfe247511 )), closes [#​19043](https://redirect.github.com/vitejs/vite/issues/19043 )
- test(ssr): test virtual module with query ([#​19044](https://redirect.github.com/vitejs/vite/issues/19044 )) ([a1f4b46](a1f4b46896 )), closes [#​19044](https://redirect.github.com/vitejs/vite/issues/19044 )
</details>
<details>
<summary>yarnpkg/berry (yarn)</summary>
### [`v4.6.0`](2fe7d635e8...1871484db8 )
[Compare Source](2fe7d635e8...1871484db8 )
</details>
<details>
<summary>yjs/yjs (yjs)</summary>
### [`v13.6.21`](https://redirect.github.com/yjs/yjs/releases/tag/v13.6.21 )
[Compare Source](https://redirect.github.com/yjs/yjs/compare/v13.6.20...v13.6.21 )
- fix [#​657](https://redirect.github.com/yjs/yjs/issues/657 ) - relative positions issue when using followUndoneDeletions=false [`f583d2a`](https://redirect.github.com/yjs/yjs/commit/f583d2a2 )
- lint [`1b0f2e5`](https://redirect.github.com/yjs/yjs/commit/1b0f2e54 )
- add nodejs specific tests [`4404d09`](https://redirect.github.com/yjs/yjs/commit/4404d090 )
- Merge pull request [#​679](https://redirect.github.com/yjs/yjs/issues/679 ) from hoangqwe159/main [`d4d4ae5`](https://redirect.github.com/yjs/yjs/commit/d4d4ae5f )
- Add PSPDFKit binding to README.md [`4ffd370`](https://redirect.github.com/yjs/yjs/commit/4ffd3709 )
- Merge pull request [#​676](https://redirect.github.com/yjs/yjs/issues/676 ) from himself65/patch-1 [`0419b74`](https://redirect.github.com/yjs/yjs/commit/0419b743 )
- add Open Collaboration Tools as a user [`c951f2b`](https://redirect.github.com/yjs/yjs/commit/c951f2b7 )
- docs: remove `@toeverything/y-indexeddb` [`4e2d3c8`](https://redirect.github.com/yjs/yjs/commit/4e2d3c8a )
- update readme [`8dc1296`](https://redirect.github.com/yjs/yjs/commit/8dc1296a )
- add stars to providers that sponsor yjs [`4329997`](https://redirect.github.com/yjs/yjs/commit/43299973 )
- Merge pull request [#​671](https://redirect.github.com/yjs/yjs/issues/671 ) from carlossantos74/main [`2b7ea8a`](https://redirect.github.com/yjs/yjs/commit/2b7ea8a2 )
- add SuperViz Provider in yjs README [`4f47355`](https://redirect.github.com/yjs/yjs/commit/4f473558 )
- \[funding.json] fix some validation issues [`6074f80`](https://redirect.github.com/yjs/yjs/commit/6074f802 )
- fix errors in funding.json [`42bbb44`](https://redirect.github.com/yjs/yjs/commit/42bbb44b )
- add funding.json [`cc2d732`](https://redirect.github.com/yjs/yjs/commit/cc2d7320 )
- add y-crdt elexir bindings [`e804dd7`](https://redirect.github.com/yjs/yjs/commit/e804dd75 )
### [`v13.6.20`](https://redirect.github.com/yjs/yjs/releases/tag/v13.6.20 )
[Compare Source](https://redirect.github.com/yjs/yjs/compare/v13.6.19...v13.6.20 )
- lint [`487465d`](https://redirect.github.com/yjs/yjs/commit/487465d7 )
- add yjs-inspector [`345fd31`](https://redirect.github.com/yjs/yjs/commit/345fd31b )
- add devtools [`4ff65b5`](https://redirect.github.com/yjs/yjs/commit/4ff65b5d )
- \[[#​667](https://redirect.github.com/yjs/yjs/issues/667 )] sanity checks for Yjs caveats. In dev_mode, objects inserted into Yjs can't be manipulated. [`8152cf8`](https://redirect.github.com/yjs/yjs/commit/8152cf81 )
- [#​667](https://redirect.github.com/yjs/yjs/issues/667 ) - add sanity messages when data is read before type is added to a document. [`3bf44b9`](https://redirect.github.com/yjs/yjs/commit/3bf44b98 )
- Y.Array.length should be 0 before it is integrated - [#​666](https://redirect.github.com/yjs/yjs/issues/666 ) [`8cd1a48`](https://redirect.github.com/yjs/yjs/commit/8cd1a482 )
- Merge pull request [#​665](https://redirect.github.com/yjs/yjs/issues/665 ) from batchor/main [`9e9f294`](https://redirect.github.com/yjs/yjs/commit/9e9f2940 )
- add ScienHub as a user. [`4fb7789`](https://redirect.github.com/yjs/yjs/commit/4fb7789c )
- add ScienHub as a user. [`c1ef9a1`](https://redirect.github.com/yjs/yjs/commit/c1ef9a12 )
### [`v13.6.19`](https://redirect.github.com/yjs/yjs/releases/tag/v13.6.19 )
[Compare Source](https://redirect.github.com/yjs/yjs/compare/v13.6.18...v13.6.19 )
- add `ydoc.isDestroyed` property [`f604250`](https://redirect.github.com/yjs/yjs/commit/f604250f )
- add eclipse theia as a user [`7422b18`](https://redirect.github.com/yjs/yjs/commit/7422b18e )
- add secsync [`95e2bc4`](https://redirect.github.com/yjs/yjs/commit/95e2bc44 )
- add kanbert as a user [`f2ff8b9`](https://redirect.github.com/yjs/yjs/commit/f2ff8b95 )
- Merge pull request [#​664](https://redirect.github.com/yjs/yjs/issues/664 ) from jul13579/add-qdacity-to-readme [`3f9bfe4`](https://redirect.github.com/yjs/yjs/commit/3f9bfe42 )
- Add QDAcity to `README.md` [`5b4d2a6`](https://redirect.github.com/yjs/yjs/commit/5b4d2a6b )
- fix new lint issues [`44e5108`](https://redirect.github.com/yjs/yjs/commit/44e51080 )
- update markdownlint [`dd17228`](https://redirect.github.com/yjs/yjs/commit/dd17228a )
- lint readme [`eeb4c99`](https://redirect.github.com/yjs/yjs/commit/eeb4c996 )
- Merge pull request [#​660](https://redirect.github.com/yjs/yjs/issues/660 ) from mtreinik/main [`56d5e32`](https://redirect.github.com/yjs/yjs/commit/56d5e328 )
- Remove erroneous ymap.get(index:number) from API docs [`294c6a1`](https://redirect.github.com/yjs/yjs/commit/294c6a15 )
- Add Y.Array.from() and yarray.clone() to API docs [`c944a45`](https://redirect.github.com/yjs/yjs/commit/c944a455 )
- update users [`f29cd2b`](https://redirect.github.com/yjs/yjs/commit/f29cd2ba )
- Merge pull request [#​651](https://redirect.github.com/yjs/yjs/issues/651 ) from nikgraf/patch-2 [`384ec4d`](https://redirect.github.com/yjs/yjs/commit/384ec4db )
- add react-yjs to bindings [`5e19c35`](https://redirect.github.com/yjs/yjs/commit/5e19c354 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS44MC4wIiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
2024-12-30 07:07:54 +00:00
Saul-Mirone
e3b6841944
refactor(editor): reorg block specs ( #9421 )
2024-12-30 05:59:25 +00:00
fundon
b9f2650369
feat(editor): store real color values in edgeless ( #9254 )
...
### What's Changed!
* adds theme type: `ThemeSchema`
* adds default theme: `DefaultTheme`
* stores real color values
2024-12-30 03:36:35 +00:00
fundon
a5641ae608
feat(editor): update edgeless color palette ( #9243 )
...
Closes: [BS-1475](https://linear.app/affine-design/issue/BS-1475/颜色主题更新 ) [BS-1803](https://linear.app/affine-design/issue/BS-1803/fill-color色板影响的yuan素 ) [BS-1804](https://linear.app/affine-design/issue/BS-1804/border-color色板影响的yuan素 ) [BS-1815](https://linear.app/affine-design/issue/BS-1815/连线文字配色略瞎 )
### What's Changed
* refactor `EdgelessLineWidthPanel` component, the previous width is fixed and cannot be used in the new design
* refactor `EdgelessColorPanel` and `EdgelessColorButton` components, make them simple and reusable
* delete redundant `EdgelessOneRowColorPanel` component
* unity and update color palette, if the previously set color is not in the latest color palette, the custom color button will be selected
2024-12-30 03:36:34 +00:00
Saul-Mirone
1e4b1807be
refactor(editor): query methods in edgeless api ( #9407 )
2024-12-28 07:48:41 +00:00
forehalo
12542f51f9
chore: bump base version to 0.19.0
2024-12-28 00:27:50 +08:00
pengx17
70e4c8feab
feat(core): info modal should render backlinks with preview ( #9387 )
...
fix AF-2033
2024-12-27 13:47:06 +00:00
EYHN
cff3a73db4
fix(core): fix create workspace force cloud ( #9382 )
2024-12-27 13:33:05 +00:00
pengx17
8bceece5b1
fix(core): cmdk command highlight ( #9390 )
...
fix AF-2032
2024-12-27 11:13:51 +00:00
Saul-Mirone
6da10f9a93
refactor(editor): merge get surface util ( #9371 )
2024-12-27 09:42:13 +00:00
pengx17
6977b0a948
fix(core): optimize at menu config loading 2 ( #9366 )
...
fix AF-2028
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">Recording at 2024-12-27 11.50.54.mp4</video>
2024-12-27 09:26:03 +00:00
pengx17
153c1b2c55
refactor(core): make lit portal a bit cleaner ( #9354 )
2024-12-27 08:34:04 +00:00
fundon
6fcdd015aa
fix(component): lit portal not re-rendering in inline links case ( #9321 )
...
* uses `portal.key` in templates
* updates `portal.id` for use in queries
2024-12-27 15:43:13 +08:00