Skip to content

Leafen 0.7.0

Choose a tag to compare

@melodysdreamj melodysdreamj released this 30 Nov 05:57
· 1 commit to main since this release

This release fixes security problems in 0.2.1 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.

Why 0.7.0 after 0.2.1. The number says how mature Leafen is now: every area is built, and a company runs its daily work on it. It doesn't mean more changed than these notes say. Updates go on as 0.7.x from here, and 1.0 is still the release in which every area is finished.

Security

  • Files through share links. A view link could give, by a file's ID, any file the person who made the link could read, not only the files of the page it opens. Share links, published sites and view links now give only the files that what they open shows a visitor.
  • Duplicating a published site. A visitor's duplicate of a published site carried property values the site hides from visitors. It now takes only what the site shows.
  • Values behind a view link. A view link showed a database's properties and values as anyone may see them, even those hidden from the person who made the link. It now shows only what both anyone and its maker are shown.
  • Files of other pages. Someone who could edit a page could put a file they couldn't read into it by the file's ID — in a block, an icon or cover, a files value or a template — and then read it, or publish it. A write now takes only a file its writer may read already, or one the place holds.
  • MCP tokens narrowed to pages. A token narrowed to chosen pages reached any file its person had uploaded, by the file's ID. It now reaches a file only when a page it reaches holds it, or when it is an upload of its person's on no page yet.
  • Version previews of linked databases. A version's preview could show a linked database's rows from another page to someone who can't read that page. It now leaves that source's tabs and rows out for them.
  • Folder backups with a password. Before 0.7.0, turning on folder backups with a password could leave the first backup unencrypted — its database, file list and the server's secrets readable without the password. 0.7.0 encrypts every password-protected backup from the first one, and the next backup encrypts any earlier unencrypted backup it keeps in place (no backup is deleted); the Last backup line in the admin console says how many it encrypted.

What's new

  • Notion's API, as is. Programs and agents written for Notion's API connect by changing one address: the official SDKs, notion-to-md, the LlamaIndex and LangChain Notion readers and Notion's own MCP server. New in 0.7.0, the Notion-compatible API also takes Notion-Version 2022-06-28, which older SDKs and the LlamaIndex and LangChain readers send.
  • Office Editor. Word, Excel and PowerPoint files open and save in Leafen's own editor. It is in the app catalog: an administrator installs it from Settings › Apps › Browse apps.
  • Apps in the catalog. Vault, Team Quiz, Approvals, Daily Briefing, Mail and Drive moved from the program into Leafen's app catalog, so the program is smaller; a server that has them keeps them, and the catalog's versions update them in place. Leafen's apps draw their screens in the reader's language, and an app's high-risk actions ask first when an agent's key or an automation starts them. Approvals starts a request from a page's or a row's menu, filled with the page's title, amount and approver.
  • Guests' agents. A guest can connect an agent, which works with the guest's own rights: the pages shared with them, nothing else. An organization can turn this off.
  • Accounts. An administrator makes an account with an email and hands its person a link to choose their own password; nobody sets or sees another person's password. Blocking an account ends every login, token and agent connection it has, and an administrator can turn off another account's 2-step verification.
  • Version history. Each person, their agent and each integration has its own change cards, named and coloured, and a preview marks each one's work. Changed words are marked character by character. A database's preview shows its formulas and rollups, each of its sources under its tabs, and lists, boards and galleries in their own layouts.
  • Suggesting mode. Undo and redo work while suggesting, suggested lines, breaks, turns and removals included.
  • Sidebar. Links to pages and databases get their own rows, menus and "+", a full-page database lists its views under its row, and pages dropped on a database become its rows. A database view's section shows 5 to 20 rows; one set to 50 or 100 before shows 20.
  • Embeds and files. An embedded PDF draws its pages in the page, on published pages too, and uploaded embeds resize and go full width. A comment takes up to ten files, a files property takes any number, and the desktop apps save a PDF export straight to a file.
  • Locks. A lock set elsewhere shows on an open page at once, and every picker of a place dims the locked ones. A locked page's files are kept as they are (see Updating).
  • Dates, numbers and languages. A time set on the screen keeps its writer's time zone across summer-time changes, typed numbers and days read in any script, counts follow the language's grouping and plurals, right-to-left screens read their own way, and the emoji picker names and finds emoji in the screen's language. CSV imports and merges read the dates and numbers an export writes.
  • Search. A Korean word typed joined finds it written with spaces, full-width and Arabic letter forms fold, and the words in simple tables' cells are found.
  • Agents. An agent asks before an action the screen confirms because it can't be taken back. Creations take an idempotency key, so a resend makes nothing twice. SQL reads every date and time in one form, and Markdown marks beside Korean, Chinese and Japanese words read right.
  • Getting in from outside. Remote access comes back by itself when the network returns, a quick tunnel's address is called temporary wherever it is offered, and behind Railway each person is counted by their own address.
  • Phones. The file and icon pickers are whole-screen sheets, comment boxes stay over the keyboard, and uploaded embeds are cards.

