Repository navigation
Releases
v0.4.12
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
MCP 2025 Tool Annotations, Cycle Cuts, HTTP Contract Tests & Zero-Node Installers
- MCP 2025 Tool Definitions (20/20 tools): Added full MCP 2025
annotations(title,readOnlyHint,destructiveHint,idempotentHint,openWorldHint) and strictadditionalProperties: falseinput schemas across all 20 tools. - Architecture & HTTP Contract Tests: Eliminated
storage/notion -> syncandmodels <-> parser/notionSCCs, added 8 live-loopback HTTP contract tests insrc/serve.rs(auth, seeded SQLite search/pages, Origin/Host guards, 404), pruned dead helpers, and added.dockerignore(282 passing tests). - Zero-Node Distribution: Documented Homebrew (
brew install bitefoundry/tap/notion), SHA256-verified shell (curl -fsSL https://bitefoundry.dev/i | sh -s notion), and PowerShell (bitefoundry.dev/w) install methods.
Full Changelog: v0.4.11...v0.4.12
v0.4.11
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Performance Optimization Suite (SQLite/FTS5, Async Concurrency, TUI Cache & Pixel Pipeline)
- SQLite/FTS5 & HTTP Sync: Upgraded to a 4-reader WAL pool, wired
prepare_cached, migratedpages_ftstorowid-indexed deletes (O(N²) → O(log N)), eliminatedsearch_localN+1 hydration via SQLLEFT JOIN, offloadedserve.rsstorage calls tospawn_blocking, tunedreqwestpooling/keepalive/tcp_nodelay, and replaced chunkedjoin_allbarriers with boundedbuffer_unordered(3). - TUI Render & Caching: Switched sidebar/DB sorting to
sort_by_cached_key, addedArc<[SidebarItem]>andArc<PageCanvasScene>generation-keyed caches, replaced O(H×L) inline hit scans withpartition_point, fixed O(K²) paste-burst detection, and eliminated 2-passhtml_previewcache thrashing. - Pixel Engine: Upgraded Sixel quantization to flat 32K histogram + 5-5-5 LUT + 2-row
i16dithering + fast ASCII RLE, switched PNG encoding toFast/NoFilter(fdeflate), and enabledopt-level = 3for codec/pixel crates.
Full Changelog: v0.4.10...v0.4.11
v0.4.10
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Modular Architecture & Terminal Safety
- Terminal & Agent Safe-Output (
src/safe_text.rs): Sanitized untrusted Notion page, database, block, and comment text rendered to CLI terminal output against ANSI/VT100 escape sequences (CSI/OSC/DCS/C1), C0/C1 control characters, Unicode Bidi overrides, and invisible Unicode Tag characters (U+E0000..=U+E007F), while preserving raw--jsonoutput. - Supply Chain & Packaging: Added
[package.metadata.binstall]forcargo-binstall,deny.toml+.github/workflows/audit.yml(cargo-denyCI), andrefs/tags/vtag guards on publish/release jobs. - Codebase Modularization: Decomposed
src/cli.rs,src/ui/action.rs(action::dispatch2,163L → 120L),src/ui/app.rs(handle_ui_msg547L → 127L), and all 3 E2E suites (mock_notion_e2e,read_contract_e2e,feedback_regression_e2e) into focused domain submodules.
Full Changelog: v0.4.9...v0.4.10
v0.4.9
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Binary Size, Build Diet & Sync/Editor Hardening
- Smaller Release Binaries: Enabled
opt-level = "s"andpanic = "abort"in[profile.release], cutting release binary sizes by ~40% with zero feature loss. - Sync & Page-Edit Hardening: Eliminated Mutex-poison
unwrap()panics insrc/sync.rsand hardenedsrc/page_edit.rs/src/cli.rsinvariants, boxed oversized enum variants (Overlay,ActiveOutcome), removed dead canvas shim code, and resolved all Clippy warnings (-D warningsclean). - Dependency & Packaging Diet: Upgraded
ratatuito0.29,dirsto6, and trimmedbitefoundry-htmlresvgfeatures; removed unusedcrossterm/event-stream,reqwest/stream,futures, anduuid, movedtempfileto dev-dependencies, added optional Cargo feature gates (html-js,svg-graphics,desktop-notify), and externalizedassets/demo.giftobitefoundry.dev.
Full Changelog: v0.4.8...v0.4.9
v0.4.8
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Deep Sidebar Tree, Toggle Lazy Hydration & Optimistic Tree Merge
- Increased sidebar tree nesting cap from 5 to 20 levels (`SIDEBAR_MAX_TREE_DEPTH = 20\
Full Changelog: v0.4.7...v0.4.8
v0.4.7
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
Full Changelog: v0.4.6...v0.4.7
v0.4.6
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Notion Native Block-Live Flow Editing
- Added direct click-to-edit on any editable Notion text block (
Paragraph,Heading 1–3,Bulleted/Numbered List,To-Do,Toggle,Callout,Quote,Code) directly in place on the rendered canvas, keeping all surrounding blocks rendered while preserving direct clicks on To-Do checkboxes, toggle arrows, child pages/databases, images, and links. - Added seamless cross-block
↑/↓navigation at block boundaries (optimistically committing the active block and skipping non-editable blocks such as dividers, images, and tables). - Added natural
Entersibling block splitting/creation with 0ms optimistic insertion and coalesced Notion API background sync (Shift+Enterinserts a soft newline;Enterin code blocks keeps inserting newlines). - Added live Markdown prefix block-type shortcuts (
#,##,###,-/*,[]/[ ],>) onParagraphblocks plusBackspaceat column 0 to revert back toParagraph.
Full Changelog: v0.4.5...v0.4.6
v0.4.5
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Native-Terminal Input Latency & Event Loop Fix
- Replaced
crossterm::event::EventStreamand.now_or_never()polling (and removed contendingcrossterm::event::poll(Duration::ZERO)calls) with a dedicated lock-freeTerminalEventReader(OS reader thread + Tokiompsc::unbounded_channel), eliminating bothnoop_wakerpoisoning (up to 200ms timer-tick stalls) and WindowsINTERNAL_EVENT_READERmutex blocking on every keystroke. - Wrapped terminal output in a 64 KiB
BufWriter<Stdout>and moved cursor positioning insideterminal.draw()(with queuedBeginSynchronizedUpdate), eliminating redundant per-keystroke Hide/Show cursor flicker and multiple stdout flushes. - Paused and resumed the dedicated reader cleanly around external
$EDITORhandoff and WindowsResizeVT probing.
Full Changelog: v0.4.4...v0.4.5
v0.4.4
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Sync & Notion API Latency Optimization
- Replaced chunk-barrier recursive block-tree fetching with a tree-wide
Semaphore(3)streaming traversal (buffer_unordered(3)), eliminating head-of-line blocking while capping nested concurrency safely under Notion's rate limit. - Overlapped
GET /v1/users/mewith workspace search (POST /v1/search) inrun_tree_refresh, and resolved unresolvedblock_idparent chains in bounded concurrent batches (chunks(3)). - Added cancellable, rate-limit-aware interactive prefetching of up to 2 uncached sibling pages or database rows on focus navigation.
Write Path & TUI Perceived Latency
- Used cached SQLite database/page schemas first across write operations (
op_create_page,op_update_page_metadata,op_patch_page,op_create_database_item,op_update_database_item) with automatic single refresh-and-retry on HTTP 400validation_error. - Updated
op_append_blocksandop_add_commentto apply incremental SQLite updates when caches are warm instead of refetching full block trees or paginated comment lists. - Added instant local previews for newly created pages (
SubmitCreatePage) and optimistic in-memory appends with failure rollback (SubmitSlashAppend), and removed the redundant tree search afterFullResync.
Test Hardening
- Guarded unit-test config and draft persistence from mutating the host user config directory and aligned the MCP compact
get_pagehint e2e assertion.
Full Changelog: v0.4.3...v0.4.4
v0.4.3
Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.
What's Changed
Centered ↔ Full Layout Parity & Width-Aware Text Wrapping
- Fixed text clipping when switching between Centered and Full width modes in
notion_viewby migrating paragraphs, tables, callouts, code blocks, and headings to display-width-aware styled span wrapping (wrap_styled_spans/render_wrapped_table), guaranteeing full text visibility andline.width() <= availacross both modes.
Terminal Image Preview Quality & Protocol Detection
- Replaced fixed low-resolution downsampling and distorted aspect-ratio math with terminal cell-geometry sizing and unified protocol detection across Kitty, iTerm2, Sixel, and half-block renderers.
Native HTML/SVG/Canvas & Embedded Graphics Rendering
- Eliminated raw HTML/SVG/script source leaks in attachment and HTML previews via pure-Rust
bitefoundry-html(resvg 0.50+tiny-skia+base64) for inline<svg>,<canvas>, anddata:image/*graphics, with an explicit[o: Browser]banner for external<script src>content.
Unified Markdown Rendering & .md Preview
- Standardized Markdown parsing on
pulldown-cmark 0.13viabitefoundry-html::markdownand enabled direct.mdattachment previewing.
TUI Stability, Kanban Safety & Sync Isolation
- Fixed kanban board panic edge cases, isolated database/page view state, improved sync/overlay UX, and added Docker / MCP Registry (
server.json) packaging.
Full Changelog: v0.4.2...v0.4.3