Releases: FranDepascuali/wikiquotes-python-api
Releases · FranDepascuali/wikiquotes-python-api
v1.5.0
Added
- Modern
pyproject.tomlfor PEP 517/518 compliant packaging - GitHub Actions CI/CD workflow for automated testing across Python 3.10-3.13
__version__attribute in__init__.pythat 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.pyin favor ofpyproject.toml - Removed
requirements.txt- all dependencies now inpyproject.toml - Updated installation instructions to use
pip install -e ".[dev]" - Migrated from
%string formatting to f-strings infile_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
- Library now uses
- Fixed bug in
html_manager.pyis_title()function that incorrectly compared Tag objects - Fixed bug in
logging_manager.pylog_method_call()decorator that called the task function twice - Fixed flaky
quote_of_the_dayencoding 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 bypyproject.toml) - Removed
requirements.txt(dependencies now inpyproject.toml) - Removed unused
wikiquotes/directory.pyfile (all code was commented out)