Releases: saleweaver/python-amazon-sp-api
v2.0.15
Version 2.0.15
New Features
Orders API Enhancements
- Enhanced the
OrdersV20260101client with detailed docstrings for thesearch_ordersandget_ordermethods. 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;Internal Changes
- Removed unnecessary
printstatement from thesearch_ordersmethod 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
Version 2.0.14
Bug Fixes
Orders API Asynchronous Handling
- Fixed asynchronous handling in the
OrdersV0client by ensuring that the_access_restrictedmethod 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];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
httpxtodocs/requirements.txtto support HTTP requests in documentation examples.
v2.0.13
Version 2.0.13
Bug Fixes
Orders API Asynchronous Handling
- Fixed asynchronous handling in the
OrdersV0client by ensuring that the_access_restrictedmethod 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];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
Version 2.0.12
New Features
Orders API Version Update
- Introduced a new version of the Orders API,
2026-01-01, alongside the legacyv0version. 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];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];Dependency Updates
- Updated
boto3to version1.42.36. - Updated
setuptoolsto version80.10.2. - Updated
cachetoolsto version6.2.6.
These enhancements improve the flexibility and scalability of the API, providing a robust foundation for future development and integration.
v2.0.11
Version 2.0.11
New Features
Orders API Version Update
- Introduced a new version of the Orders API,
2026-01-01, alongside the legacyv0version. 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];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];Dependency Updates
- Updated
boto3to version1.42.36. - Updated
setuptoolsto version80.10.2. - Updated
cachetoolsto version6.2.6.
These enhancements improve the flexibility and scalability of the API, providing a robust foundation for future development and integration.
v2.0.10
Version 2.0.10
New Features
Orders API Version Update
- Introduced a new version of the Orders API,
2026-01-01, alongside the legacyv0version. 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];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];Dependency Updates
- Updated
boto3to version1.42.36. - Updated
setuptoolsto version80.10.2. - Updated
cachetoolsto version6.2.6.
These enhancements improve the flexibility and scalability of the API, providing a robust foundation for future development and integration.
v2.0.9
Version 2.0.9
New Features
Orders API Version Update
- Introduced a new version of the Orders API,
2026-01-01, alongside the legacyv0version. 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];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];Dependency Updates
- Updated
boto3to version1.42.36. - Updated
setuptoolsto version80.10.2.
These enhancements improve the flexibility and scalability of the API, providing a robust foundation for future development and integration.
v2.0.8
Version 2.0.8
New Features
Product Fees API Enhancement
- Introduced a new utility function
create_fees_bodyfor constructing the request body in theProductFeesAPI. 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_definitionsandproduct_feesrelated 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_bodyutility function across both synchronous and asynchronousProductFeesimplementations. -
Updated imports to reflect the new module structure, ensuring all references to
products_definitionsandproduct_feesare correctly pointing to their new locations.
Dependency Updates
- Updated
boto3to version1.42.36. - Updated
setuptoolsto version80.10.2.
These changes collectively improve the maintainability and scalability of the codebase, setting a foundation for future enhancements.
v2.0.7
Version 2.0.7
New Features
Product Fees API Enhancement
- Introduced a new utility function
create_fees_bodyfor constructing the request body in theProductFeesAPI. 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_definitionsandproduct_feesrelated 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_bodyutility function across both synchronous and asynchronousProductFeesimplementations. -
Updated imports to reflect the new module structure, ensuring all references to
products_definitionsandproduct_feesare 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
Version 2.0.6
New Features
Enhanced Order Query Parameters
- Implemented
normalize_csv_paramutility to automatically normalize CSV parameters in theOrdersAPI, both for synchronous and asynchronous clients. This enhancement simplifies the process of passing multiple values for parameters likeOrderStatuses,MarketplaceIds,FulfillmentChannels,PaymentMethods, andAmazonOrderIds.
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.txtto the documentation to guide users on library usage and provide links to canonical documentation sources.