Skip to content

Leafen 0.7.1

Latest

Choose a tag to compare

@melodysdreamj melodysdreamj released this 01 Dec 12:41

This release fixes five security problems in 0.7.0 and earlier releases, so please update. From 0.7 on, your data carries over when you update Leafen; on 0.1 or 0.2, update to 0.7.0 first, which carries their data over. Before an update changes how data is stored, Leafen keeps a copy of the whole data folder.

Security

  • Reading Notion's settings for a move. When an agent reads, in your own logged-in Notion, the settings Notion's API doesn't give, the line it runs in that tab ran whatever reader the tab was handed, with the move's key: a link made to look like Leafen's button, or another page that opened the tab, could have it run their code in your Notion. It now runs only the reader Leafen made, checked by its hash, and otherwise runs nothing and says so.
  • Hangul documents. The Hangul Documents app moves to rhwp 0.8.7, which fixes the four advisories rhwp published against 0.8.6 — the highest, a crafted HWPX file's font name running script in the editor's print preview. Leafen opens the app in a sandboxed frame of its own, without your Leafen sign-in.
  • Logging in with AI. An agent's approval of a code from "Log in with AI" logged in the browser that asked at once, so a code planted in something the agent read, approved once, let a stranger's browser in as you. The approval now gives the agent a six-digit number, and the login finishes only when that number is typed into the login screen that asked — once, within five minutes; five wrong numbers end the request. An agent that opened that screen itself types the number in, so your steps stay as they were. Desktop and phone apps from before 0.7.1 stop at the code screen when they log in with AI to a 0.7.1 server, until the app updates.
  • Connecting apps and agents. Anyone can register an app for Leafen's MCP sign-in under any name, so a consent card that showed only that name let a link with a known app's name send your code to an address you never saw. The card, and the Notion-compatible API's app card, now shows the host the code goes back to and where the name comes from: checked against what its domain publishes, set up by the server's administrator, or given by the app itself. Only an app that named itself and goes back to an outside address waits for one tick, "I know this address and trust it", before it can be allowed; an app going back to a program on your computer, such as Claude Code or Codex, keeps its steps.
  • App updates. An app update that added only a file opener, WebAssembly, scripts its screen makes or account details people give it installed without the administrator approving it again. Now an update asks again when its review list gains any line, and keeps its approval, its people's consents and its opened public address when it changes only its description, a card's words or its search words.

