> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibedoc-ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog

> Track all updates, new features, and improvements to VibeDoc

## Version 1.6.0 - Watermark System & UI Enhancements

**Released: January 2025**

### 🚀 Major Features

<Card title="Advanced Watermark System" icon="droplet">
  Professional text and image watermarks with comprehensive customization.

  **Type Options**:

  * None, Text, or Image watermarks

  **Mode Options**:

  * Single: Centered placement with custom positioning
  * Repeated: Full page coverage with pattern support

  **Text Watermarks**:

  * 100+ Google Fonts + system fonts
  * Font size (8-120pt), weight, and style
  * Full color picker with hex support
  * Rotation (-90° to 90°)
  * Opacity control (0-100%)

  **Image Watermarks**:

  * URL or file upload support
  * Size control (10-200%)
  * Position selection (center, corners)
  * Opacity control

  **Repeat Patterns**:

  * Diagonal: Classic -45° security watermark
  * Grid: Dense 3×3 branding pattern
  * Sparse: Spaced 2×2 subtle coverage
</Card>

### ✨ UI Improvements

* **Orientation Icons**: Custom SVG paper representations for Portrait/Landscape
* **Tab Styling**: Enhanced transitions, shadows, and hover effects for better integration
* **Header/Footer Toggles**: Replaced switches with buttons featuring loading states and status badges
* **Visual Margin Editor**: Interactive cross-layout preview with connecting lines
* **Menu Organization**: Separated document actions from navigation items

### 🎯 Document Features

<Card title="Document Duplication" icon="copy">
  One-click document duplication with proper state management.

  * Loading indicators during duplication
  * Automatic navigation to new document
  * Preserves all blocks and template settings
</Card>

### 🎨 Design Updates

* **Checkout Dialog**: Updated from violet to blue theme for platform consistency
* **Secure Checkout Badge**: Added trust indicators and better messaging
* **Conditional Zoom**: Zoom controls now only visible in preview mode

### 🐛 Bug Fixes

* Fixed Google Fonts loading in text watermarks
* Corrected image size handling in repeated watermark patterns
* Resolved watermark rendering in PDF exports
* Fixed orientation selector positioning

### 🗑️ Cleanup

* Filtered "Pro Free Month" product from public pricing tables
* Removed redundant watermark legacy code
* Updated Convex schema with backward-compatible union types

***

## Version 1.5.0 - PDF & Export Enhancements

**Released: January 2025**

### 🚀 Major Features

<Card title="Snapshot0 PDF Migration" icon="file-pdf">
  Migrated from local Playwright-based PDF generation to external Snapshot0 service for improved reliability and performance.

  * Environment-specific URLs (dev: vibedoc-hackathon.vercel.app, prod: vibedoc-ai.com)
  * Better error handling and logging
  * Reduced server resource usage
</Card>

### ✨ Improvements

* **Print Functionality**: Added browser-native print option with event-driven architecture
* **Print Timeout**: Increased to 60 seconds for large documents
* **Print Fidelity**: Fixed iframe dimensions (794x1123px) for accurate page rendering
* **Ready Signals**: Implemented comprehensive ready state detection (fonts, images, layout)
* **Orientation Support**: Full landscape/portrait PDF support with URL parameters

### 🐛 Bug Fixes

* Fixed `document.cookie` undefined error in PDF generation
* Fixed Snapshot0 connection refused errors with localhost URLs
* Resolved print timeout false positives
* Fixed incomplete page rendering in print preview

### 🗑️ Cleanup

* Removed unused Playwright dependency
* Removed @sparticuz/chromium and puppeteer-core
* Cleaned up postinstall scripts

***

## Version 1.4.0 - Authentication & Tracking

**Released: December 2024**

### 🚀 Major Features

<Card title="Google OAuth Integration" icon="google">
  One-click signup and login with Google accounts using Better Auth.

  * Seamless OAuth flow
  * Automatic user sync with Autumn
  * Profile picture and email import
</Card>

<Card title="Meta Conversions API (CAPI)" icon="chart-line">
  Server-side event tracking for accurate conversion attribution.

  * Signup event tracking
  * UTM parameter preservation
  * GDPR-compliant implementation
</Card>

### ✨ Improvements

* **Centralized OAuth Callback**: Single callback handler for all OAuth providers
* **UTM Tracking**: Full Google Analytics UTM parameter tracking system
* **GTM Integration**: Google Tag Manager setup for advanced analytics
* **User Flow**: Improved signup/signin UX consistency

### 🐛 Bug Fixes

* Fixed Autumn sync errors with null `utmParams`
* Removed duplicate welcome email sending
* Fixed OAuth user synchronization issues

***

## Version 1.3.0 - Credits & Billing System

**Released: December 2024**

### 🚀 Major Features

<Card title="Credits Management" icon="coins">
  Complete credit-based billing system powered by Autumn.

  * Real-time credit balance tracking
  * Credit consumption for AI operations
  * Top-up modal with package selection
  * Credit gating before document creation
