Forge 0.2.0
Forge 0.2.0
Independent SQL and NoSQL persistence for generated Python REST API projects.
Added
- Independent persistence selection: SQL (
postgresql,sqlite) and NoSQL (mongodb,redis), including SQL + NoSQL combinations - Interactive flow: optional database → SQL / NoSQL / Both → engine prompts
- YAML
persistenceconfiguration (sql/nosqlkeys) - MongoDB via the official PyMongo driver (async for FastAPI; sync for Flask/Django)
- Redis via the official redis-py client (async for FastAPI; sync for Flask/Django)
- Docker Compose services for MongoDB and Redis when Docker is selected
- Clearer SQL / NoSQL sections in
forge plan - Preset
fastapi-mongo(FastAPI + Modular Monolith + MongoDB + Docker)
Changed
- Persistence is modeled as independent SQL and NoSQL choices in
ProjectDefinition/GenerationPlan - SQLAlchemy, Alembic, and Django ORM remain SQL-only implications
Compatibility
- Legacy YAML
database: postgresql/sqliteremains supported as an SQL-only shorthand - Conflicting
database+persistencevalues are rejected with a clear error
Notes
- Django continues to require SQL in Forge’s current model; MongoDB or Redis can be added alongside SQL
- Install:
uv tool install forge-scaffolder(orpip install forge-scaffolder) - CLI:
forge