Skip to content

Commit 3750f2a

Browse files
committed
Bump version
1 parent 7c07eae commit 3750f2a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based now on [Keep a
55
Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to
66
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [4.2.1]
9+
- Introduce Rector to fix implicitly nullable parameter warnings.
10+
- Thanks to @kayw-geek for the contribution.
11+
812
## [4.2.0]
913
- Added [multi-page document conversion](https://uploadcare.com/docs/transformations/document-conversion/#multipage-conversion).
1014
- Added [Unsafe content detection](https://uploadcare.com/docs/unsafe-content/).
@@ -42,7 +46,7 @@ Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to
4246
### Removed
4347
- PHP 7.1 support (now minimal version is 7.4, PHP 8.0 is also supported)
4448
- `FileInfoInterface::getImageInfo()`, `FileInfoInterface::getVideoInfo()`, `FileInfoInterface::getRekognitionInfo()` — see `FileInfoInterface::getContentInfo()`
45-
### Added
49+
### Added
4650
- Support for [REST API 0.7](https://uploadcare.com/api-refs/rest-api/v0.7.0/)
4751
- `FileInfoInterface::getContentInfo()`: returns `ContentInfoInterface` with `getMime()` (information about MimeType), `getImage` (`ImageInfoInterface` in case of an image) and `getVideo` (`VideoInfoInterface` in case of a video) methods;
4852
- `FileInfoInterface::getMetadata()` method returns file associated metadata array-accessible object;
@@ -105,7 +109,7 @@ Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to
105109
### Fix
106110
- Added support for guzzlehttp/guzzle:^7.
107111

108-
## [3.0.0]
112+
## [3.0.0]
109113
### BREAKING CHANGES
110114
- You must update PHP to 5.6 or a newer version.
111115
- This **completely new** version **is not** backward compatibile with the

src/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
final class Configuration implements ConfigurationInterface
1818
{
19-
public const LIBRARY_VERSION = 'v4.2.0';
19+
public const LIBRARY_VERSION = 'v4.2.1';
2020
public const API_VERSION = '0.7';
2121
public const API_BASE_URL = 'api.uploadcare.com';
2222
public const USER_AGENT_TEMPLATE = 'PHPUploadcare/{lib-version}/{publicKey} (PHP/{lang-version})';

0 commit comments

Comments
 (0)