Changelog
Release history and updates for HeadlessX
All notable changes to HeadlessX will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[2.0.0] - 2026-01-28 ๐ฆ CAMOUFOX RELEASE
๐ Major Release: Complete Browser Engine Rewrite
HeadlessX V2.0 represents a complete rewrite of the browser engine, achieving 0% detection rate across all major anti-bot systems by replacing Chromium-based stealth with Camoufox (Firefox with C++ level fingerprint spoofing).
โจ Added
Browser Engine
- Camoufox Browser Engine - Firefox with C++ level fingerprint spoofing
- 0% Detection Rate - Passes CreepJS, Sannysoft, BrowserScan, and all major bot detection
- WebRTC Protection - Built-in IP leak prevention
- Binary-Level Stealth - Canvas, WebGL, and AudioContext spoofing at C++ level
- Persistent Context Pooling - 3x faster browser launches
New Scrapers
- Google SERP Scraper - Extract search results with zero detection
- Organic results with position tracking
- Featured snippets extraction
- People Also Ask questions
- Related searches
- Website Scraper - Full-featured web scraping
- Raw HTML extraction (fast)
- JavaScript-rendered content
- Markdown conversion for LLMs
- Full-page screenshots (PNG/JPEG)
- Real-time SSE streaming
API Endpoints
/api/website/html- Fast HTML extraction without JavaScript/api/website/html-js- JavaScript rendering with wait options/api/website/content- Clean markdown conversion/api/website/screenshot- Screenshot capture with quality control/api/website/stream- Real-time SSE stream with progress/api/google-serp/search- Google SERP extraction/api/google-serp/stream- Real-time SERP streaming
Documentation
- Complete API Reference - All endpoints documented with curl examples
- N8N Integration Guide - Workflow automation with examples
- Zapier Integration Guide - No-code automation patterns
- Make.com Integration Guide - Visual automation scenarios
- Configuration Guide - Dashboard and environment settings
- Installation Guide - Platform-specific setup (Windows, Linux, macOS)
Dashboard Features
- Modern UI - Next.js 16 with React 19 and Turbopack
- Live Configuration - Change settings without restart via Dashboard
- Request Logs - Full history with screenshots and timing
- Playground - Real-time testing interface for both scrapers
- Profile Management - Persistent browser sessions and cookies
- Proxy Management - Automatic rotation and validation
๐ Improved
- Performance - 3x faster browser initialization with context pooling
- Stealth - From 67% detection (V1.3) to 0% detection (V2.0)
- Reliability - Better error handling and automatic recovery
- Documentation - Comprehensive guides with visual examples
- Developer Experience - Simplified installation with one-command setup
๐๏ธ Removed
playwright-extra- No longer needed with Camoufox native stealthpuppeteer-extra-plugin-stealth- Replaced by C++ level patches- PDF endpoint (
/api/website/pdf) - Removed for optimization - Generic component previews from docs - Focused on documentation clarity
- All JavaScript-based fingerprint protection - Replaced by binary-level
๐ง Changed
- Browser Engine - Migrated from Chromium to Firefox (Camoufox)
- Config Management - Moved most settings from
.envto Dashboard UI - Frontend - Upgraded to Next.js 16 with Turbopack and React 19
- TypeScript - Upgraded to 5.9+ with stricter type checking
- Node.js - Now requires Node.js 22+ for optimal performance
๐ Fixed
- Hydration mismatch in mobile navigation components
- Invalid SVG attributes (
fill-ruleโfillRule) in icon components - Component preview build errors after library removal
- Missing module imports after Badtz-UI refactoring
- File system access errors in component library stubs
- Emoji in heading IDs causing invalid CSS selectors
๐ฆ Dependencies
Added:
camoufox- Stealth browser engine with Firefoxplaywright1.58+ - Browser automation framework
Updated:
nextโ 16.0.7 (with Turbopack)reactโ 19.xtypescriptโ 5.9+nodeโ 22+pnpmโ 9+
Removed:
playwright-extraand all stealth pluginspuppeteer-extra-plugin-stealth- Legacy fingerprinting libraries
๐จ Breaking Changes
- Browser Engine: Chromium โ Firefox (Camoufox)
- API Response Format: All responses wrapped in
{ success, data, error }structure - PDF Endpoint Removed:
/api/website/pdfno longer available - Configuration: Most settings moved from
.envto Dashboard UI - Node.js Version: Requires Node.js 22+ (was 18+)
๐ Migration Guide from V1.3
1. Update Dependencies
cd HeadlessX
pnpm install
2. Download Camoufox
pnpm camoufox:fetch
3. Update Environment Variables
# Remove old stealth configs
# Add new required vars
NEXT_PUBLIC_API_URL="http://localhost:3001"
4. Update API Integrations
// Old format
const html = response.html
// New format (V2.0)
const html = response.data.html
5. Remove PDF Endpoint Usage
// โ No longer available
POST /api/website/pdf
// โ
Use screenshot instead
POST /api/website/screenshot
No Database Migration Required:
- Database schema unchanged
- Existing profiles remain compatible
- API keys remain valid
[1.3.0] - 2025-09-23 ๐ก๏ธ ADVANCED ANTI-DETECTION & SECURITY RELEASE
๐ก๏ธ Major Security & Privacy Features
- Advanced Fingerprinting Protection: Comprehensive canvas, WebGL, and audio fingerprinting mitigation
- Behavioral Simulation Engine: Human-like mouse movement with Bezier curves and natural timing
- Hardware Emulation: Realistic device profiling with consistent hardware characteristics
- WAF Bypass Capabilities: Cloudflare and DataDome evasion with TLS fingerprint masking
- Enhanced Authentication: Multi-token support with admin and profile management tokens
- Comprehensive Security Audit: Full codebase security review with vulnerability fixes
๐ Anti-Detection Technologies
Fingerprinting Protection
- Canvas Noise Injection: Dynamic noise with consistent seeding for reproducible fingerprints
- WebGL Spoofing: GPU vendor/renderer masking with hardware-specific profiles
- Audio Fingerprint Control: Hardware audio database with realistic device simulation
- WebRTC Leak Protection: ICE candidate filtering and media device enumeration control
- Hardware Noise: CPU timing, memory allocation, and performance API manipulation
- Timezone Intelligence: Automatic timezone alignment with IP geolocation
Behavioral Simulation
- Natural Mouse Movement: Bezier curve path generation with acceleration modeling
- Keyboard Dynamics: Dwell time randomization and typing rhythm simulation
- Scroll Patterns: Natural scroll behavior with reader/scanner/browser profiles
- Attention Modeling: User attention simulation with realistic interaction patterns
- Micro-movements: Subtle mouse adjustments and human-like timing variations
WAF & Bot Detection Bypass
- Cloudflare Bypass: Challenge solver with TLS fingerprint masking
- DataDome Evasion: Resource blocking and behavioral pattern bypasses
- Generic WAF Bypass: Signature detection and response analysis
- Detection Monitoring: Real-time tracking of bot detection encounters
๐๏ธ Enhanced Architecture
- Modular Anti-Detection Services: Organized fingerprinting, behavioral, and evasion modules
- Profile Management System: Device profile creation, validation, and rotation
- Testing Framework: Comprehensive anti-detection testing against major services
- Development Tools: Interactive fingerprint testing and profile benchmarking
- Performance Monitoring: Real-time success rate analytics and optimization
๐ New API Endpoints
POST /api/render/stealth- Maximum stealth rendering with all anti-detection featuresGET /api/test-fingerprint- Interactive fingerprinting effectiveness testingPOST /api/profiles- Device profile management and validationGET /api/analytics/detection-rate- Real-time detection rate monitoringPOST /api/test/cloudflare- Cloudflare bypass testing and validation
๐ง Configuration Enhancements
- Expanded Environment Variables: 50+ new configuration options for anti-detection
- Profile Configuration: Custom device profiles with hardware specifications
- Stealth Mode Settings: Basic, advanced, and maximum stealth levels
- Behavioral Tuning: Configurable human behavior simulation parameters
- Monitoring Controls: Audit trails, performance tracking, and detection analytics
๐ Security Improvements
- Authentication Timing Attack Fix: Secure token comparison using
crypto.timingSafeEqual - Log Sanitization: Token exposure prevention in application logs
- Input Validation: SSRF protection and comprehensive URL validation
- Rate Limiting: Token-based and IP-based request throttling
- Security Headers: CSP, HSTS, and anti-clickjacking protection
๐จ Breaking Changes
- New Required Environment Variables:
FINGERPRINT_PROFILE,STEALTH_MODE - API Response Changes: Enhanced error responses with security context
- Browser Configuration: New profile-based browser initialization
๐ Bug Fixes
- Fixed browser resource leaks in concurrent operations
- Resolved timing inconsistencies in behavioral simulation
- Corrected WebGL context isolation issues
- Fixed audio fingerprint noise distribution
- Resolved profile validation edge cases
๐ Performance Improvements
- 30% faster rendering with optimized browser pooling
- 50% reduction in memory usage through enhanced cleanup
- 90% improvement in detection evasion success rates
- Real-time monitoring with minimal performance impact
[1.2.0] - 2025-09-15 ๐๏ธ MAJOR MODULAR ARCHITECTURE REFACTOR
๐ Revolutionary Changes
- Complete Modular Refactor: Transformed 3079-line monolithic
server.jsinto 20+ focused modules - Separation of Concerns: Clean architecture with distinct layers for configuration, services, controllers, and middleware
- Enhanced Maintainability: Each module has a single responsibility for better code organization
- Production-Ready: Enterprise-grade error handling, logging, and monitoring capabilities
- Developer Experience: Improved development workflow with clear module boundaries
๐๏ธ New Modular Architecture
src/
โโโ config/ # Configuration management
โโโ utils/ # Utilities (errors, logging, helpers)
โโโ services/ # Business logic (browser, stealth, rendering)
โโโ middleware/ # Express middleware (auth, errors)
โโโ controllers/ # Request handlers by feature
โโโ routes/ # Route definitions and mappings
โโโ app.js # Main application setup
โโโ server.js # Entry point for PM2
โจ Major Features Added
- Enhanced Error Handling: Structured error responses with correlation IDs for debugging
- Advanced Rate Limiting: Intelligent rate limiting with memory-based storage and cleanup
- Improved Logging: Structured logging with request correlation and detailed context
- Better Browser Management: Optimized browser lifecycle with resource monitoring
- Security Enhancements: Improved authentication middleware and request validation
- Performance Optimization: Better resource utilization and memory management
๐ง Configuration Updates
- Environment Variables:
TOKENโAUTH_TOKEN(breaking change) - PM2 Configuration: Moved from
config/ecosystem.config.jsto rootecosystem.config.js - Enhanced
.env: More configuration options with validation and defaults - Docker Optimization: Updated Docker configuration for modular structure
๐ฅ Breaking Changes
- Environment Variable:
TOKENrenamed toAUTH_TOKEN - File Structure: PM2 configuration moved from
config/to root directory - Import Paths: Internal imports updated for modular structure
- Script Updates: Setup scripts updated to work with new architecture
๐ Migration Guide
# Update environment variables
sed -i 's/TOKEN=/AUTH_TOKEN=/g' .env
# Update PM2 configuration path
mv config/ecosystem.config.js ./ecosystem.config.js
# Restart services
npm run pm2:restart
[1.1.0] - 2024-12-19 ๐ UNIFIED ARCHITECTURE RELEASE
๐ Major Features Added
- Unified Architecture: Single Node.js server now serves both website and API
- Integrated Website: Complete Next.js website served at root path (
/) - Enhanced API: All API endpoints now available under
/api/*prefix - Environment Variables: Complete
.envfile support for all configurations - Domain Integration: Automatic subdomain and domain configuration from environment
๐ Website Integration
- Next.js Website: Modern React-based website with Tailwind CSS
- API Documentation: Interactive documentation and examples
- Live Testing: Built-in API testing interface
- Responsive Design: Mobile-first design with dark/light theme support
- TypeScript Support: Full TypeScript integration for better development
โ๏ธ Infrastructure Improvements
- Simplified Nginx: Single proxy configuration for all routes
- Unified Server: Website and API served from same Node.js process
- Better Routing: Intelligent routing between static files and API endpoints
- Performance: Improved caching and static file serving
- Security: Enhanced security headers and token validation
๐ณ Docker & Deployment
- Docker Support: Multi-stage build with optimized containers
- Docker Compose: Complete stack deployment with one command
- PM2 Integration: Production process management
- SSL Support: Ready for Let's Encrypt certificates
- Health Checks: Automatic service monitoring
๐ Breaking Changes
- API endpoints moved from root to
/api/*prefix - Configuration now requires
.envfile setup - Nginx configuration changed to proxy-only
- Docker deployment process updated
๐ Migration Guide
# Update API URLs
# Old: https://headlessx.yourdomain.com/render
# New: https://headlessx.yourdomain.com/api/render
# Environment setup required
cp .env.example .env
# Edit .env with your configuration
# New build process
npm run build:full
npm run deploy
[1.0.0] - 2024-12-01 ๐ INITIAL RELEASE
Core API
- Complete web scraping API with Playwright
- Screenshot generation with high quality
- PDF generation from webpages
- HTML extraction (clean and raw)
- Text content extraction
- Batch processing for multiple URLs
๐ API Endpoints
GET /health- Health check endpointGET /status- Server status with authenticationPOST /render- Full page rendering with optionsGET /html- HTML content extractionGET /content- Text content extractionGET /screenshot- Screenshot generationGET /pdf- PDF generationPOST /batch- Batch URL processing
๐ง Features
- Playwright Integration: Chrome, Firefox, Safari browser support
- Human Behavior: Realistic scrolling, mouse movements, typing
- Responsive Design: Mobile and desktop viewport simulation
- Custom Headers: Support for authentication and custom headers
- Proxy Support: Route requests through proxy servers
- Timeout Handling: Configurable request timeouts
- Error Handling: Comprehensive error responses
๐ Deployment
- PM2 Support: Production process management
- Nginx Configuration: Reverse proxy setup
- Docker Support: Container deployment
- Environment Configuration: Flexible environment setup
Development Roadmap
๐ฎ Planned Features (V2.1 - Q1 2026)
- Docker Support - One-command deployment with Docker Compose
- Amazon Scraper - Product listings and reviews extraction
- LinkedIn Scraper - Job listings and profile data
- Twitter Scraper - Tweets, trends, and profile information
- Instagram Scraper - Posts, stories, and profile data
๐ฏ Future Enhancements (V2.2 - Q2 2026)
- GraphQL API - Alternative GraphQL interface alongside REST
- Python SDK - Official Python client library
- Node.js SDK - Official Node.js client library
- Bulk Scraping - Optimized concurrent URL processing
- Advanced Scheduling - Cron-based scheduled jobs
๐ Major Features (V3.0 - Q3 2026)
- AI-Powered Extraction - LLM-based intelligent data parsing
- Visual Testing - Screenshot comparison and diff detection
- CAPTCHA Auto-Solving - Built-in AI-powered CAPTCHA solver
- Cloud Deployment - Managed hosting with auto-scaling
Contributing
We welcome contributions! Please see our Contributing Guide for details on how to:
- ๐ Report bugs
- ๐ก Suggest features
- ๐ Submit pull requests
- ๐ Improve documentation
- ๐งช Add tests
Security
If you discover a security vulnerability, please read our Security Policy or email security issues directly. All security vulnerabilities will be promptly addressed.
Support
- GitHub Issues: https://github.com/saifyxpro/HeadlessX/issues
- Discussions: https://github.com/saifyxpro/HeadlessX/discussions
- Documentation: https://headlessx.saify.me/docs
License
This project is licensed under the MIT License.
Acknowledgments
- Camoufox Team - For the revolutionary stealth browser engine
- Playwright Team - For the excellent browser automation framework
- Next.js Team - For the amazing React framework
- Community Contributors - For suggestions, bug reports, and improvements
HeadlessX v2.0.0 - The world's most advanced anti-detection scraping platform ๐ฆ