Skip to content

Releases: saleweaver/python-amazon-sp-api

v1.9.10

22 Dec 11:17
Compare
Choose a tag to compare

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

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

v1.9.9

22 Dec 11:13
Compare
Choose a tag to compare

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

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

v1.9.8

20 Dec 19:54
Compare
Choose a tag to compare

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

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.5

16 Dec 21:01
Compare
Choose a tag to compare

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

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

16 Dec 17:54
Compare
Choose a tag to compare

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

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

16 Dec 17:49
Compare
Choose a tag to compare

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

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

16 Dec 17:24
Compare
Choose a tag to compare

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

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

14 Dec 18:12
Compare
Choose a tag to compare

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

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

14 Dec 18:09
Compare
Choose a tag to compare

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

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

v1.8.21

14 Dec 16:16
cc38bad
Compare
Choose a tag to compare

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

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