Back to Documentation

Release Notes

What's new in Tidy Code - Latest features, improvements, and updates. Track our development progress including Ollama AI Chat improvements, file context safeguards, YAML/TOML format support, format conversion between JSON, XML, YAML, and TOML, PDF viewer capabilities, SVG support, WASM-powered large file handling, AI integrations, and cross-platform desktop app releases for macOS, Windows, and Linux.

Version 0.2.5 - February 15, 2026

Current

🔌 Ollama Desktop CORS Fix

  • Tauri backend proxy for Ollama — all Ollama HTTP requests routed through Rust backend, eliminating CORS errors
  • New Tauri commands: ollama_api_get, ollama_chat, ollama_chat_stream
  • Streaming chat via Tauri events with async Rust tasks
  • Web mode retains direct fetch as fallback
  • End users no longer need to manually configure OLLAMA_ORIGINS

🤖 AI Chat File Context Improvements

  • File context truncation — files larger than 100K characters (~25K tokens) automatically truncated with warning
  • Cloud provider cost warnings — estimated cost shown when file context exceeds ~5K tokens
  • Improved Ollama system prompt — prevents local models from responding "I can't access files"
  • Increased Ollama context window — set num_ctx to 32,768 tokens (was 2,048 by default)

🐛 Bug Fixes

  • Large file performance — auto-format and structure tree skip files over 100KB, preventing UI blocking
  • Fixed Ollama CORS error ("Cannot connect to Ollama") in desktop app
  • Fixed Ollama ignoring file context for larger files due to small default context window
  • Fixed session restore causing slowdown when restoring large file tabs

📚 Documentation

  • New docs/AI_CHAT_CONTEXT.md — file context flow, token estimation, cost tables, and Ollama details

Version 0.2.4 - January 12, 2026

Previous

📄 YAML & TOML Format Support

  • Full YAML support with validation, formatting, and structure view
  • Full TOML support with validation, formatting, and structure view
  • Auto-detection of YAML/TOML content from file extension or patterns
  • Structure view showing document hierarchy with clickable navigation
  • Browser-compatible TOML parsing using smol-toml library

🔄 Format Conversion

  • Bidirectional conversion between JSON, XML, YAML, and TOML
  • Convert dropdown in toolbar with one-click conversion
  • Converted content opens in new tab (preserves original file)
  • Warning message advising users to review converted content
  • Current format option disabled to prevent same-format conversion

✨ Smart Conversion Adjustments

  • XML tag name sanitization (spaces replaced with underscores)
  • Invalid XML characters automatically fixed with tracking
  • TOML null value handling (converted to empty strings or removed)
  • Root array wrapping for TOML compatibility
  • All adjustments listed in resizable info panel with line navigation

🐛 Bug Fixes

  • Fixed TOML browser compatibility (switched to smol-toml)
  • Tabs Explorer now defaults to visible in web mode
  • Fixed Structure view for YAML and TOML files
  • Information panel now appears in correct tab after conversion

Version 0.2.2 - January 05, 2026

Previous

🖨️ Native PDF Printing (Desktop)

  • New native PDF printing pipeline via a dedicated Tauri plugin
  • Cross-platform support for macOS and Windows with Linux groundwork in place
  • Printer discovery with default printer selection
  • Paper size selection with default media preselected
  • Print options: page ranges, manual page selection, copies, and duplex

🪟 Print Dialog UI & Preview

  • New two-panel print dialog with preview on the left and controls on the right
  • Virtualized preview thumbnails for faster scrolling and lower memory use
  • Preview layout aligned with the main PDF viewer thumbnail styling
  • Improved page separators, spacing, and panel sizing for readability

⚙️ Reliability & Diagnostics

  • Non-blocking print dispatch to keep the UI responsive
  • Path-first loading strategy for stable preview loading
  • Expanded logging and timing metrics for print and preview workflows
  • Permission and ACL updates for native print commands

Version 0.2.0 - December 25, 2024

Previous

📕 PDF Viewer

  • Full PDF viewing capabilities with native rendering using PDF.js
  • Page navigation with prev/next buttons and jump-to-page input
  • Thumbnail sidebar for quick page navigation with visual previews
  • Document outline/bookmarks view when available
  • Text search with yellow highlighting and result counter
  • Zoom controls: fit-to-width, fit-to-page, and custom zoom (50%-200%)
  • Focus Mode: Hide all UI panels for distraction-free reading
  • Page virtualization for efficient rendering of large PDFs (100+ pages)
  • Download and print support for PDF documents
  • Dark/Light theme support matching application theme

🎨 SVG Viewer

  • Interactive SVG viewing with pan and zoom capabilities
  • Zoom controls (zoom in, zoom out, reset view, fit-to-screen)
  • Mouse drag to pan across large SVG graphics
  • Download button to save SVG files
  • Efficient handling of complex SVG files
  • Theme support (dark/light mode)

