Django v4 Release
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
TripandSchedulemodels 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
- Adding quality workflow by @awaisdar001 in #41
- Upgrade to Django v4 by @awaisdar001 in #43
Full Changelog: v0.2.10...v1.0