Skip to content

Commit 2ec9f57

Browse files
2 parents f90c4f4 + 91b36e0 commit 2ec9f57

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

Core/ConfigurationBuilder.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ public function build()
3737
if ($url && is_array($url)) {
3838
$config['url'] = $url;
3939
}
40-
40+
/**
41+
* This feature is deprecated and will be removed in the next major version.
42+
*
43+
* @deprecated will be removed in the next major version.
44+
*/
4145
if ($this->configuration->getCdnSubdomainStatus()) {
4246
$config['cloud']['cdn_subdomain'] = true;
4347
}

Core/ConfigurationInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ public function getCredentials();
2222
public function getDefaultTransformation();
2323

2424
/**
25+
* This feature is deprecated and will be removed in the next major version.
26+
*
27+
* @deprecated will be removed in the next major version.
2528
* @return boolean
2629
*/
2730
public function getCdnSubdomainStatus();

Model/Configuration.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,9 @@ private function getDefaultGlobalFreeformProductsBehavior()
343343
}
344344

345345
/**
346+
* This feature is deprecated and will be removed in the next major version.
347+
*
348+
* @deprecated will be removed in the next major version.
346349
* @return boolean
347350
*/
348351
public function getCdnSubdomainStatus()

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cloudinary/cloudinary-magento2",
33
"description": "Cloudinary Magento 2 Integration.",
44
"type": "magento2-module",
5-
"version": "2.1.3",
5+
"version": "2.1.4",
66
"license": "MIT",
77
"require": {
88
"php": ">=7.3",

etc/adminhtml/system.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,14 @@
3333
</field>
3434
</group>
3535
<group id="configuration" translate="label" sortOrder="3" showInDefault="1" showInWebsite="0" showInStore="0">
36-
<label>Cloudinary Setup</label>
36+
<label>Auto Upload</label>
3737
<attribute type="expanded">1</attribute>
38-
<field id="cloudinary_cdn_subdomain" translate="label comment" type="select" sortOrder="2" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
39-
<label>Image Delivery Domain Sharding</label>
40-
<comment>Enable multiple sub-domains of image delivery URLs for faster page load speed.</comment>
41-
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
42-
</field>
38+
4339
<field id="cloudinary_auto_upload_mapping_request" translate="label comment" type="select" sortOrder="3" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
4440
<label>Enable auto-upload</label>
4541
<comment><![CDATA[
4642
<p class="note">Automatically upload your existing Magento images to your Cloudinary account when an image is requested by a user. Once enabled, click the button below to map your Magento media directory to your Cloudinary account.</p>
47-
<p class="note"><b>Note:</b> Disabling auto upload mapping from Magento will not remove the configuration from Cloudinary. To completely disable your auto upload mapping, navigate to your Cloudinary <a href="https://cloudinary.com/console/lui/settings/upload" target="_blank" title="Cloudinary Upload settings">Upload settings</a> and clear the <b>Auto upload mapping</b> that corresponds to your Magento URLs.</p>]]>
43+
<p class="note"><b>Note:</b> Disabling auto upload mapping from Magento will not remove the configuration from Cloudinary. To completely disable your auto upload mapping, navigate to your Cloudinary <a href="https://console.cloudinary.com/app/settings/upload/mapping" target="_blank" title="Cloudinary Upload settings">Upload settings</a> and clear the <b>Auto upload mapping</b> that corresponds to your Magento URLs.</p>]]>
4844
</comment>
4945
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
5046
</field>

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Cloudinary_Cloudinary" setup_version="2.1.3">
3+
<module name="Cloudinary_Cloudinary" setup_version="2.1.4">
44
<sequence>
55
<module name="Magento_ProductVideo"/>
66
<module name="Magento_PageBuilder"/>

0 commit comments

Comments
 (0)