Skip to content

Commit

Permalink
docs: update v7.0.0 migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr00d committed Mar 18, 2024
1 parent e701f21 commit e12a11b
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions MIGRATION_v7.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": "..."
}
}
```
Expand All @@ -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": "..."
}
}
```
Expand Down

0 comments on commit e12a11b

Please sign in to comment.