Compare commits

...

2 Commits

Author SHA1 Message Date
vorotamoroz
3e78fe03e1 bump 2025-07-22 04:36:22 +01:00
vorotamoroz
4aa8fc3519 ## 0.25.3
### Fixed
- Now the `Doctor` at migration will save the configuration.
2025-07-22 04:35:40 +01:00
6 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
{ {
"id": "obsidian-livesync", "id": "obsidian-livesync",
"name": "Self-hosted LiveSync", "name": "Self-hosted LiveSync",
"version": "0.25.2", "version": "0.25.3",
"minAppVersion": "0.9.12", "minAppVersion": "0.9.12",
"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.", "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", "author": "vorotamoroz",

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "obsidian-livesync", "name": "obsidian-livesync",
"version": "0.25.2", "version": "0.25.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "obsidian-livesync", "name": "obsidian-livesync",
"version": "0.25.2", "version": "0.25.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.808.0", "@aws-sdk/client-s3": "^3.808.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "obsidian-livesync", "name": "obsidian-livesync",
"version": "0.25.2", "version": "0.25.3",
"description": "Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.", "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", "main": "main.js",
"type": "module", "type": "module",

View File

@@ -14,7 +14,7 @@ import { performDoctorConsultation, RebuildOptions } from "../../lib/src/common/
export class ModuleMigration extends AbstractModule implements ICoreModule { export class ModuleMigration extends AbstractModule implements ICoreModule {
async migrateUsingDoctor(skipRebuild: boolean = false, activateReason = "updated", forceRescan = false) { async migrateUsingDoctor(skipRebuild: boolean = false, activateReason = "updated", forceRescan = false) {
const { shouldRebuild, shouldRebuildLocal, isModified } = await performDoctorConsultation( const { shouldRebuild, shouldRebuildLocal, isModified, settings } = await performDoctorConsultation(
this.core, this.core,
this.settings, this.settings,
{ {
@@ -24,7 +24,10 @@ export class ModuleMigration extends AbstractModule implements ICoreModule {
forceRescan, forceRescan,
} }
); );
if (isModified) await this.core.saveSettings(); if (isModified) {
this.settings = settings;
await this.core.saveSettings();
}
if (!skipRebuild) { if (!skipRebuild) {
if (shouldRebuild) { if (shouldRebuild) {
await this.core.rebuilder.scheduleRebuild(); await this.core.rebuilder.scheduleRebuild();

View File

@@ -224,7 +224,7 @@ export class ModuleSetupObsidian extends AbstractObsidianModule implements IObsi
if (isModified) { if (isModified) {
this._log("Doctor has fixed some issues!", LOG_LEVEL_NOTICE); this._log("Doctor has fixed some issues!", LOG_LEVEL_NOTICE);
return { return {
settings: settings, settings,
shouldRebuild, shouldRebuild,
isModified, isModified,
}; };

View File

@@ -1,3 +1,9 @@
## 0.25.3
22nd July, 2025
### Fixed
- Now the `Doctor` at migration will save the configuration.
## 0.25.2 ~~0.25.1~~ ## 0.25.2 ~~0.25.1~~
(0.25.1 was missed due to a mistake in the versioning process). (0.25.1 was missed due to a mistake in the versioning process).
19th July, 2025 19th July, 2025