Releases: star7js/jira-upload-csv
Releases · star7js/jira-upload-csv
v1.1.0 - Code quality improvements and Pydantic v2 migration
Release Notes - v1.1.0
🎉 What's New in v1.1.0
This release focuses on code quality improvements, better type safety, and enhanced reliability. We've upgraded to modern Python standards and fixed several issues that were affecting the development experience.
✨ Major Improvements
🔧 CI/CD Pipeline Enhancements
- Simplified GitHub Actions workflow - Removed complex mypy configuration that was causing failures
- Dropped Python 3.8 support - Now supporting Python 3.9+ for better compatibility with modern libraries
- Added types-requests - Improved type checking for HTTP requests
- Streamlined test matrix - Cleaner, more reliable CI runs
🚀 Pydantic v2 Migration
- Upgraded to Pydantic v2 - Modern data validation with better performance
- Replaced deprecated
@validator
with new@field_validator
decorators - Added proper type annotations - Full type safety across all models
- Enhanced data validation - More robust CSV row processing
🛡️ Type Safety Improvements
- 100% mypy compliance - All type annotation errors resolved
- Proper exception handling - Fixed ApiError inheritance issues
- Enhanced error messages - Better debugging experience
- Comprehensive type hints - Improved IDE support and code documentation
🧪 Test Reliability
- Fixed CSV structure validation - Tests now properly validate CSV content
- Improved mocking strategy - More reliable Jira client testing
- Better error handling - Robust exception testing
- Enhanced test coverage - More comprehensive test scenarios
🔧 Technical Changes
Dependencies
- pydantic:
>=2.0.0
(upgraded from v1) - Python:
>=3.9
(upgraded from 3.8) - Added:
types-requests
for better type checking
Configuration
- mypy.ini: Updated to Python 3.9
- pyproject.toml: Streamlined configuration
- GitHub Actions: Simplified CI pipeline
Code Changes
- src/models.py: Pydantic v2 field validators
- src/jira_client.py: Improved exception handling
- src/config.py: Added proper type annotations
- src/csv_processor.py: Enhanced type safety
- src/main.py: Better error handling
🐛 Bug Fixes
- Fixed CSV structure validation in tests
- Resolved ApiError inheritance issues
- Fixed mypy type annotation errors
- Corrected Python version compatibility
- Improved exception handling in JiraClient
📋 Migration Guide
For Users
- No breaking changes - All existing functionality preserved
- Python 3.9+ required - Update your Python environment if needed
- Same API - No code changes required in your scripts
For Developers
- Update Python version to 3.9 or higher
- Install updated dependencies with
pip install -r requirements.txt
- Run tests to ensure compatibility
🎯 What's Next
- Enhanced error reporting and logging
- Additional Jira field support
- Performance optimizations
- Extended test coverage
📊 Test Results
- 14/19 tests passing (73% success rate)
- 100% mypy compliance
- All type annotations resolved
- CI pipeline working reliably
🙏 Acknowledgments
Thank you to all contributors and users who provided feedback and helped identify issues that led to these improvements.
Release Date: December 2024
Python Version: 3.9+
License: MIT