</Card>

### ✨ Improvements

* **Credits Badge**: Prominent badge in header showing balance
* **TopUpModal Colors**: Updated to blue/indigo for platform consistency
* **Token Estimation**: Accurate pre-flight credit cost calculation
* **Warning System**: Alert users before running out of credits
* **Pro Free Month**: Staff reward product with all Pro features

### 🐛 Bug Fixes

* Fixed credits badge positioning in new document page
* Corrected credit cost calculations for input/output tokens
* Resolved TopUpModal color inconsistencies (violet → blue)

***

## Version 1.2.0 - Template System

**Released: November 2024**

### 🚀 Major Features

<Card title="Template Configuration" icon="palette">
  Comprehensive template system for document customization.

  * Color schemes and presets
  * Font family and size controls
  * Spacing and margin configuration
  * Header/footer customization
  * Border configuration
</Card>

### ✨ Improvements

* **Heading Sizes**: Configurable `fontSize` and `lineHeight` for all heading levels
* **Header/Footer Borders**: Add borders to header and footer sections
* **Default Heights**: Updated default header (60px) and footer (40px) heights
* **Schema Updates**: Complete Convex schema support for template fields

### 🐛 Bug Fixes

* Fixed border field support in AI prompts
* Corrected `headingSizes` schema validation errors
* Fixed landscape PDF layout issues with max-width constraints

***

## Version 1.1.0 - Block Editor Enhancements

**Released: November 2024**

### 🚀 Major Features

<Card title="Checkbox Blocks" icon="square-check">
  New checkbox block type for tasks and checklists.

  * Create todo lists
  * Mark items complete
  * Nested checkbox support
</Card>

<Card title="Drag & Drop Reordering" icon="grip-vertical">
  Drag and drop blocks with dnd-kit for easy organization.

  * Smooth animations
  * Visual feedback
  * Touch support
</Card>

### ✨ Improvements

* **Performance**: Optimized streaming chat and block editor re-renders
* **Edit Mode UX**: Improved editing experience with better focus management
* **Document Settings**: Enhanced settings panel with better organization
* **Zoom Functionality**: Added zoom controls for document preview

### 🐛 Bug Fixes

* Fixed block reordering edge cases
* Corrected edit mode focus issues
* Resolved checkbox state persistence

***

## Version 1.0.0 - Initial Release

**Released: October 2024**

### 🚀 Major Features

<Card title="AI Document Generation" icon="robot">
  Chat with AI to generate complete documents.

  * Natural language understanding
  * Context-aware content generation
  * Multiple document types supported
</Card>

<Card title="Rich Block Editor" icon="cube">
  Build documents with 10+ block types.

  * Headings (H1-H6)
  * Text paragraphs
  * Bullet and numbered lists
  * Tables with headers
  * Signature blocks
  * Callouts (info, warning, success, error)
  * Dividers
  * Date blocks
  * Image blocks
</Card>

<Card title="Real-time Sync" icon="rotate">
  Powered by Convex for instant updates.

  * Auto-save every change
  * No data loss
  * Optimistic updates
</Card>

### ✨ Additional Features

* **Audio Playback**: Listen to documents with AI voice
* **Share Links**: Generate public/private share links
* **PDF Export**: High-fidelity PDF generation
* **Document Management**: Organize documents in workspace
* **Mobile Responsive**: Works on all devices
* **Dark Mode**: Coming soon

### 🎨 Design System

* Modern gradients and animations
* shadcn/ui components
* Tailwind CSS styling
* Geist font family
* Blue/indigo color scheme

***

## Upcoming Features

<Info>
  We're constantly improving VibeDoc. Here's what's coming next:
</Info>

### Q1 2025 Roadmap

* 🌙 **Dark Mode** - Complete dark theme support
* 👥 **Real-time Collaboration** - Multi-user editing
* 📁 **Folders & Organization** - Better document management
* 🔍 **Search** - Full-text search across documents
* 📱 **Mobile App** - Native iOS and Android apps
* 🎯 **Templates Library** - Pre-built document templates
* 🔗 **Integrations** - Slack, Notion, Google Drive
* 📊 **Analytics** - Document view and engagement stats

### Feature Requests

Have an idea? Let us know!

<Card title="Submit Feature Request" icon="lightbulb" href="https://github.com/alemicali/vibedoc/issues/new">
  Open an issue on GitHub with the "feature request" label
</Card>

***

## Stay Updated

Follow our progress:

* 𝕏 **Twitter**: [@alessio\_micali](https://twitter.com/alessio_micali)
* 🐙 **GitHub**: [alemicali/vibedoc](https://github.com/alemicali/vibedoc)
* 💬 **Discord**: [Join our community](https://discord.gg/vibedoc)
* 📧 **Newsletter**: Coming soon

***

<Note>
  All dates are approximate. Features may be released earlier or later than scheduled.
</Note>