📋 Enhanced Clipboard Integration (Desktop)

  • Native clipboard API using Tauri plugin - no permission prompts
  • Seamless copy/cut/paste operations with Ctrl/Cmd+C/X/V
  • Custom CodeMirror extension intercepts clipboard keypresses
  • Automatic fallback to browser API in web mode
  • Cross-platform utilities for clipboard read/write operations

🔧 Technical Improvements

  • Code splitting: PDF and SVG viewers lazy-loaded for better performance
  • PDF.js worker (1.0MB) and 170+ CMap files bundled locally (no CDN dependencies)
  • Fixed Windows build issues with cross-platform dependency resolution
  • Added pdfjs-dist as direct dependency for reliable builds
  • Multi-retry text layer rendering for reliable PDF search highlighting
  • Panel state restoration when exiting focus mode

📚 Documentation

  • Added comprehensive PDF_TROUBLESHOOTING.md guide
  • Created WINDOWS_BUILD_GUIDE.md for Windows-specific build instructions
  • Added LICENSES.md for PDF.js and react-pdf third-party licenses
  • Updated CHANGELOG.md with detailed v0.2.0 release notes
  • Enhanced help pages with PDF and SVG viewer documentation

Version 0.1.1 - December 23, 2024

Previous

🚀 Large File Support with WASM (PRODUCTION READY)

  • WebAssembly-powered file handling for files up to 100MB+
  • 8x faster line indexing compared to JavaScript implementation
  • 14x faster search operations on multi-million line files
  • Efficient virtual scrolling for optimal memory usage
  • Automatic syntax highlighting control for performance optimization
  • Memory-efficient content storage and retrieval with Rust backend
  • Fixed: WASM now works in production desktop builds (DMG, MSI, AppImage)
  • Fixed: Build configuration ensures WASM compilation before bundling
  • 3-tier initialization strategy for universal compatibility (web + desktop)

📝 Markdown Preview Enhancement

  • Live markdown preview with rendered HTML output
  • Toggle between preview-only and split view with editor
  • Auto-collapse editor by default for distraction-free reading
  • Smooth transitions and intuitive toggle controls
  • Support for full markdown syntax and formatting

File Explorer & Enhanced Navigation

  • New collapsible File Explorer panel with tree structure view
  • Visual indicators for modified files (orange dot)
  • Quick navigation between open tabs with click-to-switch
  • Folder grouping with expand/collapse functionality
  • File count display in footer for better overview

UI/UX Improvements

  • Modern toggle switch design for VIM mode with sliding animation
  • Unified Format button that auto-detects JSON or XML content
  • Auto-focus editor when VIM mode is enabled for seamless workflow
  • Enhanced Diff Viewer with multiple input methods (file upload, paste, current tab)
  • Improved Open Recent dialog with better file organization
  • Cleaner toolbar with reduced clutter and improved aesthetics
  • Status bar hidden for Welcome tab (cleaner read-only view)

Help System

  • Comprehensive Help menu with Welcome, Tips & Tricks, Documentation, and Release Notes
  • Platform-specific behavior: external links on desktop, modals on web
  • Professional help pages with detailed guides and tutorials

Desktop App & Multi-Platform Support

Previous

Desktop Application

  • Tauri-based desktop application for macOS, Windows, and Linux
  • Native file dialogs and system integration
  • Optimized tab and file handling across platforms
  • Platform-specific menu bars with native shortcuts
  • Offline support and faster performance

Performance Improvements

  • Faster file loading and processing
  • Improved memory management for large files
  • Optimized rendering for better responsiveness

Core Editor Features

Initial Release

Editing Capabilities

  • Multi-tab editing with drag-and-drop reordering
  • JSON/XML formatting with syntax validation and error detection
  • CSV editing with preview and column management
  • Advanced search with highlighting and adjustable results panel
  • Auto-pairing for brackets, quotes, and XML tags
  • Find & Replace with undo support and regex patterns

Visual Features

  • Structure view for JSON and XML files with tree navigation
  • Dark and Light theme support with smooth transitions
  • Customizable font sizes (Extra Small to Large)
  • Notes & Todo lists integrated panels
  • Syntax highlighting for 30+ programming languages

Advanced Features

  • AI integration with OpenAI, Claude (Anthropic), and Ollama
  • Language Server Protocol (LSP) support for code intelligence
  • VIM mode for modal editing with standard keybindings
  • Built-in terminal panel (desktop only)
  • Diff Viewer for comparing files side-by-side
  • Save confirmation dialog for unsaved files

Technologies Used

  • React 18 with Vite for fast development and builds
  • Tailwind CSS for responsive, modern styling
  • CodeMirror 6 for powerful code editing capabilities
  • Tauri for cross-platform desktop application
  • Lucide React for beautiful, consistent icons

Coming Soon

  • Git integration for version control directly in the editor
  • Plugin system for community extensions and customization
  • Collaborative editing with real-time sync
  • Extended language support with more LSP integrations
  • Custom themes and layout configurations
  • Project workspace management
  • Code snippets library with custom snippet creation
  • Multi-file search and replace
  • Auto-save and backup features
  • Enhanced WASM support for even larger files (100MB+)