|
| 1 | +# 🚀 Crawl4AI v0.7.2: CI/CD & Dependency Optimization Update |
| 2 | + |
| 3 | +*July 25, 2025 • 3 min read* |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +This release introduces automated CI/CD pipelines for seamless releases and optimizes dependencies for a lighter, more efficient package. |
| 8 | + |
| 9 | +## 🎯 What's New |
| 10 | + |
| 11 | +### 🔄 Automated Release Pipeline |
| 12 | +- **GitHub Actions CI/CD**: Automated PyPI and Docker Hub releases on tag push |
| 13 | +- **Multi-platform Docker images**: Support for both AMD64 and ARM64 architectures |
| 14 | +- **Version consistency checks**: Ensures tag, package, and Docker versions align |
| 15 | +- **Automated release notes**: GitHub releases created automatically |
| 16 | + |
| 17 | +### 📦 Dependency Optimization |
| 18 | +- **Moved sentence-transformers to optional dependencies**: Significantly reduces default installation size |
| 19 | +- **Lighter Docker images**: Optimized Dockerfile for faster builds and smaller images |
| 20 | +- **Better dependency management**: Core vs. optional dependencies clearly separated |
| 21 | + |
| 22 | +## 🏗️ CI/CD Pipeline |
| 23 | + |
| 24 | +The new automated release process ensures consistent, reliable releases: |
| 25 | + |
| 26 | +```yaml |
| 27 | +# Trigger releases with a simple tag |
| 28 | +git tag v0.7.2 |
| 29 | +git push origin v0.7.2 |
| 30 | + |
| 31 | +# Automatically: |
| 32 | +# ✅ Validates version consistency |
| 33 | +# ✅ Builds and publishes to PyPI |
| 34 | +# ✅ Builds multi-platform Docker images |
| 35 | +# ✅ Pushes to Docker Hub with proper tags |
| 36 | +# ✅ Creates GitHub release |
| 37 | +``` |
| 38 | + |
| 39 | +## 💾 Lighter Installation |
| 40 | + |
| 41 | +Default installation is now significantly smaller: |
| 42 | + |
| 43 | +```bash |
| 44 | +# Core installation (smaller, faster) |
| 45 | +pip install crawl4ai==0.7.2 |
| 46 | + |
| 47 | +# With ML features (includes sentence-transformers) |
| 48 | +pip install crawl4ai[transformer]==0.7.2 |
| 49 | + |
| 50 | +# Full installation |
| 51 | +pip install crawl4ai[all]==0.7.2 |
| 52 | +``` |
| 53 | + |
| 54 | +## 🐳 Docker Improvements |
| 55 | + |
| 56 | +Enhanced Docker support with multi-platform images: |
| 57 | + |
| 58 | +```bash |
| 59 | +# Pull the latest version |
| 60 | +docker pull unclecode/crawl4ai:0.7.2 |
| 61 | +docker pull unclecode/crawl4ai:latest |
| 62 | + |
| 63 | +# Available tags: |
| 64 | +# - unclecode/crawl4ai:0.7.2 (specific version) |
| 65 | +# - unclecode/crawl4ai:0.7 (minor version) |
| 66 | +# - unclecode/crawl4ai:0 (major version) |
| 67 | +# - unclecode/crawl4ai:latest |
| 68 | +``` |
| 69 | + |
| 70 | +## 🔧 Technical Details |
| 71 | + |
| 72 | +### Dependency Changes |
| 73 | +- `sentence-transformers` moved from required to optional dependencies |
| 74 | +- Reduces default installation by ~500MB |
| 75 | +- No impact on functionality when transformer features aren't needed |
| 76 | + |
| 77 | +### CI/CD Configuration |
| 78 | +- GitHub Actions workflows for automated releases |
| 79 | +- Version validation before publishing |
| 80 | +- Parallel PyPI and Docker Hub deployments |
| 81 | +- Automatic tagging strategy for Docker images |
| 82 | + |
| 83 | +## 🚀 Installation |
| 84 | + |
| 85 | +```bash |
| 86 | +pip install crawl4ai==0.7.2 |
| 87 | +``` |
| 88 | + |
| 89 | +No breaking changes - direct upgrade from v0.7.0 or v0.7.1. |
| 90 | + |
| 91 | +--- |
| 92 | + |
| 93 | +Questions? Issues? |
| 94 | +- GitHub: [github.com/unclecode/crawl4ai](https://github.com/unclecode/crawl4ai) |
| 95 | +- Discord: [discord.gg/crawl4ai](https://discord.gg/jP8KfhDhyN) |
| 96 | +- Twitter: [@unclecode](https://x.com/unclecode) |
| 97 | + |
| 98 | +*P.S. The new CI/CD pipeline will make future releases faster and more reliable. Thanks for your patience as we improve our release process!* |
0 commit comments