Skip to content

Commit

Permalink
[REL] Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
czottmann committed Jan 9, 2024
1 parent 6152094 commit d06f9c6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Release history

## 1.1.0, 2024-01-TODO
## 1.1.0, 2024-01-09

For Mononote to work correctly, _Settings__Editor_**_Always focus new tabs_ MUST BE ENABLED**. This is because it hooks into the `active-leaf-change` event which is not fired for new files when this setting is disabled. Technical limitations, sorry.

### New

- Tab handling has been entirely reworked to be more robust and reliable.
- The plugin now respects window boundaries as it should. Superfluous tabs will only be closed in the active window, other windows will be left alone.
- The plugin now respects pane & window boundaries as it should, superfluous tabs will only be closed in the active pane or window.
- If Mononote encounters a duplicate, it'll now favor the existing tab, and close the new one. This prevents losing undo history.
- Adds workaround for files which don't trigger Obsidian's `file-open` event, meaning Mononote will now work with files which aren't notes, such as PDFs or images. See the README for information on the updated behavior, and what to expect. [#2]
- Adds support for anchor links: If note A is already open in a tab 1, and you attempt to open note A in a tab 2, but with an anchor link (reference to a headline or block), tab 2 will be closed, while tab 1 will focus the anchor link. [#3]
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "mononote",
"name": "Mononote",
"version": "1.0.0",
"minAppVersion": "1.3.0",
"version": "1.1.0",
"minAppVersion": "1.4.0",
"description": "Ensures each note occupies only one tab. If a note is already open, its existing tab will be focussed instead of opening the same file in the current tab.",
"author": "Carlo Zottmann",
"authorUrl": "https://github.com/czottmann",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mononote",
"version": "1.0.0",
"version": "1.1.0",
"description": "Ensures each note occupies only one tab. If a note is already open, its existing tab will be focussed instead of opening the same file in the current tab.",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/plugin-info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"pluginVersion": "1.0.0",
"pluginReleasedAt": "2023-08-22T12:06:35+0200"
"pluginVersion": "1.1.0",
"pluginReleasedAt": "2024-01-09T10:24:09+0100"
}
4 changes: 2 additions & 2 deletions src/plugin-info.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* File will be overwritten by bin/release.sh! */
export const PLUGIN_INFO = {
"pluginVersion": "1.0.0",
"pluginReleasedAt": "2023-08-22T12:06:35+0200"
"pluginVersion": "1.1.0",
"pluginReleasedAt": "2024-01-09T10:24:09+0100"
}
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"0.1.6": "1.2.0",
"0.1.7": "1.2.0",
"0.1.8": "1.2.0",
"0.1.9": "1.2.0"
"0.1.9": "1.2.0",
"1.1.0": "1.4.0"
}

0 comments on commit d06f9c6

Please sign in to comment.