Skip to content

Latest commit

 

History

History
2102 lines (1498 loc) · 82 KB

File metadata and controls

2102 lines (1498 loc) · 82 KB

v2.1.8 - 2026-02-24

Version 2.1.8

New Features

  • Dependency Update:
    • Added typing-extensions to the list of required dependencies. This ensures compatibility with newer Python features and enhances type hinting capabilities.

Internal

  • Version Bump:
    • Updated the version from 2.1.7 to 2.1.8 to reflect the latest changes and improvements.

Diagram of Dependency Update

graph TD;
    A[Previous Dependencies] --> B[Added typing-extensions];
    B --> C[Enhanced Type Hinting];
    B --> D[Improved Compatibility];
Loading

This release focuses on maintaining compatibility with Python's evolving type system and improving the overall robustness of the library.

v2.1.7 - 2026-02-09

Version 2.1.7

New Features

  • Dynamic Import Handling:
    • Introduced dynamic import handling for Client, AccessTokenClient, Credentials, and AuthorizationError using __getattr__. This change optimizes the import process and reduces unnecessary imports, improving performance.

Changes

  • README Update:
    • Removed cryptocurrency addresses from the README file, streamlining the support section.

Internal

  • Type Checking Enhancements:
    • Added TYPE_CHECKING imports to optimize the import process during type checking, ensuring that certain imports are only processed when type checking is enabled.

Diagram of Dynamic Import Handling

graph TD;
    A[Static Imports] --> B[Dynamic Import Handling];
    B --> C[Reduces Unnecessary Imports];
    B --> D[Improves Performance];
Loading

This update focuses on improving the efficiency of the import process within the library, enhancing performance and maintainability.

v2.1.6 - 2026-02-06

Version 2.1.6

New Features

  • Enhanced Character Encoding Resolution:
    • Improved the resolve_character_code function to better handle character encoding by considering response_charset_encoding. This ensures more accurate encoding detection, especially for responses with implicit UTF-8 encoding.

Changes

  • Reports Module:
    • Updated the Reports class to utilize the enhanced resolve_character_code function. This change improves the handling of character encoding in both synchronous and asynchronous report downloads.

Bug Fixes

  • No specific bug fixes were documented in this release.

Internal

  • Added comprehensive tests for the resolve_character_code function to ensure correct behavior across various encoding scenarios.

Diagram of Character Encoding Resolution Update

graph TD;
    A[Previous Encoding Handling] --> B[Enhanced Encoding Handling];
    B --> C[Considers response_charset_encoding];
    B --> D[Improved Fallback Logic];
Loading

This update enhances the robustness of character encoding detection, particularly in scenarios where the response charset is not explicitly set, ensuring more reliable data processing for users.

v2.1.5 - 2026-02-05

Version 2.1.5

New Features

  • Improved Proxy Handling:
    • Introduced _httpx_client_kwargs function to enhance proxy handling. This allows for dynamic selection of proxies when provided as a list, improving flexibility and robustness in network configurations.

Changes

  • DataKiosk and Reports Modules:
    • Updated the use of httpx.Client to utilize the new _httpx_client_kwargs function for better proxy and timeout management.

Bug Fixes

  • No specific bug fixes were documented in this release.

Internal

  • Added tests for _httpx_client_kwargs to ensure correct proxy selection and configuration.
  • Updated version number from 2.1.4 to 2.1.5.

Diagram of Version Update

graph TD;
    A[Version 2.1.4] --> B[Version 2.1.5];
Loading

This update enhances the flexibility of the HTTP client configuration, particularly in handling proxies, which is crucial for users operating in diverse network environments.

v2.1.4 - 2026-02-04

Changelog

Version 2.1.4

New Features

  • No new features added in this release.

Changes

  • Documentation Enhancements:
    • Updated the documentation theme from pydata_sphinx_theme to alabaster for improved aesthetics and usability.
    • Added custom CSS for better styling of Python classes, methods, and functions in the documentation.
    • Increased the toctree max depth from 1 to 2 in endpoints.rst to allow for deeper navigation in the documentation.

Bug Fixes

  • No specific bug fixes were documented in this release.

Internal

  • Updated version number from 2.1.3 to 2.1.4.

Diagram of Version Update

graph TD;
    A[Version 2.1.3] --> B[Version 2.1.4];
Loading

This update primarily focuses on documentation improvements, enhancing the user experience when navigating and reading the project documentation.

v2.1.3 - 2026-02-04

Changelog

Version 2.1.3

New Features

  • No new features added in this release.

Changes

  • Updated version number from 2.1.1 to 2.1.3 for consistency and alignment with internal versioning.

Bug Fixes

  • No specific bug fixes were documented in this release.

Internal

  • No internal changes were documented in this release.

Diagram of Version Update

graph TD;
    A[Version 2.1.1] --> B[Version 2.1.3];
Loading

This update primarily reflects a version number change, ensuring the package is up-to-date with internal versioning practices.

v2.0.15 - 2026-02-01

Version 2.0.15

New Features

Orders API Enhancements

  • Enhanced the OrdersV20260101 client with detailed docstrings for the search_orders and get_order methods. These updates include usage plans, examples, and argument details, improving the developer experience and understanding of API capabilities.
graph TD;
    A[OrdersV20260101 Client] -->|Enhanced Docstrings| B[search_orders Method];
    A -->|Enhanced Docstrings| C[get_order Method];
    B --> D[Usage Plans & Examples];
    C --> D;
Loading

Internal Changes

  • Removed unnecessary print statement from the search_orders method to clean up the codebase.

These changes provide clearer guidance for developers using the Orders API, ensuring they can implement and utilize the API more effectively.

v2.0.14 - 2026-02-01

Version 2.0.14

Bug Fixes

Orders API Asynchronous Handling

  • Fixed asynchronous handling in the OrdersV0 client by ensuring that the _access_restricted method is awaited properly. This resolves potential issues with handling restricted resources in asynchronous environments.
graph TD;
    A[OrdersV0 Client] -->|Fix Async Handling| B[_access_restricted Method];
    B --> C[Await Correctly];
Loading

These changes enhance the reliability and correctness of asynchronous operations within the Orders API, ensuring smoother integration and execution in applications using the python-amazon-sp-api library.

Documentation

  • Updated the Fulfillment Inbound documentation to replace .. info:: with .. note:: for better clarity.

Dependencies

  • Added httpx to docs/requirements.txt to support HTTP requests in documentation examples.

v2.0.13 - 2026-02-01

Version 2.0.13

Bug Fixes

Orders API Asynchronous Handling

  • Fixed asynchronous handling in the OrdersV0 client by ensuring that the _access_restricted method is awaited properly. This resolves potential issues with handling restricted resources in asynchronous environments.
graph TD;
    A[OrdersV0 Client] -->|Fix Async Handling| B[_access_restricted Method];
    B --> C[Await Correctly];
Loading

These changes enhance the reliability and correctness of asynchronous operations within the Orders API, ensuring smoother integration and execution in applications using the python-amazon-sp-api library.

v2.0.12 - 2026-02-01

Version 2.0.12

New Features

Orders API Version Update

  • Introduced a new version of the Orders API, 2026-01-01, alongside the legacy v0 version. This new version includes updated endpoints and parameters, allowing for more efficient order management.
  • Added support for both synchronous and asynchronous clients for the new Orders API version.
graph TD;
    A[Orders API] -->|Version Selection| B{Version};
    B -->|v0| C[Legacy Orders Client];
    B -->|2026-01-01| D[New OrdersV20260101 Client];
Loading

Internal Changes

  • Refactored the Orders API to support versioning, allowing seamless integration of future updates without disrupting existing implementations.
  • Updated the import structure to accommodate the new Orders API version, ensuring compatibility and ease of use.
graph TD;
    E[Refactor] -->|Support Versioning| F[Orders API];
    F --> G[Improved Flexibility];
Loading

Dependency Updates

  • Updated boto3 to version 1.42.36.
  • Updated setuptools to version 80.10.2.
  • Updated cachetools to version 6.2.6.

These enhancements improve the flexibility and scalability of the API, providing a robust foundation for future development and integration.

v2.0.11 - 2026-02-01

Version 2.0.11

New Features

Orders API Version Update

  • Introduced a new version of the Orders API, 2026-01-01, alongside the legacy v0 version. This new version includes updated endpoints and parameters, allowing for more efficient order management.
  • Added support for both synchronous and asynchronous clients for the new Orders API version.
graph TD;
    A[Orders API] -->|Version Selection| B{Version};
    B -->|v0| C[Legacy Orders Client];
    B -->|2026-01-01| D[New OrdersV20260101 Client];
Loading

Internal Changes

  • Refactored the Orders API to support versioning, allowing seamless integration of future updates without disrupting existing implementations.
  • Updated the import structure to accommodate the new Orders API version, ensuring compatibility and ease of use.
graph TD;
    E[Refactor] -->|Support Versioning| F[Orders API];
    F --> G[Improved Flexibility];
Loading

Dependency Updates

  • Updated boto3 to version 1.42.36.
  • Updated setuptools to version 80.10.2.
  • Updated cachetools to version 6.2.6.

These enhancements improve the flexibility and scalability of the API, providing a robust foundation for future development and integration.

v2.0.10 - 2026-02-01

Version 2.0.10

New Features

