---
title: "niv 0.2.35"
description: "O que mudou no niv CLI 0.2.35, lançado em 2026-11-21."
canonical: https://niv.md/pt-br/changelog/cli/0-2-35
language: pt-BR
last_updated: 2026-11-21
---

# niv 0.2.35

niv CLI · 2026-11-21

As notas de cada versão são escritas em inglês.

- niv files is listed in help and the skill, at the switch
- File sync is on for everyone: the switch and the per-person list are gone
- The desktop checks its account keys against the published ones at each online start, and a rotated key asks for the passphrase
- An unlock with the passphrase or the recovery file seals the chain link a rotation never sent, for the server to keep
- niv proves the account's key chain after its own unlock, as the desktop does
- The desktop proves the account's key chain after unlock, so the server can drop old wraps
- The server deletes an account's kept wraps once a device proves its key chain
- A device proves the account's key chain opens to the real keys, signed by the current key
- A device keeps every account key version it held, so an unlock after a rotation never loses the only key to earlier grants
- A first pin takes a member's earlier keys from rotations both keys signed, bounded to the devices the new key vouched for
- The removing device opens the old grants right after its own rotation, and the shared-Space case waits on its own fix
- Account key rotation carries the previous key, sealed to the new one, so every earlier grant still opens
- A file's old version says the name and folder it had
- A file's old versions say when each was made, from its own signed entry
- The trash actions narrow on having no folder, which TypeScript can follow
- The engine lock's timing tests hold under load
- Settings can list the trash and a file's history and delete either for good, through the files view
- Deleting a file for good is an owner's or editor's, and frees the Space's room at once
- The server and the devices read a loopback bucket link by one written rule, with shared vectors
- A purge is signed over the retained version the device opened and verified itself, never a hash it was handed
- A cached file device is keyed by its account, so a switched account never reuses another's device
- A folder name matches the disk's exact bytes before its NFC or NFD spelling
- A device signs the purge of one old file version, and the server can check that signature
- A sync cycle's line names each step before listing, so a slow one says which step held it
- Each file the phone lists says which member wrote it, as verified, so the phone can name them before handing it to another app
- A files pass walks the vault only when something can have changed here: a file event, new rules, a retry, the first pass, or five minutes
- A delete elsewhere is believed from its signed entry, and only a role that writes notes can send a file
- The files view asks for the Space's storage only while file sync is on, and a forced read is never lost
- The files engine's check for vanished files reads each folder once per check, not once per file under it
- A file over the plan's per-file cap is held by its real size, before it is sealed or sent
- The synced-files walk never descends into a local-only folder
- A device unlocked after the app started sends its files
- A file the server refuses for good is held, not sealed and sent again on every pass
- niv files writes a folder as the disk spells it, so a rule always matches its folder
- The files engine sends this device's files: uploads, trashes and moves on, with each file's state in the sidebar
- Every release build proves it carries no local bucket
- Encrypted note appends report the sealed images they reference
- The files GC acts, behind a switch: orphaned blocks quarantined, then deleted after 30 days if still unnamed, abandoned uploads deleted
- Any member can read how full a Space's file storage is, and who could raise it
- A file renamed, trashed or deleted on one device follows on the others, and a file deleted here goes to the Space's trash
- A Space's synced files fit its owners' plans: room per Space, a cap per file, a window for versions
- The desktop and the CLI run the files engine beside the note engine, with the sidebar's view and the watcher's file events
- Uploads respect the Space's room and file cap, and a file moved here goes up as the same file at its new path
- A file event from the watcher never reaches the note engine or the sidebar's note refresh
- The files engine uploads this device's new and changed synced files, and sets a losing version aside as a conflict copy
- A synced file is never written under a folder that reaches an ignored one by another spelling
- The files engine gives the sidebar its view: each file's state, each folder's files and the folder opt-in
- A synced file moves locally only from the exact version expected, never over another file
- Undo of a copy keeps a file put in its place, whatever its inode and times, unless it is the very bytes copied
- The files engine lists a Space's synced files and brings them down to this device
- A synced file is never opened or sealed at a path the matcher excludes, whether or not it exists yet
- The files engine reads the opened rules' include list through the same Rust parser as the matcher
- One Rust matcher says which of a vault's other files the Space's rules sync
- The files engine reaches the encrypted file commands and the server's files procedures
- The files engine keeps its cursor, memory, bases and intents in the vault's store
- The Space's file sync rules are a sealed field of their own, space/file-rules
- A Space's file sync rules are read by members and written by owners and editors
- A synced file's sealed blocks go up create-only and come down into the cache, from the desktop and the CLI
- Inline code inside a link keeps its code mark: code under the link in the editor, the server and the file
- Synced files through the session: a version written, an entry marked, read, opened and ranged, no key out of Rust
- A synced file version is uploaded block by block and committed with its signed entry
- One path rule for a vault file Niv writes from a name it didn't choose; test: a 255-byte name opens
- A Space's synced files are listed folder by folder and discovered on their own sequence
- The server's checks of a synced file without a key: NIVB sizes and header, the oid list, file/entry and file/version, the entry signature
- Synced files on a device: seal a file to blocks in bounded memory reusing unchanged ones, open it, open a range
- SPEC 4.5 in Rust, the entry: strict file/entry JSON, the device signature, the counter rule and the full-open check
- SPEC 4.5 in Rust, the block layer: per-file keys, keyed FastCDC, padding rules and NIVB seal/open
- A deleted folder's Space identity can't pass to a new folder that reuses its inode
- One search engine in niv-sync-io that searches a vault the way VS Code searches a folder
- A deferred store commit is macOS-only, so Linux counts its full flushes again
- The public image upload takes only real images: png, jpeg, gif, webp or avif read from the bytes, stored under that type and extension, inline under a fixed name
- Three public procedures that served note text to anyone are deleted, one of them a published note's edits after publishing
- A metadata write skipped as stale is said once per note and decision, at info, not as a warning on every poll
- A metadata write decided from an older reading of a note no longer undoes a newer icon or cover pick
- A synced note's frontmatter written twice at once is cut back to one copy, the same one on every device, by deletes only
- A sync cycle whose deadline passed while it waited in line is logged with what its run did, not as an instant timeout
- A pending re-attach stands aside when the socket's own reopen already re-authenticated the document
- file-hold re-checks a held file every 100 ms through a session host option the app never sets; written-on and removed-folder build their setups at once
- Sync takes the editor's updated collaboration plugins
- The editor suite fails on a second y-tiptap in the lock, and a changed CollaborationCaret plugin shape warns instead of falling back silently
- The editor moves to tiptap 3.33.1
- The hosted MCP and its OAuth sign-in are deleted; the local niv mcp stays
- Edit > Undo and Redo from the menu run the editor's own undo, never the webview's native one
- A wide table in a link's preview or an embedded note scrolls inside its own box, and the preview stays still
- Every delete key chooses an image first, and menu Undo right after a paste cancels the upload
- Deleting next to an image chooses it first; the next Backspace or Delete removes it
- A file renamed only in case while no host ran stays one note on a case-sensitive volume
- A folder bound by another account is never synced, asked about or released under this one: the binding names its account (adopted on the next sign-in for older folders), one gate holds back the engine and the Space before any call, and a screen says so
- The Privacy Policy for the event standard: cookies by category, the count's objection, usage linked unless unticked, promotional email on request
- Desktop analytics identifies new accounts: an account id is any id the server issues (a UUID, or better-auth's 32-character id), not only a UUID
- Server analytics: every event on the account it is about, the apps named, the site's visit joined at sign-in
- A touch to a note this device deleted resolves once the Space's head has it trashed, so the applied cursor no longer stops behind it
- The sync cycle line says which platform ran it
- The server keeps count records sealed, and a member who leaves keeps their share in the Space
- A count record is numbers only, one size, and sealed like every other secret
- A title twin kept apart, its note already down, no longer makes every sync poll read the full manifest
- Sealed presence: live cursors, names and colours cross in encrypted Spaces, sealed with the Space key
- The sync cycle line says whether its manifest poll was full or incremental and why, and its calls' time and size
- Publishing a whole folder or a Space's site is free: publish.site is allowed on Free
- A grown inbox is let go at the start of the sync pass, before the full's windows
- The editor no longer freezes while typing: a rename's fence ends with the full it was set under, and the inbox stays small
- A blank note made where an earlier one was born becomes a new note, never that earlier note again
- A sequence pull never builds a request URL past the edge's bound, so a pile of held notes lands again
- A full carries the notes and folders an import's own applied units made, untouched since
- A receipt far behind the head reads past 20 pages a poll, a committed batch at a time
- A create refused because its plan was cleared asks for a fresh cycle instead of waiting for the next poll
- A receipt commit finds each kept unit and full item by its identity, not by scanning: linear in a Space's size

---

Mais: [Niv](https://niv.md/pt-br) · [Sobre](https://niv.md/pt-br/about) · [Contato](https://niv.md/pt-br/contact) · [Privacidade](https://niv.md/pt-br/privacy) · [Criptografia](https://niv.md/pt-br/encryption) · [Termos](https://niv.md/pt-br/terms) · [llms.txt](https://niv.md/llms.txt) · [English](https://niv.md/changelog/cli/0-2-35)
