From e12a11b8567fba81e329aea1834f50bceac44d7d Mon Sep 17 00:00:00 2001 From: tr00d Date: Mon, 18 Mar 2024 14:39:12 +0100 Subject: [PATCH] docs: update v7.0.0 migration guide --- MIGRATION_v7.0.0.md | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/MIGRATION_v7.0.0.md b/MIGRATION_v7.0.0.md index db9d900cf..417ced730 100644 --- a/MIGRATION_v7.0.0.md +++ b/MIGRATION_v7.0.0.md @@ -156,12 +156,35 @@ Creating a specific structure, different from other webhooks, required to break In order to make the settings more explicit and reduce chances of conflict with other libraries, the base key has been updated. +Also, "Vonage." has been removed from every key to de-clutter the section. Finally, a few keys have been completely +renamed: + +| Old Key | New Key | +|------------------------------|--------------| +| Vonage.Vonage_key | Api.Key | +| Vonage.Vonage_secret | Api.Secret | +| Vonage.Vonage.Url.Api.Europe | Url.Api.EMEA | +| N/A | Url.Api.AMER | +| N/A | Url.Api.APAC | + Using v6.X.X ```json { "appSettings": { - "Vonage.UserAgent": "myApp/1.0" + "Vonage.UserAgent": "...", + "Vonage.Url.Rest": "...", + "Vonage.Url.Api": "...", + "Vonage.Url.Api.Europe": "...", + "Vonage.Url.Api.Video": "...", + "Vonage.Vonage_key": "...", + "Vonage.Vonage_secret": "...", + "Vonage.Application.Id": "...", + "Vonage.Application.Key": "...", + "Vonage.Security_secret": "...", + "Vonage.Signing_method": "...", + "Vonage.RequestsPerSecond": "...", + "Vonage.RequestTimeout": "..." } } ``` @@ -171,7 +194,21 @@ Using v7.X.X and above ```json { "vonage": { - "Vonage.UserAgent": "myApp/1.0" + "UserAgent": "...", + "Url.Rest": "...", + "Url.Api": "...", + "Url.Api.EMEA": "...", + "Url.Api.AMER": "...", + "Url.Api.APAC": "...", + "Url.Api.Video": "...", + "Api.Key": "...", + "Api.Secret": "...", + "Application.Id": "...", + "Application.Key": "...", + "Security_secret": "...", + "Signing_method": "...", + "RequestsPerSecond": "...", + "RequestTimeout": "..." } } ```