Skip to content

Releases

v0.4.12

Choose a tag to compare

@github-actions github-actions released this 29 Nov 02:59

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 strict additionalProperties: false input schemas across all 20 tools.
  • Architecture & HTTP Contract Tests: Eliminated storage/notion -> sync and models <-> parser/notion SCCs, added 8 live-loopback HTTP contract tests in src/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

Choose a tag to compare

@github-actions github-actions released this 27 Nov 10:14

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, migrated pages_fts to rowid-indexed deletes (O(N²) → O(log N)), eliminated search_local N+1 hydration via SQL LEFT JOIN, offloaded serve.rs storage calls to spawn_blocking, tuned reqwest pooling/keepalive/tcp_nodelay, and replaced chunked join_all barriers with bounded buffer_unordered(3).
  • TUI Render & Caching: Switched sidebar/DB sorting to sort_by_cached_key, added Arc<[SidebarItem]> and Arc<PageCanvasScene> generation-keyed caches, replaced O(H×L) inline hit scans with partition_point, fixed O(K²) paste-burst detection, and eliminated 2-pass html_preview cache thrashing.
  • Pixel Engine: Upgraded Sixel quantization to flat 32K histogram + 5-5-5 LUT + 2-row i16 dithering + fast ASCII RLE, switched PNG encoding to Fast/NoFilter (fdeflate), and enabled opt-level = 3 for codec/pixel crates.

Full Changelog: v0.4.10...v0.4.11

v0.4.10

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09: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 --json output.
  • Supply Chain & Packaging: Added [package.metadata.binstall] for cargo-binstall, deny.toml + .github/workflows/audit.yml (cargo-deny CI), and refs/tags/v tag guards on publish/release jobs.
  • Codebase Modularization: Decomposed src/cli.rs, src/ui/action.rs (action::dispatch 2,163L → 120L), src/ui/app.rs (handle_ui_msg 547L → 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

Choose a tag to compare

@github-actions github-actions released this 27 Nov 02:06

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" and panic = "abort" in [profile.release], cutting release binary sizes by ~40% with zero feature loss.
  • Sync & Page-Edit Hardening: Eliminated Mutex-poison unwrap() panics in src/sync.rs and hardened src/page_edit.rs / src/cli.rs invariants, boxed oversized enum variants (Overlay, ActiveOutcome), removed dead canvas shim code, and resolved all Clippy warnings (-D warnings clean).
  • Dependency & Packaging Diet: Upgraded ratatui to 0.29, dirs to 6, and trimmed bitefoundry-html resvg features; removed unused crossterm/event-stream, reqwest/stream, futures, and uuid, moved tempfile to dev-dependencies, added optional Cargo feature gates (html-js, svg-graphics, desktop-notify), and externalized assets/demo.gif to bitefoundry.dev.

Full Changelog: v0.4.8...v0.4.9

v0.4.8

Choose a tag to compare

@github-actions github-actions released this 26 Nov 07:41

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

Choose a tag to compare

@Shinick-Han Shinick-Han released this 25 Nov 16:21

Prebuilt standalone Notion binary (notion) — CLI, TUI, HTTP API, and MCP server.

Full Changelog: v0.4.6...v0.4.7

v0.4.6

Choose a tag to compare

@github-actions github-actions released this 25 Nov 14:11

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 Enter sibling block splitting/creation with 0ms optimistic insertion and coalesced Notion API background sync (Shift+Enter inserts a soft newline; Enter in code blocks keeps inserting newlines).
  • Added live Markdown prefix block-type shortcuts (# , ## , ### , - /* , [] /[ ] , > ) on Paragraph blocks plus Backspace at column 0 to revert back to Paragraph.

Full Changelog: v0.4.5...v0.4.6

v0.4.5

Choose a tag to compare

@github-actions github-actions released this 25 Nov 13:44

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::EventStream and .now_or_never() polling (and removed contending crossterm::event::poll(Duration::ZERO) calls) with a dedicated lock-free TerminalEventReader (OS reader thread + Tokio mpsc::unbounded_channel), eliminating both noop_waker poisoning (up to 200ms timer-tick stalls) and Windows INTERNAL_EVENT_READER mutex blocking on every keystroke.
  • Wrapped terminal output in a 64 KiB BufWriter<Stdout> and moved cursor positioning inside terminal.draw() (with queued BeginSynchronizedUpdate), eliminating redundant per-keystroke Hide/Show cursor flicker and multiple stdout flushes.
  • Paused and resumed the dedicated reader cleanly around external $EDITOR handoff and Windows Resize VT probing.

Full Changelog: v0.4.4...v0.4.5

v0.4.4

Choose a tag to compare

@github-actions github-actions released this 25 Nov 11:55

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/me with workspace search (POST /v1/search) in run_tree_refresh, and resolved unresolved block_id parent 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 400 validation_error.
  • Updated op_append_blocks and op_add_comment to 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 after FullResync.

Test Hardening

  • Guarded unit-test config and draft persistence from mutating the host user config directory and aligned the MCP compact get_page hint e2e assertion.

Full Changelog: v0.4.3...v0.4.4

v0.4.3

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:39

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_view by 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 and line.width() <= avail across 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>, and data: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.13 via bitefoundry-html::markdown and enabled direct .md attachment 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