diff --git a/MIGRATION_v7.0.0.md b/MIGRATION_v7.0.0.md index 4b9a51e42..86f028b20 100644 --- a/MIGRATION_v7.0.0.md +++ b/MIGRATION_v7.0.0.md @@ -148,3 +148,16 @@ is actually nullable. As defined in the [specs](https://developer.vonage.com/en/voice/voice-api/ncco-reference#conversation), the `Conversation` action doesn't have an `EventUrl` or an `EventMethod`. + +## Make `From` mandatory in VerifyV2 WhatsApp workflow + +The `From` property used to be optional - it is now mandatory. + +```csharp +// Using v6.X.X +var workflow = WhatsAppWorkflow.Parse(ValidToNumber); +var workflow = WhatsAppWorkflow.Parse(ValidToNumber, ValidFromNumber); + +// Using v7.X.X and above +var workflow = WhatsAppWorkflow.Parse(ValidToNumber, ValidFromNumber); +``` diff --git a/README.md b/README.md index 99ed9f43a..8dd0fcdb1 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ If you would prefer to run directly from source: #### Upgrading from v6.x.x to v7.0.0 -Changes in version 7.0.0 +Please see the dedicated [migration guide](MIGRATION_v7.0.0.md). * Everything flagged with an `Obsolete` annotation will be removed * Synchronous methods - [Pull Request](https://github.com/Vonage/vonage-dotnet-sdk/pull/549): So far, a lot of @@ -104,6 +104,8 @@ Changes in version 7.0.0 * Make StartTime nullable on Answered Webhook - [link](https://github.com/Vonage/vonage-dotnet-sdk/issues/569). * Remove `EventUrl` and `EventMethod` from `ConversationAction` to comply with the [documentation](https://developer.vonage.com/en/voice/voice-api/ncco-reference#conversation). +* `From` is now mandatory in VerifyV2 WhatsApp + workflow - [Pull Request](https://github.com/Vonage/vonage-dotnet-sdk/pull/572) #### Upgrading from v5.x.x to v6.0.0