diff --git a/CHANGELOG.md b/CHANGELOG.md index 3347468f9..bf184ff68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.19.5 + +- 🐞 Fix performance on startup + ## 0.19.4 - 🐞 Fix colorful timeline both for local & remote calendars diff --git a/manifest.json b/manifest.json index 185713bd3..51bbe0615 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-day-planner", "name": "Day Planner", - "version": "0.19.4", + "version": "0.19.5", "minAppVersion": "0.16.0", "description": "A day planner with clean UI and readable syntax", "author": "James Lynch, continued by Ivan Lednev", diff --git a/package-lock.json b/package-lock.json index 36b00f9eb..ebfb8cff2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-day-planner", - "version": "0.19.4", + "version": "0.19.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "obsidian-day-planner", - "version": "0.19.4", + "version": "0.19.5", "license": "MIT", "dependencies": { "@babel/preset-env": "^7.22.9", diff --git a/package.json b/package.json index 7989f1b90..df57dff12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-day-planner", - "version": "0.19.4", + "version": "0.19.5", "description": "A plugin to help you plan your day and setup pomodoro timers", "main": "main.js", "scripts": { diff --git a/src/ui/hooks/use-visible-daily-notes.ts b/src/ui/hooks/use-visible-daily-notes.ts index e6470e745..6bba5fa27 100644 --- a/src/ui/hooks/use-visible-daily-notes.ts +++ b/src/ui/hooks/use-visible-daily-notes.ts @@ -6,14 +6,14 @@ import { visibleDays } from "../../global-store/visible-days"; /** * * @param layoutReady used as a proxy that lets us know when the vault is ready to be queried for daily notes - * @param dataviewChange lets us know when some files changed, and we need to re-run + * @param debouncedTaskUpdateTrigger lets us know when some files changed, and we need to re-run */ export function useVisibleDailyNotes( layoutReady: Readable, - dataviewChange: Readable, + debouncedTaskUpdateTrigger: Readable, ) { return derived( - [layoutReady, visibleDays, dataviewChange], + [layoutReady, visibleDays, debouncedTaskUpdateTrigger], ([$layoutReady, $visibleDays]) => { if (!$layoutReady) { return []; diff --git a/src/util/create-hooks.ts b/src/util/create-hooks.ts index f0e7d5a13..2dcce8594 100644 --- a/src/util/create-hooks.ts +++ b/src/util/create-hooks.ts @@ -153,7 +153,7 @@ export function createHooks({ keyDown, reQueryAfterMillis, ); - const visibleDailyNotes = useVisibleDailyNotes(layoutReady, dataviewChange); + const visibleDailyNotes = useVisibleDailyNotes(layoutReady, debouncedTaskUpdateTrigger); const listsFromVisibleDailyNotes = useListsFromVisibleDailyNotes( visibleDailyNotes, debouncedTaskUpdateTrigger, diff --git a/versions.json b/versions.json index 2ec5c2f17..f03a5b2d0 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,5 @@ { + "0.19.5": "0.16.0", "0.19.4": "0.16.0", "0.19.3": "0.16.0", "0.19.2": "0.16.0",