Skip to content

Django v4 Release

Choose a tag to compare

@awaisdar001 awaisdar001 released this 10 Jun 15:41
· 9 commits to master since this release
fdc93b4

v2.0.0 - Major Upgrade & Modernization

πŸš€ This release introduces breaking changes and requires a fresh installation.

✨ New Features & Improvements

API Documentation

  • Added Swagger/OpenAPI docs (drf-spectacular) to replace manual README notes
  • Integrated ReDoc for developer-friendly browsing

Core Upgrades

  • ⚑ Django v4.0 compatibility
  • 🐍 Python 3.11 support
  • βœ… Improved test coverage (+15% unit/integration tests)

Models

  • Refactored Trip and Schedule models for better performance
  • Added new constraints and helper methods

⚠️ Breaking Changes

  • Non-backward compatible – Fresh install required
  • Database migrations reset – New migration history from scratch

πŸ”§ Developer Experience

  • πŸ›  Pylint enabled + all fixes applied (.pylintrc config)
  • ✨ Black code formatting enforced
  • 🐳 Docker improvements:
  • Optimized Dockerfile (multi-stage builds, reduced image size)
  • Enhanced docker-compose.yml (better service isolation)

πŸ“¦ Installation Notes

# Clean install recommended  
pip install -r requirements.txt  
python manage.py migrate --fake-initial  

Full Changelog: View Here

What's Changed

Full Changelog: v0.2.10...v1.0