diff --git a/CHANGELOG.md b/CHANGELOG.md index 7238e132..deffc9ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +###3.7.1### +- Removed Asset Transform dimensionChangeTime attribute from schema + ###3.7.0### - Added support for importing/exporting Asset Transforms - Asset Sources now respect the force option diff --git a/src/Services/AssetTransforms.php b/src/Services/AssetTransforms.php index 614f50e1..76a9cea2 100644 --- a/src/Services/AssetTransforms.php +++ b/src/Services/AssetTransforms.php @@ -58,7 +58,6 @@ private function getAssetTransformDefinition(AssetTransformModel $assetTransform 'width' => $assetTransform->width, 'height' => $assetTransform->height, 'format' => $assetTransform->format, - 'dimensionChangeTime' => $assetTransform->dimensionChangeTime, 'mode' => $assetTransform->mode, 'position' => $assetTransform->position, 'quality' => $assetTransform->quality, @@ -122,7 +121,6 @@ private function populateAssetTransform(AssetTransformModel $assetTransform, arr 'width' => $assetTransformDefinition['width'], 'height' => $assetTransformDefinition['height'], 'format' => $assetTransformDefinition['format'], - 'dimensionChangeTime' => $assetTransformDefinition['dimensionChangeTime'], 'mode' => $assetTransformDefinition['mode'], 'position' => $assetTransformDefinition['position'], 'quality' => $assetTransformDefinition['quality'], diff --git a/tests/Services/AssetTransformsTest.php b/tests/Services/AssetTransformsTest.php index e7061654..ae8d5ef1 100644 --- a/tests/Services/AssetTransformsTest.php +++ b/tests/Services/AssetTransformsTest.php @@ -108,7 +108,6 @@ public function provideValidAssetTransforms() 'width' => null, 'height' => null, 'format' => null, - 'dimensionChangeTime' => null, 'mode' => null, 'position' => null, 'quality' => null, @@ -126,7 +125,6 @@ public function provideValidAssetTransforms() 'width' => null, 'height' => null, 'format' => null, - 'dimensionChangeTime' => null, 'mode' => null, 'position' => null, 'quality' => null, @@ -136,7 +134,6 @@ public function provideValidAssetTransforms() 'width' => null, 'height' => null, 'format' => null, - 'dimensionChangeTime' => null, 'mode' => null, 'position' => null, 'quality' => null, @@ -162,7 +159,6 @@ public function provideValidAssetTransformDefinitions() 'width' => 100, 'height' => 100, 'format' => 'jpg', - 'dimensionChangeTime' => null, 'mode' => 'crop', 'position' => 'center-center', 'quality' => 75,