Skip to content

Releases: infobip/infobip-api-python-client

5.1.1

09 May 08:47
5f8eda6
Compare
Choose a tag to compare

[ 5.1.1 ] - 2025-05-09

Added

  • FileParameter class that represents a File passed to the API as a Parameter, allows using different backends for files.

Fixed

  • Adding trackingPixelPosition to Send fully featured email API method (#29). Thanks to @MunakataHidenori-CDM for reporting the issue.

5.1.0

21 Mar 14:03
41379d9
Compare
Choose a tag to compare

[ 5.1.0 ] - 2025-03-21

⚠️ IMPORTANT NOTE: This release contains 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.

Added

Changed

  • General

    • Unified message_response, message_response_details, message_group_error, sending_speed_limit, security_config_type, api_exception and speed_limit_time_unit.
  • Voice API

    • Updated calls_update_scenario_response.last_usage_date field type from datetimedate.
    • Updated calls_search_response.last_usage_date field type from datetimedate.
    • Removed priority and weight duplicated fields from call_routing_endpoint_destination.
    • Removed priority and weight duplicated fields from call_routing_url_destination.
    • Adjusted Sip Trunk models in location processing. Location is now implemented as a string to increase usability of the feature. Locations should be passed as strings to the Sip Trunk request model in all upcoming SDK versions.
      • Updated call_sip_trunk_response.location field type from Optional[CallsSipTrunkLocation]Optional[StrictStr].
    • Updated calls_transcription.language field type from CallsLanguageCallTranscriptionLanguage.
    • Updated calls_speech_capture_request.language field type from CallsLanguageCallTranscriptionLanguage.
    • Removed calls_voice – Certain fields removed due to API updates.
    • Fixed Number Masking UTC date-time deserialization in setup response model.
    • Fixed Number Masking content schema when uploading audio files.
    • Adjusted IVR models in script processing. Scenario scripting is now implemented as a raw string to increase usability of the feature. Scripts should be passed as strings to the IVR request model in all upcoming SDK versions.
      - Updated calls_update_scenario_response.script field type from Optional[Dict[str, Any]]Optional[StrictStr].
      - Updated calls_update_scenario_request.script field type from List[CallsScriptInner]StrictStr.
      - Updated calls_search_response.script and else fields type from Optional[Dict[str, Any]]Optional[StrictStr].
    • Updated calls_get_voices_response.voices field type from Optional[List[CallsVoice]]Optional[List[CallsSynthesisVoice]].
    • Removed call_routing_url_security_config_type – Unified into security_config_type enumeration class.
    • Removed call_url_security_config_type – Unified into security_config_type enumeration class.
  • Email API

    • Updated email_supression_info.created_date field type from StrictStrdatetime.
    • Removed email_single_message_status – Now integrated into the unified MessageStatus class.
    • Email suppression type enum models are now consolidated. Use email_suppression_type and email_add_suppression_type instead of email_add_delete_suppression_type and email_get_suppression_type.

Removed:

  • All the Calls IVR script related class and from now on all the scripts are processed as String:

    • calls_call_api
    • calls_capture
    • calls_collect
    • calls_dial
    • calls_dial_to_many
    • calls_dial_to_webrtc
    • calls_dial_to_conversations
    • calls_for_each
    • calls_go_to
    • calls_hangup
    • calls_if_then_else
    • calls_machine_detection
    • calls_pause
    • calls_play
    • calls_play_from_recording
    • calls_record
    • calls_repeat_until
    • calls_repeat_while
    • calls_say
    • calls_send_sms
    • calls_set_variable
    • calls_switch_case
    • calls_while_do
  • Removed DISCONNECTED option from call_state.

These changes align the SDK with the current API specification, ensuring consistency and reliability in future updates.

5.0.0

23 Dec 20:05
86ee2a9
Compare
Choose a tag to compare

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

4.0.0

13 Jun 15:10
Compare
Choose a tag to compare

[ 4.0.0 ] - 2024-06-13

🎉 NEW Major Version of infobip_api_client.

⚠ IMPORTANT NOTE: This release contains breaking changes!

In this release, we updated and modernized the infobip_api_client library. It is auto-generated and different from the previous version.

Added

3.0.3

04 Jul 11:46
Compare
Choose a tag to compare

Revamped logic when deserializing unknown field, now it will just skip that field instead of raising an error. Added test infrastructure.

3.0.1

15 Jul 11:07
Compare
Choose a tag to compare

In this release, we tweaked the setup.py in order to be able to parse README in PyPi release description.

3.0.0

15 Jul 11:05
Compare
Choose a tag to compare

[ 3.0.0 ] - 2021-07-14

🎉 NEW Major Version of infobip_api_client.

IMPORTANT NOTE: This release contains breaking changes!

In this release, we updated and modernized the infobip_api_client library. It is auto-generated and completely different from the previous version.

Added

Changed

  • Targeting minimum Python version 3.6
  • Models, structure, examples, etc. for Infobip SMS API
  • Library dependencies
  • README.md which contains necessary data and examples for quickstart as well as some other important information about versioning, licensing, etc.

Removed

Version 1.1.0

19 Feb 11:41
Compare
Choose a tag to compare

Added tracking parameter on SendAdvanced models. Added examples for sending messages with NLI.