siyuan 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## 0.9.1 2023-12
3
+ ## 0.9.2 2024-01
4
+
5
+
6
+ ## 0.9.1 2023-12-26
7
+
8
+ * [Set `plugin.name` to read-only](https://github.com/siyuan-note/siyuan/issues/9943)
9
+ * [Support `Dock Plugin` and `Command Palette` on mobile](https://github.com/siyuan-note/siyuan/issues/9926)
4
10
 
5
11
  ## 0.9.0 2023-12-05
6
12
 
package/package.json CHANGED
@@ -12,6 +12,6 @@
12
12
  "README.md",
13
13
  "siyuan.d.ts"
14
14
  ],
15
- "version": "0.9.0",
15
+ "version": "0.9.1",
16
16
  "repository": "https://github.com/siyuan-note/petal"
17
17
  }
package/siyuan.d.ts CHANGED
@@ -488,7 +488,7 @@ export abstract class Plugin {
488
488
  i18n: I18N;
489
489
  data: any;
490
490
  displayName: string;
491
- name: string;
491
+ readonly name: string;
492
492
  app: App;
493
493
  commands: ICommandOption[];
494
494
  setting: Setting;
@@ -566,7 +566,7 @@ export abstract class Plugin {
566
566
  destroy?: (this: IDockModel) => void,
567
567
  resize?: (this: IDockModel) => void,
568
568
  update?: (this: IDockModel) => void,
569
- init: (this: IDockModel) => void,
569
+ init: (this: IDockModel, dock: IDockModel) => void,
570
570
  }): { config: IPluginDockTab, model: IDockModel };
571
571
 
572
572
  addCommand(options: ICommandOption): void;