Orders API Version Update

  • Introduced a new version of the Orders API, 2026-01-01, alongside the legacy v0 version. This new version includes updated endpoints and parameters, allowing for more efficient order management.
  • Added support for both synchronous and asynchronous clients for the new Orders API version.
graph TD;
    A[Orders API] -->|Version Selection| B{Version};
    B -->|v0| C[Legacy Orders Client];
    B -->|2026-01-01| D[New OrdersV20260101 Client];
Loading

Internal Changes

  • Refactored the Orders API to support versioning, allowing seamless integration of future updates without disrupting existing implementations.
  • Updated the import structure to accommodate the new Orders API version, ensuring compatibility and ease of use.
graph TD;
    E[Refactor] -->|Support Versioning| F[Orders API];
    F --> G[Improved Flexibility];
Loading

Dependency Updates

  • Updated boto3 to version 1.42.36.
  • Updated setuptools to version 80.10.2.
  • Updated cachetools to version 6.2.6.

These enhancements improve the flexibility and scalability of the API, providing a robust foundation for future development and integration.

v2.0.9 - 2026-02-01

Version 2.0.9

New Features

Orders API Version Update

  • Introduced a new version of the Orders API, 2026-01-01, alongside the legacy v0 version. This new version includes updated endpoints and parameters, allowing for more efficient order management.
  • Added support for both synchronous and asynchronous clients for the new Orders API version.
graph TD;
    A[Orders API] -->|Version Selection| B{Version};
    B -->|v0| C[Legacy Orders Client];
    B -->|2026-01-01| D[New OrdersV20260101 Client];
Loading

Internal Changes

  • Refactored the Orders API to support versioning, allowing seamless integration of future updates without disrupting existing implementations.
  • Updated the import structure to accommodate the new Orders API version, ensuring compatibility and ease of use.
graph TD;
    E[Refactor] -->|Support Versioning| F[Orders API];
    F --> G[Improved Flexibility];
Loading

Dependency Updates

  • Updated boto3 to version 1.42.36.
  • Updated setuptools to version 80.10.2.

These enhancements improve the flexibility and scalability of the API, providing a robust foundation for future development and integration.

v2.0.8 - 2026-01-28

Version 2.0.8

New Features

Product Fees API Enhancement

  • Introduced a new utility function create_fees_body for constructing the request body in the ProductFees API. This change standardizes the request body creation for both synchronous and asynchronous clients, improving code maintainability and readability.
graph TD;
    A[ProductFees API] -->|create_fees_body| B[Request Body Creation];
    B --> C[Standardized Request Structure];
Loading

Internal Changes

  • Refactored products_definitions and product_fees related classes and functions into separate utility modules. This change organizes the codebase better and enhances modularity, making it easier to maintain and extend.
graph TD;
    D[Refactor] -->|Extract to Utility Modules| E[products_definitions.py & product_fees.py];
    E --> F[Improved Code Organization];
Loading
  • Removed redundant code by replacing in-line request body creation with the new create_fees_body utility function across both synchronous and asynchronous ProductFees implementations.

  • Updated imports to reflect the new module structure, ensuring all references to products_definitions and product_fees are correctly pointing to their new locations.

Dependency Updates

  • Updated boto3 to version 1.42.36.
  • Updated setuptools to version 80.10.2.

These changes collectively improve the maintainability and scalability of the codebase, setting a foundation for future enhancements.

v2.0.7 - 2026-01-19

Version 2.0.7

New Features

Product Fees API Enhancement

  • Introduced a new utility function create_fees_body for constructing the request body in the ProductFees API. This change standardizes the request body creation for both synchronous and asynchronous clients, improving code maintainability and readability.
graph TD;
    A[ProductFees API] -->|create_fees_body| B[Request Body Creation];
    B --> C[Standardized Request Structure];
Loading

Internal Changes

  • Refactored products_definitions and product_fees related classes and functions into separate utility modules. This change organizes the codebase better and enhances modularity, making it easier to maintain and extend.
graph TD;
    D[Refactor] -->|Extract to Utility Modules| E[products_definitions.py & product_fees.py];
    E --> F[Improved Code Organization];
Loading
  • Removed redundant code by replacing in-line request body creation with the new create_fees_body utility function across both synchronous and asynchronous ProductFees implementations.

  • Updated imports to reflect the new module structure, ensuring all references to products_definitions and product_fees are correctly pointing to their new locations.

These changes collectively improve the maintainability and scalability of the codebase, setting a foundation for future enhancements.

v2.0.6 - 2026-01-19

Version 2.0.6

New Features

Enhanced Order Query Parameters

  • Implemented normalize_csv_param utility to automatically normalize CSV parameters in the Orders API, both for synchronous and asynchronous clients. This enhancement simplifies the process of passing multiple values for parameters like OrderStatuses, MarketplaceIds, FulfillmentChannels, PaymentMethods, and AmazonOrderIds.
graph TD;
    F[Orders API] -->|normalize_csv_param| G[CSV Parameter Normalization];
    G --> H[OrderStatuses, MarketplaceIds, etc.];
Loading

Internal Changes

  • Updated the project version to 2.0.6 in sp_api/__version__.py.
  • Added llms.txt to the documentation to guide users on library usage and provide links to canonical documentation sources.

v2.0.5 - 2026-01-19

Version 2.0.5

New Features

Enhanced Order Query Parameters

  • Implemented normalize_csv_param utility to automatically normalize CSV parameters in the Orders API, both for synchronous and asynchronous clients. This enhancement simplifies the process of passing multiple values for parameters like OrderStatuses, MarketplaceIds, FulfillmentChannels, PaymentMethods, and AmazonOrderIds.
graph TD;
    F[Orders API] -->|normalize_csv_param| G[CSV Parameter Normalization];
    G --> H[OrderStatuses, MarketplaceIds, etc.];
Loading

Internal Changes

  • Updated the project version to 2.0.5 in sp_api/__version__.py.
  • Added llms.txt to the documentation to guide users on library usage and provide links to canonical documentation sources.

v2.0.4 - 2026-01-19

Version 2.0.4

New Features

Enhanced Order Query Parameters

  • Implemented normalize_csv_param utility to automatically normalize CSV parameters in the Orders API, both for synchronous and asynchronous clients. This enhancement simplifies the process of passing multiple values for parameters like OrderStatuses, MarketplaceIds, FulfillmentChannels, PaymentMethods, and AmazonOrderIds.
graph TD;
    F[Orders API] -->|normalize_csv_param| G[CSV Parameter Normalization];
    G --> H[OrderStatuses, MarketplaceIds, etc.];
Loading

Internal Changes

  • Updated the project version to 2.0.4 in sp_api/__version__.py.

v2.0.3 - 2026-01-19

Version 2.0.3

New Features

Asynchronous Client Support

  • Introduced an asynchronous client package under sp_api.asyncio, allowing for non-blocking API calls. This is particularly useful for applications that require high concurrency and efficiency.
graph TD;
    D[Async Client] -->|sp_api.asyncio| E[Non-blocking Calls];
Loading
  • Added httpx-based transport for synchronous clients, enabling connection pooling and consistent streaming behavior.
graph TD;
    A[Sync Client] -->|httpx-based transport| B[Connection Pooling];
    A -->|httpx-based transport| C[Consistent Streaming];
Loading

These enhancements improve the library's performance and scalability, providing developers with more robust options for handling API requests.

Documentation

  • Added new documentation section for asynchronous clients, detailing usage patterns and examples for integrating async functionality into projects. This includes guidance on importing async clients, basic usage, streaming report documents, and proper client closure.

Internal Changes

  • Updated the project version to 2.0.3 in sp_api/__version__.py.

v2.0.2 - 2026-01-19

Changelog

Version 2.0.2

New Features

Async Support!

  • Introduced httpx-based transport for synchronous clients, which enables connection pooling and consistent streaming behavior.
  • Added an asynchronous client package under sp_api.asyncio for non-blocking calls across services.
graph TD;
    A[Sync Client] -->|httpx-based transport| B[Connection Pooling];
    A -->|httpx-based transport| C[Consistent Streaming];
    D[Async Client] -->|sp_api.asyncio| E[Non-blocking Calls];
Loading

These enhancements provide more robust and efficient handling of API requests, improving both performance and scalability for developers using the library.

v1.9.60 - 2026-01-08

Version 1.9.60

Relevant Changes

  • Bug Fix: ApiResponse Handling: Enhanced the handling of headers and pagination in ApiResponse to prevent potential NoneType errors. This improvement ensures more robust error handling and token retrieval.

Internal

  • Dependency Update: Downgraded boto3 from version 1.42.8 to 1.42.24 in both requirements.txt and docs/requirements.txt to maintain compatibility.
  • Author Information: Updated the author's name in setup.py from "Michael" to "Michael Primke" for clarity.

This version focuses on improving the stability of API response handling and includes internal dependency adjustments.

graph TD;
    A[Version 1.9.59] -->|Bug Fix| B[ApiResponse Handling Improved];
    A -->|Dependency Update| C[boto3 Downgraded to 1.42.24];
    A -->|Author Update| D[Author Name Updated in setup.py];
    B --> E[Robust Error Handling];
    C --> F[Compatibility Maintained];
    D --> G[Clarity in Author Information];


## v1.9.59 - 2025-12-13
## Version 1.9.59

