com.unity.cloud.assets 1.2.0
Notes: processedReleased July 8, 2024
Download Options
Direct package downloads captured from Unity's package registry.
Unity Compatibility
Minimum Unity: 2022.3
Package Dependencies
Features
- Added overloads to `IAsset.WithVersionAsync` to get the version of the asset from a sequence number or a label.
- Added a readonly `SystemMetadata` property to `IAsset`, `IDataset`, and `IFile` to expose system metadata.
- `IFieldDefinition.FieldOrigin` property to expose the originator of a field definition.
- `IAssetProject.LinkAssetsAsync` and `IAssetProject.UnlinkAssetsAsync` to link and unlink assets to a project.
- Added overload `IAssetProject.GetAssetAsync` without a version to get the default version of an asset.
- Added versioning details to Asset Discovery and Management samples.
- Added `UserId` and `JobId` properties in `ITransformation`.
- Added `IFileCreation.DisableAutomaticTransformations` property to give the option to skip automatic transformations triggered by a file upload.
- Added `IReadOnlyMetadataContainer` to query system metadata.
Improvements
- [Experimental][Breaking] Renamed `AssetVersionQueryBuilder` to `VersionQueryBuilder`.
- [Experimental][Breaking] Renamed `IAsset.QueryAssetVersion` to `IAsset.QueryVersions`.
- [Experimental][Breaking] Changed `IAsset.WithProjectAsync` to return another instance of the asset at a different project path.
- [Experimental][Breaking] Changed `IAsset.WithVersionAsync` to return another instance of the asset with the specified version.
- Improved test coverage.
Bug Fixes
- Sanitize file paths on file creation.
- Fixed search criteria for date ranges.
- Fixed dropped calls when rate limiting.
API Changes
- [Experimental][Breaking] Removed `IAssetProject.QueryAssetVersions`.
- Deprecated `IAsset.LinkToProjectAsync`; use `IAssetProject.LinkAssetsAsync` instead.
- Deprecated `IAsset.UnlinkFromProjectAsync`; use `IAssetProject.UnlinkAssetsAsync` instead.
