- Added Secret Management API implementation.
- Fixed missed Credentials default constructor.
- Added Redact API implementation.
- Fixed missed NumberInsight instanciation (#90)
- [BREAKING] Deprioritize support for configuration via configuration files.
- [BREAKING] ApplicationKey must now be the actual private key and not a path to the key.
- Instance-based methods are available to use.
- Support .NET Standard 2.0.
- Set Json serialization DefaultValueHandling to ignore (Voice API defaults no longer required to be explicitly sent)
- [BREAKING]
Account.GetBalance
returns (instead of adecimal
) aBalance
object that includes your account balance and other properties. - [BREAKING]
NumberInsight
calls, request classes, and response classes have changed slightly. The underlying calls to Nexmo's API have been updated as well. Thanks to @RabebOthmani for the PR!- CHANGE: NumberInsightBasicResponse RequestBasic(NumberInsightBasicRequest, ...) => NumberInsightBasicResponse RequestBasic(NumberInsightRequest, ...)
- CHANGE: NumberInsightStandardResponse RequestStandard(NumberInsightBasicRequest, ...) => NumberInsightStandardResponse RequestStandard(NumberInsightRequest, ...)
- ADD: NumberInsightAdvancedResponse RequestAdvanced(NumberInsightRequest, ...)
- CHANGE: NumberInsightRequestResponse Request(NumberInsightRequest, ...) => NumberInsightAsyncRequestResponse RequestAsync(NumberInsightAsyncRequest, ...)
- API and documentation refresh: Added missing JSON properties, updated summaries from the official docs.
- Support additional call endpoint types.
- Introduced
Nexmo.Api.EnsureSuccessStatusCode
configuration option. You may instruct the library to throw an exception if a request results in an unsuccessful HTTP status code. - Address
ShortCode.RequestAlert
request bug. - Expose the configuration
ILoggerFactory
for use with external logging implementations.
- Updated jose-jwt to 2.3.0 which is reported to address key loading issues.
- Fixed NuGet dependencies; testing shows they are now being correctly included when performing
install-package
.
- Promoted to release, no changes from rc2.
- Allow PKCS#8 formatted private keys; auth key parser logging.
- Expose internal API request methods to allow custom API calls from library consumers as some new Nexmo API endpoints may not be immediately supported.
- Allow override of request credentials per API call.
- Optional configuration and request logging.
- Support signed requests via security key.
- Optional API request rate limiting.
- Look for
appsettings.json
(netcore webapp convention) - Ensure XML config parser only looks for keyvalues inside
<appSettings>
and<connectionStrings>
elements. - Gracefully ignore elements with key attribute but not value attribute.
- Look for
<executing process>.exe.config
file for XML configuration.
- User-Agent reporting. You may also append an application-specific ID via settings.json.
- [BREAKING] Support web.config XML. This has changed the settings.json structure slightly. Please check the README for details.
- Dependency marking for netstandard1.6
- Fix JWT generation (key import fail) on OSX/Linux
- NumberInsight basic + standard support
- NumberVerify control call
- JWT token generation
- Application API support
- Application-based call API support
- .NET Standard 1.6 support
- [BREAKING] Moved configuration from app.config to settings.json
- [BREAKING] Nexmo.Api.Voice static class has been deprecated - you must move to the new Voice calls inside the new Nexmo.Api.Voice namespace. See the Nexmo docs for details.
JWT notes:
- When registering a new application, make sure you save the private key. This library does not (currently) take care of this for you.
- Make sure your saved private key is ASCII (not UTF-8, no BOM) - http://stackoverflow.com/questions/1068650/using-awk-to-remove-the-byte-order-mark
- Initial release with nuget package