uploadcare_client 6.1.0
uploadcare_client: ^6.1.0 copied to clipboard
A dart library for working with Uploadcare REST API. File uploads, media processing, and adaptive delivery for web and mobile.
[6.1.0] - Mon May 30 2022 #
- Added
file's application data
methods toApiFiles
section. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Application-Data - Added
ApiProject
section. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Project - Added
X-UC-User-Agent
header to requests
[6.0.1] - Thu May 26 2022 #
- Changed
VideoStreamMetadata.frameRate
fromint
tonum
- Added new fields to
FileInfoEntity.props
[6.0.0] - Thu May 26 2022 #
- Breaking changes with 5.x.x
- Increased dart SDK to the latest stable, not compatible with lower versions
- Made
ListEntity.nextUrl
andnextUrl.previousUrl
nullable according to the official documentation - Made
UrlUploadStatusEntity.status
non nullable - Changed error type from
Exception
toAssertionError
which can be thrown fromApiUpload.auto
- Changed
FileInfoEntity.imageInfo
fromMap
toImageInfo
- Renamed
SharedFile
toUCFile
- Removed
implements ImageTransformation
fromInlineTransformation
and moved it to the common folder - Refactored whole video encoding API due to the similar functionality with the document conversion API
- Removed
VideoEncodingJobStatusValue
useConvertJobStatusValue
instead - Removed
VideoEncodingJobEntity
useConvertJobEntity<VideoEncodingResultEntity>
instead - Removed
VideoEncodingConvertEntity
useConvertEntity<VideoEncodingResultEntity>
instead - Createt
ConvertMixin
that simplify creating of conversion API
- Removed
- Features
- Added
ApiWebhooks
section, respectively added as a field toUploadcareClient.webhooks
. See https://uploadcare.com/api-refs/rest-api/v0.6.0/#tag/Webhook - Added
ApiDocumentConverting
section, respectively added as a field toUploadcareClient.documentConverting
. See https://uploadcare.com/docs/transformations/document-conversion/ - Added
DocumentTransformation
as a base transformation for documents - Added
DocumentFormatTransformation
- Added metadata methods to the
ApiFiles
section. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/File-Metadata, respectively addedmetadata
field to theFileInfoEntity
- Added ability to save file metadata while uploading
- Added
checkURLDuplicates
andsaveURLDuplicates
parameters forApiUploads.fromUrl
method - Added
VideoInfo
to theFileInfoEntity
. Works sincev0.6
API - Added
ListEntityTotals
to theListEntity
- Added
FileInfoEntity.variations
field - Added
FileInfoEntity.isVideo
field - Added
ApiGroups.delete
method - Improved
uploadcare_flutter_example
(works on web/mobile/desktop)- Added buttons for work with
v0.6
andv0.7
API - Added
FileInfoScreen
with file metadata and the ability to download a file - Added
PreviewFileScreen
only for images at the moment
- Added buttons for work with
- Created uc server mock for tests
- Covered more API with tests
- Added
- Fixes
- Added
UrlUploadStatusValue.Waiting
status - Fixed
ApiUpload.fromUrl
when status hasUrlUploadStatusValue.Waiting
value - Fixed
ApiUpload.fromUrl
when the URL was previously downloaded, and no need to wait for the status again - Fixed
CdnPathBuilderMixin.uri
field when url has an initial pathname - Fixed
TransportHelperMixin
when the server returns a status code greater than 201 (till 204 is a valid status response) - Fixed
CancelUploadException.toString
method that returned the wrong value for an empty message
- Added
[5.0.1] - Fri Apr 1 2022 #
- Fixed analyzer warnings
[5.0.0] - Thu Mar 31 2022 #
- Breaking changes with 4.x.x
CropTransformation
changed constructor parameters according to the last transform API changes
- Added ability to crop image by ratio for the
CropTransformation
. See https://uploadcare.com/docs/transformations/image/resize-crop/#operation-crop-aspect-ratio - Added ability to crop image by objects for the
CropTransformation
. See https://uploadcare.com/docs/transformations/image/resize-crop/#operation-crop-tags - Added
StripMetaTransformation
- Added
QualityTValue.SmartRetina
value for theQualityTransformation
. - Added the following tarnsformation
PreviewTransformation, ResizeTransformation, CropTransformation, ScaleCropTransformation
to theGifToVideoTransformation
- Added
JsonFileInfoTransformation
- Added
AspectRatio
entity according to theCropTransformation
changes - Fixes.
[4.0.1] - Thu Dec 9 2021 #
- Remove unnecessary check
[4.0.0] - Thu Dec 9 2021 #
- Breaking changes with 3.x.x
OverlayCoordinates
was renamed toCoordinates
and moved to/lib/src/measures.dart
;- Overridden
toString
method forDimensions
andOffsets
to respect new propertyunits
in this types - Changed the second parameter for
CropTransformation
toCoordinates
fromOffsets
, removed the thirdcenter
parameter, now useCoordinates
with a predefined parameter instead. OverlayTransformation
doesn't work withMeasureUnits.Pixel
indimensions
- Added
BlurRegionTransformation
- Added
UnsharpMaskingTransformation
- Added
FilterTransformation
- Added
ZoomObjectTransformation
- Added color adjustment transformations
ColorBrightnessTransformation
ColorExposureTransformation
ColorGammaTransformation
ColorContrastTransformation
ColorSaturationTransformation
ColorVibranceTransformation
ColorWarmthTransformation
- Added
SrgbTransformation
- Added
InlineTransformation
- You can use overlay transformation to the source image, see https://uploadcare.com/docs/transformations/image/overlay/#overlay-self
- Made
Transformation
constructorconst
; - Added
MeasureUnits
enum to specify units inDimensions
andOffsets
types - Added units restrictions for transformations that works with
Dimensions
andOffsets
types - Added links to the official uploadcare site for each transformation
- Replaced
pedantic
withlints
for analysis
[3.0.2] - Sat Mar 6 2021 #
- Dropped 'dart:isolate' import for unsupported platforms
[3.0.1] - Sat Mar 6 2021 #
- Removed all unnecessary links to HTTP headers from
dart:io
[3.0.0] - Sat Mar 6 2021 #
- Breaking changes with 2.x.x
- Added
Null safety
, updated all dependencies - Package has been split into 2 libraries,
uploadcare_client
can be used in non-flutter environments, installuploadcare_flutter
to use with flutter
- Added
- Replaced
mime_type
package withmime
that supportsNull safety
- Added new entities
Dimensions, Offsets, FaceRect
to drop flutter dependency - Made the main repository as a monorepo
[2.1.1] - Mon Aug 3 2020 #
- Re export
GroupInfoEntity
andCdnEntity
from main library file (related to: #2)
[2.1.0] - Sat May 23 2020 #
- Breaking changes with 2.0.0
- Changed
ScaleCropTransformation
constructor parameters, accepts the requiredsize
and optional namedoffset
,type
,center
- Changed
- Added
ScaleCropTypeTValue
astype
,Offset
asoffset
,bool
ascenter
parameters to theScaleCropTransformation
class - Added
QualityTValue.Smart
value to theQualityTransformation
class, but you can use it only withImageTransformation
- Updated dependencies
[2.0.0] - Tue Dec 17 2019 #
- Breaking changes with 1.4.2
- The Flutter team made a breaking change with the ImageProvider in Flutter
1.10.15
.
- The Flutter team made a breaking change with the ImageProvider in Flutter
- Changed
UploadcareImageProvider.load
method arguments, related to the SDK changes forImageProvider
- Added ability to upload in
flutter_web
environment- Added
UCFile
abstraction, which works on bothmobile
&web
- Changed
res
argument type inApiSectionUpload.auto
method - Changed
file
argument type inApiSectionUpload.base
&ApiSectionUpload.multipart
methods
- Added
- Added ability to upload files in example project in
flutter_web
environment - Removed deprecated
detectFaces
method fromApiFiles
;
[1.4.2] - Tue Dec 10 2019 #
- Added flutter SDK version constraint
- Described limitations in README
[1.4.1] - Mon Dec 9 2019 #
- Updated dependencies to the latest version
[1.4.0] - Mon Nov 4 2019 #
- Improved
auto
method fromApiUpload
. Now you can pass file string to this method and client try to parse him. - Added ability to run upload process in separate isolate
- Added
maxIsolatePoolSize
options toClientOptions
which control concurrent isolates amount
[1.3.0] - Fri Nov 1 2019 #
- Added
FacesEntity
which holds Face Recognition data of an image related to the original size - Added
getFacesEntity
method toApiFiles
which returnsFacesEntity
- Marked
detectFaces
method todeprecated
. UsegetFacesEntity
instead. - Added face recognition screen to the example project
[1.2.2] - Wed Oct 30 2019 #
- Fixed case when
content_type
value for upload is null with filenames in uppercase (related tomime_type
package).
[1.2.1] - Tue Oct 29 2019 #
- Refactored
ConcurrentRunner
class
[1.2.0] - Mon Oct 28 2019 #
- Added
detectFaces
method forApiFiles
section - Added
OverlayTransformation
applied to an image - Added
GifToVideoTransformation
applied to gif - Added
includeRecognitionInfo
parameter toApiFiles
section forfile
&list
methods.- Note: this feature will be available only since
v0.6
version of REST API
- Note: this feature will be available only since
- Covered all transformation with test
- Improved documentation
[1.1.0] - Fri Oct 25 2019 #
- Added ability to cancel file upload with
CancelToken
- Optimized chunked upload
- Changed header names to constants from
dart:io HttpHeaders
- Fixed progress data with multipart upload
- Refactored example project
[1.0.2] - Mon Oct 21 2019 #
- Minor grammatical fixes
[1.0.1] - Tue Oct 15 2019 #
- Made
privateKey
optional
[1.0.0] - Thu Sep 26 2019 #
- Moved to stable version
[0.0.1] - Thu Sep 26 2019 #
- Initial release