Updating

  • Locked pages' files — a locked page's files are now read-only on every road: saving from an app, copying, attaching, adding to the page, the library's new document and the agents' file tools are refused with the lock's words. To change them, unlock the page (Lock page in its menu). The Notion-compatible API's writes are unchanged.
  • Files deleted before 0.7.0 — earlier versions deleted a database item's files five minutes after the item was turned into a page, and a day after upload the picture uploaded as a linked database's or a several-source inline database's icon, a file preset in a database template and an uploaded profile cover. 0.7.0 keeps them and cancels the deletions still waiting. A file already deleted is only in your backups; an item turned back from a page gets its other values back, its files value empty.
  • Data sources in no database — a data source that an earlier version left in no database (when another database took one source of a deleted database, or after an older version was restored) comes back in the trash of deleted databases, named restored-…. It isn't emptied by itself.
  • Backups encrypted in place — a folder backup's snapshot that 0.7.0 encrypts gets a new SHA-256 for its snapshot.json, so leafen restore --sha256=<old value> refuses it; restore it without --sha256.
  • Accounts made by an administrator — an administrator can no longer give a person a password: making an account or resetting a password answers a one-time link (7 days) with which the person sets their own.
  • Apps — the Office Documents app is no longer in the catalog; a server that has it keeps it. The Office Editor and the apps moved to the catalog are installed from Browse apps on a new server.
  • From 0.1.0 — agent connections made with 0.1.0 reach everything the person who connected them can (as since 0.2.0). To limit what an agent reaches, give it an MCP token.
  • 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.
  • Docker — in the folder of compose.yaml: docker compose pull and docker compose up -d (install guide).

Download

  • macOS (Apple silicon) — leafen-desktop-0.7.0-darwin-arm64.dmg
  • macOS (Intel) — leafen-desktop-0.7.0-darwin-amd64.dmg
  • Windows — leafen-desktop-0.7.0-windows-amd64.zip (Arm: leafen-desktop-0.7.0-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.0 or leafenorg/leafen:0.7.0 (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
912150548d1f9017155a07e6d56315950c47baea8c1aa681009abab687beb7ae  approvals-1.0.35.leafenapp
4fa651a69c6774e95cdbfa8a7efab0162f3bddd5d779406904176b627a5b6ac9  briefing-1.0.18.leafenapp
695f8b3efd2d3c34aafbf4dadac0327bca80fac36c2f5ad55423b3199cf7b12b  catalog.json
1a1babf18f24aa8e77a46d69060055e2c943de2873d5a8b9d9ee6fb2c623586f  catalog.json.sig
a22b13e8e642d69f4cb1d88109b05f8571490bc3e575b94e1c47af166111550d  leafen-desktop-0.7.0-darwin-amd64.dmg
2e568eef406f23f712d68658b542a1bb567cbdd12bef6b19dc7f866d7c33c658  leafen-desktop-0.7.0-darwin-amd64.zip
44647694db75b785cf8f220978dd81bb1b4235da608e1518f3a72192948ff0fa  leafen-desktop-0.7.0-darwin-arm64.dmg
0198c701cd14feffcb0d3477a49df68a34671db3d559c6c579eb4fc3a571b7dc  leafen-desktop-0.7.0-darwin-arm64.zip
62bffa671c2d19d8f2207b2afb5288f5df6581a0175203a721f9ee6b83ea355b  leafen-desktop-0.7.0-windows-amd64.zip
3dac78b748dd87a60558f832f5e1cde396dfe283ea35e15542252fffb04b8e6d  leafen-desktop-0.7.0-windows-arm64.zip
206b4cbf7a5153bef5ffc41ba55eb385987816f58cc4090bd2cab7e75c02ba1d  mail-1.1.14.leafenapp
051f505aa7c1271a6612d699a78a4b30da6fde7f42de1401f6b253e1c219de28  office-editor-1.0.1.leafenapp
231eca5c4468a225a01922dd1922fd267748573f822d27b11ae57ad7c014b512  team-quiz-1.0.21.leafenapp
7bf4931ff37dadf89fa5bd7b14df00293e882a6792d8c3c308d43cffff0ade04  vault-1.2.23.leafenapp
c286d9c9b473f60fe0d623c4e6115d24992e7581d16bc15d08735c3d5c1ea70f  webdav-1.1.28.leafenapp