3.0.0
[ 3.0.0 ] - 2024-08-01
🎉 NEW Major Version of Infobip.Api.Client.
All changes, including breaking changes, are addressed and explained in the list below.
If you find out that something was not addressed properly, please submit an issue.
Added
- Most recent Infobip SMS API feature set.
- Most recent Infobip Email API feature set.
- Most recent Infobip 2FA API feature set.
- FileParameter class that represents a File passed to the API as a Parameter, allows using different backends for files.
- Added dependency JsonSubTypes 2.0.1
Changed
- Some products contain a few breaking changes as some API endpoints have changed since last major release. If you have issues when migrating the existing implementation, please check the official API documentation or submit an issue.
SendSmsApi,ScheduledSmsApiandReceiveSmsApiclasses have been unified into SmsApi class.SendEmailApi,ScheduledEmailApiandEmailValidationApiclasses have been unified into EmailApi class.EmailStatusandSmsStatushave been unified into MessageStatus class.EmailPriceandSmsPricehave been unified into MessagePrice class.EmailReportErrorandSmsErrorhave been unified into MessageError class.- API key authentication enforced
- DeserializeAsync method in ApiClient class is no longer publicly accessible
- Newtonsoft.Json updated to version 13.0.3
Removed
- Basic, IBSSO Token Header and client credentials grant type OAuth2 authentication methods. Use API Key Header authentication method instead. Example of its usage can be found in the README.
GlobalConfigurationutility class. Having static default configuration is error-prone and provides an unnecessary overhead. An ApiClient instance should always be injected in the given API class.- Unused model classes.