From 2ab664ff2ff69af92592f514b7bbe27a73129ae7 Mon Sep 17 00:00:00 2001 From: Roman Sedykh Date: Thu, 8 Jun 2023 12:41:55 -0500 Subject: [PATCH] Update getMetadata (#205) * Update CHANGELOG.md * Update Configuration.php --- CHANGELOG.md | 4 ++++ src/Configuration.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57711e0..45c1c3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based now on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [4.1.1] +- Retrieve the Metadata without additional requests when using `getMetadata`. +- You can still get the fresh metadata for the file by calling `getMetadata` method from the `MetadataApiInterface`. + ## [4.1.0] ### Breaking changes - `Uploadcare\Interfaces\UploaderInterface::checkStatus(string $token)` now returns `Uploadcare\Interfaces\File\FileInfoInterface` diff --git a/src/Configuration.php b/src/Configuration.php index 82593af..4faf127 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -16,7 +16,7 @@ */ final class Configuration implements ConfigurationInterface { - public const LIBRARY_VERSION = 'v4.1.0'; + public const LIBRARY_VERSION = 'v4.1.1'; public const API_VERSION = '0.7'; public const API_BASE_URL = 'api.uploadcare.com'; public const USER_AGENT_TEMPLATE = 'PHPUploadcare/{lib-version}/{publicKey} (PHP/{lang-version})';