Fixes and changes

  • Verification. A verified page shows its blue mark beside its name — in the top bar's path, mentions, the "@" and link menus — and its Verified menu sets the expiry and the owners, or removes the verification. Owners are picked in the people picker, a verification ends as its last day begins, and deleting a Verification property deletes its Owner with it, a wiki's too. The Owner made with a Verification follows it in every view, neither of the two can change type, and a Verification made while the pair is in Deleted properties brings that pair back with its values. A page verified by property counts its creator among its owners by default, in the Verified menu, the verified pages list and expiry reminders.
  • Wikis. A wiki page's bar shows its properties as each one's visibility says, with the rest under "⋯", whose tip says how many it holds; several owners read as the first and "+ N". A formula, rollup or ID can hide while empty, a property added under "⋯" starts hidden, and a wiki can't have an ID property.
  • Pinned properties. A pinned or wiki text value is edited in a box over the value and stays on one line, a URL or email opens its box from its words with its link in the tools, and several people show as the first and "+ N".
  • Version history. A version's preview draws a database's views as the version kept them — calendars, timelines, boards, galleries and lists in their own layouts — with relation chips carrying the related rows' icons, relations and rollups as they read now, and each changed row counted once. Restoring a version brings relation values back on both sides, and a database's own history lists its versions by the minute. A database of 33 sources or more shows its updates and version history, and a short timeline bar's title runs on past its end in the preview.
  • Undoing an agent's changes. Reverting a connection's changes brings back the relation values it changed, on both sides, and works after the rows or the database moved to another page.
  • Moving lines. "Page in" and "Move to" put lines in another page, or into a database as its rows, in one move of any size, which undoes as one even when you leave the page or reload right after; letters typed into a line coming back by undo go in once, and a letter typed right after an undo goes where the undo puts the caret. "Page in" lists the page the lines are on and answers at once on a long selection; a thousand lines go into a database's rows in about half the time, and their undo is taken in within a second.
  • Trash. A page under a database item in the trash opens in the trash, read only, and its banner names who sent the item's source there. A data source's page, a template or a database deleted for good waits its 30 days in the owner's list of deleted pages, as other deletions do, and the pages under a database item deleted for good go with it. A database deleted from its page stays in the trash while a legal hold covers its page, no longer stays past its days behind ones other databases relate to, and its mentions read it in the trash, then as not found once it is deleted for good.
  • Hangul Documents editor. Printing, saving as PDF and exporting work inside Leafen, its alerts and questions show in the app, and it stays on the page's own document.
  • Databases. Numbers in a table line up digit by digit and open in their editor as their format writes them; the calendar's head names the month of the week it's scrolled to; date groups are named with a week's two ends spaced round the tilde; a gallery card's page content shows the page's first picture, else its first lines. A locked row's formula and rollup numbers sit at the cell's end. A grouped table counts its calculations under each group's own rows and keeps the group heads at the first column as it scrolls sideways; a table view switched to or just made opens at its first column; list rows keep their tags' and rollups' pills at their own widths; and an untitled database of several sources is named by two of them and a count.
  • Dates. "This week" in a filter starts on the day your weeks start, on the screen, in the API and for agents, and a row made in a view filtered by a date from today gets today's date. Turning text into a date reads more written dates — "January 5, 2027", "5 Jan 2027", "13/01/2027", "2027/01/05", a time after a day, and ranges of these; text it can't read is left empty and comes back if the property turns into text again. A date turned into text keeps its time zone.
  • Properties. A new option — typed into a cell, added in its settings, made by a change of type, or named in a row's value by the API or an agent — gets a color its property's options don't have yet. A property made from a view's settings comes last in that view and shows there.
  • Locks. A page's peek honors this tab's own unlock, re-lock is one blue chip everywhere, and a file opened from the library follows its page's lock changed after it opened. An unlock for yourself made in another tab or session, or by an agent, stays as the open page shows it, and one pressed just as someone unlocks the page for everyone is kept.
  • Saving. A change goes to the server once, refused or taken, and a block deleted right before the tab closes is sent before it goes. A row copied, trashed, favorited, locked or moved while its own save is on its way is sent again instead of refused, and a refused change to a page, such as its trash or icon, is said and taken back even after you moved to another page.
  • Comments. The count beside a row's title counts every comment in its open discussions, replies included. Agents and the API read a page's own comments as one discussion, an agent's comment given to the page alone starts a discussion of its own, as the page's comment box does, and an inbox item about a page comment reads the whole page discussion.
  • Teamspaces. A member can be given more access to a teamspace's pages than its members have, under Page access in their role menu, on a phone and a touch screen too; a teamspace page's share window lists them under "People invited to …" with each one's access, and a database's full-access tip names them. The default teamspace's Members tab lists everyone in it, and the last owner's own Member and Remove rows are dimmed with the reason.
  • Requests and guests. Approving a page request starts at Can edit, or Full access when that was asked, in Settings › Requests as in the inbox, and gives the role shown. A guest's settings have General, where they can leave the workspace, and Import, which lists the databases they may edit and brings a CSV, Markdown or HTML file into one as rows. The page menu's Undo shows only while the page holds a step to take back, for guests who edit as for anyone.
  • Moving from Notion. The token step comes back from Notion's token page when it opened in the same tab, an imported board shows group counts only where Notion's view does, and an imported gallery or list keeps its card preview and its title's place. A scan can be stopped from the import screen or by an agent, a first run brings only what its scan found, a skipped page leaves out everything under it, and the time left and the progress count only what the plan brings. Each comment on a page itself comes in as a thread of its own, a moved page's history names the Notion people the move kept, and an agent asked for some pages moves only those, without the page above them. A move from another tool through the Import Toolbox names that tool throughout, and a report leaves out lines whose counts are all zero.
  • Importing files. A full database's, a wiki's or an inline database's own Import first asks "Bring it in as a new page?": Yes, continue opens the import settings, and Import here merges a CSV into it. A CSV's column of amounts in one currency, in a ZIP or the CSV window, comes in as numbers in that currency, and dates such as "5 Jan 2027" as dates; a ZIP's folder and the document named like it come in as two pages; and the list of databases to import into lists every one you may add rows to. Agents and the API put a CSV's rows into an existing database in one call, its columns paired by their headers.
  • Markdown. An export writes a line break as a plain line end and escapes a line inside a block's words that would read as a heading, quote or math, or a first line that would read as a list, a date such as "2026. 12. 1." among them, so the file comes back in as it was. An import keeps such lines in their block, ends a quote at its closing line, and starts a list at a numbered line under a paragraph whatever its first number. The Import Toolbox's Markdown tools, now named for Obsidian vaults too, bring a callout's line in as written rather than bold, and read escapes and a line run on from a list item or a quote as CommonMark does.
  • Search. Search opens again with its last words chosen, a Return pressed before any result keeps the list so the next one opens the first result, and opening a result no longer brings search back.
  • Pages and menus. Menu rows show the pointer, and a drag over them no longer selects their words. On a page with discussions beside its text, the text no longer overshoots as a row's side peek opens or closes, and a table row's peek draws sooner. An address naming a peek or a view by its ID without dashes opens it.
  • Agents. Claude Code beside Leafen in Docker is given the line to run, and the Notion-compatible API answers a property read of a property a page doesn't have in Notion's form. Appends sent to one page at the same moment are all kept, however many; every answer's JSON text comes unescaped, refusals included; and a version-changes answer says where a value written over in its range is kept.
  • Your own domain. "Use my own domain" can get its certificate itself: under HTTPS choose "Leafen gets the certificate", type just the domain, and Leafen gets a certificate from Let's Encrypt, renews it and serves HTTPS itself (leafen address --automatic-certificate, or an agent's set_address with automatic_certificate). Only outside port 443 has to reach the server, never port 80; in Docker, the port compose.yaml already publishes takes HTTPS too. An address saved before stays behind your own proxy as it was, and a port another program already uses isn't taken: Leafen names the program and changes nothing. Ask an agent under it gives your agent the two steps left — the domain's DNS record and your router's port forward — with the values the server measured (its public and local IP, the port, and whether your router sits behind a modem or the carrier's shared IP), what to leave alone, and a check at the end; you only log in. Leafen itself opens no router port and changes no DNS record.
  • Server. While a backup or another program holds the write lock, the health check (/api/leafen/v1/health) still answers ready, so a monitor no longer takes the server for down, and notification mail no longer goes twice or an hour late. Back up now leaves the next scheduled backup where it was, a tab whose login a restore ended says the server's data changed, an address changed only in its port no longer forwards to itself, and a settings address such as ?section=backups opens that section.
  • Settings and audit log. Adding a connection (an agent's key, a Notion token, an app through the Notion-compatible API), saving the backup schedule, and turning a workspace's invite link on, off or anew each write an audit line, and the organization log's kind filter offers every kind. The workspace URL saves from its own Save button, as the name does.
  • Sponsor credit. An administrator turns the sponsor credit off in Settings › Server › Updates, on the desktop app too.
  • Contributor License Agreement. Leafen may re-license contributions only under an OSI-approved open source license, a commercial license it gives in a contract, or the terms of an app store it releases through — never to the public only under a source-available or closed license.

Updating

  • Docker — the repository's compose.yaml now asks the registry for the image each time it starts Leafen (pull_policy: always), so docker compose up -d gives the current release even on a computer that kept an older latest. Copy it over yours to get this; or, as before, in the folder of compose.yaml: docker compose pull and docker compose up -d (install guide). Offline, docker compose up -d --pull missing starts the copy you have.
  • Wikis made before 0.7.1 — when 0.7.1 first starts, it lays out each such wiki's pages once: where nobody ordered their properties, Owner, Verification, Tags and Last edited time lead the page; Last edited time is hidden, and each other property hides while empty unless someone set how it shows.
  • macOS — the app updates itself; or download the new disk image below.
  • Windows — download the new zip below and replace the old folder; your data stays in %APPDATA%\Leafen.

Download

  • macOS (Apple silicon) — leafen-desktop-0.7.1-darwin-arm64.dmg
  • macOS (Intel) — leafen-desktop-0.7.1-darwin-amd64.dmg
  • Windows — leafen-desktop-0.7.1-windows-amd64.zip (Arm: leafen-desktop-0.7.1-windows-arm64.zip). It isn't signed yet: when "Windows protected your PC" appears, click More info, then Run anyway.
  • Server — docker compose up -d with ghcr.io/leafen-org/leafen:0.7.1 or leafenorg/leafen:0.7.1 (self-hosting guide).
  • Or let your agent do it — paste this to the agent you use:
    Read https://github.com/leafen-org/leafen/blob/main/docs/install.md, install Leafen on this computer and take me through its setup.

The other files are read by Leafen itself: the macOS .zip files are what the app updates itself from, and catalog.json, its signature and the .leafenapp packages make up the official app catalog.

SHA-256
3abc5334545a9682ea21b435a61a9bdf74810ad160e551328da0443ec72c96fb  approvals-1.0.36.leafenapp
6ce062ceecc70804cff66786a6f3bd2d60a96ffad19e000f5fb6f1e57769a729  briefing-1.0.19.leafenapp
4aff5ed7fe9472b4af698112231bb08374a4217cd4147be8c03b47b5cf21f667  catalog.json
43ec3eaeb2d6a6064ec09d8c7be488d5225401cb79871df03268c9a70475f2d4  catalog.json.sig
8da218413ad3073e673d3412c989a373db9529fcd0df65c17312800ede684c6f  leafen-desktop-0.7.1-darwin-amd64.dmg
f00c44288d9579e455dcb49e1109e0958f1c8389341f6c3029765db6fa0adea7  leafen-desktop-0.7.1-darwin-amd64.zip
afff37b858813c911249aa63d392df17a856cb4e4ac4bd79524282ecaaf8791d  leafen-desktop-0.7.1-darwin-arm64.dmg
01ec39da2d9e2e635b5cd28f999ccd84805b1f5b5313fa1b10c37df6489bae6f  leafen-desktop-0.7.1-darwin-arm64.zip
ed5cad347c4a69c94a7238afec63a36f46e56dd9a163d4933f1d14b337c912f5  leafen-desktop-0.7.1-windows-amd64.zip
ea2e8d9178e805648ce7d22e2f6282d4a571a52c25659d07857064a644774f82  leafen-desktop-0.7.1-windows-arm64.zip
aada21a446c63ad80b1af7ed008b058e4e9f9ab8e245012c6d55e116b3c3c065  mail-1.1.15.leafenapp
68810f7997038b63d56ddccc1c01d19d6d2537d5b74f79cc78af748d94197fd4  office-editor-1.0.2.leafenapp
3cd86ca3053b353eca41d183de9adabe89030c7b1f01c53516c9a4e1f88f239f  team-quiz-1.0.22.leafenapp
99173da0b6888240679c781acd3f00fd90e4f2c90d2f911a55df4975385e4107  vault-1.2.24.leafenapp
456121fb9d669d2a251c40d0ce291cdc73477d2e9a638ea60c9fed3a6bf2812c  webdav-1.1.34.leafenapp