Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0.0 release #24

Merged
merged 5 commits into from
Dec 23, 2024
Merged

5.0.0 release #24

merged 5 commits into from
Dec 23, 2024

Conversation

ib-tjuhasz
Copy link
Contributor

🎉 NEW Major Version of infobip-api-python-client.

⚠️ IMPORTANT NOTE: This release contains compile time breaking changes.
All changes, including breaking changes, are addressed and explained in the list bellow.
If you find out that something was not addressed properly, please submit an issue.

From this point onward Python 3.7 is no longer supported. The minimum supported version is Python 3.8 due to dependency updates.

Added

  • Most recent feature set for:
    • Infobip SMS API
      • Introduced /sms/3/messages (V3) replacing the /sms/2/text/advanced (V2) and /sms/2/binary/advanced (V2) endpoints.
      • Introduced /sms/3/reports (V3) replacing /sms/1/reports (V1) endpoint.
      • Introduced /sms/3/logs (V3) replacing /sms/1/logs (V1) endpoint.
    • Infobip 2FA
    • Infobip Voice API
  • Support for:
  • calls.md which contains examples and explanations for the Calls API.
  • build.yml workflow to ensure project build and test integrity.
  • snyk.yml workflow, which serves the purpose of identifying and addressing dependency vulnerabilities in the project.
  • sonar.yml workflow to analyze the source code, enhancing code quality and maintainability.

Changed

  • Fixes and changes
    • Across all voice models, the 'applicationId' field has been removed and replaced with the platform field, as it better reflects the state of the endpoint.
    • Introduced the new sms_message class to replace sms_textual_message and sms_binary_message, providing a unified structure for SMS messaging.
    • Added a content field within sms_message to define the message content. This supports both textual and binary messages, which can be created using sms_text_content or sms_binary_content, respectively.
    • Unified request classes by replacing sms_advaned_textual_request and sms_advaned_binary_request with the new sms_request class.
    • Consolidated sending functions: use send_sms_messages instead of the send_sms_message and send_binary_sms_message functions.
    • Removed delivery time window configuration classes (sms_delivery_time_window, call_routing_allowed_time_window, calls_delivery_time_window, calls_time_window) in favor of a unified class: delivery_time_window
    • Removed delivery time configuration classes (sms_delivery_time_to, sms_delivery_time_from, calls_time_windows_point, call_routing_allowed_time_from, call_routing_allowed_time_to) in favor of a unified class: delivery_time
    • Removed URL options configuration class (sms_url_options) in favor of a unified class: url_options
    • Removed TurkeyIys options configuration class (sms_turkey_iys_options) in favor of a unified class: turkey_iys_options
    • Removed delivery day enumeration classes (sms_delivery_day, calls_delivery_day, call_routing_allowed_day) in favor of a unified class: delivery_day
    • Removed speed limit time unit enumeration class (sms_speed_limit_time_unit) in favor of a unified class: speed_limit_time_unit
    • Renamed class from calls_public_conference_recording to calls_conference_recording.
    • Renamed class from calls_pegasus_provider to calls_provider.
    • Renamed class from calls_pegasus_provider_trunk_type to calls_provider_trunk_type.

Security

  • Bumped werkzeug dependency from 2.1.2 to 3.0.3.
  • Bumped pytest-httpserver dependency from 1.0.4 to 1.0.8.
  • Bumped setuptools dependency to 72.1.0.

Removed

  • wheel dependency due to an upgrade of setuptools to version 72.0.1. As of setuptools version 70.1, it is no longer necessary to have wheel installed for functionality.

@ib-fsrnec
Copy link

We'll address Sonar analysis in later phases. The most of the reported issues are related to the fact that the majority of the code is fully auto-generated from the OpenAPI specification which results in duplicated segments. We'll tweak the policies and make sure to handle all the possible readability issues.

@ib-tjuhasz ib-tjuhasz merged commit a6803de into master Dec 23, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants