Skip to content

Commit

Permalink
fix: prep user-agent for v2.0.0 release. Update ReadMe.
Browse files Browse the repository at this point in the history
  • Loading branch information
Turo Mikkonen committed Feb 17, 2021
1 parent 046c05c commit 0cd0ec8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ This PHP API client library provides integration with the UpCloud API allowing o

The base URL for all API operations is https://api.upcloud.com/ and require basic authentication using UpCloud username and password. We recommend [creating a subaccount](https://www.upcloud.com/support/server-tags-and-group-accounts/) dedicated for the API communication for security purposes. This allows you to restrict API access by servers, storages, and tags ensuring you will never accidentally affect critical systems.

NOTE: Please test all of your use cases thoroughly before actual production use. Using a separate UpCloud account for testing / developing the client is recommended.

## Table of content
* [Installation](#installation)
* [Usage](#usage)
Expand All @@ -28,7 +30,7 @@ To install the bindings via [Composer](http://getcomposer.org/), add the followi
```
{
"require": {
"upcloudltd/upcloud-php-api": "v1.0.3"
"upcloudltd/upcloud-php-api": "v2.0.0"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'upcloud-php-api/v1.0.3';
protected $userAgent = 'upcloud-php-api/v2.0.0';

/**
* Debug switch (default set to false).
Expand Down

0 comments on commit 0cd0ec8

Please sign in to comment.