### Relevant Changes
- **Bug Fix: ApiResponse Handling**: Improved the handling of `headers` and `pagination` in `ApiResponse` to prevent potential `NoneType` errors. This ensures more robust error handling and token retrieval.

### Internal
- **Dependency Update**: Updated `boto3` from version `1.42.6` to `1.42.8` in both `requirements.txt` and `docs/requirements.txt`.
- **Version Update**: Updated the version number from 1.9.58 to 1.9.59 in `__version__.py`.

This version focuses on improving the stability of API response handling and includes internal dependency updates.

## v1.9.58 - 2025-12-10
## Version 1.9.58

### Relevant Changes
- **New Feature: Customer Feedback API**: Introduced a new module `CustomerFeedback` to access customer reviews and returns data. This includes endpoints for:
  - Retrieving an item's most positive and negative review topics.
  - Accessing an item's associated browse node.
  - Fetching review and return trends for items and browse nodes.

  #### Customer Feedback API Diagram
  ```mermaid
  graph TD;
      A[CustomerFeedback API] --> B[Item Review Topics];
      A --> C[Item Browse Node];
      A --> D[Review Trends];
      A --> E[Return Topics];
      A --> F[Return Trends];
Loading

Internal

  • Dependency Update: Updated boto3 from version 1.42.3 to 1.42.6 in both requirements.txt and docs/requirements.txt.
  • Version Update: Updated the version number from 1.9.57 to 1.9.58 in __version__.py.

This version introduces the Customer Feedback API, enabling users to gain insights into customer reviews and returns, and includes internal dependency updates.

v1.9.57 - 2025-12-05

Version 1.9.57

Relevant Changes

  • SP-API Fees & Call Optimization: Enhanced the README to address Amazon's new SP-API pricing model. It now includes consulting services to help optimize API usage and reduce costs associated with high-volume requests.

Internal

  • Version Update: Updated the version number from 1.9.56 to 1.9.57 in __version__.py.

Diagrams

SP-API Fees & Call Optimization

graph TD;
    A[SP-API Usage] --> B[High Volume Requests];
    B --> C[Increased Costs];
    C --> D[Optimization Consulting];
    D --> E[Reduced Costs];
Loading

This version provides guidance on managing SP-API fees and includes internal version updates.

v1.9.56 - 2025-12-05

Version 1.9.56

Relevant Changes

  • SP-API Fees & Call Optimization: Added a section in the README to address the new SP-API pricing model by Amazon. This includes consulting services for optimizing API usage to reduce costs associated with high-volume requests.

Internal

  • Version Update: Updated the version number from 1.9.55 to 1.9.56 in __version__.py.

Diagrams

SP-API Fees & Call Optimization

graph TD;
    A[SP-API Usage] --> B[High Volume Requests];
    B --> C[Increased Costs];
    C --> D[Optimization Consulting];
    D --> E[Reduced Costs];
Loading

This version introduces guidance on managing SP-API fees and highlights internal version updates.

v1.9.55 - 2025-12-05

Version 1.9.55

Relevant Changes

  • Security: Enhanced MD5 hash usage by adding the usedforsecurity=False parameter. This change addresses security concerns when MD5 is used for non-security purposes.
  • Error Handling: Improved the Reports class by adding error logging to capture exceptions during document decompression, aiding in debugging and issue resolution.

Internal

  • Documentation:
    • Updated the documentation theme to pydata_sphinx_theme for a more modern look and feel.
    • Adjusted HTML theme options to include a custom logo and hide previous/next navigation.
    • Updated copyright year to 2025.
  • Code Maintenance:
    • Removed unnecessary spaces in API request methods across several modules for improved consistency and readability.
    • Updated version number from 1.9.54 to 1.9.55 in __version__.py.

Diagrams

Security Update in MD5 Usage

graph TD;
    A[MD5 Usage] --> B[usedforsecurity=False];
    B --> C[Improved Security];
Loading

This version focuses on enhancing security practices and improving error handling, alongside internal updates to documentation and code maintenance.

v1.9.54 - 2025-12-05

Version 1.9.54

Relevant Changes

  • Security: Updated MD5 hash usage to include usedforsecurity=False parameter to address security concerns when MD5 is used for non-security purposes.
  • Error Handling: Added error logging in the Reports class to print exceptions during document decompression, aiding in debugging and issue resolution.

Internal

  • Code cleanup: Removed unnecessary spaces in API request methods across several modules for consistency and readability.
  • Updated version number from 1.9.53 to 1.9.54 in __version__.py.

Diagrams

Security Update in MD5 Usage

graph TD;
    A[MD5 Usage] --> B[usedforsecurity=False];
    B --> C[Improved Security];
Loading

This version enhances security practices by explicitly marking MD5 usage as non-security-related, and improves error handling by logging exceptions during document processing.

v1.9.53 - 2025-12-05

Version 1.9.53

Relevant Changes

  • Documentation: Removed promotional content and outdated announcements from the documentation layout, resulting in a cleaner and more focused user experience.

Internal

  • Updated version number from 1.9.52 to 1.9.53 in __version__.py.

Diagrams

Documentation Layout Cleanup

graph TD;
    A[Documentation Layout] --> B[Removed Ads];
    A --> C[Removed Announcements];
    A --> D[Improved Focus];
Loading

This update focuses on enhancing the documentation by removing unnecessary elements, providing a more streamlined and user-friendly interface.

v1.9.52 - 2025-12-05

Version 1.9.52

Relevant Changes

  • Documentation: Enhanced the README.md by adding a CodeFactor badge, providing users with a quick view of the code quality and maintainability status.

Internal

  • Updated version number from 1.9.51 to 1.9.52 in __version__.py.

Diagrams

Updated Documentation Structure

graph TD;
    A[Documentation] --> B[architecture.rst];
    A --> C[quickstart.rst];
    A --> D[endpoints];
    A --> E[responses];
    A --> F[utils];
    A --> G[examples];
Loading

Module Import Path

graph TD;
    A[Client] --> B[sp_api.api.external_fulfillment.external_fulfillment];


## v1.9.51 - 2025-12-05
## Version 1.9.51

### Changes
- **Documentation**: Added a comprehensive `architecture.rst` file to the documentation, detailing the internal structure and components of the library. This addition helps users understand the library's design and how to extend it safely.
- **Documentation**: Updated the `quickstart.rst` to provide more detailed examples and explanations for setting up and using the library, including handling credentials, pagination, and retries.
- **Dependencies**: Updated `boto3` to version `1.42.3` and `confuse` to version `2.1.0` in both `requirements.txt` and `docs/requirements.txt` to ensure compatibility and leverage new features.

### Internal
- Updated version number from 1.9.50 to 1.9.51 in `__version__.py`.

### Diagrams
#### Module Import Path
```mermaid
graph TD;
    A[Client] --> B[sp_api.api.external_fulfillment.external_fulfillment];
Loading

Documentation Structure

graph TD;
    A[Documentation] --> B[architecture.rst];
    A --> C[quickstart.rst];
    A --> D[endpoints];
    A --> E[responses];
    A --> F[utils];
    A --> G[examples];


## v1.9.50 - 2025-09-29
## Version 1.9.50

