Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[1.8.1] - 2025-05-12
Changed
- Updated samples to use ServiceConnectorFactory API
[1.8.0] - 2025-04-25
Added
- Added
IAssetProject.DeleteUnfrozenAssetVersionAsync.
Fixed
- Improved WebGL support.
[1.7.0] - 2025-03-27
Added
- Added
TransformationStatus.Queued. - Added
DatasetProperties.TypeandDatasetProperties.WorkflowName. - Added
DatasetSearchCriteria.TypeandDatasetSearchCriteria.WorkflowName.
Changed
- Exposed new values for
AssetType.
Fixed
- Fixed file caching when configuring the dataset to
CacheFileList.
[1.6.0] - 2025-02-03
Changed
- Updated samples.
Fixed
- Addressed issue where service error is thrown for some search ranges.
[1.6.0-exp.2] - 2025-01-21
Added
- Added property structs and
GetPropertiesAsync(CancellationToken)method toIFieldDefinition,ILabel,IAssetProject,IAssetCollection,IAsset,IDataset,ITransformation, andIFile. - Added cache configuration structs,
CacheConfigurationproperty, andWithCacheConfigurationAsyncmethod toIFieldDefinition,ILabel,IAssetProject,IAssetCollection,IAsset,IDataset,ITransformation, andIFile. - Added struct
AssetRepositoryCacheConfigurationand propertyIAssetRepository.CacheConfiguration. - Added
GroupAndCountAssetsQueryBuilder.ExecuteAsync(Groupable, CancellationToken)andGroupAndCountAssetsQueryBuilder.ExecuteAsync(IEnumerable<Groupable>, CancellationToken). - Added
SystemMetadatasearch criteria toAssetSearchCriteria,DatasetSearchCriteria, andFileSearchCriteria. - Added
FileSearchCriteria.Sizewhich supportsNumericRangePredicate. - Added
NumericRangeto build numeric range predicates. - Added
WithTextValue(string, StringPredicate),WithNumberValue(string, NumericRangePredicate), andWithTimestampValue(string, DateTime, bool, DateTime, bool)toMetadataSearchCriteria. - Added
WithValue(string, StringPredicate)toStringSearchCriteria.
Changed
- Updated internal api.
- Revert rate limitation to normal for endpoints related to file uploading to prevent error when bulk uploading file to the same asset.
- Added additional fields in
GroupableField.
Deprecated
- Deprecated properties in
IFieldDefinition; use properties inFieldDefinitionPropertiesinstead. - Deprecated properties in
ILabel; use properties inLabelPropertiesinstead. - Deprecated properties in
IAssetProject; use properties inAssetProjectPropertiesinstead. - Deprecated properties in
IAssetCollection; use properties inAssetCollectionPropertiesinstead. - Deprecated properties in
IAsset; use properties inAssetPropertiesinstead. - Deprecated properties in
IDataset; use properties inDatasetPropertiesinstead. - Deprecated properties in
ITransformation; use properties inTransformationPropertiesinstead. - Deprecated properties in
IFile; use properties inFilePropertiesinstead. - Deprecated
IAsset.GetLinkedProjectsAsync; useAssetProperties.LinkedProjectsin conjunction withIAssetRepository.GetAssetProjectAsyncinstead. - Deprecated
IFile.GetLinkedDatasetsAsync; useFileProperties.LinkedDatasetsin conjunction withIAssetRepository.GetDatasetAsyncinstead. - Deprecated
GroupAndCountAssetsQueryBuilder.ExecuteAsync(GroupableField); useGroupAndCountAssetsQueryBuilder.ExecuteAsync(Groupable)instead. - Deprecated
GroupAndCountAssetsQueryBuilder.GroupByCollectionAndExecuteAsync; useGroupAndCountAssetsQueryBuilder.ExecuteAsync(Groupable)instead. - Deprecated
IAsset.SerializeAssetandIAssetRepository.DeserializeAsset; serialization will no longer be supported. - Deprecated
StringSearchCriteria.SearchOptions; useStringSearchOptionsinstead. - Deprecated
WithValue(string, string, StringSearchCriteria.SearchOptions),WithValue(string, Regex), andWithFuzzyValue(string)inMetadataSearchCriteria; useWithTextValue(string, StringPredicate)instead. - Deprecated
WithValue(string, StringSearchCriteria.SearchOptions),WithValue(Regex), andWithFuzzyValue(string)inStringSearchCriteria; useWithValue(StringPredicate)instead. - Deprecated
FileSearchCriteria.SizeBytes; useFileSearchCriteria.Sizeinstead.
[1.6.0-exp.1] - 2024-12-12
Added
- Added
IAssetProject.QueryAssetVersions(AssetId)andIAsset.ListVersionsAsync(Range, CancellationToken). - Added
IAssetRepository.CreateAssetProjectLiteAsync. - Added
IAssetRepository.CreateFieldDefinitionLiteAsync. - Added
IAssetRepository.CreateLabelLiteAsync. - Added
IAssetProject.CreateAssetLiteAsync. - Added
IAssetProject.CreateCollectionLiteAsync. - Added
IAsset.CreateDatasetLiteAsync. - Added
IDataset.UploadFileLiteAsync. - Added
IDataset.StartTransformationLiteAsync. - Added
IAsset.CreateUnfrozenVersionLiteAsync. - Added
IAsset.CreateUnfrozenVersionLiteAsync. - Added
IFile.WithDatasetAsync. - Added
ITransformation.WorkflowName. - Added
WorkflowType.Optimize_Convert_Freeand custom workflow implementationsOptimizeAndConvertFreeTransformationfor free users. - Added
WorkflowType.Optimize_Convert_Proand custom workflow implementationsOptimizeAndConvertProTransformationfor pro/enterprise users. - Added
IAssetRepository.EnableProjectForAssetManagerLiteAsync.
Fixed
- Fixed extra parameters of
ITransformationCreationbeing passed incorrectly to the service.
Deprecated
- Deprecated
IAsset.QueryVersions, useIAsset.ListVersionsAsyncorIAssetProject.QueryAssetVersionsinstead. - Deprecated
IAssetProject.GetAssetAsync(AssetId, CancellationToken), useIAssetProject.QueryAssetVersions(AssetId)instead. - Deprecated
AssetUpdate(IAsset)constructor; useAssetUpdate()instead. - Deprecated
DatasetInfo(string)andDatasetInfo(IDataset)constructors; useDatasetInfo()instead. - Deprecated
DatasetUpdate(IDataset)constructor; useDatasetUpdate()instead. - Deprecated
FileUpdate(IFile)constructor; useFileUpdate()instead. - Deprecated
FieldDefinitionUpdate(IFieldDefinition)constructor; useFieldDefinitionUpdate()instead. - Deprecated
IFile.WithDataset; useIFile.WithDatasetAsyncinstead. - Deprecated
WorkflowType.Generic_Polygon_Target; useWorkflowType.Optimize_Convert_FreeorWorkflowType.Optimize_Convert_Proinstead. - Deprecated
GenericPolygonTargetTransformation; use custom workflowOptimizeAndConvertProTransformationinstead. - Deprecated
ITransformation.InputDatasetId; useITransformation.Descriptor.DatasetIdinstead.
[1.5.1] - 2024-11-15
Changed
- Updated deprecated documentation.
Fixed
- Fixed IAsset.Changelog not being populated.
[1.5.0] - 2024-10-18
Added
- Added
HasCollectionsproperty toIAssetProject. - Added
CountAssetsAsyncandCountCollectionsAsynctoIAssetProject. - Added
AssetStateenum andStateproperty toIAsset. - Added overloaded
FreezeAsync(IAssetFreeze, CancellationToken)andCancelFreezeAsynctoIAsset.
Changed
- Improved sample code snippets.
- Improved documentation code snippets.
Deprecated
- Deprecated
IAsset.IsFrozen; useIAsset.Stateinstead. - Deprecated
IAsset.FreezeAsync(string, CancellationToken); useIAsset.FreezeAsync(IAssetFreeze, CancellationToken)instead.
[1.4.0] - 2024-09-23
Added
- Added
IAssetRepository.EnableProjectForAssetManagerAsyncto enable the Asset Manager feature for a project; this allows a project to be retrieved as anIAssetProject. - Added documentation for asset to asset references.
- Added
IAsset.PreviewFileDescriptor - Added
IFile.GetResizedImageDownloadUrlAsyncto get the download url of an image file with a specified max dimension.
Changed
- Improved sample code snippets.
Fixed
- Fixed bug where organization search returned asset results with missing ProjectId.
- Fixes missing script in Asset Discovery sample
Removed
- [Experimental][Breaking] Removed
StatusDescriptorandStatusTransitionDescriptor. IStatus and IStatusTransition expose separate properties forStatusFlowDescriptorand string ids instead.
Deprecated
- Deprecated
IAsset.PreviewFile; useIAsset.PreviewFileDescriptorinstead. - Deprecated
IAsset.IsFrozen; useIAsset.Stateinstead. - Deprecated
IAsset.FreezeAsync(string, CancellationToken); useIAsset.FreezeAsync(IAssetFreeze, CancellationToken)instead.
[1.4.0-exp.3] - 2024-08-26
Added
- Added overload
IAssetRepository.GetAssetAsync(ProjectDescriptor, AssetId, string, CancellationToken)to get an asset by asset id and label. - Added
Unity_EditorinAssetTypeenum.
Changed
- Changed rate limitation for endpoints related to file uploading to prevent error when bulk uploading file to the same asset.
[1.4.0-exp.2] - 2024-08-08
Added
- Added overload
IAsset.CreateDatasetAsync(IDatasetCreation, CancellationToken)to create a dataset. - Added use case documentation and example for folder upload.
- Added
IAsset.AddTagsAsync(IEnumerable<string>, CancellationToken)andIAsset.RemoveTagsAsync(IEnumerable<string>, CancellationToken)to respectively add and remove tags from an asset. - [Experimental] Added
IAsset.StatusNameproperty to get the current status name of an asset. - [Experimental] Added
IAsset.GetReachableStatusNamesAsyncto get the names of statuses reachable from the current status of an asset. - [Experimental] Added
IAsset.UpdateStatusAsync(string, CancellationToken)to update the status of an asset. - Added overload
IAssetRepository.QueryAssets(OrganizationId)which can query assets across all projects in an organization. - Added overloads
IAssetRepository.GroupAndCountAssets(OrganizationId)andIAssetRepository.CountAssetsAsync(OrganizationId, IAssetSearchFilter, CancellationToken)which can group and count assets across all projects in an organization. - [Experimental] Added
IAssetReferenceto expose dependencies between assets. - [Experimental] Added
IAsset.ListReferencesAsyncto list the references to an asset. - [Experimental] Added
IAsset.AddReferenceAsync(AssetId, AssetVersion, CancellationToken)andIAsset.AddReferenceAsync(AssetId, string, CancellationToken)to add a reference to an asset either by version or label. - [Experimental] Added
IAsset.RemoveReferenceAsync(string, CancellationToken)to remove a reference to an asset. - Added use cases to documentation
Removed
- [Experimental][Breaking] Removed
IAsset.GetStatusAsync; useIAsset.StatusNameproperty instead. - [Experimental][Breaking] Removed
IAsset.GetReachableStatusesAsync; useIAsset.GetReachableStatusNamesAsyncinstead. - [Experimental][Breaking] Removed
IAsset.UpdateStatusAsync(IStatus, CancellationToken); useIAsset.UpdateStatusAsync(string, CancellationToken)instead.
Deprecated
- Deprecated
IAsset.CreateDatasetAsync(DatasetCreation, CancellationToken); useIAsset.CreateDatasetAsync(IDatasetCreation, CancellationToken)instead.
[1.4.0-exp.1] - 2024-07-26
Added
- Added
IDataset.GetDownloadUrlsAsyncto get download urls for all files in a dataset. - [Experimental] Added
IStatusFlow,IStatus, andIStatusTransitionto expose asset status information. - [Experimental] Added
StatusFlowQueryBuilderandIAssetRepository.QueryStatusFlowsto fetch the status flows available in the organization. - [Experimental] Added
IAsset.GetStatusAsyncto get the status information of an asset. - [Experimental] Added
IAsset.GetReachableStatusesAsyncto get the information of statuses reachable from the current status of an asset. - [Experimental] Added overloaded
IAsset.UpdateStatusAsyncto update the status of an asset with anIStatusparameter. - [Experimental] Added
IAsset.StatusFlowDescriptorto expose the status flow of an asset. - [Experimental] Added
StatusFlowDescriptorproperty toIAssetCreationandIAssetUpdatespecify the status flow when creating and updating an asset.
Changed
- Improved documentation code snippets.
- Added status details to Asset Discovery and Asset Manager samples
Deprecated
- Deprecated
IAsset.Statusproperty; useIAsset.GetStatusAsyncinstead. - Deprecated
IAsset.UpdateStatusAsync(AssetStatusAction, CancellationToken); useIAsset.UpdateStatusAsync(IStatus, CancellationToken)instead. - Deprecated
AssetStatusActionenum.
[1.3.0] - 2024-07-15
Added
- Added
Terminatingstatus toTransformationStatus. - Added
Metadata_Extraction,Generic_Polygon_Target, andCustomtoWorkflowType. - Added
CustomWorkflowNametoTransformationCreationfor specifying the transformation whenITransformationCreation.WorkflowTypeis set toWorkflowType.Custom.
Changed
- Improved documentation code snippets.
[1.2.0] - 2024-06-20
Added
- Added overloads to
IAsset.WithVersionAsyncto get the version of the asset from a sequence number or a label. - Added a readonly
SystemMetadataproperty toIAsset,IDataset, andIFileto expose system metadata. IFieldDefinition.FieldOriginproperty to expose the originator of a field definition.IAssetProject.LinkAssetsAsyncandIAssetProject.UnlinkAssetsAsyncto link and unlink assets to a project.- Added overload
IAssetProject.GetAssetAsyncwithout a version to get the default version of an asset. - Added versioning details to Asset Discovery and Management samples.
- Added
UserIdandJobIdproperties inITransformation. - Added
IFileCreation.DisableAutomaticTransformationsproperty to give the option to skip automatic transformations triggered by a file upload. - Added
IReadOnlyMetadataContainerto query system metadata.
Changed
- [Experimental][Breaking] Renamed
AssetVersionQueryBuildertoVersionQueryBuilder. - [Experimental][Breaking] Renamed
IAsset.QueryAssetVersiontoIAsset.QueryVersions. - [Experimental][Breaking] Changed
IAsset.WithProjectAsyncto return another instance of the asset at a different project path. - [Experimental][Breaking] Changed
IAsset.WithVersionAsyncto return another instance of the asset with the specified version. - Improved test coverage.
Fixed
- Sanitize file paths on file creation.
- Fixed search criteria for date ranges.
- Fixed dropped calls when rate limiting.
- Fixed incorrectly escaped download urls.
Removed
- [Experimental][Breaking] Removed
IAssetProject.QueryAssetVersions.
Deprecated
- Deprecated
IAsset.LinkToProjectAsync; useIAssetProject.LinkAssetsAsyncinstead. - Deprecated
IAsset.UnlinkFromProjectAsync; useIAssetProject.UnlinkAssetsAsyncinstead.
[1.2.0-exp.3] - 2024-05-31
Added
- Added
ITransformation.TerminateAsyncto cancel a transformation. - Added
IAsset.WithProjectAsyncto change the project path of the asset. - Added
IAsset.WithVersionAsyncto switch to another version of the asset. IAsset.WithLatestVersionAsyncandIAssetProject.GetAssetWithLatestVersionAsyncto get the latest version of an asset.
Changed
- Removed internal caching of files and datasets in
IAsset. - [Experimental][Breaking] Renames all instances of
VersionLabeltoLabel. - [Experimental][Breaking] Renames
IAsset.VersionNumberandIAsset.ParentVersionNumbertoIAsset.FrozenSequenceNumberandIAsset.ParentFrozenSequenceNumberrespectively.
Deprecated
- Deprecated
IAsset.GetFileAsyncandIAsset.ListFilesAsync; useIDataset.GetFileAsyncandIDataset.ListFilesAsyncinstead. - Deprecated
IAsset.WithProject; useIAsset.WithProjectAsyncinstead.
[1.2.0-exp.2] - 2024-05-02
Added
- Added Apple Privacy Manifest documentation.
Changed
- Changed slightly the rate limitation algorithm to completely prevent any rate-limit exceptions while keeping the throughput almost optimal.
Fixed
IsFrozenproperty inIAssetnow returns the correct value.- Asset versioning related properties in
IAssetare serialized correctly byIAsset.Serialize() - Fixed overlapping text in the Asset Manager sample.
- Fixed video transformations not starting.
[1.2.0-exp.1] - 2024-04-19
Added
- Added a section on code stripping in troubleshooting documentation.
- [Experimental] Adding support for Asset Versioning.
Removed
- Removed Asset Database Uploader sample.
[1.1.0] - 2024-04-05
Added
UserIdproperty inTransformationSearchFilter.GreaterThanandLessThanOrEqualtoSearchConditionRange.WithValueGreaterThan,WithValueGreaterThanOrEqualTo,WithValueLessThan, andWithValueLessThanOrEqualTotoConditionalSearchCriteria.GenerateTagsAsyncmethod toIFile.- Default constructor to
DatasetUpdateclass. - String search queries recognize '?' as wildcard character.
- Memory warning popups in Discovery and Management samples.
- Added rate limiter to API calls to avoid 429 errors when doing multiple operations in parallel.
- Added Apple Privacy Manifest file to
/Pluginsdirectory.
Changed
- Improved Discovery and Management samples search bar.
- Improved samples' UI and cleaned up debug logs.
- Updated use case documentation.
- Modified the
LogLevelfor several log messages to reduce the default amount of logs in the console. - FieldDefinitions no longer auto-refresh properties on update; use
RefreshAsync. - Reviewed manual documentation
- Manual documentation code-snippets set to compile only in editor.
- Documentation updates.
- Updated deprecated endpoints.
Fixed
- Bubbles up exceptions in
IFile.UploadAsync. - Updated deprecated endpoints.
- Upgrade to Common 1.1.0.
Removed
- Removes
com.unity.editorcoroutinesdependency from package.
Deprecated
- Deprecated
IAssetCollection.GetFullCollectionPath; useIAssetCollection.Descriptor.Path. - Deprecated default constructor of
FileCreationclass; useFileCreation(string path). - Deprecated
IAsset.SerializeIdentifiersandIAssetRepository.DeserializeAssetIdentifiers; useAssetDescriptor.ToJsonandAssetDescriptor.FromJsonrespectively.
[1.0.0] - 2024-02-26
Added
IsDeletedproperty toIFieldDefinitionFieldDefinitionQueryBuilder,ProjectQueryBuilder,CollectionQueryBuilder,AssetQueryBuilder, classes to build and execute queries.BooleanMetadata,DateTimeMetadata,NumberMetadata,StringMetadata, andUserMetadata.IAsset.GetPreviewUrlAsyncandIFile.GetPreviewUrlAsync.IDataset.RefreshAsync()andIFile.RefreshAsync().IAsset.GetPreviewDatasetAsync()andIAsset.GetSourceDatasetAsync()extension methods.UpdateStatusAsyncmethod toIAsset.WithValue(string, SearchOptions)andWithValue(Regex)overloads toStringSearchCriteria.- Re-added
UploadAsyncmethod toIFileans updated the method of the same name inFileEntity.
Changed
- [Breaking] Renamed
OrganizationGenesisIdproperty toOrganizationIdinCollectionDescriptorandTransformationDescriptorclasses. - [Breaking] Changed
CreatedByandUpdatedByproperty type ofAuthoringInfoclass toUserId. - [Breaking] Changed
CreatedByandUpdatedByproperty type ofAuthoringInfoSearchFilterclass toIdSearchCriteria<UserId>. - [Breaking]
Collectionsproperty ofAssetSearchFilterchanged fromList<CollectionPath>toQueryListParameter<CollectionPath>. - [Breaking]
SearchAssetsAsync()replaced byQueryAssets(). - [Breaking]
CountAssetsAsync()replaced byGroupAndCountAssets();CountAssetsAsync()returnsintinstead ofAggregation. - [Breaking] Renames
CollectionDescriptor.CollectionPathtoCollectionDescriptor.Path. - [Breaking] Renamed
AssetSearchFiltertoAssetSearchCriteria,DatasetSearchFiltertoDatasetSearchCriteria,FileSearchFitertoFilterSearchCriteria, andMetadataSearchFiltertoMetadataSearchCriteria. - [Breaking]
AssetSearchFiltercontains methods toInclude(),Exclude(), andAny()on search criteria. - [Breaking]
Include(),Exclude(), andAny()methods of search criteria replaced withWithValue()method; useInclude(),Exclude(), andAny(), onAssetSearchFilter. - [Breaking] Renamed
IAssetCollection.AddAssetsAsync()andIAssetCollection.RemoveAssetsAsync()toIAssetCollection.ListAssetsAsync()andIAssetCollection.UnlinkAssetsAsync()respectively. - [Breaking] Renamed
WorkflowType.TranscodeVideotoWorkflowType.Transcode_Video. - [Breaking]
AccumulateIncludedCriteria,AccumulateExcludedCriteria, andAccumulateAnyCriteriamethods ofIAssetSearchFilterreturnIReadOnlyDictionaryinstead ofDictionary. - Update com.unity.cloud.common dependency to 1.0.0.
Fixed
- Fixes listing of files in
IDataset.
Removed
- [Breaking] Removed
Statusproperty fromIFieldDefinition; useIsDeleted. - [Breaking] Removed
Pagination; useLimitTo()andOrderBy()methods of query builders where available. - [Breaking] Removed
AggregationParameters; useGroupAndCountAssetsQueryBuilder. - [Breaking] Removed
Aggregation. - [Breaking] Internalized
FieldsFilter. - [Breaking] Removed
MetadataObjectandIMetadataValue; useMetadataValue. - [Breaking] Removed
IAsset.PreviewFileUrlandIFile.PreviewUrl; useIAsset.GetPreviewUrlAsyncandIFile.GetPreviewUrlAsyncrespectively. - [Breaking] Removed
IAsset.GetProject(),IDataset.GetProject(), andIDataset.GetAsset(). - [Breaking] Removed
IFile.InvalidateCachedUrls(); use `IFile.RefreshAsync(). - [Breaking] Removed
IdSearchCriteria; useSearchCriteria<string>. - [Breaking] Removed inheritance of
IFieldDefinitionUpdatefromIFieldDefinitionCreationandFieldDefinitionUpdatefromFieldDefinitionCreation. - [Breaking] Removed
PublishAsync,WithdrawAsync,SendToReviewAsync,ApproveAsync, andRejectAsyncmethods fromIAsset; useUpdateStatusAsync.
[1.0.0-exp.7] - 2024-02-13
Added
- Added
StartTransformationAsync(ITransformationCreation, CancellationToken)method toIDataset. GetTransformationAsyncmethod toIAssetRepositoryGetAssetProjectAsyncshortcut method toIDatasetListTransformationsAsyncmethod toIDatasetTransformationQueryBuilderclass to build transformation queriesQueryTransformationsmethod toIAssetProjectProgressproperty andRefreshAsyncmethod toITransformation- Added
UpdateAsync(IAssetCollectionUpdate, CancellationToken)method toIAssetCollection. RefreshAsyncmethod toIAssetCollectionto update properties.- Added
ReturnCachedandForceRefreshoptions toMetadataQueryBuilder.
Changed
- Updated Asset Manager sample to display progress bars for workflow operations.
- Updated Asset Manager sample to add a
Removebutton in the asset's context menu to unlink an asset from the current project. - [Breaking] Renamed
ComplexSearchCriteria<T>toCompoundSearchCriteria. - [Breaking] Renamed
SearchCriteriaBasetoBaseSearchCriteria. - [Breaking] Renamed
CollectionSearchCriteria<U,T>toListSearchCriteria<T>. - [Breaking] Renamed
SearchConditionTypetoSearchConditionRange. - Update com.unity.cloud.common dependency to 1.0.0-pre.6.
Fixed
- Maintenance of internal code.
IAsset.LinkedProjectsno longer empty on asset creation.- Fixes formatting query when parameter can expect a list.
- Fixes pagination of search requests.
Removed
- [Breaking] Removed
ISearchCriteria,ISearchCriteria<T>, andHashsetSearchCriteria - [Breaking] Removed
SystemMetadatafromIAsset,IDataset, andIFile. - [Breaking] Removed
StartTransformationAsync(WorkflowType, CancellationToken)method fromIDataset. - [Breaking] Removed
IAsset.StorageIdproperty. - [Breaking] Removed
SetName,SetDescription, andUpdateAsync(CancellationToken)fromIAssetCollection.
[1.0.0-exp.6] - 2024-01-15
Added
- Added
IMetadataContainerandIMetadataValueto expose metadata operations. - Added
ISelectionFieldDefinition,ISelectionFieldDefinitionCreation, andISelectionFieldDefinitionUpdatewhich exposes selection specific field definition properties. - Added
StartTransformationAsyncandGetTransformationAsyncmethods toIDataset.
Changed
- [Breaking]
IAsset.GetCollectionAsync,IAsset.GetDatasetAsync,IAsset.GetFileAsync, andIDataset.GetFileAsyncthrowNotFoundExceptionif the requested entity fails to be found. - [Breaking] Moved
MultiselectionandAcceptedValuesproperties andAddSelectionValuesAsyncandRemoveSelectionValuesAsyncmethods fromIFieldDefinitiontoISelectionFieldDefinition. - [Breaking] Changed types of
MetadataandSystemMetadataproperties ofIAsset,IDataset, andIFilefromIDeserializabletoIMetadataContainer. - Updated
Asset DiscoveryandAsset Managementsamples to display metadata values. - Unified exception logging across samples.
- Error thrown on selection field definition creation when accepted values are not provided.
- Update com.unity.cloud.common dependency to 1.0.0-pre.5.
Fixed
- Fixed asset searches returning incorrect number of results for large offsets.
- Fixed
AssetTypesearching to allow searching for more than one type. - Added validation to
SearchConditionValue. - Fixed issue with metadata DateTime values not being serialized correctly.
Removed
- [Breaking] Removed
IsMatch,Include,Exclude, andAnymethods fromIAssetSearchFilter. - [Breaking] Removed
GetAssetTypeFromStringfromAssetType. - [Breaking] Turned
AssetDownloadUrlinternal - [Breaking] Removed
PortalMetadataproperties fromIAsset,IDataset, andIFile. - [Breaking] Removed
SystemMetadataproperties fromAssetSearchFilter,DatasetSearchFilter, andFileSearchFilter; searching by system metadata is not supported. - [Breaking] Removed
MetadataandSystemMetadataproperties fromIAssetUpdate,IDatasetUpdate, andIFileUpdate; useIMetadataContainer.AddOrUpdateAsyncinstead.
[1.0.0-exp.5] - 2023-12-20
Fixed
- Fixed exception in Asset Management sample on start up.
[1.0.0-exp.4] - 2023-12-07
Added
- Added a Metadata Management sample for listing and managing an organization's field definitions.
Changed
- Update
ListProjectsAsyncto call new public api endpoints.
Fixed
- Fixed asset and asset list refreshing in Asset Management sample following create, save, and publish actions.
- Fixed
IFileurl fetching when using theFileFilter.Allflag.
[1.0.0-exp.3] - 2023-11-23
Added
IFieldDefinitionto expose field definitions of organizations for managing asset metadata.ListFieldDefinitionsAsync,GetFieldDefinitionAsync,CreateFieldDefinitionAsync,DeleteFieldDefinitionAsyncmethods added toIAssetRepository.- Added Supported platforms section to the Prerequisites page of the manual documentation.
Changed
- Clean up of (de)serialization to reduce external dependencies.
AuthoringInfochanged from struct to class to allow null values.- Switched from multiple asmef files to one asmdef file in Samples/Shared and multiple asmref files in each sample folder.
- Added the !UC_EXCLUDE_SAMPLES constraint to the asmdef file in Samples/Shared and removed the conditional compilation code in the sample scripts.
- [Breaking] Internal
Pagination.Orderenum extracted and renamedSortingOrder.
[1.0.0-exp.2] - 2023-11-07
Added
- Added
PreviewFileUrltoIAssetto expose the preview file url of the asset.
Changed
- Updated LICENSE.md file.
- Improved information in README
- Update
ListProjectsAsync,GetProjectAsyncandCreateProjectAsyncto call public api endpoints
Fixed
- Fix SearchBarController to include Asset fields on search actions.
- Fixed potential null reference exception in in the
ThumbnailControllerclass used in theAsset Discoverysample. - Fixed missing version header.
- Fix
DatasetEntity.ListFilesAsyncto show all files fields information and includedStatusas a default field.
Removed
- [Breaking] Removed
UploadAsyncandGetUploadUrlAsyncmethods fromIFile. Overwriting file content is not supported. - Removed inapplicable notices in documentation.
- [Breaking] Removed
GetPreviewFileDownloadUrlAsyncfromIAsset. UseGetDownloadUrlAsyncofIFileinstead. - Removed mocking code for assets.
[1.0.0-exp.1] - 2023-10-26
Added
RefreshAsyncmethod added toIAssetto refresh the asset data. This is useful for fetching additional data that is not populated by default.PreviewUrlproperty added toIFileto expose the preview url of the file.ListAssetCollectionsAsyncandGetAssetCollectionAsyncmethods added toIAssetRepository.- Added error popup to Asset Collection sample when creation fails.
- Added error message to Asset Collection sample during creation and edit when a collection with the same name already exists.
Changed
- [Breaking]
GetDatasetAsyncandGetFileAsyncmethods ofIAssetRepositorynow require aDatasetFieldsandFileFieldsparameter respectively. - [Breaking]
IdinIAssetProjectreplaced byDescriptorof typeProjectDescriptor. - Refactored
AssetDataSourceto match other packages. - Change minimal Unity version to 2022.3
Fixed
- Asset Collection sample list selection now allows de-selection of item.
- Remove usage of system.web for encoding urls.
- Remove Cancellation tokens timeout from Asset Management sample to allow big file to be uploaded.
- Fix file size display to correspond correctly on the unit.
- Add checks on UI buttons in the Asset Management sample to prevent multiple clicks
- Add UI message to give feedback after an action like (publish asset, save asset)
- Added filtering of already included assets for the 'Add to Collection' asset list in Asset Collection sample.
IDatasetrefreshes its data whenUpdateAsyncandRemoveFileAsyncare called.- Fix
IAsset.UnlinkFromProjectAsyncunlinking context project instead of the one passed in parameter.
Removed
- Removing empty and unused directories and scripts.
- Removed
IAssetHttpClient, its implementations and its tests.
[0.7.0] - 2023-10-18
Added
IDatasetto expose dataset operations.- Default thumbnails in asset discovery sample
SerializeIdentifiersmethod added toIAssetto allow for serialization.DeserializeAssetIdentifiersadded toIAssetRepositoryto deserialize identifiers into a usableAssetDescriptor.Serializemethod added toIAssetto allow for serialization.DeserializeAssetadded toIAssetRepositoryto deserialize an asset from a JSON string.- [Breaking]
FieldsFilteradded toGetAssetAsyncoperations and to theIAssetSearchFilterto define whichIAssetfields are populated. MockDataSourceclass added.UC_MOCK_ASSETSsymbol must be defined to use theMockDataSourceinstead ofAssetDataSource.GetFileUrladded toIDatasetto get the a file download url.ConditionalSearchCriteria,DatasetSearchFilter,MetadataSearchFilterAssetTypeenum to get predefined Asset's type supported values.IsVisibleproperty added toIDataset,IDatasetUpdate,IDatasetUpdateData,Dataset,DatasetUpdate,DatasetUpdateDataandDatasetSearchFilter.WorkflowNameproperty added toDatasetEntity,IDatasetDataandDatasetData.IFile.UserchecksumpropertyInvalidateUrlsmethod added toIFileto clean up the cached download and upload urls of the file.LinkedDatasetIdsproperty added toIFile.DescriptorinIAsset.LinkedProjectsproperty added toIAsset.DescriptorinIDataset.DescriptorinIFile.WithProjectmethod toIAssetto switch between projects.WithDatasetmethod toIFileto switch between datasets.
Changed
- Changed the discovery sample to show smaller thumbnails by using an image resizer service.
- [Breaking] Migration to v1 of the Assets API.
- [Breaking]
IFilereplacesIAssetFilefor file operations. IAssetexposesIDatasetandIFile.- [Breaking] New
AuthoringInfostruct encapsulatesCreated,CreatedBy,Updated, andUpdatedByproperties. - Changed
MockDataSourceto return 2 files in mockedDatasetData.FileOrder. - [Breaking] Updated
AssetSearchCriteriaproperties for parity with searchable fields ofIAsset. - [Breaking] Renamed
IProjecttoIAssetProjectto avoid conflicts with Identity'sIProject. - [Breaking] Remove the AssetVersionId and AssetVersionDescriptor structs and replace by AssetVersion in the AssetDescriptor.
- [Breaking] Changed
IAsset.Typeproperty type fromstringtoAssetTypeenum. - Updated
Asset Discovery,Asset Manager,Asset database uploadersamples to use the dataset. - [Breaking]
ListFilesinIDatasetrenamed toListFilesAsync. - [Breaking]
GetAssetDownloadUrlsAsyncofIAssetreturns a mapping of file paths to Uris. - [Breaking] Renamed
LinkedDatasetIdsinIFiletoLinkedDatasetsand enumerable type changed toDatasetDescriptor.
Fixed
- Fixed CryptographicUnexpectedOperationException during Md5 checksum calculation.
- Fixed
AssetSearchFilter.Typecriteria in search and aggregate requests. - Fixed Shared Samples Search bar to allow search by type.
- Fixed Get collections json parsing.
- Fixed Pagination in assets search
- Fixed GetFileUrl in
Datasetto start with ServiceUrl. - Fixed Pagination in project list
- Cross project search with included collections.
- Aggregation search with included collections.
Removed
- [Breaking] Removed
AssetServiceConfiguration. - [Breaking]
AssetTaxonomy,AssetAuthor,AssetLocationremoved. - [Breaking]
Metadataproperty ofIProjectremoved. - [Breaking]
CatalogIdandMetadataproperties removed fromIAssetCollection - [Breaking]
VersionName,Origin,ShortId,Categories,StatusDetailsproperties removed fromIAsset - Removed mocking code from
AssetDataSource. - [Breaking] Removed
IOrganizationProviderandIOrganization. Use Identity'sIOrganizationRepositoryandIOrganizationinstead. - [Breaking] Removed
IdandVersionproperties fromIAsset; useDescriptor.AssetIdandDescriptor.Versioninstead. - [Breaking] Removed
Idproperty fromIDataset; useDescriptor.DatasetId. - [Breaking] Removed
Pathproperty fromIFile; useDescriptor.Path. - [Breaking] Remove
UserCriteriafromAssetSearchFilter. For custom fields, extendAssetSearchFilteror implementIAssetSearchFilter.
[0.6.0] - 2023-09-15
Added
- Added single entry point for API calls:
IAssetRepository.
Changed
- Turned AssetManager sample visible
- [Breaking] Changed how
AssetSearchFiltersearches collections. Instead of aSearchCriteria, populate theCollectionslist with the collection paths to search.
Removed
- [Breaking] Removed all manager scripts:
IAssetProvider,IAssetManager,IFileManager,ICollectionManager. - All previous actions are now available in entities:
IProject,IAsset,IAssetFile,IAssetCollection.
[0.5.0] - 2023-08-31
Added
- [Breaking] Added the
DownloadAssetFileAsynctoIAssetFileManager. - Added UseCaseDownloadFileExample documentation page.
- [Breaking] Added two new methods SendAsync to
IAssetHttpClientto provide ways to do requests passing HttpCompletionOption argument. - Added
InvalidDownloadUrlExceptiontoAssetExceptions. - Added official support for the latest LTS Editor 2022.3 while maintaining support for 2021.3.
Changed
- [Breaking] Changed the
UploadAssetFileAsyncfromIAssetFileManagerto add the progress tracking. - Changed the DiscoverySample download action to use the new
DownloadAssetFileAsyncmethod. - Put
InternalsVisibleToattributes under conditional compilation inCore\AssemblyInfo.cs
Fixed
- Fixed issue where search wasn't returning all results.
[0.4.0] - 2023-08-17
Added
- Added
IOrganizationproperty toIProject - Added
AssetServiceConfigurationparameter toCloudAssetProviderandCloudAssetManagerconstructors - Added
SearchAsyncofIAssetProviderallow search across projects - Updated Asset Database Uploader to keep the extension of source file in the Asset file name.
- Added search across all projects to Discovery sample
- New documentation.
Changed
- Updated the UI of the Collection Management sample
- Updated Assets Runtime sample to allow create, upload actions.
Removed
- [Breaking] Removed
IOrganizationparameter from all API methods that also have anIProjectparameter.
[0.3.0] - 2023-08-03
Added
- Added asset collection management sample to allow creation, deletion, and updating of asset collections.
Changed
- Updated Asset Database Uploader to keep the extension of source file in the Asset file name.
- Added headers to requests.
- [Breaking]
SearchAsyncofIAssetProvidernow returns anIAsyncEnumerable<IAsset>. - [Breaking]
GetCurrentUserProjectListofIProjectProviderrenamed toListProjectsAsyncand now returns anIAsyncEnumerable<IProject>.
Removed
- [Breaking] Removed
GetProjectsByOrganizationAndUserIdsAsyncfromIProjectProvider - [Breaking] Removed
IPagedResponse<T>,IAssetPage, andIProjectPage. - [Breaking] Removed
Projectslist property fromIOrganization.
[0.2.1] - 2023-07-20
Added
- Added Send asset to review, Approve asset in review and Reject asset in review requests in
IAssetManager - Added Check on GetAssetByIdAndVersionRequest.IncludeThumbnailDownloadURLs value before adding it to the query parameters
- Adds search value selection to Discovery sample
Changed
- Updated miscellaneous existing documentation pages.
Fixed
- Fixed a bug where the
GetAssetFileUrlAsyncofCloudFileAssetManagerwas failing and no url was returned.
[0.2.0] - 2023-07-06
Added
- UnityEditor uploader Sample.
- [Breaking] Added
IAssetSearchFilterinterface to allow for more complex search filters and replaced references to the implementedAssetSearchFilterclass with the interface. - Exposed an abstract
AssetPagefor extension. - Added overload for
SearchAsyncinICloudAssetProviderthat takes anIAssettype parameter. - New method to get asset collections in AssetManager
- New documentation.
- Added
IOrganizationandIProjectproperties toIAssetCollection.
Changed
- Updated sample to show thumbnails.
- Added
IAssettype parameter toIAssetPageGetNextAsyncmethod. - Updated documentation for getting started pathways.
- [Breaking] Replaced the
TryGetValuefunction inAggregationwith theValuesproperty. - Updated sample to show asset collections.
- Updated documentation's Getting started pages.
- [Breaking] Replaced the
IAssetFileparameter ofCreateAssetFileAsyncinIAssetFileManagerwith anIAssetFileCreationobject. - Added an
IAssetFilereturn value toCreateAssetFileAsyncinIAssetFileManager. - [Breaking] Changed the return value of task
UploadAssetFileAsyncfromIAssetFileManagertobool. - [Breaking] Uses of
ServiceHostConfigurationhave been replaced forIServiceHostResolver. - Updated all references to Common's
IHttpClient.SendAsyncto match its new signature. - [Breaking] Renamed
IAssetCollectionControllertoIAssetCollectionManager. - [Breaking] Removed the return values of
InsertAssetsToCollectionAsyncandRemoveAssetsFromCollectionAsyncinIAssetCollectionManager. - [Breaking] Removed the
IOrganizationandIProjectparameters fromUpdateCollectionAsync,DeleteCollectionAsync, andMoveCollectionAsyncinIAssetCollectionManager.
Removed
- [Breaking] Removed the
AggregationFieldsproperty fromAggregation.
[0.1.0] - 2023-06-22
Changed
- Upgrade to Moq 2.0.0-pre.2
- Removed default values for
ServiceEnvironmentin documentation.