🚀 MediaFusion 5.0.0-beta.1 Released
⚠️ BREAKING CHANGE: This release migrates from MongoDB to PostgreSQL as the primary database.
🗄️ Database Migration to PostgreSQL
The biggest update in this release! MediaFusion now runs on PostgreSQL, bringing significant improvements:
- 🔄 SQLModel/SQLAlchemy replaces Beanie ODM for better performance and type safety
- 📊 Alembic migrations for reliable schema versioning and upgrades
- 🔍 pg_trgm full-text search for faster, fuzzy title matching
- 📖 Read replica support via
postgres_read_urifor scalable deployments - 🐘 PostgreSQL 18 with Docker/Kubernetes configs updated
- ⚡ Streaming replication for high availability setups
Migration Guide
Existing users must migrate their data:
# 1. Run Alembic migrations
alembic upgrade head
# 2. Execute migration script
python -m migrations.mongo_to_postgres migrate \
--mongo-uri "mongodb://localhost:27017/mediafusion" \
--postgres-uri "postgresql+asyncpg://user:pass@localhost:5432/mediafusion"
# 3. Verify migration
python -m migrations.mongo_to_postgres verify --mongo-uri "..." --postgres-uri "..."📚 See MongoDB to PostgreSQL Migration Guide for detailed instructions.
✨ New Features & Enhancements
- 🔎 Bulk import search by title - Search and import content by title in the browser extension
- 📝 Content type selection - Change content type during bulk imports
- 🎯 Episode filtering - Filter episodes using keywords or regex patterns in the extension
🐛 Bug Fixes
- 🛠️ Fixed addon bulk local import functionality (#586)
🤝 Contributors
- Mohamed Zumair
📄 Full Changelog
⚙️ New Environment Variables
| Variable | Description | Required |
|---|---|---|
postgres_uri
| Primary PostgreSQL connection URI | ✅ Yes |
postgres_read_uri
| Read replica URI (optional) | ❌ No |
Note:
mongo_uriis only needed during the migration period and can be removed after successful migration.