Skip to content

Forge 0.2.0

Choose a tag to compare

@Lacky227 Lacky227 released this 23 Sep 11:31
· 20 commits to master since this release

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 persistence configuration (sql / nosql keys)
  • 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 / sqlite remains supported as an SQL-only shorthand
  • Conflicting database + persistence values 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 (or pip install forge-scaffolder)
  • CLI: forge