uploadcare_client 7.1.0
uploadcare_client: ^7.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.
7.1.0 Mon Mar 10 2025 #
- Added feature for unsafe content detection via addons. See https://uploadcare.com/docs/unsafe-content/
- Added the relevant API to
ApiAddons - Added the relevant entities
- Added field
AWSRekognitionModerationAddonResult? awsRecognitionModerationto the file'sAppData
- Added the relevant API to
- Replaced
dart:htmlwithpackage:webanddart:js_interopdue the deprecation - Updated dependencies
- Minor changes according to the analyzer
7.0.0 Thu Oct 26 2023 #
- Updated SDK constraints to add the ability to work with Dart 3
- Updated dependencies
- Added new values to the
WebhookEvent. See https://uploadcare.com/docs/webhooks - Added
ImageFormatTValue.Preservevalue. See https://uploadcare.com/docs/transformations/image/compression/#operation-format - Minor code styles changes according to the analyzer
- Minor typos fixes
- Use pattern matching instead of
ifinenumsparsemethods
6.3.2 Fri May 12 2023 #
- Added package topics to the pubspec
6.3.1 Thu May 11 2023 #
- README.md
6.3.0 Wed May 10 2023 #
- Fixed access with
AuthSchemeRegularfor the web due to theDateheader limitation. Used the same header as in an official javascript library; - Added
RasterizeTransformation. See https://uploadcare.com/docs/transformations/image/#svg - Added
BorderRadiusTransformation. See https://uploadcare.com/docs/transformations/image/resize-crop/#operation-border-radius - Added
RectOverlayTransformation. See https://uploadcare.com/docs/transformations/image/overlay/#overlay-solid - Added
TextOverlayTransformation. See https://uploadcare.com/docs/transformations/image/overlay/#overlay-text - Added
useSmartResizeto theImageResizeTransformation. See https://uploadcare.com/docs/transformations/image/resize-crop/#operation-smart-resize - Added
JsonpFileInfoTransformation. See https://uploadcare.com/docs/delivery/cdn/#operation-jsonp - Added
ChangeFilenameTransformation. See https://uploadcare.com/docs/delivery/cdn/#cdn-filename - Rewritten README.md
6.2.1 Fri Nov 11 2022 #
- Reduced
metadependency version to1.7.0because of version conflict with theflutter_testpackage inuploadcare_flutterlib
6.2.0 Fri Sep 30 2022 #
- Added
ApiAddonssection. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Add-Ons - Added
ApiFiles.copyToLocalStoragemethod. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#operation/createLocalCopy - Added
ApiFiles.copyToRemoteStoragemethod. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#operation/createRemoteCopy - Added
includeparameter toApiFiles.file&ApiFiles.listmethods - Added
FileInfoEntity.appDatafield - Marked
ApiFiles.getApplicationData&ApiFiles.getApplicationDataByAppNameas deprecated due the api changes - Marked
includeRecognitionInfoforApiFiles.file&ApiFiles.listmethods as deprecated due the api changes (useAWSRecognitionfromApiAddons) - Marked
FileInfoEntity.recognitionInfoas deprecated - Added addons usage to the example project
6.1.1 Wed July 27 2022 #
- Made
VideoStreamMetadata.bitrateasnullable - Update android project for example folder
6.1.0 Mon May 30 2022 #
- Added
file's application datamethods toApiFilessection. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Application-Data - Added
ApiProjectsection. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Project - Added
X-UC-User-Agentheader to requests
6.0.1 Thu May 26 2022 #
- Changed
VideoStreamMetadata.frameRatefrominttonum - 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.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
pedanticwith `li