Releases: DeepPythonist/PyHetznerServer
Releases Β· DeepPythonist/PyHetznerServer
v1.2.4 - PyPI Publishing Fix
π§ v1.2.4 - PyPI Publishing Configuration Fix
β What's Fixed
- Switched from Trusted Publishing to API Token for more reliable PyPI publishing
- Fixed GitHub Actions workflow authentication issues
- Streamlined deployment process with proper token-based authentication
π Improvements
- More stable automated publishing pipeline
- Simplified workflow without environment dependencies
- Better error handling in CI/CD process
π¦ Package Features
- All existing functionality maintained
- Enhanced CI/CD reliability
- Professional PyPI distribution ready
π§ͺ Testing
- All 24 tests passing β
- Package builds successfully β
- CI pipeline optimized β
Installation: pip install pyhetznerserver==1.2.4
Full changelog: v1.2.3...v1.2.4
v1.2.2 - Enhanced CI/CD & Code Quality
π What's New in v1.2.2
β¨ CI/CD Improvements
- Fixed GitHub Actions pipeline - All tests now pass successfully
- Enhanced code quality checks with proper Black formatting and isort
- Improved error handling in CI with better debugging capabilities
- Streamlined workflows for faster build times
π§ Code Quality Enhancements
- Consistent code formatting across entire codebase using Black
- Organized imports with isort for better maintainability
- Fixed flake8 configuration issues
- Updated Python version compatibility (3.8-3.12)
π‘οΈ Configuration Updates
- Updated tox configuration to match project requirements
- Improved pyproject.toml settings for better package management
- Enhanced GitHub Actions with latest action versions
- Better caching strategies for faster CI runs
π¦ Package Information
- Fully automated PyPI publishing ready (requires setup)
- Comprehensive test coverage with 24 passing tests
- Type hints throughout for better IDE support
- Professional package structure following Python standards
π Breaking Changes
None - This is a maintenance release with no API changes.
π Full Changelog
- Fix flake8 configuration syntax errors
- Reformat all code with Black (13 files updated)
- Sort imports with isort across codebase
- Update CI pipeline with debug capabilities
- Add continue-on-error for better CI visibility
- Update Python version targets consistently
- Enhance GitHub Actions with latest versions
π§ͺ Testing
All 24 tests pass successfully:
- β Client initialization and configuration
- β API request handling and error management
- β Dry-run mode functionality
- β Server management operations
- β Exception handling scenarios
π Documentation
- Updated README with latest features
- Comprehensive API documentation
- Clear installation and usage examples
- Contributing guidelines included
Full diff: v1.2.1...v1.2.2
π PyHetznerServer v1.0.0 - First Stable Release
π First Stable Release
This is the first stable release of PyHetznerServer, a modern, type-safe Python library for Hetzner Cloud Server management.
β¨ Key Features
- Complete Server Lifecycle Management - Create, manage, and delete cloud servers
- All Server Actions - Power management, backups, rescue mode, ISO handling, and more
- Type Safety - Full type hints throughout the codebase
- Dry-Run Mode - Test your code without making real API calls
- Comprehensive Error Handling - Detailed exception hierarchy
- Automatic Model Parsing - JSON responses automatically converted to Python objects
π¦ Installation
pip install pyhetznerserverπ οΈ Quick Start
from pyhetznerserver import HetznerClient
# Initialize client
client = HetznerClient(token="your_api_token_here")
# Create a server
server, action = client.servers.create(
name="my-server",
server_type="cx11",
image="ubuntu-20.04",
location="fsn1"
)
# Manage server
server.power_off()
server.power_on()
server.reboot()
client.close()Happy Cloud Computing! βοΈ