mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-04-03 15:45:19 +00:00
Compare commits
1 Commits
0.25.52-pa
...
0.25.53
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8281390c4 |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-livesync",
|
||||
"name": "Self-hosted LiveSync",
|
||||
"version": "0.25.52-patched-3",
|
||||
"version": "0.25.53",
|
||||
"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.",
|
||||
"author": "vorotamoroz",
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "obsidian-livesync",
|
||||
"version": "0.25.52-patched-3",
|
||||
"version": "0.25.53",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "obsidian-livesync",
|
||||
"version": "0.25.52-patched-3",
|
||||
"version": "0.25.53",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.808.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "obsidian-livesync",
|
||||
"version": "0.25.52-patched-3",
|
||||
"version": "0.25.53",
|
||||
"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",
|
||||
|
||||
122
updates.md
122
updates.md
@@ -3,48 +3,43 @@ 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.
|
||||
|
||||
## 0.25.52-patched-3
|
||||
## 0.25.53
|
||||
|
||||
16th March, 2026
|
||||
17th March, 2026
|
||||
|
||||
I did wonder whether I should have released a minor version update, but when I actually tested it, compatibility seemed to be intact, so I didn’t. Hmm.
|
||||
|
||||
### Fixed
|
||||
|
||||
#### P2P Synchronisation
|
||||
|
||||
- Fixed flaky timing issues in P2P synchronisation.
|
||||
- Fixed more binary file handling issues in CLI.
|
||||
- No longer unexpected `Unhandled Rejections` during P2P operations (waiting for acceptance).
|
||||
|
||||
#### Journal Sync
|
||||
|
||||
- Fixed an issue where some conflicts cannot be resolved in Journal Sync.
|
||||
- Many minor fixes have been made for better stability and reliability.
|
||||
|
||||
### Tests
|
||||
|
||||
- Rewrite P2P end-to-end tests to use the CLI as host.
|
||||
- Rewrite P2P end-to-end tests to use the CLI as a host.
|
||||
|
||||
### CLI
|
||||
|
||||
## 0.25.52-patched-2
|
||||
We have previously developed FileSystem LiveSync and various other components in a separate repository, but updates have been significantly delayed, and we have been plagued by compatibility issues. Now, a CLI tool using the same core logic is emerging. This does not directly manipulate the file system, but it offers a more convenient way of working and can also communicate with Object Storage. We can also resolve conflicts. Please refer to the code in `src/apps/cli` for the [self-hosted-livesync-cli](./src/apps/cli/README.md) for more details.
|
||||
- Add `self-hosted-livesync-cli` to `src/apps/cli` as a headless and dedicated version.
|
||||
- P2P sync and Object Storage are also supported in the CLI.
|
||||
- Yes, we have finally managed to 'get one file'.
|
||||
- Also, no more need for a [LiveSync PeerServer](https://github.com/vrtmrz/livesync-serverpeer) for virtual environments! The CLI can do it.
|
||||
|
||||
14th March, 2026
|
||||
- Now binary files are also supported in the CLI.
|
||||
|
||||
### Fixed
|
||||
### Refactored or internal changes
|
||||
|
||||
- No longer unexpected `Unhandled Rejections` during P2P operations (waiting acceptance).
|
||||
- Fixed an issue where conflicts cannot be resolved in Journal Sync
|
||||
|
||||
### CLI new features
|
||||
|
||||
- `mirror` command has been added to the CLI. This command is intended to mirror the storage to the local database.
|
||||
- `p2p-sync`, `p2p-peers`, and `p2p-host` commands have been added to the CLI. These commands are intended for P2P synchronisation.
|
||||
- Yes, no more need for a [LiveSync PeerServer](https://github.com/vrtmrz/livesync-serverpeer) for virtual environments! The CLI can handle it by itself.
|
||||
|
||||
## 0.25.52-patched-1
|
||||
|
||||
12th March, 2026
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed Journal Sync had not been working on some timing, due to a compatibility issue (for a long time).
|
||||
- ServiceFileAccessBase now correctly handles the reading of binary files.
|
||||
- HeadlessAPIService now correctly provides the online status (always online) to the plug-in.
|
||||
- Non-worker version of bgWorker now correctly handles some functions.
|
||||
|
||||
### Refactored
|
||||
|
||||
- Separated `ObsidianLiveSyncPlugin` into `ObsidianLiveSyncPlugin` and `LiveSyncBaseCore`.
|
||||
- Now `LiveSyncCore` indicates the type specified version of `LiveSyncBaseCore`.
|
||||
- Referencing `plugin.xxx` has been rewritten to referencing the corresponding service or `core.xxx`.
|
||||
@@ -53,22 +48,9 @@ The head note of 0.25 is now in [updates_old.md](https://github.com/vrtmrz/obsid
|
||||
- ControlService now provides the readiness for processing operations.
|
||||
- DatabaseService is now able to modify database opening options on derived classes.
|
||||
- Now `useOfflineScanner`, `useCheckRemoteSize`, and `useRedFlagFeatures` are set from `main.ts`, instead of `LiveSyncBaseCore`.
|
||||
|
||||
### Internal API changes
|
||||
|
||||
- Storage Access APIs are now yielding Promises. This is to allow more limited storage platforms to be supported.
|
||||
- Journal Replicator now yields true after the replication is done.
|
||||
|
||||
### CLI
|
||||
|
||||
We have previously developed FileSystem LiveSync and various other components in a separate repository, but updates have been significantly delayed, and we have been plagued by compatibility issues. Now, a CLI tool using the same core logic is emerging. This does not directly manipulate the file system, but it offers a more convenient way of working and can also communicate with Object Storage. We can also resolve conflicts. Please refer to the code in `src/apps/cli` for the [self-hosted-livesync-cli](./src/apps/cli/README.md) for more details.
|
||||
|
||||
- Add `self-hosted-livesync-cli` to `src/apps/cli` as a headless and dedicated version.
|
||||
- Add more tests.
|
||||
- Object Storage support has also been confirmed (and fixed) in CLI.
|
||||
- Yes, we have finally managed to 'get one file'.
|
||||
- Now binary files are also supported in the CLI.
|
||||
|
||||
### R&D
|
||||
|
||||
- Browser-version of Self-hosted LiveSync is now in development. This is not intended for public use now, but I will eventually make it available for testing.
|
||||
@@ -271,67 +253,5 @@ This release is identical to 0.25.41-patched-3, except for the version number.
|
||||
- Migrated from the outdated, unstable platform abstraction layer to services.
|
||||
- A bit more services will be added in the future for better maintainability.
|
||||
|
||||
## 0.25.41
|
||||
|
||||
24th January, 2026
|
||||
|
||||
### Fixed
|
||||
|
||||
- No longer `No available splitter for settings!!` errors occur after fetching old remote settings while rebuilding local database. (#748)
|
||||
|
||||
### Improved
|
||||
|
||||
- Boot sequence warning is now kept in the in-editor notification area.
|
||||
|
||||
### New feature
|
||||
|
||||
- We can now set the maximum modified time for reflect events in the settings. (for #754)
|
||||
- This setting can be configured from `Patches` -> `Remediation` in the settings dialogue.
|
||||
- Enabling this setting will restrict the propagation from the database to storage to only those changes made before the specified date and time.
|
||||
- This feature is primarily intended for recovery purposes. After placing `redflag.md` in an empty vault and importing the Self-hosted LiveSync configuration, please perform this configuration, and then fetch the local database from the remote.
|
||||
- This feature is useful when we want to prevent recent unwanted changes from being reflected in the local storage.
|
||||
|
||||
### Refactored
|
||||
|
||||
- Module to service refactoring has been started for better maintainability:
|
||||
- UI module has been moved to UI service.
|
||||
|
||||
### Behaviour change
|
||||
|
||||
- Default chunk splitter version has been changed to `Rabin-Karp` for new installations.
|
||||
|
||||
## 0.25.40
|
||||
|
||||
23rd January, 2026
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed an issue where some events were not triggered correctly after the refactoring in 0.25.39.
|
||||
|
||||
## 0.25.39
|
||||
|
||||
23rd January, 2026
|
||||
|
||||
Also no behaviour changes or fixes in this release. Just refactoring for better maintainability. Thank you for your patience! I will address some of the reported issues soon.
|
||||
However, this is not a minor refactoring, so please be careful. Let me know if you find any unexpected behaviour after this update.
|
||||
|
||||
### Refactored
|
||||
|
||||
- Rewrite the service's binding/handler assignment systems
|
||||
- Removed loopholes that allowed traversal between services to clarify dependencies.
|
||||
- Consolidated the hidden state-related state, the handler, and the addition of bindings to the handler into a single object.
|
||||
- Currently, functions that can have handlers added implement either addHandler or setHandler directly on the function itself.
|
||||
I understand there are differing opinions on this, but for now, this is how it stands.
|
||||
- Services now possess a Context. Please ensure each platform has a class that inherits from ServiceContext.
|
||||
- To permit services to be dynamically bound, the services themselves are now defined by interfaces.
|
||||
|
||||
## 0.25.38
|
||||
|
||||
17th January, 2026
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed an issue where indexedDB would not close correctly on some environments, causing unexpected errors during database operations.
|
||||
|
||||
Full notes are in
|
||||
[updates_old.md](https://github.com/vrtmrz/obsidian-livesync/blob/main/updates_old.md).
|
||||
|
||||
171
updates_old.md
171
updates_old.md
@@ -3,6 +3,177 @@ 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.
|
||||
|
||||
## 0.25.53
|
||||
|
||||
17th March, 2026
|
||||
|
||||
I did wonder whether I should have released a minor version update, but when I actually tested it, compatibility seemed to be intact, so I didn’t. Hmm.
|
||||
|
||||
### Fixed
|
||||
|
||||
#### P2P Synchronisation
|
||||
|
||||
- Fixed flaky timing issues in P2P synchronisation.
|
||||
- No longer unexpected `Unhandled Rejections` during P2P operations (waiting for acceptance).
|
||||
|
||||
#### Journal Sync
|
||||
|
||||
- Fixed an issue where some conflicts cannot be resolved in Journal Sync.
|
||||
- Many minor fixes have been made for better stability and reliability.
|
||||
|
||||
### Tests
|
||||
|
||||
- Rewrite P2P end-to-end tests to use the CLI as a host.
|
||||
|
||||
### CLI
|
||||
|
||||
We have previously developed FileSystem LiveSync and various other components in a separate repository, but updates have been significantly delayed, and we have been plagued by compatibility issues. Now, a CLI tool using the same core logic is emerging. This does not directly manipulate the file system, but it offers a more convenient way of working and can also communicate with Object Storage. We can also resolve conflicts. Please refer to the code in `src/apps/cli` for the [self-hosted-livesync-cli](./src/apps/cli/README.md) for more details.
|
||||
- Add `self-hosted-livesync-cli` to `src/apps/cli` as a headless and dedicated version.
|
||||
- P2P sync and Object Storage are also supported in the CLI.
|
||||
- Yes, we have finally managed to 'get one file'.
|
||||
- Also, no more need for a [LiveSync PeerServer](https://github.com/vrtmrz/livesync-serverpeer) for virtual environments! The CLI can do it.
|
||||
|
||||
- Now binary files are also supported in the CLI.
|
||||
|
||||
### Refactored or internal changes
|
||||
|
||||
- ServiceFileAccessBase now correctly handles the reading of binary files.
|
||||
- HeadlessAPIService now correctly provides the online status (always online) to the plug-in.
|
||||
- Non-worker version of bgWorker now correctly handles some functions.
|
||||
- Separated `ObsidianLiveSyncPlugin` into `ObsidianLiveSyncPlugin` and `LiveSyncBaseCore`.
|
||||
- Now `LiveSyncCore` indicates the type specified version of `LiveSyncBaseCore`.
|
||||
- Referencing `plugin.xxx` has been rewritten to referencing the corresponding service or `core.xxx`.
|
||||
- Offline change scanner and the local database preparation have been separated.
|
||||
- Set default priority for processFileEvent and processSynchroniseResult for the place to add hooks.
|
||||
- ControlService now provides the readiness for processing operations.
|
||||
- DatabaseService is now able to modify database opening options on derived classes.
|
||||
- Now `useOfflineScanner`, `useCheckRemoteSize`, and `useRedFlagFeatures` are set from `main.ts`, instead of `LiveSyncBaseCore`.
|
||||
- Storage Access APIs are now yielding Promises. This is to allow more limited storage platforms to be supported.
|
||||
- Journal Replicator now yields true after the replication is done.
|
||||
|
||||
### R&D
|
||||
|
||||
- Browser-version of Self-hosted LiveSync is now in development. This is not intended for public use now, but I will eventually make it available for testing.
|
||||
- We can see the code in `src/apps/webapp` for the browser version.
|
||||
|
||||
|
||||
## 0.25.52-patched-3
|
||||
|
||||
16th March, 2026
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed flaky timing issues in P2P synchronisation.
|
||||
- Fixed more binary file handling issues in CLI.
|
||||
|
||||
### Tests
|
||||
|
||||
- Rewrite P2P end-to-end tests to use the CLI as host.
|
||||
|
||||
|
||||
## 0.25.52-patched-2
|
||||
|
||||
14th March, 2026
|
||||
|
||||
### Fixed
|
||||
|
||||
- No longer unexpected `Unhandled Rejections` during P2P operations (waiting acceptance).
|
||||
- Fixed an issue where conflicts cannot be resolved in Journal Sync
|
||||
|
||||
### CLI new features
|
||||
|
||||
- `mirror` command has been added to the CLI. This command is intended to mirror the storage to the local database.
|
||||
- `p2p-sync`, `p2p-peers`, and `p2p-host` commands have been added to the CLI. These commands are intended for P2P synchronisation.
|
||||
- Yes, no more need for a [LiveSync PeerServer](https://github.com/vrtmrz/livesync-serverpeer) for virtual environments! The CLI can handle it by itself.
|
||||
|
||||
## 0.25.52-patched-1
|
||||
|
||||
12th March, 2026
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed Journal Sync had not been working on some timing, due to a compatibility issue (for a long time).
|
||||
- ServiceFileAccessBase now correctly handles the reading of binary files.
|
||||
- HeadlessAPIService now correctly provides the online status (always online) to the plug-in.
|
||||
- Non-worker version of bgWorker now correctly handles some functions.
|
||||
|
||||
### Refactored
|
||||
|
||||
- Separated `ObsidianLiveSyncPlugin` into `ObsidianLiveSyncPlugin` and `LiveSyncBaseCore`.
|
||||
- Now `LiveSyncCore` indicates the type specified version of `LiveSyncBaseCore`.
|
||||
- Referencing `plugin.xxx` has been rewritten to referencing the corresponding service or `core.xxx`.
|
||||
- Offline change scanner and the local database preparation have been separated.
|
||||
- Set default priority for processFileEvent and processSynchroniseResult for the place to add hooks.
|
||||
- ControlService now provides the readiness for processing operations.
|
||||
- DatabaseService is now able to modify database opening options on derived classes.
|
||||
- Now `useOfflineScanner`, `useCheckRemoteSize`, and `useRedFlagFeatures` are set from `main.ts`, instead of `LiveSyncBaseCore`.
|
||||
|
||||
### Internal API changes
|
||||
|
||||
- Storage Access APIs are now yielding Promises. This is to allow more limited storage platforms to be supported.
|
||||
- Journal Replicator now yields true after the replication is done.
|
||||
|
||||
### CLI
|
||||
|
||||
We have previously developed FileSystem LiveSync and various other components in a separate repository, but updates have been significantly delayed, and we have been plagued by compatibility issues. Now, a CLI tool using the same core logic is emerging. This does not directly manipulate the file system, but it offers a more convenient way of working and can also communicate with Object Storage. We can also resolve conflicts. Please refer to the code in `src/apps/cli` for the [self-hosted-livesync-cli](./src/apps/cli/README.md) for more details.
|
||||
|
||||
- Add `self-hosted-livesync-cli` to `src/apps/cli` as a headless and dedicated version.
|
||||
- Add more tests.
|
||||
- Object Storage support has also been confirmed (and fixed) in CLI.
|
||||
- Yes, we have finally managed to 'get one file'.
|
||||
- Now binary files are also supported in the CLI.
|
||||
|
||||
### R&D
|
||||
|
||||
- Browser-version of Self-hosted LiveSync is now in development. This is not intended for public use now, but I will eventually make it available for testing.
|
||||
- We can see the code in `src/apps/webapp` for the browser version.
|
||||
|
||||
|
||||
## 0.25.52
|
||||
|
||||
9th March, 2026
|
||||
|
||||
Excuses: Too much `I`.
|
||||
Whilst I had a fever, I could not figure it out at all, but once I felt better, I spotted the problem in about thirty seconds. I apologise for causing you concern. I am grateful for your patience.
|
||||
I would like to devise a mechanism for running simple test scenarios. Now that we have got the Obsidian CLI up and running, it seems the perfect opportunity.
|
||||
|
||||
To improve the bus factor, we really need to organise the source code more thoroughly. Your cooperation and contributions would be greatly appreciated.
|
||||
|
||||
### Fixed
|
||||
|
||||
- No longer unexpected deletion-propagation occurs when the parent directory is not empty (#813).
|
||||
|
||||
### Revert reversions
|
||||
|
||||
- Reverted the reversion of ModuleCheckRemoteSize. Now it is back to the service feature.
|
||||
|
||||
## 0.25.51
|
||||
|
||||
7th March, 2026
|
||||
|
||||
### Reverted
|
||||
|
||||
- Reverted to ModuleRedFlag and ModuleInitializerFile to the previous version because of some unexpected issues. (#813)
|
||||
- I will re-implement them in the future with better design and tests.
|
||||
|
||||
## 0.25.50
|
||||
|
||||
3rd March, 2026
|
||||
|
||||
Note: 0.25.49 has been skipped because of too verbose logging (credentials are logged in verbose level, but I realised that could lead to unexpected exposure on issue reporting). Please bump to 0.25.50 to get the fix if you are on 0.25.49. (No expected behaviour changes except the logging).
|
||||
|
||||
### Fixed
|
||||
|
||||
- No longer deleted files are not clickable in the Global History pane.
|
||||
- Diff view now uses more specific classes (#803).
|
||||
- A message of configuration mismatching slightly added for better understanding.
|
||||
- Now it says `When replication is initiated manually via the command palette or ribbon, a dialogue box will open to address this.` to make it clear that the user can fix the issue by themselves.
|
||||
|
||||
### Refactored
|
||||
|
||||
- `ModuleRedFlag` has been refactored to `serviceFeatures/redFlag` and also tested.
|
||||
- `ModuleInitializerFile` has been refactored to `lib/serviceFeatures/offlineScanner` and also tested.
|
||||
|
||||
## 0.25.48
|
||||
|
||||
2nd March, 2026
|
||||
|
||||
Reference in New Issue
Block a user