Releases: gsinghjay/fastapi-fullstack-cicd
Release list
v2.0.1
v2.0.1 (2025-01-07)
Bug Fixes
-
dev: Add explicit mypy config path in pre-commit (
fe4403a) -
Add config-file argument to mypy hook
-
Ensure consistent mypy behavior in pre-commit
-
users: Fix string formatting in error messages (
ca21f39) -
Use explicit string concatenation instead of f-strings
-
Fix remaining RUF010 linting issues
-
users: Improve transaction handling and test consistency (
92300d7) -
Fix transaction handling in user update and deactivation endpoints
-
Add proper commit calls after database operations
-
Update test_user_data_consistency to avoid superuser deactivation
-
Fix timezone handling in token invalidation checks
-
users: Improve transaction handling in user operations (
82721f5) -
Remove transaction management from CRUD functions
-
Let endpoints handle transaction boundaries
-
Remove redundant rollback calls
-
Ensure proper error propagation
Detailed Changes: v2.0.0...v2.0.1
v2.0.0
v2.0.0 (2025-01-07)
Bug Fixes
-
auth: Update OAuth2 token URL to match login endpoint (
0c8ddbd) -
crud: Add commit after user creation (
06ada21) -
crud: Let caller handle transaction commit in create_user (
e6e022c) -
schema: Update User schema to handle UUID type correctly (
bc796b3) -
tests: Add explicit commits in integration tests (
7464fb2) -
users: Add commit after user creation in endpoint (
6e132e5) -
users: Enhance user endpoint transaction handling (
9d8b9a3) -
Improve password change endpoint transaction handling
-
Add transaction wrapper around deactivation flow
-
Fix transaction context issues in endpoints
-
Add proper error propagation
-
users: Fix argument order in create_user_endpoint (
9c7b40f) -
users: Improve user CRUD transaction handling (
65d7329) -
Add nested transaction support for user operations
-
Fix transaction context issues in create_user and update_user
-
Add proper error handling with specific error messages
-
Ensure proper cleanup on failure
Features
-
users: Add proper request model for password change endpoint (
7932b10) -
users: Add user update, deactivation, and (
7558b29)
Refactoring
-
users: Enhance user management and testing (
e2f6434) -
Improve transaction handling in user CRUD operations
-
Add comprehensive unit, integration, and regression tests
-
Enhance error handling and validation in user endpoints
-
Add proper session management and token invalidation
-
Implement concurrent user creation test n- Add user deactivation flow tests
-
Improve type hints and documentation
BREAKING CHANGE: Password change endpoint path has changed from
to
BREAKING CHANGES
- users: Password change endpoint path has changed from
Detailed Changes: v1.0.0...v2.0.0
v1.0.0
v1.0.0 (2025-01-07)
Features
-
auth: Implement user login endpoint (
e8d6c8a) -
Add login endpoint with OAuth2 password flow
-
Add token response schema
-
Add comprehensive login unit tests
-
Handle invalid credentials and inactive users
-
Restore UserUpdate schema
Testing
-
users: Reorganize test structure with unit/integration/regression (
cfe044b) -
Split tests into unit, integration, and regression categories
-
Add pytest markers for test types
-
Improve test fixtures and isolation
-
Add comprehensive test cases for user functionality
-
Configure async test support in pytest
-
Fix linting and typing issues
BREAKING CHANGE: Test file structure has been reorganized. Old test_users.py has been split into separate files under tests/{unit,integration,regression} directories.
BREAKING CHANGES
- users: Test file structure has been reorganized. Old test_users.py has been split into separate files under tests/{unit,integration,regression} directories.
Detailed Changes: v0.2.0...v1.0.0
v0.2.0
v0.2.0 (2025-01-04)
Code Style
- crud: Update type annotations to use modern syntax (
1eebf9a)
Documentation
- contributing: Enhance testing and type checking guidelines (
a0684c1)
Added sections on type checking configuration and pre-commit setup. Enhanced documentation for async testing best practices with examples of fixtures and type annotations.
-
contributing: Update testing guidelines and best practices (
9412a52) -
qa: Add comprehensive quality assurance documentation (
a7dc50c) -
readme: Simplify and improve user focus (
1c6176e)
Streamlined README.md by removing duplicate content from CONTRIBUTING.md. Improved quick start guide and focused on essential user information.
Features
-
api: Add health check endpoints with database verification (
e7e52a7) -
db: Add SQLAlchemy base class with common model functionality (
ee41253) -
db: Implement async session management with proper typing (
3b7f14c) -
infra: Add Docker and PostgreSQL test infrastructure (
24ba312) -
Add Docker test configuration
-
Configure test environment variables
-
Add PostgreSQL container setup
-
Update project dependencies
-
tests: Implement pytest fixtures for database and Docker testing (
2f13465)
Refactoring
-
api: Improve user endpoints with better error handling (
acf5da8) -
config: Update configuration management for test environment (
1a540b8) -
db: Reorganize database initialization and configuration (
a1479e0) -
deps: Update dependency injection with proper async handling (
eff48e3) -
models: Enhance user model with better type definitions (
b767086) -
schemas: Update user schemas with improved validation (
d72ba08) -
test: Enhance testing infrastructure and type safety (
683b175) -
Added comprehensive async testing setup with proper fixtures and type annotations.
-
Updated testing documentation with FastAPI best practices.
-
Improved type checking with stricter mypy configuration and proper type stubs.
-
Configured pre-commit to use project's mypy settings.
Testing
- api: Add health check endpoint tests (
7795ada)
Detailed Changes: v0.1.0...v0.2.0
v0.1.0
v0.1.0 (2025-01-04)
Chores
-
git: Add git configuration files (
5618272) -
Add .gitignore for Python projects
-
Configure git attributes
-
Set up repository templates
-
tools: Add development tools and configurations (
9cd266d) -
Configure pre-commit hooks
-
Add linting and formatting tools
-
Set up mypy for type checking
-
Add commitlint configuration
Continuous Integration
-
workflow: Add GitHub Actions workflow (
41f4406) -
Configure semantic release workflow
-
Set up automated testing and deployment
-
Add release configuration
Documentation
-
project: Add project documentation (
0cd93a0) -
Add comprehensive README
-
Create CONTRIBUTING guidelines
-
Add code documentation and docstrings
-
Include license information
Features
-
api: Add core API endpoints and routing (
8ccbeb0) -
Implement health check endpoint
-
Add user management endpoints
-
Set up API router with versioning
-
Configure dependency injection system
-
config: Add project configuration and environment setup (
ec5faa8) -
Add core configuration management
-
Set up environment variables handling
-
Configure logging and exception handling
-
Add security utilities for JWT and password hashing
-
database: Implement database configuration and models (
2a5af41) -
Add SQLAlchemy async database setup
-
Create User model and schemas
-
Configure Alembic for migrations
-
Implement CRUD operations
-
project: Initialize FastAPI project structure (
90e2afb) -
Set up basic project directory structure
-
Add main FastAPI application entry point
-
Configure project metadata and dependencies
Testing
-
setup: Configure testing infrastructure (
44357e7) -
Add pytest configuration and fixtures
-
Set up test database handling
-
Configure test client