@blocksuite/store
Advanced tools
Comparing version 0.0.0-canary-20241204001525 to 0.0.0-canary-20241205001533
# @blocksuite/store | ||
## 0.0.0-canary-20241204001525 | ||
## 0.0.0-canary-20241205001533 | ||
@@ -9,6 +9,61 @@ ### Patch Changes | ||
- Updated dependencies | ||
- @blocksuite/global@0.0.0-canary-20241204001525 | ||
- @blocksuite/inline@0.0.0-canary-20241204001525 | ||
- @blocksuite/sync@0.0.0-canary-20241204001525 | ||
- @blocksuite/global@0.0.0-canary-20241205001533 | ||
- @blocksuite/inline@0.0.0-canary-20241205001533 | ||
- @blocksuite/sync@0.0.0-canary-20241205001533 | ||
## 0.18.2 | ||
### Patch Changes | ||
- f97c4ab: bump | ||
## Feat | ||
- feat(database): date-picker add clear button (#8856) | ||
- feat(blocks): add plain text block adapter for linked and synced doc block (#8848) | ||
- feat: generate url service (#8813) | ||
- feat(blocks): add plain text block adapter for latex (#8845) | ||
- feat(blocks): provide a mobile spec patches (#8836) | ||
- feat(blocks): add plain text block adapter for embed link block (#8843) | ||
- feat(blocks): add support for non consecutive list in adapter (#8802) | ||
- feat(playground): add an adpater panel to playground (#8841) | ||
- feat(database): store current view id in local-storage (#8838) | ||
## Fix | ||
- fix: dispose model update listeners (#8857) | ||
- fix: memory leak in zero width block (#8855) | ||
- fix: block selection memory leak (#8854) | ||
- fix(store): add dispose method to collection (#8852) | ||
- fix(playground): cannot click docs panel doc (#8850) | ||
- fix(edgeless): widget memory leak (#8853) | ||
- fix: memory leak on switching from doc to edgeless (#8851) | ||
- fix(database): multiple spaces in the title are displayed as a single space (#8839) | ||
- fix(store): add shim.d.ts to files (#8834) | ||
- fix(blocks): should paste text content as note on edgeless when copy from doc mode (#8827) | ||
- fix(blocks): peek db doc should also pass the dbs doc id (#8818) | ||
- fix: background color and width of input in color picker (#8822) | ||
- fix(blocks): newline handling in MixTextAdapter and paste middleware (#8821) | ||
## Chore | ||
- chore(blocks): update code block styles (#8847) | ||
- chore: lock file maintenance (#8835) | ||
- chore(blocks): bump theme (#8849) | ||
## Refactor | ||
- refactor(edgeless): adjust logic of dragging selection (#8842) | ||
- refactor(database): make Tag-Select component compatible with mobile devices (#8844) | ||
- refactor(database): make Date-Picker component compatible with mobile devices (#8846) | ||
- refactor: migrate plain text adapter to extension (#8831) | ||
- refactor: markdown adapter (#8798) | ||
- refactor(edgeless): extract side effects of edgeless element toolbar (#8828) | ||
- refactor(edgeless): refine and remove duplicate type (#8823) | ||
- Updated dependencies [f97c4ab] | ||
- @blocksuite/global@0.18.2 | ||
- @blocksuite/inline@0.18.2 | ||
- @blocksuite/sync@0.18.2 | ||
## 0.18.1 | ||
@@ -15,0 +70,0 @@ |
@@ -70,2 +70,3 @@ import type { BlockSuiteFlags } from '@blocksuite/global/types'; | ||
}): Doc; | ||
dispose(): void; | ||
/** | ||
@@ -72,0 +73,0 @@ * Terminate the data sync process forcefully, which may cause data loss. |
@@ -177,2 +177,5 @@ var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { | ||
} | ||
dispose() { | ||
this.awarenessStore.destroy(); | ||
} | ||
/** | ||
@@ -179,0 +182,0 @@ * Terminate the data sync process forcefully, which may cause data loss. |
@@ -50,6 +50,4 @@ import { Slot } from '@blocksuite/global/utils'; | ||
destroy() { | ||
if (this.awareness) { | ||
this.awareness.off('change', this._onAwarenessChange); | ||
this.slots.update.dispose(); | ||
} | ||
this.awareness.off('change', this._onAwarenessChange); | ||
this.slots.update.dispose(); | ||
} | ||
@@ -56,0 +54,0 @@ getFlag(field) { |
{ | ||
"name": "@blocksuite/store", | ||
"version": "0.0.0-canary-20241204001525", | ||
"version": "0.0.0-canary-20241205001533", | ||
"description": "BlockSuite data store built for general purpose state management.", | ||
@@ -23,5 +23,5 @@ "type": "module", | ||
"dependencies": { | ||
"@blocksuite/global": "0.0.0-canary-20241204001525", | ||
"@blocksuite/inline": "0.0.0-canary-20241204001525", | ||
"@blocksuite/sync": "0.0.0-canary-20241204001525", | ||
"@blocksuite/global": "0.0.0-canary-20241205001533", | ||
"@blocksuite/inline": "0.0.0-canary-20241205001533", | ||
"@blocksuite/sync": "0.0.0-canary-20241205001533", | ||
"@preact/signals-core": "^1.8.0", | ||
@@ -28,0 +28,0 @@ "@types/flexsearch": "^0.7.6", |
@@ -237,2 +237,6 @@ import type { BlockSuiteFlags } from '@blocksuite/global/types'; | ||
dispose() { | ||
this.awarenessStore.destroy(); | ||
} | ||
/** | ||
@@ -239,0 +243,0 @@ * Terminate the data sync process forcefully, which may cause data loss. |
@@ -97,6 +97,4 @@ import type { BlockSuiteFlags } from '@blocksuite/global/types'; | ||
destroy() { | ||
if (this.awareness) { | ||
this.awareness.off('change', this._onAwarenessChange); | ||
this.slots.update.dispose(); | ||
} | ||
this.awareness.off('change', this._onAwarenessChange); | ||
this.slots.update.dispose(); | ||
} | ||
@@ -103,0 +101,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
788558
11390
+ Added@blocksuite/global@0.0.0-canary-20241205001533(transitive)
+ Added@blocksuite/inline@0.0.0-canary-20241205001533(transitive)
+ Added@blocksuite/sync@0.0.0-canary-20241205001533(transitive)
- Removed@blocksuite/global@0.0.0-canary-20241204001525(transitive)
- Removed@blocksuite/inline@0.0.0-canary-20241204001525(transitive)
- Removed@blocksuite/sync@0.0.0-canary-20241204001525(transitive)