Skip to content

Releases: FranDepascuali/wikiquotes-python-api

v1.5.0

08 Jan 02:18

Choose a tag to compare

Added

  • Modern pyproject.toml for PEP 517/518 compliant packaging
  • GitHub Actions CI/CD workflow for automated testing across Python 3.10-3.13
  • __version__ attribute in __init__.py that reads from package metadata (single source of truth)
  • .pytest_cache/ to .gitignore
  • Comprehensive release instructions in README
  • Features section in README highlighting key capabilities
  • Contributing section in README

Changed

  • BREAKING: Minimum Python version increased from 3.6 to 3.10
  • Modernized packaging: removed setup.py in favor of pyproject.toml
  • Removed requirements.txt - all dependencies now in pyproject.toml
  • Updated installation instructions to use pip install -e ".[dev]"
  • Migrated from % string formatting to f-strings in file_manager.py
  • Standardized code formatting in setup.py (before removal)
  • Updated tox configuration to test Python 3.10-3.13
  • Version now maintained only in pyproject.toml (single source of truth)
  • Improved sponsorship section in README to be more inclusive
  • Reorganized README with better structure and navigation

Fixed

  • Critical: Fixed logging configuration that prevented users from configuring their own logging
    • Library now uses NullHandler() following Python logging best practices
    • Users can now call logging.basicConfig() after importing wikiquotes
  • Fixed bug in html_manager.py is_title() function that incorrectly compared Tag objects
  • Fixed bug in logging_manager.py log_method_call() decorator that called the task function twice
  • Fixed flaky quote_of_the_day encoding tests that failed when quote content changed daily
    • Tests now verify encoding invariance without relying on specific quote content

Removed

  • Dropped support for end-of-life Python versions 3.6, 3.7, 3.8, and 3.9
  • Removed setup.py (replaced by pyproject.toml)
  • Removed requirements.txt (dependencies now in pyproject.toml)
  • Removed unused wikiquotes/directory.py file (all code was commented out)