Upgrading to 2.0
The update from 1.x to 2.0 installs like any other. Your settings are migrated automatically, so you do not need to export or re-enter anything. This guide lists what is migrated, what to check afterwards, and what is different.
What is migrated
Section titled “What is migrated”The migrations run in the extension’s background script when the browser installs or updates the extension. Each one only acts when there is something to migrate, so running it again changes nothing.
- Connection (host, port, token). 2.0 reads the same storage keys as 1.15.2, so these stay as they are. Very old installs may still hold a single
logseqHostURL. If so, 2.0 splits it into host and port, then deletes the old key. It never overwrites a host or port you have already saved. A URL without a port gets the default port of its scheme (80 forhttp, 443 forhttps). - Clip settings. 1.x had one clip template, one location and one custom page. 2.0 has a list of templates, and the clip shortcut and the context menu use the first one. On update, your template, location and custom page are copied into the first template. This only happens if you have not edited the templates yet, meaning they are unset or still the single built-in default. The old keys stay in storage, but clipping no longer reads them. The copy runs once.
- Floating clip button. The setting uses the same key as in 1.x and keeps its value.
What to check afterwards
Section titled “What to check afterwards”-
Open the extension options and go to Settings. The connection is checked as soon as the page loads. You should see “Connected to Logseq v…”. The extension builds the API address as
http://<host>:<port>, so the scheme of an oldhttps://URL is not kept. -
Reload tabs that were already open during the update. The extension only attaches to a page when it loads, so an old tab does not run the new content script. If you click a highlight in the sidebar on such a tab, it shows “Reload the page to jump to highlights”.
-
Open Templates and look at the first template. It should contain your old clip template.
-
If you want a key for the sidebar, bind one. The Open sidebar command has no default shortcut. The clip shortcut keeps its default,
Ctrl+Shift+U.
File graphs and DB graphs
Section titled “File graphs and DB graphs”There is no setting for the graph type. On each request the extension asks Logseq whether the current graph is a DB graph, and uses the matching code. The connection fields are the same for both: Host, Port and Authorization Token. File graphs are Logseq 0.10.x. DB graphs are Logseq 2.x.
The differences you can notice:
- Tasks. On a file graph, toggling a task rewrites the marker in the block text, and blocks with a
SCHEDULED:line are refused. On a DB graph, the task state is Logseq’s status property. TODO, DOING, DONE and CANCELED can be toggled, and other markers are refused. - URL lookup. On a file graph the lookup also tries the URL with its query string and hash. On a DB graph it searches by host and path.
Highlights are new
Section titled “Highlights are new”1.x marked the text you clipped, but only until you reloaded the page. It did not save highlights, so there is nothing to migrate. In 2.0 a highlight is saved when you clip a selection, and the list opens in the browser’s own sidebar. See Highlights in the browser sidebar.
If you tried a development build, you may remember a sidebar drawn over the page, with a floating toggle and a Ctrl/Cmd+Shift+H shortcut. They are removed. The sidebar is the browser’s own now, and the toolbar icon opens it in place of the 1.x popup. Only browsers that do not show a sidebar of their own get a sidebar drawn on the page, and it opens from the toolbar icon too. Arc has a side panel but does not show it, so the extension uses the one on the page there until you choose in Settings, Sidebar, In-page sidebar.
Permissions
Section titled “Permissions”The permission list is the same as in 1.15.2: storage, activeTab, contextMenus and access to all sites. 2.0 adds sidePanel on Chrome and Edge, which is what lets the side panel open. It does not trigger an install warning, so the update should not ask you to approve anything. The Firefox build declares that it collects no data.
Known limits
Section titled “Known limits”- Safari is not supported. See Installation.
- Firefox 127 or later is required. Older Firefox versions cannot install 2.0.
- Highlights only work on
httpandhttpspages, and only match the exact URL they were saved on. - Highlights are stored in the browser only. They are not written to Logseq.
If something does not migrate the way this page says, open an issue on GitHub or ask in Discussions. The 2.0 announcement has the full list of changes.