### Changes
- **Module Import Path**: Corrected the import path for `ExternalFulfillment` to ensure proper module loading and usage.

  ```mermaid
  graph TD;
      A[Client] --> B[sp_api.api.external_fulfillment.external_fulfillment];
Loading

Internal

  • Updated version number from 1.9.49 to 1.9.50 in __version__.py.

v1.9.49 - 2025-09-29

Version 1.9.49

New Features

  • External Fulfillment API: Added a new module ExternalFulfillment to the package. This module is now available for import and use in your projects.

    graph TD;
        A[Client] --> B[ExternalFulfillment];
    
    Loading

Changes

  • Dependencies: Updated the boto3 dependency from 1.40.21 to 1.40.40 to ensure compatibility and leverage the latest features and fixes.

Internal

  • Added sp_api.api.external_fulfillment to the list of packages in setup.py.
  • Updated version number from 1.9.48 to 1.9.49.

v1.9.48 - 2025-09-03

Version 1.9.48

New Features

  • Fulfillment Inbound API: Introduced the update_shipment_name method in the FulfillmentInbound class. This method allows users to update the name of an existing shipment. It accepts the following parameters:

    • inboundPlanId: Identifier for the inbound plan.
    • shipmentId: Identifier for the shipment.
    • body: A dictionary containing the new name for the shipment.
    graph TD;
        A[Client] --> B[update_shipment_name];
        B --> C[inboundPlanId];
        B --> D[shipmentId];
        B --> E[body];
    
    Loading

Changes

  • Dependencies: Updated the following dependencies:
    • boto3 from 1.40.15 to 1.40.21

Internal

  • Removed unnecessary test package entries from setup.py.
  • Updated version number from 1.9.47 to 1.9.48.

v1.9.47 - 2025-08-25

Changelog

Version 1.9.47

New Features

  • Fulfillment Inbound API: Added a new method update_shipment_name to the FulfillmentInbound class. This method allows updating the name of an existing shipment. It supports the following parameters:

    • inboundPlanId: Identifier for the inbound plan.
    • shipmentId: Identifier for the shipment.
    • body: A dictionary containing the new name for the shipment.
    graph TD;
        A[Client] --> B[update_shipment_name];
        B --> C[inboundPlanId];
        B --> D[shipmentId];
        B --> E[body];
    
    Loading

Changes

  • Dependencies: Updated the following dependencies:
    • requests from 2.32.4 to 2.32.5
    • boto3 from 1.39.14 to 1.40.15

Internal

  • Updated version number from 1.9.46 to 1.9.47.

v1.9.46 - 2025-07-28

Changelog

Version 1.9.46

New Features

  • No new features added in this release.

Bug Fixes

  • No bug fixes included in this release.

Changes

  • Updated version number from 1.9.45 to 1.9.46.

Internal

  • No internal changes relevant to end-users.

Diagrams

  • No changes requiring diagrams in this release.

v1.9.40 - 2025-07-26

Version 1.9.40

Changes Relevant to Users

  • New Feature

    • Added send_invoice method in the messaging module. This method allows users to send an invoice message to buyers for a specified order. The method supports sending attachments as part of the message.
  • Dependency Updates

    • Upgraded boto3 dependency from 1.38.42 to 1.39.13 in both requirements.txt and docs/requirements.txt. This update includes the latest features and bug fixes from AWS services.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.40 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.39] -->|Updated| B[Version 1.9.40];
    B --> C[New send_invoice Method];
    B --> D[Updated boto3 Dependency];
Loading

This release introduces the ability to send invoice messages directly through the API, enhancing communication capabilities with buyers. Additionally, it ensures compatibility with the latest AWS services by updating the boto3 dependency.

v1.9.39 - 2025-06-24

Version 1.9.39

Changes Relevant to Users

  • Dependency Updates
    • Upgraded boto3 dependency from 1.38.40 to 1.38.42 in both requirements.txt and docs/requirements.txt. This update ensures continued compatibility with AWS services and incorporates the latest enhancements.
    • Upgraded setuptools from 77.0.3 to 80.9.0 to include the latest improvements and bug fixes.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.39 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.38] -->|Updated| B[Version 1.9.39];
    B --> C[Updated boto3 Dependency];
    B --> D[Updated setuptools Dependency];
Loading

This release focuses on maintaining compatibility with AWS services by updating the boto3 dependency to its latest version and includes improvements from the updated setuptools package.

v1.9.38 - 2025-06-21

Version 1.9.38

Changes Relevant to Users

  • Dependency Updates
    • Upgraded boto3 dependency from 1.38.36 to 1.38.40 in both requirements.txt and docs/requirements.txt. This update ensures continued compatibility with AWS services and incorporates the latest enhancements.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.38 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.37] -->|Updated| B[Version 1.9.38];
    B --> C[Updated boto3 Dependency];
Loading

This release focuses on maintaining compatibility with AWS services by updating the boto3 dependency to its latest version.

v1.9.37 - 2025-06-16

Version 1.9.37

Changes Relevant to Users

  • New Report Type

    • Added GET_DATE_RANGE_FINANCIAL_HOLDS_DATA to ReportType. This new report type allows users to access financial hold data within a specified date range, enhancing financial data analysis capabilities.
  • Dependency Updates

    • Upgraded boto3 dependency from 1.38.31 to 1.38.36 in both requirements.txt and docs/requirements.txt. This ensures compatibility with the latest AWS features and improvements.
    • Updated requests dependency from 2.32.3 to 2.32.4. This update includes minor bug fixes and performance improvements.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.37 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.36] -->|Updated| B[Version 1.9.37];
    B --> C[Added New Report Type];
    B --> D[Updated boto3 Dependency];
    B --> E[Updated requests Dependency];
Loading

This release introduces a new report type for enhanced financial data analysis and includes updates to key dependencies to maintain compatibility and leverage the latest improvements.

v1.9.36 - 2025-06-06

Version 1.9.36

Changes Relevant to Users

  • Dependency Update
    • Upgraded boto3 dependency from 1.38.29 to 1.38.31 in both requirements.txt and docs/requirements.txt. This update ensures users have access to the latest features and improvements provided by boto3.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.36 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.35] -->|Updated| B[Version 1.9.36];
    B --> C[Updated boto3 Dependency];
Loading

This release focuses on maintaining compatibility and leveraging the latest improvements in dependencies to ensure optimal performance and stability.

v1.9.35 - 2025-06-04

Version 1.9.35

Changes Relevant to Users

  • New Feature
    • Introduced a timeout parameter to the get_report_document method in the Reports class. This feature allows users to specify a timeout for requests when downloading documents, providing enhanced control over network operations.

Internal Changes

  • Dependency Update

    • Updated boto3 dependency from 1.38.28 to 1.38.29 in both requirements.txt and docs/requirements.txt to ensure compatibility and access to the latest features and bug fixes.
  • Version Update

    • Incremented version number to 1.9.35 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.34] -->|Updated| B[Version 1.9.35];
    B --> C[Added Timeout Parameter];
    B --> D[Updated boto3 Dependency];
Loading

This release enhances network request handling capabilities and updates a key dependency to improve overall package stability and functionality.

v1.9.34 - 2025-06-03

Version 1.9.34

Changes Relevant to Users

  • New Feature
    • Added a timeout parameter to the get_report_document method in the Reports class. This allows users to specify a timeout for the request when downloading a document, enhancing control over network operations.

Internal Changes

  • Dependency Update

    • Updated boto3 dependency from 1.38.17 to 1.38.28 in both requirements.txt and docs/requirements.txt to ensure compatibility and access to the latest features and bug fixes.
  • Version Update

    • Incremented version number to 1.9.34 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.33] -->|Updated| B[Version 1.9.34];
    B --> C[Added Timeout Parameter];
    B --> D[Updated boto3 Dependency];
Loading

This release introduces a new feature for enhanced network request handling and updates a key dependency to improve overall package stability and functionality.

v1.9.33 - 2025-05-16

Version 1.9.33

Changes Relevant to Users

  • Documentation Update
    • Enhanced the README to acknowledge community feedback on implementing Pydantic and async support for the upcoming version 2.0. Acknowledgment to contributors who participated in the voting process.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.33 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.32] -->|Updated| B[Version 1.9.33];
    B --> C[README Enhancement];
    C --> D[Community Feedback Acknowledgment];
Loading

This update continues to prepare for version 2.0 by incorporating community insights and setting the stage for future enhancements, including Pydantic and async support.

v1.9.32 - 2025-05-16

Version 1.9.32

Changes Relevant to Users

  • Documentation Update
    • Updated the README to reflect the community's decision to implement Pydantic and async support in the upcoming version 2.0. Contributors are encouraged to join the ongoing discussion on GitHub.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.32 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.31] -->|Updated| B[Version 1.9.32];
    B --> C[README Update];
    C --> D[Pydantic and Async Support];
Loading

This update prepares the groundwork for version 2.0 by aligning community feedback with planned features, including Pydantic and async support.

v1.9.31 - 2025-05-16

Version 1.9.31

Changes Relevant to Users

  • Bug Fixes
    • Corrected a typo in the grantless_scope attribute of the ApplicationManagement class from sellingpartnetapi::client_credential:rotation to sellingpartnerapi::client_credential:rotation. This ensures proper functionality when using the grantless scope for client credential rotation.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.31 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.30] -->|Updated| B[Version 1.9.31];
    B --> C[ApplicationManagement];
    C --> D[grantless_scope Typo Fixed];
Loading

This update fixes a typo in the ApplicationManagement API, ensuring that the correct grantless scope is used for client credential rotations.

v1.9.30 - 2025-05-16

Version 1.9.30

Changes Relevant to Users

  • New Features

    • Added grantless_scope attribute to ApplicationManagement class, enabling the use of the sellingpartnerapi::client_credential:rotation scope for client credential rotation.
  • Bug Fixes

    • Updated the rotate_application_client_secret method to use _request_grantless_operation, ensuring proper handling of grantless operations.

Internal Changes

  • Version Update
    • Incremented version number to 1.9.30 in sp_api/__version__.py.
graph TD;
    A[Version 1.9.29] -->|Updated| B[Version 1.9.30];
    B --> C[ApplicationManagement];
    C --> D[grantless_scope Added];
    C --> E[rotate_application_client_secret Updated];
Loading

These updates enhance the functionality of the ApplicationManagement API, allowing for more seamless client secret rotations and improving the handling of grantless operations.

v1.9.29 - 2025-05-16

Version 1.9.29

Changes Relevant to Users

  • Enhancements
    • Updated the boto3 dependency from 1.38.1 to 1.38.17 in both requirements.txt and docs/requirements.txt to ensure compatibility with the latest features and improvements.

Internal Changes

  • Documentation Updates
    • Updated the service link in README.md to reflect the new URL for real-time alerts and report downloads.
graph TD;
    A[Version 1.9.28] -->|Updated| B[Version 1.9.29];
    B --> C[Dependencies];
    C --> D[boto3 1.38.17];
    B --> E[Documentation];
    E --> F[Updated Service Link];
Loading

These updates ensure the package remains up-to-date with the latest boto3 enhancements and provide users with the correct service information for accessing real-time alerts and report downloads.

v1.9.28 - 2025-04-24

Version 1.9.28

Changes Relevant to Users

  • New Features

    • Introduced the ApplicationIntegrations class in the API, which includes methods to manage notifications for Amazon Selling Partners:
      • create_notification: Allows creating notifications for sellers in Seller Central.
      • delete_notifications: Enables the removal of application notifications from the Appstore notifications dashboard.
      • record_action_feedback: Records the seller's response to a notification.
    • Added documentation for the new application_integrations endpoint.
  • Enhancements

    • Updated the boto3 dependency from 1.37.34 to 1.38.1 in both requirements.txt and docs/requirements.txt.

Internal Changes

  • Documentation Updates

    • Added a new documentation file for application_integrations in docs/endpoints/application_integrations.rst.
  • Code Maintenance

    • Modified make_endpoint/make_docs.py and make_endpoint/make_endpoint scripts to include the new application_integrations endpoint.
graph TD;
    A[Version 1.9.27] -->|Updated| B[Version 1.9.28];
    B --> C[ApplicationIntegrations Class];
    C --> D[create_notification];
    C --> E[delete_notifications];
    C --> F[record_action_feedback];
    B --> G[Dependencies];
    G --> H[boto3 1.38.1];
Loading

These updates introduce new capabilities for managing notifications via the ApplicationIntegrations API, enhancing the ability to interact with Amazon's Selling Partner API. Additionally, the dependency update ensures compatibility with the latest boto3 version.

v1.9.27 - 2025-04-16

Version 1.9.27

Changes Relevant to Users

  • New Features

    • Added get_featured_offer_expected_price_batch method in the Products class. This method allows users to retrieve the featured offer expected price (FOEP) for a batch of requests. The FOEP is the price at or below which a seller can expect to become the featured offer.
    • Introduced get_competitive_summary_batch method in the Products class. This method provides a competitive summary response, including featured buying options for a given ASIN and marketplace combination.
  • Enhancements

    • Updated the products.py and products_definitions.py to include new data classes and enums for handling batch requests and competitive summaries.

Internal Changes

  • Dependency Updates

    • Updated boto3 dependency from 1.37.32 to 1.37.34 in both requirements.txt and docs/requirements.txt.
  • Version Bump

    • Updated the package version from 1.9.26 to 1.9.27.
graph TD;
    A[Version 1.9.26] -->|Updated| B[Version 1.9.27];
    B --> C[Products Class];
    C --> D[get_featured_offer_expected_price_batch];
    C --> E[get_competitive_summary_batch];
    B --> F[Dependencies];
    F --> G[boto3 1.37.34];
Loading

These updates enhance the functionality of the Products API by providing new methods for batch processing and competitive analysis, while also ensuring compatibility with the latest boto3 version.

v1.9.26 - 2025-04-11

Version 1.9.26

Changes Relevant to Users

  • Documentation Update
    • Updated the appointment link in the README to a new URL for scheduling appointments. This change ensures users are directed to the correct scheduling page.

Internal Changes

  • Version Bump
    • Updated the package version from 1.9.25 to 1.9.26.
graph TD;
    A[Version 1.9.25] -->|Updated| B[Version 1.9.26];
    B --> C[README Link];
    C --> D[New URL];
Loading

These changes aim to improve user experience by ensuring accurate and up-to-date documentation.

v1.9.25 - 2025-04-11

Version 1.9.25

Changes Relevant to Users

  • Dependency Updates
    • Updated boto3 from version 1.37.17 to 1.37.32. This update ensures compatibility with the latest AWS features and improvements.
graph TD;
    A[Version 1.9.24] -->|Updated| B[Version 1.9.25];
    B --> C[boto3];
    C --> D[1.37.32];
Loading

Internal Changes

  • No internal changes were made in this release.

These updates aim to maintain the robustness and compatibility of the python-amazon-sp-api package with the latest tools and libraries.

v1.9.24 - 2025-03-22

Version 1.9.24

Changes Relevant to Users

  • Pagination Enhancements
    • Improved the ApiResponse class to better handle pagination by adding support for an additional nextToken key in the response payload. This enhancement ensures more reliable navigation through paginated data.
graph TD;
    A[Version 1.9.23] -->|Improved| B[Version 1.9.24];
    B --> C[ApiResponse];
    C --> D[nextToken Support];
Loading

Internal Changes

  • Code Quality Improvements
    • Minor formatting adjustments in load_all_pages.py to enhance code readability and maintain consistency.
graph TD;
    A[Version 1.9.23] -->|Refined| B[Version 1.9.24];
    B --> C[load_all_pages.py];
    C --> D[Formatting Adjustments];
Loading

These changes aim to improve the overall functionality and maintainability of the python-amazon-sp-api package, ensuring a smoother experience for developers interacting with Amazon's Selling Partner API.

v1.9.23 - 2025-03-21

Version 1.9.23

New Features

  • Finances API Enhancements
    • Introduced versioning support for the Finances client, allowing users to specify API versions when interacting with financial endpoints.
    • Added a new list_transactions endpoint to the Finances client for retrieving transaction details.
graph TD;
    A[Version 1.9.22] -->|Enhanced| B[Version 1.9.23];
    B --> C[Finances API];
    C --> D[Versioning Support];
    C --> E[list_transactions];
Loading

Internal Changes

  • Dependencies Update
    • Updated boto3 library dependency from ~=1.37.14 to ~=1.37.17 to ensure compatibility with the latest features and security patches.
    • Updated setuptools library dependency from ~=75.8.2 to ~=77.0.3.
graph TD;
    A[Version 1.9.22] -->|Updated| B[Version 1.9.23];
    B --> C[boto3 ~=1.37.17];
    A --> D[boto3 ~=1.37.14];
    B --> E[setuptools ~=77.0.3];
    A --> F[setuptools ~=75.8.2];


## v1.9.22 - 2025-03-18
## Version 1.9.22

### New Features

- **Finances API Enhancements**
  - Introduced versioning support for the `Finances` client, allowing users to specify API versions when interacting with financial endpoints.
  - Added a new `list_transactions` endpoint to the `Finances` client for retrieving transaction details.

```mermaid
graph TD;
    A[Version 1.9.21] -->|Enhanced| B[Version 1.9.22];
    B --> C[Finances API];
    C --> D[Versioning Support];
    C --> E[list_transactions];
