Skip to content

Commit 82d1d85

Browse files
committed
Added README-obsidian-versions-compatibility.md
1 parent 10e0ae0 commit 82d1d85

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Obsidian versions compatibility
2+
3+
> | :exclamation: To avoid issues resulting from breaking changes in Obsidian always use the newest version of the plugin|
4+
> |----------------------------------------------|
5+
> | - Obsidian 1.7.2 - update the plugin to 3.1.0 or newer --> More details in a dedicated section below.|
6+
> | - Obsidian 1.6.3 - update the plugin to 2.1.11 or newer --> More details in a dedicated section below.|
7+
> | - Obsidian 1.6.0 - update the plugin to 2.1.9 or newer --> More details in a dedicated section below.|
8+
> | - Obsidian 1.5.4 - update the plugin to 2.1.7 or newer --> More details in a dedicated section below.|
9+
10+
> | :exclamation: Breaking changes in Obsidian 1.7.2 - update the plugin to 3.1.0 or newer|
11+
> |----------------------------------------------|
12+
>
13+
> Obsidian team introduced some more breaking changes in a not-backward-compatible way starting from Obsidian 1.7.2.
14+
>
15+
> The observed issues were minor and related to initial automatic application of custom sorting.
16+
> 1. The custom sort plugin is **unable to automatically apply the custom sort on start**
17+
> - when the File Explorer is not visible on app start
18+
> - for the _Lazy Plugin Loader_ plugin occurs by definition
19+
> - prevalent on mobile
20+
>
21+
> The release 3.1.0 fixed some of the scenarios by introducing a delay in initial auto-application
22+
> of custom sorting. The delay is by default set to 1 second and can be increased up to 30 seconds,
23+
> which can be needed for large vaults, large number of plugins or on mobile.
24+
>
25+
> At the same time, when the File Explorer is not visible on app start, the custom sorting can't be
26+
> applied automatically by definition: there is no instance of File Explorer. This is an unfortunate
27+
> side effect of the [deferred views](https://docs.obsidian.md/Plugins/Guides/Understanding+deferred+views)
28+
> introduced by Obsidian 1.7.2.
29+
> There is no cure for this scenario and the custom sorting has to be applied manually when the
30+
> File Explorer is eventually displayed. The simplest way is to click the ribbon icon (on desktop)
31+
> or use the command 'sort-on' on mobile.
32+
>
33+
> 2. The custom sort plugin **keeps showing the notifications** with each change to any note
34+
>
35+
> The release 3.1.0 fixed this fully
36+
>
37+
> ---
38+
> For more details of the observed misbehaviors you can go to:
39+
> - [#161: Find out how to automatically apply custom sort on app start / vault (re)load etc.](https://github.com/SebastianMC/obsidian-custom-sort/issues/161)
40+
> - [#162: \[bug\]\[minor\] Obsidian 1.7.2 breaking changes - when File Explorer is not displayed an attempt to apply custom sort fails with error](https://github.com/SebastianMC/obsidian-custom-sort/issues/162)
41+
> - [#163: Obsidian 1.7.2 - automatic sorting fails when launching Obsidian](https://github.com/SebastianMC/obsidian-custom-sort/issues/163)
42+
> - [#165: Obsidian 1.7.3 - Constant Notifications "Custom sorting ON" and "Parsing custom sorting specification SUCCEEDED!"](https://github.com/SebastianMC/obsidian-custom-sort/issues/165)
43+
> - [#169: Not working on mobile](https://github.com/SebastianMC/obsidian-custom-sort/issues/169)
44+
>
45+
46+
> | :exclamation: Breaking changes in Obsidian 1.6.3 causing a minor issue - update the plugin to 2.1.11 or newer|
47+
> |----------------------------------------------|
48+
>
49+
> Obsidian team introduced yet another breaking change in 1.6.3 probably related to plugin's lifecycle or File Explorer module lifecycle.
50+
> In result, due to race condition, the custom sort order is not always applied automatically after app reload or vault reload.
51+
> Manual (re)application is needed via ribbon click of via 'sort on' command.
52+
> The [2.1.11](https://github.com/SebastianMC/obsidian-custom-sort/releases/tag/2.1.11) release of the plugin fixes this inconvenience.
53+
>
54+
> For more details of the observed misbehavior (of not updated plugin) you can go to [#147](https://github.com/SebastianMC/obsidian-custom-sort/issues/147)
55+
56+
> | :exclamation: Breaking changes in Obsidian 1.6.0 (and newer) - update the plugin to 2.1.9 or newer|
57+
> |----------------------------------------------|
58+
>
59+
> Obsidian team introduced some breaking changes in File Explorer sorting code in a not-backward-compatible way starting from Obsidian 1.6.0.
60+
>
61+
> The **custom sort** plugin starting from release **2.1.9** was adjusted to work correctly with these breaking changes in Obsidian 1.6.0 and newer.
62+
> The plugin remains backward compatible, so you can safely update the plugin for Obsidian earlier than 1.6.0
63+
>
64+
> For more details of the observed misbehavior (of not updated plugin) you can go to [#145](https://github.com/SebastianMC/obsidian-custom-sort/issues/145)
65+
66+
> | :exclamation: Breaking changes in Obsidian 1.5.4 (and newer) - update the plugin to 2.1.7 or newer|
67+
> |----------------------------------------------|
68+
>
69+
> Obsidian team introduced some breaking changes in File Explorer in a not-backward-compatible way starting from Obsidian 1.5.4.
70+
>
71+
> The **custom sort** plugin starting from release **2.1.7** was adjusted to work correctly with these breaking changes in Obsidian 1.5.4 and newer.
72+
> The plugin remains backward compatible, so you can safely update the plugin for Obsidian earlier than 1.5.4
73+
>
74+
> For more details of the observed misbehavior (of not updated plugin) you can go to [#131](https://github.com/SebastianMC/obsidian-custom-sort/issues/131) or [#135](https://github.com/SebastianMC/obsidian-custom-sort/issues/135) or [#139](https://github.com/SebastianMC/obsidian-custom-sort/issues/139)
75+
>
76+

0 commit comments

Comments
 (0)