Skip to content

Releases: kavenegar/kavenegar-python

v1.2.0

05 Feb 12:41
8174f6e
Compare
Choose a tag to compare

Thanks to @Heshmatkhah, This update introduces important fixes and enhancements to improve the stability and usability of Kavenegar Python SDK. Below you can find the list of changes:

Security Improvements

  • HTTP Error Handling Enhancement: We've made improvements to our error handling mechanisms. Now, in the event of an HTTP error due to network issues, the API key will no longer be sent back to the client along with the error message. This change is aimed at enhancing the security and privacy of our users.

Feature Updates

  • Proxy Server Support: We've added functionality to support proxy servers. This feature allows users to configure their network settings to route API requests through a proxy.

Performance and Optimization

  • Optimized String Concatenation: We've replaced the use of the + operator for string concatenation with the more efficient .format() method. This optimization is part of our commitment to enhancing the performance and reliability of our package.

Bug Fixes

  • APIException Encoding Update: Following the recent update to our commit regarding the unnecessary encoding to 'utf-8' in APIException This fix addresses the issues related to encoding and ensures that errors are handled smoothly.
  • SMS Sending Exception Handling: We've identified and resolved an issue where users experienced unexpected exceptions while sending SMS. This was due to a misinterpretation of the API response. The error handling has been improved to provide more accurate feedback to the users.
  • Fix for sendarray Parameter Handling: Addressed an issue where dictionary data passed to requests was not properly formatted for the server, particularly when sending arrays (e.g., sender numbers). We've introduced a _parse_params_to_json function to ensure data is correctly formatted as JSON, matching server expectations and standards. This change ensures arrays are properly recognized and processed by the server, eliminating inconsistencies in data handling.

Documentation and Support

We encourage our users to report any issues or request new features through our GitHub repository or support channels. Your feedback is invaluable in helping us improve.

v1.1.2

11 Nov 06:55
b73074f
Compare
Choose a tag to compare
  • force to use ssl