Loading

Internal Changes

  • Dependencies Update
    • Updated boto3 library dependency from ~=1.37.12 to ~=1.37.14 to ensure compatibility with the latest features and security patches.
graph TD;
    A[Version 1.9.21] -->|Updated| B[Version 1.9.22];
    B --> C[boto3 ~=1.37.14];
    A --> D[boto3 ~=1.37.12];


## v1.9.21 - 2025-03-14
## Version 1.9.21

### New Features

- **Easy Ship API Integration**
  - Introduced a new `EasyShip` client in the `sp_api.api` module, allowing users to manage and ship Amazon Easy Ship orders.
  - Added several new endpoints under the `EasyShip` client:
    - `list_handover_slots`: Retrieve available time slots for scheduling Easy Ship orders.
    - `get_scheduled_package`: Get detailed information about a scheduled package.
    - `create_scheduled_package`: Schedule an Easy Ship order and obtain package information.
    - `update_scheduled_packages`: Update the time slot for a scheduled package.
    - `create_scheduled_package_bulk`: Schedule multiple Easy Ship orders and generate shipping labels in bulk.

```mermaid
graph TD;
    A[Version 1.9.20] -->|Added| B[Version 1.9.21];
    B --> C[EasyShip API];
    C --> D[list_handover_slots];
    C --> E[get_scheduled_package];
    C --> F[create_scheduled_package];
    C --> G[update_scheduled_packages];
    C --> H[create_scheduled_package_bulk];
Loading

Internal Changes

  • Dependencies Update
    • Updated requests library dependency from >=2.32.0 to >=2.32.1 to ensure compatibility with the latest features and security patches.
graph TD;
    A[Version 1.9.20] -->|Updated| B[Version 1.9.21];
    B --> C[Requests >=2.32.1];
    A --> D[Requests >=2.32.0];


## v1.9.20 - 2025-03-14
# Changelog

## Version 1.9.20

### Internal Changes

- **Dependencies Update**
  - Updated `requests` library dependency from `>=2.32.0` to `>=2.32.1`.

```mermaid
graph TD;
    A[Version 1.9.19] -->|Updated| B[Version 1.9.20];
    B --> C[Requests >=2.32.1];
    A --> D[Requests >=2.32.0];
Loading

This update ensures compatibility with the latest features and security patches of the requests library.

v1.9.18 - 2025-02-27

v1.9.18

Changes Relevant to End-Users

  • New Report Types: Added support for new brand analytics report types in the ReportType enum:
    • GET_BRAND_ANALYTICS_SEARCH_CATALOG_PERFORMANCE_REPORT
    • GET_BRAND_ANALYTICS_SEARCH_QUERY_PERFORMANCE_REPORT

Internal Changes

  • Dependency Updates: Updated dependencies for improved performance and security:
    • boto3 updated from 1.37.0 to 1.37.2
    • setuptools updated from 75.8.0 to 75.8.2

Mermaid Diagram Representation

graph TD;
    A[ReportType Enum] -->|Added| B[GET_BRAND_ANALYTICS_SEARCH_CATALOG_PERFORMANCE_REPORT];
    A -->|Added| C[GET_BRAND_ANALYTICS_SEARCH_QUERY_PERFORMANCE_REPORT];
    D[Dependencies] -->|Updated| E[boto3, setuptools];
Loading

This release introduces new report types for enhanced brand analytics capabilities and updates dependencies for better stability and security.

v1.9.17 - 2025-02-26

