Skip to content

Leaf 0.2.2

Latest

Choose a tag to compare

@jagritvats jagritvats released this 18 Nov 18:29
· 2 commits to main since this release

Leaf 0.2.2 fits better into your desktop and is safer with documents from others.

New

  • Share (File › Share): the Windows share sheet, Copy file to paste the PDF into Explorer, Outlook, Teams or a
    chat, Email… with the PDF attached, and Show in folder. If the document has unsaved changes, Leaf asks
    whether to save first or share a copy of the current state.
  • Right-click menus. The page has one, and text selections, comments, links, the comments panel, attachments and
    recent files have new ones. Highlight or redact selected text, add a note where you clicked, rotate or extract
    that page, reply to a comment, copy a link, and more.
  • Combine with Leaf. Select several PDFs in File Explorer, right-click, and choose Combine with Leaf (under
    Show more options on Windows 11) to get one new document. Edit with Leaf opens a PDF directly. From the command
    line: leaf --merge a.pdf b.pdf. KDE Dolphin gets a service menu too.
  • Make Leaf your default PDF app. The installer registers Leaf with Windows, so it's listed in Default apps and
    in "How do you want to open this?", but it doesn't change your default by itself. Settings › System › Make Leaf
    the default PDF app
    takes you to the right place. On Linux it sets it with xdg-mime after asking.
  • Jump list: right-click Leaf on the taskbar for New window.

Security

  • Links in PDFs can no longer start programs, scripts or shortcuts, or reach network shares (which could leak
    your Windows sign-in hash). Risky link types such as ms-msdt: and search-ms: are refused. Web, email, phone and
    map links work as before, and links to other apps ask with a warning first.
  • Attachments disguised as documents (e.g. invoice.exe.) are caught. Opened or saved attachments are marked as
    downloaded, so Windows SmartScreen and Office Protected View apply to them.
  • For AI agents (MCP and agent link): network paths are refused in every spelling, and "copies never overwrite"
    now also holds against races and symlinks.
  • Also: OCR language downloads only follow secure (https) redirects, crafted metadata can no longer freeze Leaf
    on save, the Linux style cache moved out of the shared /tmp, and an all-users (admin) install goes to Program
    Files.

Downloads

File For
Leaf-0.2.2-windows-x64-setup.exe Windows 10/11 x64 installer (recommended): per-user, no admin prompt
Leaf-0.2.2-windows-x64.zip Windows portable: unzip anywhere and run Leaf.exe. leaf-cli.exe is the command-line version.
Leaf-0.2.2-x86_64.AppImage Linux x86_64: chmod +x, then run it
leaf-0.2.2-linux-x86_64.tar.gz Linux x86_64 app folder, plus the desktop entry, metadata, icons and the Dolphin service menu (AUR/Flatpak)

Linux needs glibc 2.34 or newer and libOpenGL.so.0 (libopengl0 on Debian/Ubuntu). The builds aren't code-signed
yet; on Windows, SmartScreen may warn: choose More info › Run anyway. SHA256SUMS.txt lists the checksums.

License

AGPL-3.0-or-later. The source for this build is the v0.2.2 tag.