Skip to content

Releases: sergioteula/python-amazon-paapi

v5.2.0

11 Jan 23:11
20de236

Choose a tag to compare

Added

  • Support for OffersV2 resources with new model classes (#141)

v5.1.0

11 Jan 22:10

Choose a tag to compare

Added

  • Integration tests with real Amazon API calls
  • Type hints throughout the codebase using Literal types for country codes
  • .env.template file 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.py to pyproject.toml for project configuration
  • Replaced multiple linters (Flake8, isort, Black, Pylint) with Ruff
  • Replaced Docker-based development environment with uv package manager
  • Consolidated coverage, mypy, and pytest configuration into pyproject.toml
  • Renamed test files to use _test.py suffix instead of test_ prefix
  • Updated GitHub Actions workflows to use uv instead 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 by pyproject.toml
  • .coveragerc - configuration moved to pyproject.toml
  • .flake8 - replaced by Ruff configuration in pyproject.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

13 Nov 08:45

Choose a tag to compare

Updates:

  • Added Belgium region.

Fixes:

  • Fixed lint and tests execution on PR creation.

Version 5.0.0

12 Oct 19:45

Choose a tag to compare

Breaking changes:

  • Exceptions have been renamed, check documentation for more info.
  • Removed the old amazon module.

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 Contribution section to README.
  • Added new migration section to documentation.

Version 4.3.2

23 Sep 14:01
6613782

Choose a tag to compare

Improvements:

  • Improved type hints.

Version 4.3.1

22 Sep 18:40
4aa9c75

Choose a tag to compare

Improvements:

  • Improved type hints.
  • Added new parameter to product information.

Version 4.3.0

21 Jun 17:46

Choose a tag to compare

Changes:

  • Added new price_type and price_type_label parameters.

Fixes:

  • Fixed typo in ItemsNotFoudException and changed to ItemsNotFoundException.

Version 4.2.2

05 Apr 20:15

Choose a tag to compare

Fixes:

  • Added search_index to search mandatory args check.

Version 4.2.1

14 Jan 15:59
989c5e2

Choose a tag to compare

Fixes:

  • Added browse_node_id to search mandatory args check.

Version 4.2.0

17 Nov 22:06

Choose a tag to compare

New features:

  • Added include_unavailable parameter to get_items to return unavailable items as part of the result.

Improvements:

  • Items are correctly ordered based on the items parameter in get_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.