EYHN
a2ffdb4047
feat(core): new worker workspace engine ( #9257 )
2025-01-16 16:22:18 +00:00
doouding
99717196c5
refactor: rewrite blocksuite dnd ( #9595 )
...
### Changed
- Refactored BlockSuite drag-and-drop using @atlaskit/pragmatic-drag-and-drop/element/adapter.
- Updated block dragging to use the new drag-and-drop infrastructure.
### BlockSuite DND API
Access the BlockSuite drag-and-drop API via `std.dnd`. This is a lightweight wrapper around pragmatic-drag-and-drop, offering convenient generic types and more intuitive option names.
#### Drag payload structure
There's some constrain about drag payload. The whole drag payload looks like this:
```typescript
type DragPayload = {
entity: {
type: string
},
from: {
at: 'blocksuite',
docId: string
}
}
```
- The `from` field is auto-generated—no need for manual handling.
- The `entity` field is customizable, but it must include a `type`.
All drag-and-drop methods accept a generic type for entity, ensuring more accurate payloads in event handlers.
```typescript
type BlockEntity = {
type: 'blocks',
blockIds: string[]
}
dnd.draggable<BlockEntity>({
element: someElement,
setDragData: () => {
// the return type must satisfy the generic type
// in this case, it's BlockEntity
return {
type: 'blocks',
blockIds: []
}
}
});
dnd.monitor<BlockEntity>({
// the arguments is same for other event handler
onDrag({ source }) {
// the type of this is BlockEntity
source.data.entity
}
})
```
#### Drop payload
When hover on droppable target. You can set drop payload as well. All drag-and-drop methods accept a second generic type for drop payload.
The drop payload is customizable. Additionally, the DND system will add an `edge` field to the final payload object, indicating the nearest edge of the drop target relative to the current drag position.
```typescript
type DropPayload = {
blockId: string;
}
dnd.dropTarget<BlockEntity, DropPayload>({
getData() {
// the type should be DropPayload
return {
blockId: 'someId'
}
}
});
dnd.monitor<BlockEntity, DropPayload>({
// drag over on drop target
onDrag({ location }) {
const target = location.current.dropTargets[0];
// the type is DropPayload
target.data;
// retrieve the nearest edge of the drop target relative to the current drop position.
target.data.edge;
}
})
```
2025-01-16 12:36:58 +00:00
renovate
908afe19ee
chore: bump up file-type version to v20 ( #9731 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [file-type](https://redirect.github.com/sindresorhus/file-type ) | [`^19.6.0` -> `^20.0.0`](https://renovatebot.com/diffs/npm/file-type/19.6.0/20.0.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/ ) |
| [file-type](https://redirect.github.com/sindresorhus/file-type ) | [`^19.5.0` -> `^20.0.0`](https://renovatebot.com/diffs/npm/file-type/19.6.0/20.0.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/ ) |
---
### Release Notes
<details>
<summary>sindresorhus/file-type (file-type)</summary>
### [`v20.0.0`](https://redirect.github.com/sindresorhus/file-type/releases/tag/v20.0.0 )
[Compare Source](https://redirect.github.com/sindresorhus/file-type/compare/v19.6.0...v20.0.0 )
##### Breaking
- Drop MIME-type and extension enumeration in types ([#​693](https://redirect.github.com/sindresorhus/file-type/issues/693 )) [`0ff11c6`](https://redirect.github.com/sindresorhus/file-type/commit/0ff11c6 )
- Remove `NodeFileTypeParser` in favor of using `FileTypeParser` on all platforms ([#​707](https://redirect.github.com/sindresorhus/file-type/issues/707 )) [`ff8eed8`](https://redirect.github.com/sindresorhus/file-type/commit/ff8eed8 )
##### Improvements
- Give API access to `FileTypeParser#detectors` ([#​704](https://redirect.github.com/sindresorhus/file-type/issues/704 )) [`7e72bbc`](https://redirect.github.com/sindresorhus/file-type/commit/7e72bbc )
- Improve Nikon RAW NEF (Tiff) format detection ([#​670](https://redirect.github.com/sindresorhus/file-type/issues/670 )) [`cf6fc1e`](https://redirect.github.com/sindresorhus/file-type/commit/cf6fc1e )
- Add support for Java archive (`.jar`) ([#​719](https://redirect.github.com/sindresorhus/file-type/issues/719 )) [`8651809`](https://redirect.github.com/sindresorhus/file-type/commit/8651809 )
- Add support for MSOffice macro-enabled docs and templates ([#​720](https://redirect.github.com/sindresorhus/file-type/issues/720 )) [`7fe5667`](https://redirect.github.com/sindresorhus/file-type/commit/7fe5667 )
- Add support for OpenDocument graphics and templates ([#​718](https://redirect.github.com/sindresorhus/file-type/issues/718 )) [`4db407d`](https://redirect.github.com/sindresorhus/file-type/commit/4db407d )
- Add support for Microsoft Excel template with macros (.xltm) ([#​714](https://redirect.github.com/sindresorhus/file-type/issues/714 )) [`1fe621a`](https://redirect.github.com/sindresorhus/file-type/commit/1fe621a )
- Add support for Microsoft Word template (.dotx) ([#​713](https://redirect.github.com/sindresorhus/file-type/issues/713 )) [`643ef78`](https://redirect.github.com/sindresorhus/file-type/commit/643ef78 )
- Add support for Microsoft Excel template (`.xltx`) ([#​712](https://redirect.github.com/sindresorhus/file-type/issues/712 )) [`0dab3e0`](https://redirect.github.com/sindresorhus/file-type/commit/0dab3e0 )
- Add support for Microsoft PowerPoint template ( `.potx`) ([#​710](https://redirect.github.com/sindresorhus/file-type/issues/710 )) [`f978619`](https://redirect.github.com/sindresorhus/file-type/commit/f978619 )
- Add support for ZIP decompression using `@tokenizer/inflate` ([#​695](https://redirect.github.com/sindresorhus/file-type/issues/695 )) [`399b0f1`](https://redirect.github.com/sindresorhus/file-type/commit/399b0f1 )
- Add support for `.lz4` file format ([#​706](https://redirect.github.com/sindresorhus/file-type/issues/706 )) [`74acf94`](https://redirect.github.com/sindresorhus/file-type/commit/74acf94 )
- Add support for format `.drc`, Google's Draco 3D Data Compression ([#​702](https://redirect.github.com/sindresorhus/file-type/issues/702 )) [`e99257d`](https://redirect.github.com/sindresorhus/file-type/commit/e99257d )
##### Fixes
- Fix code sequence "File Type Box" detection ([#​705](https://redirect.github.com/sindresorhus/file-type/issues/705 )) [`7d4dd8d`](https://redirect.github.com/sindresorhus/file-type/commit/7d4dd8d )
***
</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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-01-16 10:08:14 +00:00
Brooooooklyn
e72371d15c
style: use typescript resolver for eslint import plugin ( #9662 )
2025-01-13 05:56:29 +00:00
Saul-Mirone
5b9256712e
chore(editor): remove unused awareness slot ( #9640 )
2025-01-11 04:27:45 +00:00
Mirone
446b31b621
refactor(editor): rename job to transformer ( #9639 )
2025-01-11 12:04:07 +08:00
EYHN
18ff7500c8
fix(core): fix menu not close when click outside ( #9535 )
2025-01-10 08:04:49 +00:00
Saul-Mirone
6feb4def2f
fix(editor): exisiting slice import should be move instead of add ( #9616 )
...
Closes: [BS-2339](https://linear.app/affine-design/issue/BS-2339/%E6%8B%96%E6%8B%BD%E9%87%8A%E6%94%BE%E5%90%8E%E7%9A%84%E4%BD%8D%E7%BD%AE%E4%B8%8D%E5%AF%B9 )
2025-01-09 12:14:54 +00:00
Saul-Mirone
126ab18967
feat(editor): selection as store extension ( #9605 )
2025-01-09 11:49:23 +00:00
Saul-Mirone
422bac6cbe
refactor(editor): remove readonly in awareness ( #9597 )
2025-01-09 05:15:35 +00:00
Saul-Mirone
d21ef47ae8
chore(editor): rename std.doc to std.store ( #9596 )
2025-01-09 04:16:28 +00:00
Saul-Mirone
3683297ccf
feat(editor): add feature flag service ( #9592 )
2025-01-08 15:46:31 +00:00
Saul-Mirone
5842d45ab1
feat(editor): merge store and blocks ( #9591 )
2025-01-08 13:01:19 +00:00
Saul-Mirone
fe727412be
feat(editor): add editor store ( #9584 )
2025-01-08 07:47:43 +00:00
forehalo
c0ed74dfed
chore: standardize tsconfig ( #9568 )
2025-01-08 04:07:56 +00:00
fourdim
ebaceb481d
fix(editor): enumerate ancestors ( #9540 )
2025-01-07 11:40:10 +00:00
L-Sun
440239809c
refactor(editor): refactor page note empty checker ( #9570 )
...
Close [BS-2320](https://linear.app/affine-design/issue/BS-2320/内容为空的状态判断 )
2025-01-07 11:24:40 +00:00
Saul-Mirone
5e51018c03
fix(editor): remove ts ignore ( #9567 )
2025-01-07 08:48:05 +00:00
Saul-Mirone
26fb9d148c
chore: remove awareness sync since it's not used ( #9563 )
2025-01-07 06:12:08 +00:00
Saul-Mirone
0d2eb64817
chore: move page not found error out of constants ( #9547 )
2025-01-07 05:57:38 +00:00
Saul-Mirone
f778d1a28a
refactor(editor): move extension to store ( #9552 )
2025-01-06 15:15:14 +00:00
EYHN
46c8c4a408
feat(nbstore): improve nbstore ( #9512 )
2025-01-06 09:38:04 +00:00
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
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
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
doodlewind
cbc84ff672
fix(editor): blur in edgeless content zooming ( #9496 )
...
Fix [BS-2294](https://linear.app/affine-design/issue/BS-2294/edgeless-%E7%BC%A9%E6%94%BE%E5%AD%97%E5%8F%B7%E6%A8%A1%E7%B3%8A )
2025-01-03 02:36:57 +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
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
Saul-Mirone
4b21dac4f8
chore: remove unused methods on slot ( #9472 )
2025-01-01 12:21:41 +00:00
Saul-Mirone
36c1b103df
test(editor): remove jsx snapshot ( #9463 )
2024-12-31 10:27:12 +00:00
Saul-Mirone
0f03c3fc5e
fix(editor): missing resource files in exported snapshot zip ( #9450 )
...
Closes: [BS-2280](https://linear.app/affine-design/issue/BS-2280/导出-zip-snapshot-丢失-blob )
2024-12-31 05:13:44 +00:00
Saul-Mirone
397a48380e
refactor(editor): simplify tsconfig ( #9439 )
2024-12-30 16:15:34 +00:00
doodlewind
d4053a345e
perf(editor): reduce per frame viewport dom ops ( #9431 )
...
Currently when panning / zooming on whiteboard, both position and transform of each block component are updated per frame. The positioning part lead to heavy layout costs, which can be reduced.
Before (~35fps):

After (~50fps):

Tested environment: TibetTravel templet, Windows 11, i5-1130G7 1.1GHz
2024-12-30 10:50:33 +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
forehalo
12542f51f9
chore: bump base version to 0.19.0
2024-12-28 00:27:50 +08:00
Saul-Mirone
5c4058cd73
fix(editor): dnd lag ( #9378 )
2024-12-27 10:34:00 +00:00
Saul-Mirone
2b27d62b0e
refactor(editor): cleanup ts-expect-error ( #9369 )
2024-12-27 05:14:23 +00:00
doodlewind
71b5cddea1
fix(editor): use nullable inline editor root element ( #9320 )
...
Fixes `sentry-7906c03b79a54ede819c56cc15ad9889`
2024-12-26 07:55:15 +00:00