v1.3.1
🔧 Changes & Improvements
Multi-Value Filters Improvements
The multi-value filter feature introduced in 1.3.0 has been enhanced with better configurability and a cleaner API:
- Configurable separator: The multi-value filter separator is now configurable via
FILTERS_MULTI_VALUE_SEPARATOR(default:' '). Set toNoneto disable separator parsing while keeping support for multiple filter parameters. - Python API improvements: The Python API (
search(),reverse()) now accepts lists directly for multi-value filters (e.g.,type=["street", "city"]), while HTTP query string parsing is handled separately. Single string values remain supported for backward compatibility. - Better code clarity: This refactoring improves type safety and code maintainability while maintaining full HTTP API compatibility.
Dependency Management
Added setuptools < 81 constraint to avoid deprecation warnings from pkg_resources. This is a temporary fix that will be removed in the next major version when migrating away from pkg_resources.
📦 Installation
# Standard installation
pip install addok==1.3.1
# With performance optimization
pip install addok[perf]==1.3.1
# For development
pip install -e .[dev]🔄 Upgrading
If you're upgrading from 1.3.0:
Simply run pip install --upgrade addok. No configuration changes, data migration, or reindexing required.