From 2d68d42346716251cad4b9e320e452bb3369606c Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Mon, 2 Apr 2018 19:10:44 -0400 Subject: [PATCH] Prepping v2.0.3 --- CHANGELOG.md | 5 +++++ README.md | 2 +- src/Vimeo/Vimeo.php | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef63461..8fdab7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [2.0.3] - 2018-04-02 +### Changed +- Uploads no longer make a pre-emptive request to check the user's quota. This check is done automatically when making a POST to `/me/videos`. ([#163](https://github.com/vimeo/vimeo.php/pull/163)) + ## [2.0.2] - 2018-03-20 ### Added - Support for passing API requests through a custom proxy. ([#161](https://github.com/vimeo/vimeo.php/pull/161), [@MichalMMac](https://github.com/MichalMMac)) @@ -75,6 +79,7 @@ ### Added - This is the Vimeo library for version 3 of the Vimeo API. +[2.0.3]: https://github.com/vimeo/vimeo.php/compare/2.0.2...2.0.3 [2.0.2]: https://github.com/vimeo/vimeo.php/compare/2.0.1...2.0.2 [2.0.1]: https://github.com/vimeo/vimeo.php/compare/2.0.0...2.0.1 [2.0.0]: https://github.com/vimeo/vimeo.php/compare/1.3.0...2.0.0 diff --git a/README.md b/README.md index e45c79f..83bec1c 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ composer require vimeo/vimeo-api ### Manual -1. Download the latest release: [v2.0.1](https://github.com/vimeo/vimeo.php/archive/2.0.1.zip). +1. Download the latest release: [v2.0.3](https://github.com/vimeo/vimeo.php/archive/2.0.3.zip). 2. Include the autoloader `require("/path/to/vimeo.php/autoload.php");`. 3. Use the library `$lib = new \Vimeo\Vimeo($client_id, $client_secret)`. diff --git a/src/Vimeo/Vimeo.php b/src/Vimeo/Vimeo.php index f9014d4..0bf7d37 100644 --- a/src/Vimeo/Vimeo.php +++ b/src/Vimeo/Vimeo.php @@ -32,7 +32,7 @@ class Vimeo const CLIENT_CREDENTIALS_TOKEN_ENDPOINT = '/oauth/authorize/client'; const VERSIONS_ENDPOINT = '/versions'; const VERSION_STRING = 'application/vnd.vimeo.*+json; version=3.4'; - const USER_AGENT = 'vimeo.php 2.0.1; (http://developer.vimeo.com/api/docs)'; + const USER_AGENT = 'vimeo.php 2.0.3; (http://developer.vimeo.com/api/docs)'; const CERTIFICATE_PATH = '/certificates/vimeo-api.pem'; protected $_curl_opts = array();