pengx17
7fceb4cbd1
fix(electron): sometimes pops up failed to save dialog ( #11925 )
...
fix AF-2557
2025-04-24 02:27:23 +00:00
renovate
75d36a09e5
chore: bump up nestjs to v11.1.0 ( #11916 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@nestjs/common](https://nestjs.com ) ([source](https://redirect.github.com/nestjs/nest/tree/HEAD/packages/common )) | [`11.0.20` -> `11.1.0`](https://renovatebot.com/diffs/npm/@nestjs%2fcommon/11.0.20/11.1.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
| [@nestjs/core](https://nestjs.com ) ([source](https://redirect.github.com/nestjs/nest/tree/HEAD/packages/core )) | [`11.0.20` -> `11.1.0`](https://renovatebot.com/diffs/npm/@nestjs%2fcore/11.0.20/11.1.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
| [@nestjs/platform-express](https://nestjs.com ) ([source](https://redirect.github.com/nestjs/nest/tree/HEAD/packages/platform-express )) | [`11.0.20` -> `11.1.0`](https://renovatebot.com/diffs/npm/@nestjs%2fplatform-express/11.0.20/11.1.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
| [@nestjs/platform-socket.io](https://nestjs.com ) ([source](https://redirect.github.com/nestjs/nest/tree/HEAD/packages/platform-socket.io )) | [`11.0.20` -> `11.1.0`](https://renovatebot.com/diffs/npm/@nestjs%2fplatform-socket.io/11.0.20/11.1.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
| [@nestjs/websockets](https://redirect.github.com/nestjs/nest ) ([source](https://redirect.github.com/nestjs/nest/tree/HEAD/packages/websockets )) | [`11.0.20` -> `11.1.0`](https://renovatebot.com/diffs/npm/@nestjs%2fwebsockets/11.0.20/11.1.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>nestjs/nest (@​nestjs/common)</summary>
### [`v11.1.0`](https://redirect.github.com/nestjs/nest/compare/v11.0.21...112450bb0cbb847fbff5bec46a1c493587564305 )
[Compare Source](https://redirect.github.com/nestjs/nest/compare/v11.0.21...v11.1.0 )
### [`v11.0.21`](https://redirect.github.com/nestjs/nest/compare/v11.0.20...729a9cd7a3b4fcefb0271dde130911db9b0f9ed2 )
[Compare Source](https://redirect.github.com/nestjs/nest/compare/v11.0.20...v11.0.21 )
</details>
<details>
<summary>nestjs/nest (@​nestjs/core)</summary>
### [`v11.1.0`](https://redirect.github.com/nestjs/nest/compare/v11.0.21...112450bb0cbb847fbff5bec46a1c493587564305 )
[Compare Source](https://redirect.github.com/nestjs/nest/compare/v11.0.21...v11.1.0 )
### [`v11.0.21`](https://redirect.github.com/nestjs/nest/compare/v11.0.20...729a9cd7a3b4fcefb0271dde130911db9b0f9ed2 )
[Compare Source](https://redirect.github.com/nestjs/nest/compare/v11.0.20...v11.0.21 )
</details>
<details>
<summary>nestjs/nest (@​nestjs/platform-express)</summary>
### [`v11.1.0`](https://redirect.github.com/nestjs/nest/compare/v11.0.21...112450bb0cbb847fbff5bec46a1c493587564305 )
[Compare Source](https://redirect.github.com/nestjs/nest/compare/v11.0.21...v11.1.0 )
### [`v11.0.21`](https://redirect.github.com/nestjs/nest/compare/v11.0.20...729a9cd7a3b4fcefb0271dde130911db9b0f9ed2 )
[Compare Source](https://redirect.github.com/nestjs/nest/compare/v11.0.20...v11.0.21 )
</details>
<details>
<summary>nestjs/nest (@​nestjs/platform-socket.io)</summary>
### [`v11.1.0`](https://redirect.github.com/nestjs/nest/releases/tag/v11.1.0 )
[Compare Source](https://redirect.github.com/nestjs/nest/compare/v11.0.21...v11.1.0 )
##### v11.1.0 (2025-04-23)
##### Enhancements
- `microservices`
- [#​14540](https://redirect.github.com/nestjs/nest/pull/14540 ) feat(microservices): add support for topic exchange (rabbitmq) ([@​kamilmysliwiec](https://redirect.github.com/kamilmysliwiec ))
##### Committers: 1
- Kamil Mysliwiec ([@​kamilmysliwiec](https://redirect.github.com/kamilmysliwiec ))
### [`v11.0.21`](https://redirect.github.com/nestjs/nest/compare/v11.0.20...729a9cd7a3b4fcefb0271dde130911db9b0f9ed2 )
[Compare Source](https://redirect.github.com/nestjs/nest/compare/v11.0.20...v11.0.21 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNDguNCIsInVwZGF0ZWRJblZlciI6IjM5LjI0OC40IiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-04-24 02:12:44 +00:00
Xun Sun
8ea0d78862
fix(editor): preserve tag name updates on modifying tag color ( #11744 )
2025-04-24 10:09:17 +08:00
Xun Sun
3b4fcbd526
fix(editor): for single-select, picking the original option should make the TagManager disappear ( #11745 )
2025-04-24 10:09:00 +08:00
Saul-Mirone
20d4911641
refactor(editor): move connector overlay to connector package ( #11944 )
2025-04-24 01:27:28 +00:00
Saul-Mirone
0cd7111f20
feat(editor): connector gfx extension ( #11940 )
...
Closes: BS-3207
2025-04-24 01:27:28 +00:00
Saul-Mirone
9c0633b75c
feat(editor): template gfx extension ( #11939 )
...
Closes: BS-3212
2025-04-24 00:49:39 +00:00
Saul-Mirone
f0a233368d
feat(editor): mindmap gfx extension ( #11936 )
...
Closes: BS-3209
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced mind map view and store extensions, enhancing mind map integration and conversion to plain text and markdown formats.
- Added priority property to quick tools, allowing for custom ordering in the toolbar.
- **Improvements**
- Toolbar quick tools are now sorted by priority for a more intuitive user experience.
- Updated toolbar and extension configurations to streamline available tools and extensions.
- **Bug Fixes**
- Conditional registration of certain components ensures correct behavior in edgeless mode.
- **Chores**
- Updated dependencies and project references to improve module integration and maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-24 00:49:38 +00:00
Saul-Mirone
bc0530a708
feat(editor) shape gfx extension ( #11928 )
...
Closes: BS-3211
2025-04-23 15:46:23 +00:00
Saul-Mirone
61121ab727
feat(editor): brush and note gfx extension ( #11927 )
...
Closes: BS-3206
Closes: BS-3210
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced new brush and note view extensions, enhancing integration and extensibility for brush and note tools.
- Added store extension for brush tools, allowing for improved adapter integration.
- **Improvements**
- Expanded module exports for brush and note graphics, making store and view functionalities more accessible.
- Added new dependencies to support extension loading and improved project structure.
- **Refactor**
- Updated extension arrays and toolbars to use the new view and store extensions for brush and note tools.
- Removed legacy brush and note tools, effects, and toolbar extensions in favor of the new extension-based approach.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-23 15:46:22 +00:00
forehalo
c831a2ab2f
chore(server): ignore unknown config module ( #11926 )
2025-04-23 15:07:47 +00:00
darkskygit
b1500cb4df
feat(server): add time context for chat ( #11933 )
...
fix AI-84
2025-04-23 14:39:45 +00:00
Saul-Mirone
ea391779dd
feat(editor): inline preset extension ( #11919 )
...
Closes: BS-3214
2025-04-23 14:26:20 +00:00
EYHN
4df75ec5d0
fix(core): subscribe search not unsubscribe ( #11929 )
2025-04-23 13:56:58 +00:00
donteatfriedrice
db5eadb72a
feat(editor): add favicon, title, description support for footnote url reference ( #11924 )
...
Closes: [BS-3272](https://linear.app/affine-design/issue/BS-3272/footnote-适配-exa-api-返回结果 )
## What's Changed
Add link preview data support (favicon, title, description) for URL references in footnotes:
- Store and display URL preview data in footnotes
- Add encoding/decoding support for favicon URLs
- Optimize link preview by using existing preview data when available
2025-04-23 11:57:25 +00:00
fengmk2
ff133d1267
refactor(server): reduce server logs ( #11931 )
...
close CLOUD-201
2025-04-23 11:41:48 +00:00
darkskygit
ddb739fa13
feat: add pagination support for workspace config ( #11859 )
...
fix AI-78
2025-04-23 11:25:41 +00:00
darkskygit
5397fba897
feat(server): global embedding gql endpoint ( #11809 )
...
fix AI-30
fix AI-31
fix PD-2487
2025-04-23 11:25:41 +00:00
liuyi
5d9a3aac5b
Revert "build: allow node package depends on workspace packages ( #11892 )"
...
This reverts commit c00671dd84 .
2025-04-23 19:24:51 +08:00
forehalo
c00671dd84
build: allow node package depends on workspace packages ( #11892 )
2025-04-23 10:04:59 +00:00
forehalo
64997d4a0e
feat(infra): route package ( #10353 )
2025-04-23 09:49:11 +00:00
pengx17
e501e35d3d
fix(core): audio job submittion timeout too short ( #11918 )
...
fix AF-2556
2025-04-23 09:34:59 +00:00
Saul-Mirone
16831e8c0e
feat(editor): reference, mention and latex inline extension ( #11914 )
...
Closes: BS-3215
Closes: BS-3218
Closes: BS-3217
2025-04-23 09:22:16 +00:00
pengx17
cb2c559c6e
fix(core): reselt default contenteditable outline ( #11921 )
2025-04-23 09:06:31 +00:00
EYHN
9fbffccc25
fix(nbstore): fix indexer cache not working ( #11922 )
2025-04-23 08:53:48 +00:00
L-Sun
a9ad01491c
test(core): enable no-floating-promises rule for tests ( #11915 )
...
Sometimes, missing `await` in the test code can cause timing issues, leading to test failures. This PR enables the `no-floating-promises` rule for the test code to ensure that such errors do not occur.
2025-04-23 08:17:41 +00:00
CatsJuice
200015a811
feat(core): calendar integration storage ( #11788 )
...
close AF-2501, AF-2504
2025-04-23 07:57:23 +00:00
CatsJuice
af69154f1c
feat(core): sub-page for setting panel ( #11678 )
...
**setting panel sub-page impl, with cascading pages support.**
## Usage
```tsx
// inside setting content
const island = useSubPageIsland();
const [open, setOpen] = useState(false);
if (!island) {
return null;
}
return (
<SubPageProvider
island={island}
open={open}
onClose={() => setOpen(false)}
backText="Back"
/>
);
```
### Preview

2025-04-23 07:57:23 +00:00
pengx17
7e48dcc467
fix(electron): cannot stop recording ( #11917 )
...
fix AF-2552
2025-04-23 07:43:49 +00:00
L-Sun
9dbdd4b7ba
refactor(editor): add helper function for undo notification ( #11903 )
...
### What Changes
- Refactors the `notify` function call with undo button. It is called `notifyWithUndo`, which can associate the visibility of the `NotificationCard` with the top undo item in history stack, such as undo by shortcut `Cmd+Z`.
- change icon of the "Insert into page" button. Close [BS-3267](https://linear.app/affine-design/issue/BS-3267/frame和group的insert-into-page图标也更换一下 )
2025-04-23 05:56:23 +00:00
L-Sun
27ff9ab9f4
refactor(core): move actions to footer of notification card ( #11894 )
...
This PR move all actions button to the footer of `NotificationCard`. There are some example as following:
### No Changes



### Changes
### Before

#### After

2025-04-23 05:41:14 +00:00
CatsJuice
9b2cf5cafa
feat(core): new async global state storage impl ( #11794 )
2025-04-23 05:28:21 +00:00
L-Sun
9baef237f2
test(core): add missing await for expect ( #11900 )
2025-04-23 04:55:18 +00:00
Saul-Mirone
b1aecfc1c4
feat(editor): link inline extension ( #11910 )
...
Closes: BS-3216
2025-04-23 04:42:24 +00:00
doodlewind
1b2030b36a
fix(editor): should not paste in readonly page mode ( #11913 )
...
### TL;DR
Prevent pasting content when a document is in readonly mode.
### What changed?
Added a check in the `PageClipboard` class to prevent pasting operations when the document is in readonly mode. The function now returns early if `this.std.store.readonly` is true, preventing any clipboard operations from being executed.
### How to test?
1. Open a document and add some content
2. Set the document to readonly mode: `document.querySelector('affine-page-root')!.doc.readonly = true`
3. Try to paste content into the document using:
- Regular paste operation
- Keyboard shortcut (Ctrl+V/Cmd+V)
4. Verify that no content is pasted and the document remains unchanged
5. Set the document back to editable mode and confirm pasting works again
### Why make this change?
This change ensures that documents in readonly mode maintain their integrity by preventing unintended modifications through clipboard operations. This is consistent with the expected behavior of readonly documents, where users should not be able to modify content through any means.
2025-04-23 04:30:26 +00:00
Saul-Mirone
730ed16fc5
refactor(editor): remove old specs ( #11909 )
2025-04-23 02:57:01 +00:00
Saul-Mirone
2510e7a9a4
feat(editor): inline footnote extension ( #11908 )
...
Closes: BS-3219
2025-04-23 01:40:49 +00:00
Saul-Mirone
6fbbfc80e5
refactor(editor): move block-specific extensions to their respective modules ( #11907 )
...
### TL;DR
Refactored extension registration to follow a more modular approach by moving extensions to their respective block packages.
### What changed?
- Removed centralized registration of several extensions from `store.ts` in the main package
- Moved the following extensions to their respective block packages:
- `CodeMarkdownPreprocessorExtension` to the code block package
- `LatexMarkdownPreprocessorExtension` to the latex block package
- `EmbedIframeConfigExtensions` and `EmbedIframeService` to the embed block package
- `ImageStoreSpec` removed from central registration
- Cleaned up unused arrays and imports in the main store file
- Removed empty `defaultBlockPlainTextAdapterMatchers` array
### How to test?
1. Verify that markdown preprocessing for code and latex blocks still works correctly
2. Check that iframe embeds function properly
3. Ensure image handling continues to work as expected
4. Test import/export functionality for all affected block types
### Why make this change?
This change improves code organization by following a more modular architecture where each block package is responsible for registering its own extensions. This approach reduces coupling between packages, makes the codebase more maintainable, and follows the principle that extensions should be registered where they are defined.
2025-04-23 01:16:08 +00:00
Saul-Mirone
24edfc75bd
feat(editor): table extension ( #11906 )
...
Closes: BS-3205
2025-04-23 01:16:08 +00:00
Saul-Mirone
e57222b89a
feat(editor): surface ref extension ( #11902 )
...
Closes: BS-3203
2025-04-23 01:16:07 +00:00
L-Sun
020c1a7598
fix(editor): lit change-in-update warning ( #11904 )
...
This PR fixed that lit change-in-update warning. Related #9446
### Before

### After

2025-04-22 20:25:54 +00:00
Saul-Mirone
45b6cbe8d7
refactor(editor): cleanup dead code ( #11893 )
2025-04-22 15:51:23 +00:00
Saul-Mirone
43966a6c6b
feat(editor): use store extension manager ( #11891 )
...
Closes: BS-3284
2025-04-22 15:51:23 +00:00
Saul-Mirone
99ad4e871e
feat(editor): use migrated extensions ( #11886 )
...
Closes: BS-3283
2025-04-22 15:51:22 +00:00
darkskygit
de8c65f4e6
fix(server): empty mimetype attachments fallback ( #11869 )
2025-04-22 15:36:35 +00:00
darkskygit
597b27c22f
feat(server): enable web search for 4.1 ( #11825 )
2025-04-22 14:49:46 +00:00
donteatfriedrice
bbdea71686
fix(editor): add footnote url markdown preprocessor to avoid link node parsing ( #11888 )
...
Closes: [BS-3282](https://linear.app/affine-design/issue/BS-3282/预处理-footnote-definition-中的-url-避免-markdown-link-node-parsing )
2025-04-22 14:19:10 +00:00
pengx17
c17c335f9b
feat(core): add actions to transcription block ( #11896 )
2025-04-22 14:06:12 +00:00
aki-chang-dev
25d17af0ed
chore(android): set version name from pipeline ( #11897 )
2025-04-22 13:52:03 +00:00
Brooooooklyn
bfd3c64615
test: add mutex to clipboard copy & paste operation to reduce flaky ( #11884 )
2025-04-22 11:02:30 +00:00