Skip to content

Commit

Permalink
Bump plugin version; disable file event registration
Browse files Browse the repository at this point in the history
Updated manifest, package, and versions to new patch version 0.0.32. Disabled file event handling within `FileCache` constructor reflecting a decision to avoid unnecessary event processing, as indicated by the added remark. This change may improve performance by reducing overhead, especially if events were not being utilized.
  • Loading branch information
PxaMMaxP committed Jan 16, 2024
1 parent 9dd0f5b commit aaa17d8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "prj",
"name": "Prj Plugin",
"version": "0.0.31",
"version": "0.0.32",
"minAppVersion": "0.15.0",
"description": "Prj Plugin - Project, Document, and Task Management",
"author": "M. Passarello",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-sample-plugin",
"version": "0.0.31",
"version": "0.0.32",
"description": "Prj Plugin - Project, Document, and Task Management",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/libs/FileCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default class FileCache {
/**
* Creates a new FileCache instance
* @constructor
* @remarks Events are disabled: We do not need them for now
*/
constructor() {
if (!this.fileCache) {
Expand All @@ -43,7 +44,7 @@ export default class FileCache {
this.createEventHandler = this.createEventHandler.bind(this);
this.renameEventHandler = this.renameEventHandler.bind(this);
this.deleteEventHandler = this.deleteEventHandler.bind(this);
this.registerEvents();
//this.registerEvents();
}

/**
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"0.0.28": "0.15.0",
"0.0.29": "0.15.0",
"0.0.30": "0.15.0",
"0.0.31": "0.15.0"
"0.0.31": "0.15.0",
"0.0.32": "0.15.0"
}

0 comments on commit aaa17d8

Please sign in to comment.