Skip to content

Releases: saleweaver/python-amazon-sp-api

v2.0.7

19 Jan 14:46

Choose a tag to compare

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];

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];
  • 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

19 Jan 12:13

Choose a tag to compare

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.];

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

19 Jan 12:05

Choose a tag to compare

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.];

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

19 Jan 11:43

Choose a tag to compare

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.];

Internal Changes

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

v2.0.3

19 Jan 11:25

Choose a tag to compare

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];
  • 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];

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

19 Jan 11:21

Choose a tag to compare

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];

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

v1.9.60

08 Jan 22:34

Choose a tag to compare

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

13 Dec 23:17
3660f1f

Choose a tag to compare

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

10 Dec 13:58

Choose a tag to compare

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

    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];

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

05 Dec 20:58

Choose a tag to compare

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];

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