uploadcare_client 6.0.0
uploadcare_client: ^6.0.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.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.nextUrlandnextUrl.previousUrlnullable according to the official documentation - Made
UrlUploadStatusEntity.statusnon nullable - Changed error type from
ExceptiontoAssertionErrorwhich can be thrown fromApiUpload.auto - Changed
FileInfoEntity.imageInfofromMaptoImageInfo - Renamed
SharedFiletoUCFile - Removed
implements ImageTransformationfromInlineTransformationand moved it to the common folder - Refactored whole video encoding API due to the similar functionality with the document conversion API
- Removed
VideoEncodingJobStatusValueuseConvertJobStatusValueinstead - Removed
VideoEncodingJobEntityuseConvertJobEntity<VideoEncodingResultEntity>instead - Removed
VideoEncodingConvertEntityuseConvertEntity<VideoEncodingResultEntity>instead - Createt
ConvertMixinthat simplify creating of conversion API
- Removed
- Features
- Added
ApiWebhookssection, respectively added as a field toUploadcareClient.webhooks. See https://uploadcare.com/api-refs/rest-api/v0.6.0/#tag/Webhook - Added
ApiDocumentConvertingsection, respectively added as a field toUploadcareClient.documentConverting. See https://uploadcare.com/docs/transformations/document-conversion/ - Added
DocumentTransformationas a base transformation for documents - Added
DocumentFormatTransformation - Added metadata methods to the
ApiFilessection. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/File-Metadata, respectively addedmetadatafield to theFileInfoEntity - Added ability to save file metadata while uploading
- Added
checkURLDuplicatesandsaveURLDuplicatesparameters forApiUploads.fromUrlmethod - Added
VideoInfoto theFileInfoEntity. Works sincev0.6API - Added
ListEntityTotalsto theListEntity - Added
FileInfoEntity.variationsfield - Added
FileInfoEntity.isVideofield - Added
ApiGroups.deletemethod - Improved
uploadcare_flutter_example(works on web/mobile/desktop)- Added buttons for work with
v0.6andv0.7API - Added
FileInfoScreenwith file metadata and the ability to download a file - Added
PreviewFileScreenonly 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.Waitingstatus - Fixed
ApiUpload.fromUrlwhen status hasUrlUploadStatusValue.Waitingvalue - Fixed
ApiUpload.fromUrlwhen the URL was previously downloaded, and no need to wait for the status again - Fixed
CdnPathBuilderMixin.urifield when url has an initial pathname - Fixed
TransportHelperMixinwhen the server returns a status code greater than 201 (till 204 is a valid status response) - Fixed
CancelUploadException.toStringmethod 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
CropTransformationchanged 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.SmartRetinavalue for theQualityTransformation. - Added the following tarnsformation
PreviewTransformation, ResizeTransformation, CropTransformation, ScaleCropTransformationto theGifToVideoTransformation - Added
JsonFileInfoTransformation - Added
AspectRatioentity according to theCropTransformationchanges - Fixes.
4.0.1 Thu Dec 9 2021 #
- Remove unnecessary check
4.0.0 Thu Dec 9 2021 #
- Breaking changes with 3.x.x
OverlayCoordinateswas renamed toCoordinatesand moved to/lib/src/measures.dart;- Overridden
toStringmethod forDimensionsandOffsetsto respect new propertyunitsin this types - Changed the second parameter for
CropTransformationtoCoordinatesfromOffsets, removed the thirdcenterparameter, now useCoordinateswith a predefined parameter instead. OverlayTransformationdoesn't work withMeasureUnits.Pixelindimensions
- Added
BlurRegionTransformation - Added
UnsharpMaskingTransformation - Added
FilterTransformation - Added
ZoomObjectTransformation - Added color adjustment transformations
ColorBrightnessTransformationColorExposureTransformationColorGammaTransformationColorContrastTransformationColorSaturationTransformationColorVibranceTransformationColorWarmthTransformation
- Added
SrgbTransformation - Added
InlineTransformation - You can use overlay transformation to the source image, see https://uploadcare.com/docs/transformations/image/overlay/#overlay-self
- Made
Transformationconstructorconst; - Added
MeasureUnitsenum to specify units inDimensionsandOffsetstypes - Added units restrictions for transformations that works with
DimensionsandOffsetstypes - Added links to the official uploadcare site for each transformation
- Replaced
pedanticwithlintsfor 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_clientcan be used in non-flutter environments, installuploadcare_flutterto use with flutter
- Added
- Replaced
mime_typepackage withmimethat supportsNull safety - Added new entities
Dimensions, Offsets, FaceRectto drop flutter dependency - Made the main repository as a monorepo
2.1.1 Mon Aug 3 2020 #
- Re export
GroupInfoEntityandCdnEntityfrom main library file (related to: #2)
2.1.0 Sat May 23 2020 #
- Breaking changes with 2.0.0
- Changed
ScaleCropTransformationconstructor parameters, accepts the requiredsizeand optional namedoffset,type,center
- Changed
- Added
ScaleCropTypeTValueastype,Offsetasoffset,boolascenterparameters to theScaleCropTransformationclass - Added
QualityTValue.Smartvalue to theQualityTransformationclass, 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.loadmethod arguments, related to the SDK changes forImageProvider - Added ability to upload in
flutter_webenvironment- Added
UCFileabstraction, which works on bothmobile&web - Changed
resargument type inApiSectionUpload.automethod - Changed
fileargument type inApiSectionUpload.base&ApiSectionUpload.multipartmethods
- Added
- Added ability to upload files in example project in
flutter_webenvironment - Removed deprecated
detectFacesmethod 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
automethod 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
maxIsolatePoolSizeoptions toClientOptionswhich control concurrent isolates amount
1.3.0 Fri Nov 1 2019 #
- Added
FacesEntitywhich holds Face Recognition data of an image related to the original size - Added
getFacesEntitymethod toApiFileswhich returnsFacesEntity - Marked
detectFacesmethod todeprecated. UsegetFacesEntityinstead. - Added face recognition screen to the example project
1.2.2 Wed Oct 30 2019 #
- Fixed case when
content_typevalue for upload is null with filenames in uppercase (related tomime_typepackage).
1.2.1 Tue Oct 29 2019 #
- Refactored
ConcurrentRunnerclass
1.2.0 Mon Oct 28 2019 #
- Added
detectFacesmethod forApiFilessection - Added
OverlayTransformationapplied to an image - Added
GifToVideoTransformationapplied to gif - Added
includeRecognitionInfoparameter toApiFilessection forfile&listmethods.- Note: this feature will be available only since
v0.6version 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
privateKeyoptional
1.0.0 Thu Sep 26 2019 #
- Moved to stable version
0.0.1 Thu Sep 26 2019 #
- Initial release