Files
core/CHANGELOG.md
Untone 4b88a8c449
Some checks failed
Deploy on push / deploy (push) Failing after 1m11s
ci-testing
2025-08-17 11:09:29 +03:00

103 lines
3.9 KiB
Markdown

# Changelog
## [0.4.0] - 2025-08-17
### 🚀 CI/CD Pipeline Integration
- **Integrated testing and deployment** into single unified workflow
- **Matrix testing** across Python 3.11, 3.12, and 3.13
- **Automated server management** for E2E tests in CI environment
- **GitHub Actions workflow** with comprehensive test coverage
- **Staging and production deployment** based on branch (dev/main)
### 🧪 Testing Infrastructure
- **Fixed pytest configuration** for reliable test execution
- **E2E test automation** with backend and frontend server management
- **API-based E2E tests** replacing unreliable browser tests
- **Comprehensive test fixtures** for database, Redis, and authentication
- **Test categorization** with pytest markers (unit, integration, e2e, browser, api)
### 🔧 CI Server Management
- **`scripts/ci-server.py`** - Automated server startup and management
- **Non-blocking server launch** for CI environments
- **Health monitoring** with automatic readiness detection
- **Resource cleanup** and process management
- **CI mode integration** for automatic test execution
### 📊 Test Results & Coverage
- **Codecov integration** for coverage reporting
- **Test result summaries** in GitHub Actions
- **Comprehensive logging** without duplication
- **Performance optimization** with dependency caching
### 🏗️ Architectural Improvements
- **Identified critical issues** in ORM models (`local_session()` usage)
- **JSON field persistence** problems documented
- **Missing validation** in Community model identified
- **RBAC system verification** through E2E tests
### 📚 Documentation Updates
- **README.md** - Complete testing and CI/CD instructions
- **Local CI testing** script for development workflow
- **Test categories** and marker explanations
- **CI/CD pipeline** documentation
## [0.3.0] - 2025-08-17
### 🧪 Testing Infrastructure Overhaul
- **Complete pytest refactoring** for reliable test execution
- **New fixture system** for database, Redis, and server management
- **E2E test automation** with Playwright and API testing
- **Test categorization** with comprehensive markers
### 🔧 Server Management
- **Automatic backend server** startup for E2E tests
- **Frontend server integration** for browser-based tests
- **Health monitoring** and readiness detection
- **Resource cleanup** and process management
### 📊 Test Quality Improvements
- **Behavior-driven tests** replacing "imitation" tests
- **Architectural problem identification** in ORM models
- **RBAC system verification** through comprehensive testing
- **Redis functionality testing** with real scenarios
### 🚀 CI/CD Setup
- **GitHub Actions workflow** for automated testing
- **Matrix testing** across Python versions
- **Redis service integration** for CI environment
- **Coverage reporting** and Codecov integration
## [0.2.0] - 2025-08-17
### 🔐 Authentication System
- **JWT token management** with secure storage
- **OAuth integration** for Google, GitHub, Facebook
- **Role-based access control** (RBAC) implementation
- **Permission system** with community context
### 🏘️ Community Management
- **Community creation and management** with creator assignment
- **Follower system** with proper relationship handling
- **Role inheritance** and permission checking
- **Soft delete** functionality
### 🗄️ Database & ORM
- **SQLAlchemy models** with proper relationships
- **Database migrations** with Alembic
- **Redis integration** for caching and sessions
- **Connection pooling** and optimization
### 🌐 API & GraphQL
- **GraphQL schema** with comprehensive types
- **Resolver implementation** for all entities
- **Input validation** and error handling
- **Rate limiting** and security measures
## [0.1.0] - 2025-08-17
### 🎯 Initial Release
- **Core project structure** with modular architecture
- **Basic authentication** and user management
- **Community system** foundation
- **Development environment** setup with Docker