|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## v1.2.0 (2025-11-27) |
| 4 | + |
| 5 | +### Features |
| 6 | + |
| 7 | +- **(Breaking Change) Add `fastkit init --interactive` feature**: Revolutionary feature-by-feature project builder |
| 8 | + - `fastkit init --interactive` now provides guided project setup with intelligent feature selection |
| 9 | + - Always uses Empty project (fastapi-empty template) as base template to prevent conflicts with DynamicConfigGenerator |
| 10 | + - Interactive project configuration with validation and compatibility warnings |
| 11 | + - Real-time dependency collection based on selected features |
| 12 | + - Confirmation summary before project creation |
| 13 | + |
| 14 | +- **Dynamic Code Generation**: Intelligent code generation based on feature selections |
| 15 | + - Integrated DynamicConfigGenerator for automatic code scaffolding |
| 16 | + - Generates `main.py` with selected features (auth, database, monitoring, etc.) |
| 17 | + - Creates database configuration files for PostgreSQL, MySQL, MongoDB, SQLite |
| 18 | + - Generates authentication setup for JWT, OAuth2, FastAPI-Users |
| 19 | + - Auto-generates test configuration (pytest with optional coverage) |
| 20 | + - Docker deployment files (Dockerfile, docker-compose.yml) generation |
| 21 | + |
| 22 | +- **Enhanced Dependency Management**: Multi-format dependency file generation |
| 23 | + - Automatically generates both package-manager-specific files AND requirements.txt |
| 24 | + - Ensures pip compatibility regardless of selected package manager |
| 25 | + - Dependencies correctly reflect all selected stack features |
| 26 | + - Smart dependency deduplication and version management |
| 27 | + |
| 28 | +### Improvements |
| 29 | + |
| 30 | +- **Interactive CLI Experience**: |
| 31 | + - Step-by-step feature selection with descriptions. Each selection step proceeds in the following order below: |
| 32 | + - Database selection (PostgreSQL, MySQL, MongoDB, Redis, SQLite) |
| 33 | + - Authentication options (JWT, OAuth2, FastAPI-Users, Session-based) |
| 34 | + - Background tasks (Celery, Dramatiq) |
| 35 | + - Caching layer (Redis, fastapi-cache2) |
| 36 | + - Monitoring integration (Loguru, OpenTelemetry, Prometheus) |
| 37 | + - Testing framework (Basic, Coverage, Advanced) |
| 38 | + - Utilities (CORS, Rate-Limiting, Pagination, WebSocket) |
| 39 | + - Deployment configuration (Docker, docker-compose) |
| 40 | + - Package manager selection (pip, uv, pdm, poetry) |
| 41 | + - Custom package addition support |
| 42 | + |
| 43 | +### Technical |
| 44 | + |
| 45 | +- **Interactive Backend Architecture**: |
| 46 | + - `InteractiveConfigBuilder`: Orchestrates full interactive flow |
| 47 | + - `DynamicConfigGenerator`: Generates feature-specific code |
| 48 | + - `DependencyCollector`: Intelligently collects stack dependencies |
| 49 | + - Input validators with comprehensive error handling |
| 50 | + - Multi-select prompts for utilities and deployment options |
| 51 | + - Feature compatibility validation system |
| 52 | + |
| 53 | +### Documentation |
| 54 | + |
| 55 | +- Add AI translation support of user guides(docs/ folder sources that mkdocs renders) |
| 56 | + |
3 | 57 | ## v1.1.5 (2025-09-14) |
4 | 58 |
|
5 | 59 | ### Improvements |
|
0 commit comments