v1.9.17

Changes Relevant to End-Users

  • API Endpoint Update: The list_packing_group_items method in the FulfillmentInbound class now requires a packingGroupId parameter. This change ensures more precise retrieval of packing group items by specifying the packing group directly.

Internal Changes

  • Dependency Updates: Updated several dependencies to their latest versions for improved performance and security:
    • boto3 updated from 1.36.15 to 1.37.0
    • cachetools updated from 5.5.1 to 5.5.2

Mermaid Diagram Representation

graph TD;
    A[FulfillmentInbound Class] -->|Updated| B[list_packing_group_items Method];
    B -->|Added Parameter| C[packingGroupId];
    D[Dependencies] -->|Updated| E[boto3, cachetools];
Loading

This release includes an important API endpoint update for more precise data retrieval and updates to dependencies for enhanced stability and security.

v1.9.16 - 2025-02-26

v1.9.16

Changes Relevant to End-Users

  • API Endpoint Update: The list_packing_group_items method in the FulfillmentInbound class now requires a packingGroupId parameter. This change ensures more precise retrieval of packing group items by specifying the packing group directly.

Internal Changes

  • Dependency Updates: Updated several dependencies to their latest versions for improved performance and security:
    • boto3 updated from 1.36.15 to 1.37.0
    • cachetools updated from 5.5.1 to 5.5.2

Mermaid Diagram Representation

graph TD;
    A[FulfillmentInbound Class] -->|Updated| B[list_packing_group_items Method];
    B -->|Added Parameter| C[packingGroupId];
    D[Dependencies] -->|Updated| E[boto3, cachetools];
Loading

This release includes an important API endpoint update for more precise data retrieval and updates to dependencies for enhanced stability and security.

v1.9.15 - 2025-02-26

v1.9.15

Changes Relevant to End-Users

  • API Endpoint Update: The list_packing_group_items method in the FulfillmentInbound class now requires a packingGroupId parameter. This change ensures more precise retrieval of packing group items by specifying the packing group directly.

Internal Changes

  • Dependency Updates: Updated several dependencies to their latest versions for improved performance and security:
    • boto3 updated from 1.36.15 to 1.37.0
    • cachetools updated from 5.5.1 to 5.5.2

Mermaid Diagram Representation

graph TD;
    A[FulfillmentInbound Class] -->|Updated| B[list_packing_group_items Method];
    B -->|Added Parameter| C[packingGroupId];
    D[Dependencies] -->|Updated| E[boto3, cachetools];
Loading

This release includes an important API endpoint update for more precise data retrieval and updates to dependencies for enhanced stability and security.

v1.9.14 - 2025-02-26

v1.9.14

Changes Relevant to End-Users

  • API Endpoint Update: The list_packing_group_items method in the FulfillmentInbound class now requires a packingGroupId parameter. This change ensures more precise retrieval of packing group items by specifying the packing group directly.

Internal Changes

  • Dependency Updates: Updated several dependencies to their latest versions for improved performance and security:
    • boto3 updated from 1.36.15 to 1.37.0
    • cachetools updated from 5.5.1 to 5.5.2

Mermaid Diagram Representation

graph TD;
    A[FulfillmentInbound Class] -->|Updated| B[list_packing_group_items Method];
    B -->|Added Parameter| C[packingGroupId];
    D[Dependencies] -->|Updated| E[boto3, cachetools];
Loading

This release includes an important API endpoint update for more precise data retrieval and updates to dependencies for enhanced stability and security.

v1.9.13 - 2025-02-26

v1.9.13

Changes Relevant to End-Users

  • API Endpoint Update: The list_packing_group_items method in the FulfillmentInbound class now requires a packingGroupId parameter. This change ensures more precise retrieval of packing group items by specifying the packing group directly.

Internal Changes

  • Dependency Updates: Updated several dependencies to their latest versions for improved performance and security:
    • boto3 updated from 1.36.15 to 1.37.0
    • cachetools updated from 5.5.1 to 5.5.2

Mermaid Diagram Representation

graph TD;
    A[FulfillmentInbound Class] -->|Updated| B[list_packing_group_items Method];
    B -->|Added Parameter| C[packingGroupId];
    D[Dependencies] -->|Updated| E[boto3, cachetools];
Loading

This release includes an important API endpoint update for more precise data retrieval and updates to dependencies for enhanced stability and security.

v1.9.12 - 2025-02-09

v1.9.12

Changes Relevant to End-Users

  • API Endpoint Update: The list_packing_group_items method in the FulfillmentInbound class now requires a packingGroupId parameter. This change ensures more precise retrieval of packing group items by specifying the packing group directly.

Internal Changes

  • Dependency Updates: Updated several dependencies to their latest versions for improved performance and security:
    • boto3 updated from 1.36.5 to 1.36.15
    • pytz updated from 2024.2 to 2025.1

Mermaid Diagram Representation

graph TD;
    A[FulfillmentInbound Class] -->|Updated| B[list_packing_group_items Method];
    B -->|Added Parameter| C[packingGroupId];
    D[Dependencies] -->|Updated| E[boto3, pytz];
Loading

This release includes an important API endpoint update for more precise data retrieval and updates to dependencies for enhanced stability and security.

v1.9.11 - 2025-01-25

v1.9.11

Changes Relevant to End-Users

  • API Endpoint Update: The list_packing_group_items method in the FulfillmentInbound class now requires a packingGroupId parameter. This change ensures more precise retrieval of packing group items by specifying the packing group directly.

Internal Changes

  • Dependency Updates: Updated several dependencies to their latest versions for improved performance and security:
    • boto3 updated from 1.35.85 to 1.36.5
    • cachetools updated from 5.5.0 to 5.5.1
    • setuptools updated from 75.6.0 to 75.8.0

Mermaid Diagram Representation

graph TD;
    A[FulfillmentInbound Class] -->|Updated| B[list_packing_group_items Method];
    B -->|Added Parameter| C[packingGroupId];
    D[Dependencies] -->|Updated| E[boto3, cachetools, setuptools];
Loading

This release includes an important API endpoint update for more precise data retrieval and updates to dependencies for enhanced stability and security.

v1.9.10 - 2024-12-22

v1.9.10

Changes Relevant to End-Users

  • Enhanced Error Logging: Improved error logging in the Client class by changing error messages from debug to error level. This ensures that error responses are more visible and easier to track in logs.

Internal Changes

  • Debug Logging Addition: Added a debug log statement to capture the response data before list handling in the Client class. This helps in tracing the response content during the debugging process.

Mermaid Diagram Representation

graph TD;
    A[Client Class] -->|Added| B[Debug Log for Response];
    A -->|Changed| C[Error Log Level to Error];
Loading

This release enhances error visibility and adds additional debug logging to aid in the development and debugging process.

v1.9.9 - 2024-12-22

v1.9.9

Changes Relevant to End-Users

  • Improved Logging in Client Class: Enhanced the logging functionality within the Client class to provide more detailed debug information. This includes logging HTTP methods, request URLs, parameters, data, headers, and error responses. This improvement aids in better tracing and debugging of API requests.

  • Removal of Donation Message: The donation message that previously displayed upon client initialization has been removed. This change streamlines the user experience by eliminating unsolicited messages during API usage.

Internal Changes

  • Logging Level Adjustment: The default logging level for the Client class has been set to INFO. Users can override this setting externally, allowing for flexible logging configurations.

Mermaid Diagram Representation

graph TD;
    A[Client Initialization] -->|Removed| B[Donation Message];
    A --> C[Enhanced Logging];
    C --> D[HTTP Method];
    C --> E[Request URL];
    C --> F[Request Params];
    C --> G[Request Data];
    C --> H[Request Headers];
    C --> I[Error Response];
Loading

This release focuses on improving the logging capabilities for better debugging and removing non-essential output for a cleaner user experience.

v1.9.8 - 2024-12-20

v1.9.8

Changes Relevant to End-Users

  • Bug Fix in load_all_pages Utility: Corrected indentation issues within the load_all_pages function, specifically addressing the handling of the next_token_only parameter. This fix ensures that pagination in API requests is managed more reliably, enhancing the function's robustness and accuracy.

Internal Changes

  • No internal changes were made in this release.

Mermaid Diagram Representation

graph TD;
    A[load_all_pages Function] -->|Corrected Indentation| B[next_token_only Handling];
Loading

This update addresses a critical bug in the load_all_pages utility, ensuring that the function behaves as expected when managing pagination, particularly when the next_token_only parameter is utilized.

v1.9.7 - 2024-12-20

v1.9.7

Changes Relevant to End-Users

  • Improvement in load_all_pages Utility: Fixed indentation issues in the load_all_pages function to ensure correct behavior when using the next_token_only parameter. This change enhances the reliability of the function when handling pagination in API requests.

Internal Changes

  • No internal changes were made in this release.

Mermaid Diagram Representation

graph TD;
    A[load_all_pages Function] -->|Fixed Indentation| B[next_token_only Handling];
Loading

This update ensures that the load_all_pages function operates correctly, particularly when the next_token_only parameter is used, improving the overall robustness of API interactions.

v1.9.6 - 2024-12-20

v1.9.6

Changes Relevant to End-Users

  • New Feature in load_all_pages Utility: Added a next_token_only parameter to the load_all_pages function. This allows users to remove all other parameters from kwargs, which is particularly useful for the Reports API where only the next token is needed.

