From b02b2f57c41b9707a9483a38351b2bbd86222228 Mon Sep 17 00:00:00 2001 From: plivo-sdks Date: Thu, 18 Jan 2018 18:22:23 +0530 Subject: [PATCH] Bump version to 4.0.0 from beta. Update changelog --- CHANGELOG.md | 5 +++++ README.md | 4 ++-- plivoclient.go | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b85bd7d..2fee24e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [4.0.0](https://github.com/plivo/plivo-go/tree/v4.0.0) (2018-01-18) +- Major restructuring of the repo to bring all go files to repo's root +- Supports v2 signature validation +- A few fixes (#2 & #3) + ## [v4.0.0-beta.1](https://github.com/plivo/plivo-go/releases/tag/v4.0.0-beta.1) (2017-10-25) - The official SDK of Plivo - Supports all Go versions >= 1.0.x diff --git a/README.md b/README.md index 5ca5706..ce9d8d7 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can also install by cloning this repository into your `GOPATH`. ## Getting started ### Authentication -To make the API requests, you need create a `Client` and provide it with authentication credentials (which can be found at [https://manage.plivo.com/dashboard/](https://manage.plivo.com/dashboard/)). +To make the API requests, you need to create a `Client` and provide it with authentication credentials (which can be found at [https://manage.plivo.com/dashboard/](https://manage.plivo.com/dashboard/)). We recommend that you store your credentials in the `PLIVO_AUTH_ID` and the `PLIVO_AUTH_TOKEN` environment variables, so as to avoid the possibility of accidentally committing them to source control. If you do this, you can initialise the client with no arguments and it will automatically fetch them from the environment variables: @@ -129,4 +129,4 @@ This generates the following XML: Refer to the [Plivo API Reference](https://api-reference.plivo.com/latest/go/introduction/overview) for more examples. Also refer to the [guide to setting up dev environment](https://developers.plivo.com/getting-started/setting-up-dev-environment/) on [Plivo Developers Portal](https://developers.plivo.com) to setup a simple Go server & use it to test out your integration in under 5 minutes. ## Reporting issues -Report any feedback or problems with this beta version by [opening an issue on Github](https://github.com/plivo/plivo-go/issues). +Report any feedback or problems with this version by [opening an issue on Github](https://github.com/plivo/plivo-go/issues). diff --git a/plivoclient.go b/plivoclient.go index 10d7e48..e3a8a9b 100644 --- a/plivoclient.go +++ b/plivoclient.go @@ -17,7 +17,7 @@ import ( const baseUrlString = "https://api.plivo.com/" -const sdkVersion = "4.0.0-beta.1" +const sdkVersion = "4.0.0" type Client struct { httpClient *http.Client