From 18f1fce3e8fc4366e3fd993ee02c071597f798f0 Mon Sep 17 00:00:00 2001 From: vorotamoroz Date: Fri, 19 Jun 2026 09:15:30 +0100 Subject: [PATCH] bump --- manifest.json | 2 +- package-lock.json | 10 +++++----- package.json | 5 +++-- src/apps/cli/package.json | 2 +- src/apps/webapp/package.json | 2 +- src/apps/webapp/test-entry.ts | 8 ++++---- src/apps/webpeer/package.json | 2 +- updates.md | 14 ++++++++++++-- 8 files changed, 28 insertions(+), 17 deletions(-) diff --git a/manifest.json b/manifest.json index 9119d01..7085e06 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-livesync", "name": "Self-hosted LiveSync", - "version": "0.25.76", + "version": "0.25.77", "minAppVersion": "1.7.2", "description": "Community implementation of self-hosted livesync. Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.", "author": "vorotamoroz", diff --git a/package-lock.json b/package-lock.json index c7d32e3..433fd38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-livesync", - "version": "0.25.76", + "version": "0.25.77", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "obsidian-livesync", - "version": "0.25.76", + "version": "0.25.77", "license": "MIT", "workspaces": [ "src/apps/cli", @@ -16210,7 +16210,7 @@ }, "src/apps/cli": { "name": "self-hosted-livesync-cli", - "version": "0.25.76-cli", + "version": "0.25.77-cli", "dependencies": { "chokidar": "^4.0.0", "minimatch": "^10.2.5", @@ -16236,7 +16236,7 @@ }, "src/apps/webapp": { "name": "livesync-webapp", - "version": "0.25.76-webapp", + "version": "0.25.77-webapp", "dependencies": { "octagonal-wheels": "^0.1.46" }, @@ -16251,7 +16251,7 @@ } }, "src/apps/webpeer": { - "version": "0.25.76-webpeer", + "version": "0.25.77-webpeer", "dependencies": { "octagonal-wheels": "^0.1.46" }, diff --git a/package.json b/package.json index 3a24297..0acdd1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-livesync", - "version": "0.25.76", + "version": "0.25.77", "description": "Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.", "main": "main.js", "type": "module", @@ -24,6 +24,7 @@ "svelte-check": "svelte-check --tsconfig ./tsconfig.json", "tsc-check": "tsc --noEmit", "pretty:importpath": "cd utilsdeno && deno run -A ./normalise-imports.ts", + "pretty:json": "prettier --config ./.prettierrc.mjs \"**/*.json\" --write --log-level error", "pretty": "npm run prettyNoWrite -- --write --log-level error", "prettyCheck": "npm run prettyNoWrite -- --check", "prettyNoWrite": "prettier --config ./.prettierrc.mjs \"**/*.js\" \"**/*.ts\" \"**/*.json\" ", @@ -60,7 +61,7 @@ "test:full": "npm run test:docker-all:start && vitest run --coverage && npm run test:docker-all:stop", "test:p2p": "bash test/suitep2p/run-p2p-tests.sh", "update-workspaces": "node update-workspaces.mjs", - "version": "node version-bump.mjs && node update-workspaces.mjs && git add manifest.json versions.json src/apps/cli/package.json src/apps/webpeer/package.json src/apps/webapp/package.json" + "version": "node version-bump.mjs && node update-workspaces.mjs && npm run pretty:json && git add manifest.json versions.json src/apps/cli/package.json src/apps/webpeer/package.json src/apps/webapp/package.json" }, "keywords": [], "author": "vorotamoroz", diff --git a/src/apps/cli/package.json b/src/apps/cli/package.json index 308f49d..e190cc5 100644 --- a/src/apps/cli/package.json +++ b/src/apps/cli/package.json @@ -1,7 +1,7 @@ { "name": "self-hosted-livesync-cli", "private": true, - "version": "0.25.76-cli", + "version": "0.25.77-cli", "main": "dist/index.cjs", "type": "module", "scripts": { diff --git a/src/apps/webapp/package.json b/src/apps/webapp/package.json index d5ea571..36ee189 100644 --- a/src/apps/webapp/package.json +++ b/src/apps/webapp/package.json @@ -1,7 +1,7 @@ { "name": "livesync-webapp", "private": true, - "version": "0.25.76-webapp", + "version": "0.25.77-webapp", "type": "module", "description": "Browser-based Self-hosted LiveSync using FileSystem API", "scripts": { diff --git a/src/apps/webapp/test-entry.ts b/src/apps/webapp/test-entry.ts index ec47e69..d14889a 100644 --- a/src/apps/webapp/test-entry.ts +++ b/src/apps/webapp/test-entry.ts @@ -205,10 +205,10 @@ const livesyncTest: LiveSyncTestAPI = { if (docPath !== vaultPath) continue; return { path: docPath, - revision: (doc._rev as string) ?? "", - conflicts: (doc._conflicts as string[]) ?? [], - size: (doc.size as number) ?? 0, - mtime: (doc.mtime as number) ?? 0, + revision: doc._rev ?? "", + conflicts: doc._conflicts ?? [], + size: doc.size ?? 0, + mtime: doc.mtime ?? 0, }; } return null; diff --git a/src/apps/webpeer/package.json b/src/apps/webpeer/package.json index 27bc9c9..9d3c70f 100644 --- a/src/apps/webpeer/package.json +++ b/src/apps/webpeer/package.json @@ -1,7 +1,7 @@ { "name": "webpeer", "private": true, - "version": "0.25.76-webpeer", + "version": "0.25.77-webpeer", "type": "module", "scripts": { "dev": "vite", diff --git a/updates.md b/updates.md index 3c110a2..6581b58 100644 --- a/updates.md +++ b/updates.md @@ -3,14 +3,24 @@ Since 19th July, 2025 (beta1 in 0.25.0-beta1, 13th July, 2025) The head note of 0.25 is now in [updates_old.md](https://github.com/vrtmrz/obsidian-livesync/blob/main/updates_old.md). Because 0.25 got a lot of updates, thankfully, compatibility is kept and we do not need breaking changes! In other words, when get enough stabled. The next version will be v1.0.0. Even though it my hope. -## Unreleased +## 0.25.77 -18th June, 2026 +19th June, 2026 + +This update is mostly meaningless for users. But for maintainers, not, I hope. I wonder if I were done well in the start, there would be no hassles. It really was a great opportunity. + +Also, this update is a very large one, even if we had a lot of time, and we had CI tests, and mostly only fixing the types. Please let me know if you find any issues! ### Improved - File deletion now respects the user's deletion preferences (by utilising the `FileManager.trashFile` API) on Obsidian v1.7.2 or newer, regardless of the plug-in's internal trashbin setting. +### Miscellaneous +- Typings of the library are now included +- Many typing errors have been improved. +- Import paths have been normalised to be relative to the root and to the `lib/src` directory, to avoid breaking the boundary between the library and the plug-in. +- Subprojects, such as the CLI and the webapp, are now in the workspace. + ## 0.25.76 15th June, 2026