Internal Changes

  • Dependency Update: Updated boto3 from version 1.35.81 to 1.35.85 in both requirements.txt and docs/requirements.txt to ensure compatibility with the latest AWS services and features.

Mermaid Diagram Representation

graph TD;
    A[load_all_pages Function] -->|Added Parameter| B[next_token_only];
    C[Dependencies] -->|Updated Version| D[boto3 1.35.85];
Loading

These updates enhance the flexibility of the load_all_pages utility function, making it more adaptable for specific API interactions, and ensure the library remains up-to-date with AWS service changes.

v1.9.5 - 2024-12-16

v1.9.5

Changes Relevant to End-Users

  • Vendor Shipments API Enhancement: Improved the documentation for submit_shipment_confirmations and submit_shipments methods in the VendorShipments class. The descriptions are now more concise and easier to understand, aiding developers in implementing shipment confirmations and requests more effectively.

Internal Changes

  • Code Cleanup: Removed unnecessary blank lines in the VendorShipments class to enhance code readability and maintainability.
  • Documentation Update: Added onerror attribute to image tags in the documentation templates to ensure fallback images are displayed if the original images fail to load.
  • Template IDs Update: Updated the list of template IDs in the documentation layout script to remove unused entries and streamline the selection process.

Mermaid Diagram Representation

graph TD;
    A[VendorShipments Class] -->|Improved Documentation| B[submit_shipment_confirmations];
    A -->|Improved Documentation| C[submit_shipments];
    A -->|Code Cleanup| D[Removed Blank Lines];
    E[Documentation Templates] -->|Added onerror Attribute| F[Image Tags];
    G[Documentation Layout Script] -->|Updated Template IDs| H[Template ID List];
Loading

These updates streamline the process of interacting with the Vendor Shipments API, making it more intuitive for developers to use the library, and improve the robustness of the documentation display.

v1.9.4 - 2024-12-16

v1.9.4

Changes Relevant to End-Users

  • Vendor Shipments API Enhancement: Improved the documentation for submit_shipment_confirmations and submit_shipments methods in the VendorShipments class. The descriptions are now more concise and easier to understand, aiding developers in implementing shipment confirmations and requests more effectively.

Internal Changes

  • Code Cleanup: Removed unnecessary blank lines in the VendorShipments class to enhance code readability and maintainability.
  • Documentation Update: Added onerror attribute to image tags in the documentation templates to ensure fallback images are displayed if the original images fail to load.

Mermaid Diagram Representation

graph TD;
    A[VendorShipments Class] -->|Improved Documentation| B[submit_shipment_confirmations];
    A -->|Improved Documentation| C[submit_shipments];
    A -->|Code Cleanup| D[Removed Blank Lines];
    E[Documentation Templates] -->|Added onerror Attribute| F[Image Tags];
Loading

These updates streamline the process of interacting with the Vendor Shipments API, making it more intuitive for developers to use the library, and improve the robustness of the documentation display.

v1.9.3 - 2024-12-16

v1.9.3

Changes Relevant to End-Users

  • Vendor Shipments API Enhancement: Improved the documentation for submit_shipment_confirmations and submit_shipments methods in the VendorShipments class. The descriptions are now more concise and easier to understand, aiding developers in implementing shipment confirmations and requests more effectively.

Internal Changes

  • Code Cleanup: Removed unnecessary blank lines in the VendorShipments class to enhance code readability and maintainability.

Mermaid Diagram Representation

graph TD;
    A[VendorShipments Class] -->|Improved Documentation| B[submit_shipment_confirmations];
    A -->|Improved Documentation| C[submit_shipments];
    A -->|Code Cleanup| D[Removed Blank Lines];
Loading

These updates streamline the process of interacting with the Vendor Shipments API, making it more intuitive for developers to use the library.

v1.9.2 - 2024-12-16

v1.9.2

Changes Relevant to End-Users

  • Vendor Shipments API Enhancement: Improved the documentation for submit_shipment_confirmations and submit_shipments methods in the VendorShipments class. The descriptions are now more concise and easier to understand, aiding developers in implementing shipment confirmations and requests more effectively.

Internal Changes

  • Code Cleanup: Removed unnecessary blank lines in the VendorShipments class to enhance code readability and maintainability.

Mermaid Diagram Representation

graph TD;
    A[VendorShipments Class] -->|Improved Documentation| B[submit_shipment_confirmations];
    A -->|Improved Documentation| C[submit_shipments];
    A -->|Code Cleanup| D[Removed Blank Lines];
Loading

These updates streamline the process of interacting with the Vendor Shipments API, making it more intuitive for developers to use the library.

v1.9.1 - 2024-12-14

v1.9.1

Changes Relevant to End-Users

  • Vendor Shipments API Enhancement: Improved the documentation for submit_shipment_confirmations and submit_shipments methods in the VendorShipments class. The descriptions are now more concise and easier to understand, aiding developers in implementing shipment confirmations and requests more effectively.

Internal Changes

  • Code Cleanup: Removed unnecessary blank lines in the VendorShipments class to enhance code readability and maintainability.

Mermaid Diagram Representation

graph TD;
    A[VendorShipments Class] -->|Improved Documentation| B[submit_shipment_confirmations];
    A -->|Improved Documentation| C[submit_shipments];
    A -->|Code Cleanup| D[Removed Blank Lines];
Loading

These updates streamline the process of interacting with the Vendor Shipments API, making it more intuitive for developers to use the library.

v1.8.22 - 2024-12-14

v1.8.22

Changes Relevant to End-Users

  • Code Style Improvement: Updated the codebase to use consistent string quoting style, improving readability and maintainability.

Internal Changes

  • Refactoring: Reformatted code to adhere to PEP 8 standards, including consistent use of double quotes for strings and improved indentation.
  • Function Signatures: Updated function signatures for better clarity and consistency across the codebase.

Mermaid Diagram Representation

graph TD;
    A[Codebase] -->|Improved Readability| B[Consistent String Quoting];
    A -->|Refactored| C[PEP 8 Compliance];
Loading

These changes enhance the code quality, making it easier for developers to maintain and extend the library.

v1.8.21 - 2024-12-14

v1.8.21

Changes Relevant to End-Users

  • Configuration Enhancement: Made the TTL (Time-To-Live) for authentication cache configurable via the SP_API_AUTH_CACHE_TTL environment variable. This allows users to customize the cache duration according to their needs, providing greater flexibility in managing token lifetimes.

Internal Changes

  • No internal changes were made in this version.

Mermaid Diagram Representation

graph TD;
    A[Authentication Cache] -->|TTL Configurable| B[Environment Variable];
Loading

These changes allow users to better manage their authentication cache settings, enhancing the adaptability of the library to different operational requirements.

v1.8.20 - 2024-12-14

v1.8.20

Internal Changes

  • Enhanced the changelog generation script to include mermaid diagrams for visual representation of changes.
  • Increased the max_tokens parameter for OpenAI API calls from 500 to 750 to allow for more detailed changelog entries.

Mermaid Diagram Representation

graph TD;
    A[Changelog Generation Script] -->|Updated| B[Include Mermaid Diagrams];
    A -->|Increased| C[Max Tokens for API Calls];
Loading

These changes improve the clarity and detail of the changelog entries, providing better insights into updates and modifications.

v1.8.19 - 2024-12-14

v1.8.19

Internal Changes

  • Updated the dependabot configuration to check for updates daily instead of weekly.
  • Modified the GitHub Actions workflow to exclude dependabot from triggering certain steps, ensuring that version increments and changelog updates are only performed by human contributors.

v1.8.17 - 2024-12-14

v1.8.17

Internal Changes

  • Updated the version number to 1.8.17 in the __version__.py file.
  • Changed the Dependabot update schedule from daily to weekly in .github/dependabot.yml for better management of dependency updates.

v1.8.16 - 2024-12-14

v1.8.16

Internal Changes

  • Updated the generate_changelog.py script to remove backticks from the generated changelog entry, ensuring cleaner formatting.
  • Bumped the version number to 1.8.16 in the __version__.py file.

v1.8.15 - 2024-12-14

## v1.8.15

### Internal Changes

- Improved the GitHub Actions workflow for version increments:
  - The changelog entry is now written to a temporary file before being appended to the existing `CHANGELOG.md`, ensuring a cleaner update process.
  - Enhanced the method for setting the output of the changelog entry in the workflow, replacing the deprecated `set-output` command with a more robust approach.
- Updated the `generate_changelog.py` script to ensure the changelog entry generation process adheres to the latest guidelines, specifically excluding dates and release status from entries.

v1.8.14 - 2024-12-14

v1.8.14

Internal Changes

  • Improved the GitHub Actions workflow for version increments:
    • The changelog entry is now written to a temporary file before being appended to the existing CHANGELOG.md, ensuring a cleaner update process.
    • Enhanced the method for setting the output of the changelog entry in the workflow, replacing the deprecated set-output command with a more robust approach.
  • Updated the generate_changelog.py script to ensure the changelog entry generation process adheres to the latest guidelines, specifically excluding dates and release status from entries.

v1.8.12 - 2024-12-14

Changelog

v1.8.12

Internal Changes

  • Updated the version increment workflow to simplify the condition for updating CHANGELOG.md. The check for non-empty diff output has been removed, and now it only checks if env.new_version is not empty. This change streamlines the workflow process for updating the changelog.

