Releases: sergioteula/python-amazon-paapi
Releases · sergioteula/python-amazon-paapi
v5.2.0
v5.1.0
Added
- Integration tests with real Amazon API calls
- Type hints throughout the codebase using
Literaltypes for country codes .env.templatefile for easier development setup- Code style guide for AI assistants (
.agent/rules/code-style-guide.md) - Pre-commit hooks with Ruff integration
- Version consistency check script (
scripts/check_version.py) - Manual release workflow (
release.yml) that creates GitHub releases from CHANGELOG - CI check to ensure CHANGELOG is updated in every PR
Changed
- BREAKING: Minimum Python version raised from 3.7 to 3.9
- Migrated from
setup.pytopyproject.tomlfor project configuration - Replaced multiple linters (Flake8, isort, Black, Pylint) with Ruff
- Replaced Docker-based development environment with
uvpackage manager - Consolidated coverage, mypy, and pytest configuration into
pyproject.toml - Renamed test files to use
_test.pysuffix instead oftest_prefix - Updated GitHub Actions workflows to use
uvinstead of Docker - Improved docstrings across the codebase
- Completely rewritten README with clearer structure and examples
- Updated Read the Docs configuration to v2 format with modern Sphinx versions
- Updated documentation to furo theme
Removed
setup.py- replaced bypyproject.toml.coveragerc- configuration moved topyproject.toml.flake8- replaced by Ruff configuration inpyproject.toml- Docker development environment (
docker/,docker-compose.yml) - Legacy shell scripts (
scripts/directory) - Custom git hooks (
.githooks/) - replaced by pre-commit
Version 5.0.1
Updates:
- Added Belgium region.
Fixes:
- Fixed lint and tests execution on PR creation.
Version 5.0.0
Breaking changes:
- Exceptions have been renamed, check documentation for more info.
- Removed the old
amazonmodule.
Code quality:
- Code formatted using black and isort.
- Solved errors found by flake8 and pylint.
- Increased tests coverage to 100%.
- Added scripts for linting and testing code.
- Added pre-push githook.
- Added new GitHub Action to run linting and tests.
- Added SonarCloud integration to check for issues and test coverage.
Documentation:
- Added
Contributionsection toREADME. - Added new migration section to documentation.
Version 4.3.2
Improvements:
- Improved type hints.
Version 4.3.1
Improvements:
- Improved type hints.
- Added new parameter to product information.
Version 4.3.0
Changes:
- Added new
price_typeandprice_type_labelparameters.
Fixes:
- Fixed typo in
ItemsNotFoudExceptionand changed toItemsNotFoundException.
Version 4.2.2
Fixes:
- Added search_index to search mandatory args check.
Version 4.2.1
Fixes:
- Added browse_node_id to search mandatory args check.
Version 4.2.0
New features:
- Added
include_unavailableparameter toget_itemsto return unavailable items as part of the result.
Improvements:
- Items are correctly ordered based on the
itemsparameter inget_items, including duplicates. - Avoid making extra API requests for duplicated items in
get_items. - Lowercase ASIN code is now detected and automatically converted to uppercase.