uploadcare_client 7.0.0 uploadcare_client: ^7.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.
[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.Preserve
value. 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
if
inenum
sparse
methods
[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
AuthSchemeRegular
for the web due to theDate
header 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
useSmartResize
to 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
meta
dependency version to1.7.0
because of version conflict with theflutter_test
package inuploadcare_flutter
lib
[6.2.0] - Fri Sep 30 2022 #
- Added
ApiAddons
section. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/Add-Ons - Added
ApiFiles.copyToLocalStorage
method. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#operation/createLocalCopy - Added
ApiFiles.copyToRemoteStorage
method. See https://uploadcare.com/api-refs/rest-api/v0.7.0/#operation/createRemoteCopy - Added
include
parameter toApiFiles.file
&ApiFiles.list
methods - Added
FileInfoEntity.appData
field - Marked
ApiFiles.getApplicationData
&ApiFiles.getApplicationDataByAppName
as deprecated due the api changes - Marked
includeRecognitionInfo
forApiFiles.file
&ApiFiles.list
methods as deprecated due the api changes (useAWSRecognition
fromApiAddons
) - Marked
FileInfoEntity.recognitionInfo
as deprecated - Added addons usage to the example project
[6.1.1] - Wed July 27 2022 #
- Made
VideoStreamMetadata.bitrate
asnullable
- Update android project for example folder
[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
with `li