mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
## New Features
* **Block Meta Markdown Adapter**:Inject the Block's metadata into
Markdown.
* **UI**:Apply interaction
* **Widget**
* Block-Level Widget: Displays the diffs of individual blocks within the
main content and supports accepting/rejecting individual diffs.
* Page-Level Widget: Displays global options (Accept all/Reject all).
* **Block Diff Service**:Bridge widget and diff data
* Widget subscribes to DiffMap(RenderDiff) data, refreshing the view
when the data changes.
* Widget performs operations such as Accept/Reject via methods provided
by Service.
* **Doc Edit Tool Card**:
* Display apply preview of semantic doc edit
* Support apply & accept/reject to the main content
* **Apply Playground**:A devtool for testing apply new content to
current
> CLOSE AI-274 AI-275 AI-276 AI-278
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Introduced block-level markdown diffing with accept/reject controls
for insertions, deletions, and updates.
* Added block diff widgets for individual blocks and pages, featuring
navigation and bulk accept/reject actions.
* Provided a block diff playground for testing and previewing markdown
changes (development mode only).
* Added a new document editing AI tool component with interactive diff
viewing and change application.
* Supported rendering of the document editing tool within AI chat
content streams.
* **Improvements**
* Enhanced widget rendering in list, paragraph, data view, and database
blocks for improved extensibility.
* Improved widget flavour matching with hierarchical wildcard support
for more flexible UI integration.
* **Chores**
* Updated the "@toeverything/theme" dependency to version ^1.1.16 across
multiple packages.
* Added new workspace dependencies for core frontend packages to improve
module linkage.
* Extended global styles with visual highlights for deleted blocks in AI
block diff feature.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
108 lines
3.3 KiB
JSON
108 lines
3.3 KiB
JSON
{
|
|
"name": "@affine/core",
|
|
"type": "module",
|
|
"private": true,
|
|
"version": "0.22.4",
|
|
"exports": {
|
|
"./*": "./src/*",
|
|
"./bootstrap": "./src/bootstrap/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"@affine/component": "workspace:*",
|
|
"@affine/debug": "workspace:*",
|
|
"@affine/electron-api": "workspace:*",
|
|
"@affine/env": "workspace:*",
|
|
"@affine/error": "workspace:*",
|
|
"@affine/graphql": "workspace:*",
|
|
"@affine/i18n": "workspace:*",
|
|
"@affine/nbstore": "workspace:*",
|
|
"@affine/templates": "workspace:*",
|
|
"@affine/track": "workspace:*",
|
|
"@blocksuite/affine": "workspace:*",
|
|
"@blocksuite/affine-components": "workspace:*",
|
|
"@blocksuite/affine-shared": "workspace:*",
|
|
"@blocksuite/global": "workspace:*",
|
|
"@blocksuite/icons": "^2.2.13",
|
|
"@blocksuite/std": "workspace:*",
|
|
"@dotlottie/player-component": "^2.7.12",
|
|
"@emotion/cache": "^11.14.0",
|
|
"@emotion/css": "^11.13.5",
|
|
"@emotion/react": "^11.14.0",
|
|
"@floating-ui/dom": "^1.6.13",
|
|
"@juggle/resize-observer": "^3.4.0",
|
|
"@lit/context": "^1.1.4",
|
|
"@marsidev/react-turnstile": "^1.1.0",
|
|
"@preact/signals-core": "^1.8.0",
|
|
"@radix-ui/react-collapsible": "^1.1.2",
|
|
"@radix-ui/react-dialog": "^1.1.3",
|
|
"@radix-ui/react-popover": "^1.1.3",
|
|
"@radix-ui/react-scroll-area": "^1.2.2",
|
|
"@radix-ui/react-slot": "^1.1.1",
|
|
"@radix-ui/react-toolbar": "^1.1.1",
|
|
"@sentry/react": "^9.2.0",
|
|
"@toeverything/infra": "workspace:*",
|
|
"@toeverything/pdf-viewer": "^0.1.1",
|
|
"@toeverything/theme": "^1.1.16",
|
|
"@vanilla-extract/dynamic": "^2.1.2",
|
|
"@webcontainer/api": "^1.6.1",
|
|
"animejs": "^4.0.0",
|
|
"bytes": "^3.1.2",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.0.4",
|
|
"core-js": "^3.39.0",
|
|
"dayjs": "^1.11.13",
|
|
"eventemitter2": "^6.4.9",
|
|
"file-type": "^21.0.0",
|
|
"filesize": "^10.1.6",
|
|
"foxact": "^0.2.43",
|
|
"fuse.js": "^7.0.0",
|
|
"graphemer": "^1.4.0",
|
|
"graphql": "^16.9.0",
|
|
"history": "^5.3.0",
|
|
"ical.js": "^2.1.0",
|
|
"idb": "^8.0.0",
|
|
"idb-keyval": "^6.2.1",
|
|
"image-blob-reduce": "^4.1.0",
|
|
"is-svg": "^6.0.0",
|
|
"jotai": "^2.10.3",
|
|
"jotai-scope": "^0.7.2",
|
|
"katex": "^0.16.11",
|
|
"lib0": "^0.2.99",
|
|
"lit": "^3.2.1",
|
|
"lodash-es": "^4.17.21",
|
|
"lottie-react": "^2.4.0",
|
|
"mp4-muxer": "^5.2.1",
|
|
"nanoid": "^5.0.9",
|
|
"next-themes": "^0.4.4",
|
|
"query-string": "^9.1.1",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"react-error-boundary": "^6.0.0",
|
|
"react-router-dom": "^6.28.0",
|
|
"react-transition-state": "^2.2.0",
|
|
"react-virtuoso": "^4.12.3",
|
|
"rxjs": "^7.8.1",
|
|
"ses": "^1.10.0",
|
|
"shiki": "^3.7.0",
|
|
"socket.io-client": "^4.8.1",
|
|
"swr": "2.3.3",
|
|
"tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch",
|
|
"y-protocols": "^1.0.6",
|
|
"yjs": "^13.6.21",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@blocksuite/affine-ext-loader": "workspace:*",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@types/animejs": "^3.1.12",
|
|
"@types/bytes": "^3.1.5",
|
|
"@types/image-blob-reduce": "^4.1.4",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@vanilla-extract/css": "^1.17.0",
|
|
"fake-indexeddb": "^6.0.0",
|
|
"lodash-es": "^4.17.21",
|
|
"vitest": "3.1.3"
|
|
}
|
|
}
|