Releases: RyotaUshio/obsidian-pdf-plus
0.40.23
- Removed the option "Enable editing encrypted PDF files" due to an upstream
pdf-lib
failure in saving back to encrypted PDF files (#348, #346). - Added a new option "Use PageUp/PageDown key to go to previous/next page", which is enabled by default (#351). This hotkey works regardless of whether the zoom level is set to "Fit width" unlike the native hotkeys (←/→).
- Replaced a UI text "Contents" with "Comment" in the annotation editing modal for better clarity (#347).
- Updated dependencies.
Full Changelog: 0.40.22...0.40.23
0.40.22
New features & improvements
- When you right-click on an external link in a PDF file, now you will see Obsidian's native command "Open in default browser". This allows you to choose if the link should be opened in Obsidian's new "Web Viewer" core plugin or your default browser in Obsidian 1.8.
- Added a new option "Blank line above appended content" in the auto-paste section (#331).
Bugfixes
- Reverted the fix for the Obsidian core's bug since the Obsidian team has fixed it in Obsidian 1.8.1 (related: #344).
- Fixed the "Default zoom level" option not working in Obsidian 1.8.0+ (#333).
- Fixed the issue that on Windows, dummy file creation sometimes failed due to the source URL containing "?" characters (#334).
Misc
- The "PDF++: Copy debug info" command's output is now single-line. This will make it easier to read bug reports on this repository.
- The internal
PDFCroppedEmbed
class is now exposed aspdfPlus.lib.PDFCroppedEmbed
(#335).
Full Changelog: 0.40.21...0.40.22
0.40.21
- Fixed Obsidian 1.8.0's bug where "Copy link to selection" would fail to copy proper links, causing various issues for PDF++ such as #327.
- #329: Added new Style Settings items "PDF internal link popover width/height". For more fine-grained styling, you can use the following selectors in your CSS snippets:
.popover.hover-popover.pdf-plus-pdf-internal-link-popover
: hover popovers for PDF internal links.popover.hover-popover.pdf-plus-outline-item-popover
: hover popovers for PDF outline items (a.k.a. bookmark, table of contents).popover.hover-popover.pdf-plus-thumbnail-item-popover
: hover popovers for PDF thumbnails.popover.hover-popover.pdf-plus-pdf-link-like-popover
: all of the above
- #309: Fixed the bug that the header icons in the plugin setting tab did not work in some cases.
Full Changelog: 0.40.20...0.40.21
0.40.20
Fixed #326: pasting rectangular selection as an image would fail if the PDF viewer was already closed at the moment of pasting.
Full Changelog: 0.40.19...0.40.20
0.40.19
- New feature (#325): Added a new Style Settings item (Style Settings > PDF++ > Hover popovers > Backlink popovers > Backlink popover width/height (px)) that allows you to customize the width and height of hover popovers displayed when you hover over backlinked highlights or rectangle regions.
- #323: Fixed the bug where if rectangular selection was configured to be embedded as images and the PDF viewer is in a popout window, characters in the selected rectangle area were rendered incorrectly in the embedded image.
Full Changelog: 0.40.18...0.40.19
0.40.18
- Fixed #322 where if you had a PDF embed in a note at the moment PDF++ was enabled, the embed would show the first page of the PDF regardless of the page specified with
#page=...
until the tab was reopened. - As a byproduct of this fix, PDF++'s initialization process now succeeds even if a PDF is opened in an embed in another embed or in an embed in a canvas card.
Full Changelog: 0.40.17...0.40.18
0.40.17
- #317: Fixed the bug where creation of dummy files by dragging & dropping a file from Finder would fail due to an Electron breaking change.
Full Changelog: 0.40.16...0.40.17
0.40.16
Fixed the issue #314 where the rectangle selection tool did not work in Obsidian 1.8.
This bug was caused by several reasons, including that the Obsidian team has changed the CSS class name pdf-viewer
to pdfViewer
in v1.8.0 (I don't know why!).
This might be also impacting some advanced users' custom CSS snippets, so I thought I'd share this discovery here.
Full Changelog: 0.40.15...0.40.16
0.40.15
- Fixed the auto-copy feature not working in Obsidian 1.8.0.
- #307: Added a new advanced option "Citation ID patterns", which allows you to customize what link is considered as a citation link based on the destination name. Thank you @luckymore, who has become the first contributor to this plugin other than myself (and the dependabot)!
Full Changelog: 0.40.14...0.40.15
0.40.14
By coincidence, it’s been a whole year today since the first version of this plugin came out!
Obsidian v1.8.0 adaptation
Two days ago, Obsidian released the early access version 1.8.0 for insiders.
This included some minor changes in the code behind their built-in PDF viewer, which was preventing this plugin from working properly.
However, I made the necessary adjustment in this release, so PDF++ should work just as before! 🎉
If you experienced any problems with Obsidian 1.8.x and PDF++ 0.40.14 or later, feel free to file a bug report.
Other changes
- #288: Added "in-page scroll" option, which allows you to focus on a single page at a time. For now, you will have to use your keyboard or type in the page number box to go to the next pages. I'm thinking of adding a pair of buttons to go to the next or previous page which will come in handy if you have this in-page scroll option enabled.
- Did some optimization around the text highlighting algorithm, which might alleviate the performance issue reported in #234.
- Fixed the bug where the link copying commands would result in a link text without text selection parameters.
Full Changelog: 0.40.13...0.40.14