Skip to content

Releases: DeepPythonist/PyHetznerServer

v1.2.4 - PyPI Publishing Fix

25 Jun 23:40

Choose a tag to compare

πŸ”§ 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

25 Jun 23:11

Choose a tag to compare

πŸš€ 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

25 Jun 21:50

Choose a tag to compare

πŸš€ 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! ☁️