v1.8.13 - 2024-12-14

Changelog

v1.8.13 - 2023-10-XX

Internal Changes

  • Enhanced the GitHub Actions workflow for version increments. The process now includes reading the changelog entry from a file and using it as the body of the release notes. This improvement ensures that the release notes are automatically populated with the latest changelog entry.
  • Re-enabled the steps for creating a new GitHub release and triggering the release workflow. The workflow now checks if env.new_version is not empty before proceeding, improving the automation of the release process.

Changelog

v1.8.0

New Features

  • Fulfillment Inbound API: Added list_shipment_boxes method to provide a paginated list of box packages in a shipment.
  • Fulfillment Inbound API: Added update_shipment_tracking_details method to update a shipment's tracking details.
  • Marketplaces: Added support for the Amazon marketplace in Ireland (IE).

Dependency Updates

  • Updated boto3 dependency from ~=1.35.67 to ~=1.35.80.

Internal Changes

  • Updated the setup.cfg to include the name field for the package metadata.
  • Modified the GitHub Actions workflow to ensure setuptools, wheel, and twine are upgraded during the installation process.

Changelog

v1.6.1 - v1.7.1

New Features

  • Amazon Warehousing and Distribution (AWD) API: Added new endpoint AmazonWarehousingAndDistribution with versioning support.
  • Shipping V2 API: Introduced a new Shipping API client with multiple endpoints including get_rates, purchase_shipment, one_click_shipment, get_tracking, cancel_shipment, get_access_points, submit_ndr_feedback, and more.
  • Listings Items API: Added search_listings_items endpoint to search and return a list of listings items and their details.
  • Sellers API: Added get_account endpoint to retrieve seller account information and associated marketplaces.
  • Fulfillment Inbound API: Added multiple new endpoints for managing inbound plans, shipments, and delivery windows.
  • Reports API: Enhanced iterable handling for reportTypes, processingStatuses, and marketplaceIds parameters to exclude strings.

Enhancements

  • Versioning Support: Introduced versioning for clients with multiple versions, allowing users to specify the version when constructing a new client.
  • Documentation: Updated and expanded documentation, including new sections for versioning and endpoints.
  • Security: Added a SECURITY.md file outlining the security policy and vulnerability reporting process.
  • README: Enhanced with new badges, support options, and improved documentation links.

Bug Fixes

  • Inventories API: Fixed an issue with sellerSkus parameter to ensure it is properly handled as an iterable, excluding strings.
  • Listings Items API: Corrected handling of includedData parameter to ensure it is properly processed as an iterable, excluding strings.
  • Reports API: Fixed iterable handling for parameters to ensure proper processing when not a string.

Internal Changes

  • CI/CD: Added a new GitHub Actions workflow for version incrementing and release creation.
  • Dependencies: Updated dependencies in requirements.txt and docs/requirements.txt to newer versions.
  • Code Quality: Removed SonarCloud configuration file and associated badges from the README.
  • Testing: Added new tests for Shipping V2 and Listings Items APIs to ensure functionality and reliability.

This release introduces significant new features, enhancements, and bug fixes to improve the functionality and usability of the python-amazon-sp-api library.

Changelog

v1.6.0

New Features

  • Amazon Warehousing and Distribution API: Added a new client for the Amazon Warehousing and Distribution (AWD) API. This includes endpoints for:
    • Retrieving an AWD inbound shipment.
    • Listing inbound AWD shipments with optional filters.
    • Listing AWD inventory with optional filters.

Changes

  • Data Kiosk API: Updated the request handling to include add_marketplace=False for several endpoints, ensuring marketplace information is not added to these requests.
  • Feeds API: Improved the get_feed_result_document method to clarify that it fetches the feed result document's contents by first retrieving from the getFeedDocument endpoint and then fetching from the returned URL. Updated the return type to str.

Bug Fixes

  • Access Token Response: Corrected the expires_in attribute to correctly retrieve the expiration time from the response.
  • ApiResponse: Enhanced the next_token property to also check for nextPageToken in the response payload.

Internal

  • Dependencies: Updated requests to version 2.32.3 and boto3 to version 1.34.144 in both requirements.txt and docs/requirements.txt.
  • Client Initialization: Added a donation message during client initialization to encourage support for the project. This message can be disabled by setting the ENV_DISABLE_DONATION_MSG=1 environment variable.

Changelog

[v1.5.0]

New Features

  • FulfillmentInbound API: Added support for the new FulfillmentInbound API version 2024-03-20, including:
    • list_inbound_plans
    • create_inbound_plan
    • get_inbound_plan
    • list_inbound_plan_boxes
    • cancel_inbound_plan
    • list_inbound_plan_items
    • set_packing_information
    • list_packing_options
    • generate_packing_options
    • confirm_packing_option
    • list_packing_group_items
    • list_inbound_plan_pallets
    • list_placement_options
    • generate_placement_options
    • confirm_placement_option
    • get_shipment
    • get_delivery_challan_document
    • update_shipment_delivery_window
    • get_self_ship_appointment_slots
    • generate_self_ship_appointment_slots
    • cancel_self_ship_appointment
    • schedule_self_ship_appointment
    • update_shipment_tracking_details
    • list_transportation_options
    • generate_transportation_options
    • confirm_transportation_options
    • list_item_compliance_details
    • update_item_compliance_details
    • get_inbound_operation_status

Changes

  • Catalog API: Reduced the burst rate limit from 40 to 2 requests per second.
  • Feeds API: Fixed encoding issue by changing upload_data.decode('iso-8859-1') to upload_data.encode('iso-8859-1').

Bug Fixes

  • DataKiosk API: Improved file handling in _handle_file method to correctly handle both bytes and string documents.

Dependencies

  • Updated boto3 from 1.34.2 to 1.34.87.
  • Updated cachetools from 5.3.2 to 5.3.3.

Changelog

v1.4.0

New Features

  • Application Management API: Added a new client for the Application Management API, allowing developers to programmatically update the client secret on registered applications. This includes the rotate_application_client_secret method to rotate application client secrets.
  • Enums Documentation: Introduced documentation for various enums used within the API, such as Marketplaces, FeedTypes, FulfillmentChannels, and more.

Changes

  • Listings Items API: Updated the get_listings_item method to handle includedData as an iterable, converting it to a comma-separated string if necessary.
  • Documentation Updates:
    • Removed consultation and playground sections from the README.
    • Removed API documentation buttons from various endpoint documentation pages.
    • Added enums section to the documentation index for better visibility of available enums.
  • Dependencies: Updated boto3 dependency from 1.29.3 to 1.34.2.

Internal Changes

  • Code Cleanup: Commented out unused sections in the documentation footer and layout templates.
  • Enum Enhancements: Improved enum classes by adding string inheritance and documentation comments for better clarity and usage.
  • Documentation Build: Added new Sphinx extensions to support enum documentation and compatibility.

These changes enhance the functionality and usability of the python-amazon-sp-api package, providing developers with more tools and clearer documentation for integrating with Amazon's Selling Partner API.

Changelog

v1.3.0

New Features

  • Data Kiosk API Support: Added support for the Data Kiosk API, allowing users to create and manage queries for sales and traffic analytics. Introduced the DataKiosk client with methods such as create_query, get_document, and others for interacting with the Data Kiosk API.
  • New Endpoints: Added new endpoints for data_kiosk, replenishment, and supply_sources in the documentation.
  • AWS Secret Manager Authentication: Introduced optional installation for AWS Secret Manager Authentication with pip install "python-amazon-sp-api[aws]" and caching support with pip install "python-amazon-sp-api[aws-caching]".

Changes

  • Dependencies: Updated boto3 dependency from ~=1.29.2 to ~=1.29.3.
  • Rate Limit Documentation: Improved the documentation format for rate limits in the Data Kiosk API to use tables for better readability.

Notifications

  • New Notification Type: Added DATA_KIOSK_QUERY_PROCESSING_FINISHED notification type to notify when a Data Kiosk query finishes processing.

Changelog

v1.2.0

New Features

  • Data Kiosk API: Introduced a new data_kiosk module to interact with Amazon's Data Kiosk API.

    • Added get_document method with enhanced functionality:
      • Supports downloading documents directly by setting the download parameter to True.
      • Allows writing the document to a specified file using the file parameter, which accepts BytesIO, StringIO, BinaryIO, or TextIO.
      • Added support for specifying file encoding via the encoding parameter, defaulting to utf-8.
  • New APIs: Added new modules for:

    • replenishment
    • supply_sources

Internal Changes

  • Updated project version from 1.1.0 to 1.2.0.

Changelog

v1.0.0

Breaking Changes

  • Authentication Update: Removed AWS IAM or AWS Signature Version 4 authentication. The library no longer requires AWS credentials for standard operations. AWS credentials can still be passed but will be ignored unless using SecretsManager Auth.

Enhancements

  • Datetime Handling: Improved the datetime formatting in the Sales API to use isoformat with timezone awareness, ensuring consistent and accurate timestamp representation.

Dependency Updates

  • Updated boto3 to version 1.28.63.
  • Updated setuptools to version 68.2.2.

Internal Changes

  • Removed the aws_sig_v4.py module, along with related AWS signature authentication logic from the client.py file.
  • Added .readthedocs.yaml configuration file to support building documentation with Read the Docs.