v0.7.5

unclecode/crawl4aiv0.7.5Oct 21, 2025by github-actions[bot]

AI Summary

Significant release introducing Docker Hooks system for custom Python function injection at 8 pipeline points, enhanced LLM integration, and HTTPS preservation. Includes multiple bug fixes and security updates.

Key Highlights

  • Docker Hooks System with 8 injection points
  • Enhanced LLM Integration with custom temperature
  • Multi-provider LLM support (OpenAI, Gemini, custom endpoints)
  • HTTPS preservation for internal links
  • Python 3.10+ required (upgraded from 3.9)
  • Proxy parameter deprecated - use new proxy_config structure
  • Multiple critical bug fixes

Breaking Changes

  • Python 3.10+ required (upgraded from 3.9)
  • Proxy parameter deprecated - use new proxy_config structure
  • New dependency: cssselect added for better CSS handling

New Features

  • Docker Hooks System (8 pipeline injection points)
  • Function-based hook API with IDE support
  • Custom temperature parameter for LLM creativity control
  • Multi-provider LLM support with base_url configuration
  • preserve_https_for_internal_links option
  • URL Processing: '+' sign preservation in query parameters
  • JWT Authentication: Docker validation fixes
  • Playwright Stealth features integration
  • Proxy configuration with new proxy_config structure
  • Memory management fixes for long-running sessions
  • Docker JSON serialization fixes

Full Release Notes

# šŸš€ Crawl4AI v0.7.5: Docker Hooks & Security Update

## šŸŽÆ What's New

### šŸ”§ Docker Hooks System
Inject custom Python functions at 8 key pipeline points for authentication, performance optimization, and content processing.

**Function-Based API** with IDE support:
```python
from crawl4ai import hooks_to_string

async def on_page_context_created(page, context, **kwargs):
    """Block images to speed up crawling"""
    await context.route("**/*.{png,jpg,jpeg,gif,webp}", lambda route: route.abort())
    return page

hooks_code = hooks_to_string({"on_page_context_created": on_page_context_created})
```

8 Available Hook Points: 
`on_browser_created`, `on_page_context_created`, `before_goto`, `after_goto`, `on_user_agent_updated`, `on_execution_started`, `before_retrieve_html`, `before_return_html`

šŸ¤– Enhanced LLM Integration

- Custom temperature parameter for creativity control
- Multi-provider support (OpenAI, Gemini, custom endpoints)
- base_url configuration for self-hosted models
- Improved Docker API integration

šŸ”’ HTTPS Preservation

New `preserve_https_for_internal_links` option maintains secure protocols throughout crawling — critical for authenticated sessions and security-conscious applications.

šŸ› ļø Major Bug Fixes

- URL Processing: Fixed '+' sign preservation in query parameters (#1332)
- JWT Authentication: Resolved Docker JWT validation issues (#1442)
- Playwright Stealth: Fixed stealth features integration (#1481)
- Proxy Configuration: Enhanced parsing with new proxy_config structure
- Memory Management: Fixed leaks in long-running sessions
- Docker Serialization: Resolved JSON encoding errors (#1419)
- LLM Providers: Fixed custom provider integration for adaptive crawler (#1291)
- Performance: Resolved backoff strategy failures (#989)

---
šŸ“¦ Installation

PyPI:
pip install crawl4ai==0.7.5

Docker:
docker pull unclecode/crawl4ai:0.7.5
docker pull unclecode/crawl4ai:latest

Platforms Supported: Linux/AMD64, Linux/ARM64 (Apple Silicon, AWS Graviton)

---
āš ļø Breaking Changes

1. Python 3.10+ Required (upgraded from 3.9)
2. Proxy Parameter Deprecated - Use new proxy_config structure
3. New Dependency - cssselect added for better CSS handling

---
šŸ“š Resources

- šŸ“– Full Release Notes: https://github.com/unclecode/crawl4ai/blob/main/docs/blog/release-v0.7.5.md
- šŸ“˜ Documentation: https://docs.crawl4ai.com
- šŸ’¬ Discord Community: https://discord.gg/jP8KfhDhyN
- šŸ› Issues: https://github.com/unclecode/crawl4ai/issues

---
šŸ™ Contributors

Thank you to everyone who reported issues, provided feedback, and contributed to this release!

Full Changelog: https://github.com/unclecode/crawl4ai/compare/v0.7.4...v0.7.5