Releases: saleweaver/python-amazon-sp-api
Release list
v2.1.9
Version 2.1.9
New Features
- Dependency Updates:
- Upgraded
requeststo version2.34.2to ensure better performance and security. - Updated
httpxto version0.28.1for improved HTTP client capabilities. - Bumped
boto3to version1.43.36for enhanced AWS SDK functionalities.
- Upgraded
Internal
- Version Bump:
- Updated the version from
2.1.8to2.1.9to incorporate the latest dependency updates.
- Updated the version from
Diagram of Dependency Updates
graph TD;
A[Previous Dependencies] --> B[Updated requests to 2.34.2];
A --> C[Updated httpx to 0.28.1];
A --> D[Updated boto3 to 1.43.36];
B --> E[Improved Performance];
C --> F[Enhanced HTTP Client];
D --> G[Enhanced AWS SDK];This release focuses on updating core dependencies to maintain the library's security, performance, and compatibility with external services.
v2.1.8
Version 2.1.8
New Features
- Dependency Update:
- Added
typing-extensionsto the list of required dependencies. This ensures compatibility with newer Python features and enhances type hinting capabilities.
- Added
Internal
- Version Bump:
- Updated the version from
2.1.7to2.1.8to reflect the latest changes and improvements.
- Updated the version from
Diagram of Dependency Update
graph TD;
A[Previous Dependencies] --> B[Added typing-extensions];
B --> C[Enhanced Type Hinting];
B --> D[Improved Compatibility];This release focuses on maintaining compatibility with Python's evolving type system and improving the overall robustness of the library.
v2.1.7
Version 2.1.7
New Features
- Dynamic Import Handling:
- Introduced dynamic import handling for
Client,AccessTokenClient,Credentials, andAuthorizationErrorusing__getattr__. This change optimizes the import process and reduces unnecessary imports, improving performance.
- Introduced dynamic import handling for
Changes
- README Update:
- Removed cryptocurrency addresses from the README file, streamlining the support section.
Internal
- Type Checking Enhancements:
- Added
TYPE_CHECKINGimports to optimize the import process during type checking, ensuring that certain imports are only processed when type checking is enabled.
- Added
Diagram of Dynamic Import Handling
graph TD;
A[Static Imports] --> B[Dynamic Import Handling];
B --> C[Reduces Unnecessary Imports];
B --> D[Improves Performance];This update focuses on improving the efficiency of the import process within the library, enhancing performance and maintainability.
v2.1.6
Version 2.1.6
New Features
- Enhanced Character Encoding Resolution:
- Improved the
resolve_character_codefunction to better handle character encoding by consideringresponse_charset_encoding. This ensures more accurate encoding detection, especially for responses with implicit UTF-8 encoding.
- Improved the
Changes
- Reports Module:
- Updated the
Reportsclass to utilize the enhancedresolve_character_codefunction. This change improves the handling of character encoding in both synchronous and asynchronous report downloads.
- Updated the
Bug Fixes
- No specific bug fixes were documented in this release.
Internal
- Added comprehensive tests for the
resolve_character_codefunction 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];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
Version 2.1.5
New Features
- Improved Proxy Handling:
- Introduced
_httpx_client_kwargsfunction to enhance proxy handling. This allows for dynamic selection of proxies when provided as a list, improving flexibility and robustness in network configurations.
- Introduced
Changes
- DataKiosk and Reports Modules:
- Updated the use of
httpx.Clientto utilize the new_httpx_client_kwargsfunction for better proxy and timeout management.
- Updated the use of
Bug Fixes
- No specific bug fixes were documented in this release.
Internal
- Added tests for
_httpx_client_kwargsto 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];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
Changelog
Version 2.1.4
New Features
- No new features added in this release.
Changes
- Documentation Enhancements:
- Updated the documentation theme from
pydata_sphinx_themetoalabasterfor improved aesthetics and usability. - Added custom CSS for better styling of Python classes, methods, and functions in the documentation.
- Increased the
toctreemax depth from 1 to 2 inendpoints.rstto allow for deeper navigation in the documentation.
- Updated the documentation theme from
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];This update primarily focuses on documentation improvements, enhancing the user experience when navigating and reading the project documentation.
v2.1.3
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];This update primarily reflects a version number change, ensuring the package is up-to-date with internal versioning practices.
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.