Version 1.0.0
Major Release - Breaking Changes
- Python 3.10+ Required: Dropped support for Python 3.6-3.9
- Modern Packaging: Migrated from
setup.pytopyproject.toml - Updated Dependencies: All packages updated for modern Python ecosystem
New Features:
- Robust dataset fetching with retry mechanism and exponential backoff
- HTTP 429 (rate limiting) and timeout error handling
- Optional dependencies:
pip install "wefe[dev]"and"wefe[pytorch]" - Dynamic version loading from
wefe.__version__
Core Improvements:
- WordEmbeddingModel: Enhanced type safety, better gensim compatibility, improved error handling
- BaseMetric: Refactored input validation, standardized
run_querymethods across all metrics - Testing: Converted to pytest patterns with monkeypatch, comprehensive test coverage
- Code Quality: Migration from flake8 to Ruff, enhanced documentation with detailed docstrings
Development Workflow:
- GitHub Actions upgraded with Python 3.10-3.13 matrix testing
- Pre-commit hooks enhanced with JSON/TOML validation and security checks
- Modernized Sphinx documentation configuration
- Updated benchmark documentation and metrics comparison tables
What's Changed
- Benchmark and Changes by @pbadillatorrealba in #42
- Update changelog in readme by @pbadillatorrealba in #48
- Bump ipython from 7.34.0 to 8.10.0 by @dependabot[bot] in #47
- Bump torch from 1.12.1 to 1.13.1 by @dependabot[bot] in #46
- Fix/benchmark doc by @pbadillatorrealba in #49
- Bump urllib3 from 1.26.15 to 1.26.18 by @dependabot[bot] in #51
- chore: Update requirements and documentation by @pbadillatorrealba in #59
- chore: Update CI, pre-commit, ruff rules and fix several lint problems by @pbadillatorrealba in #61
- feature: Update WordEmbeddingModel class by @pbadillatorrealba in #62
- feature: Update BaseMetric class by @pbadillatorrealba in #63
- Fix WEAT words by @kato8966 in #53
- feature: Add dataset fetch retry and update tests with new word sets references by @pbadillatorrealba in #64
- feat: Update project build and configuration by @pbadillatorrealba in #65
New Contributors
- @dependabot[bot] made their first contribution in #47
- @kato8966 made their first contribution in #53
Full Changelog: 0.4.1...1.0.0