Plugin Directory

Changeset 3784581


Ignore:
Timestamp:
11/04/2026 06:31:18 PM (65 minutes ago)
Author:
advisionecommerce
Message:

Release CatalogPilot Connector 0.1.92

Location:
catalogpilot-connector
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • catalogpilot-connector/tags/0.1.92/catalogpilot-connector.php

    r3781347 r3784581  
    55 * Plugin URI: https://catalog-pilot.com/
    66 * Description: Connects WooCommerce to CatalogPilot for catalog synchronization and approved storefront content delivery.
    7  * Version: 0.1.90
     7 * Version: 0.1.92
    88 * Author: CatalogPilot
    99 * Author URI: https://advision-ecommerce.com/
    … …  
    11631163        }
    11641164
     1165        if (is_string($secret) && function_exists('get_woocommerce_currency')) {
     1166            $data['signup_metadata'] = [
     1167                'contract_version' => 1,
     1168                'currency' => strtoupper((string) get_woocommerce_currency()),
     1169                'plugin_version' => CatalogPilotWooConnector::PLUGIN_VERSION,
     1170            ];
     1171            $data['signup_metadata_proof'] = hash_hmac('sha256', implode("\n", [
     1172                'CP1-SIGNUP-METADATA', $challenge, $data['credential_id'], $data['site_uuid'],
     1173                $data['instance_url'], $data['storefront_url'], '1', $data['signup_metadata']['currency'],
     1174                $data['signup_metadata']['plugin_version'],
     1175            ]), $secret);
     1176        }
     1177
    11651178        return rest_ensure_response($data);
    11661179    }
    … …  
    12051218    public const CAPABILITY = 'manage_woocommerce';
    12061219
    1207     public const PLUGIN_VERSION = '0.1.90';
     1220    public const PLUGIN_VERSION = '0.1.92';
     1221
    12081222
    12091223    /**
  • catalogpilot-connector/tags/0.1.92/changelog.txt

    r3781347 r3784581  
     12026-11-03 - version 0.1.92
     2* Add signed signup metadata for store currency and plugin capability without changing the existing connection proof.
     3
    14*** CatalogPilot Connector Changelog ***
     5
     62026-11-03 - version 0.1.91
     7
     8* Added - Private channel updates are installed only when signed by CatalogPilot.
    29
    3102026-11-02 - version 0.1.90
  • catalogpilot-connector/tags/0.1.92/readme.txt

    r3781347 r3784581  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 0.1.90
     7Stable tag: 0.1.92
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    129129
    130130== Changelog ==
     131
     132= 0.1.92 =
     133* Add authenticated store currency metadata for pairing during signup. Existing connections remain compatible.
     134
     135= 0.1.91 =
     136
     137* Added - Private channel updates are installed only when signed by CatalogPilot.
    131138
    132139= 0.1.90 =
  • catalogpilot-connector/trunk/catalogpilot-connector.php

    r3781347 r3784581  
    55 * Plugin URI: https://catalog-pilot.com/
    66 * Description: Connects WooCommerce to CatalogPilot for catalog synchronization and approved storefront content delivery.
    7  * Version: 0.1.90
     7 * Version: 0.1.92
    88 * Author: CatalogPilot
    99 * Author URI: https://advision-ecommerce.com/
    … …  
    11631163        }
    11641164
     1165        if (is_string($secret) && function_exists('get_woocommerce_currency')) {
     1166            $data['signup_metadata'] = [
     1167                'contract_version' => 1,
     1168                'currency' => strtoupper((string) get_woocommerce_currency()),
     1169                'plugin_version' => CatalogPilotWooConnector::PLUGIN_VERSION,
     1170            ];
     1171            $data['signup_metadata_proof'] = hash_hmac('sha256', implode("\n", [
     1172                'CP1-SIGNUP-METADATA', $challenge, $data['credential_id'], $data['site_uuid'],
     1173                $data['instance_url'], $data['storefront_url'], '1', $data['signup_metadata']['currency'],
     1174                $data['signup_metadata']['plugin_version'],
     1175            ]), $secret);
     1176        }
     1177
    11651178        return rest_ensure_response($data);
    11661179    }
    … …  
    12051218    public const CAPABILITY = 'manage_woocommerce';
    12061219
    1207     public const PLUGIN_VERSION = '0.1.90';
     1220    public const PLUGIN_VERSION = '0.1.92';
     1221
    12081222
    12091223    /**
  • catalogpilot-connector/trunk/changelog.txt

    r3781347 r3784581  
     12026-11-03 - version 0.1.92
     2* Add signed signup metadata for store currency and plugin capability without changing the existing connection proof.
     3
    14*** CatalogPilot Connector Changelog ***
     5
     62026-11-03 - version 0.1.91
     7
     8* Added - Private channel updates are installed only when signed by CatalogPilot.
    29
    3102026-11-02 - version 0.1.90
  • catalogpilot-connector/trunk/readme.txt

    r3781347 r3784581  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 0.1.90
     7Stable tag: 0.1.92
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    129129
    130130== Changelog ==
     131
     132= 0.1.92 =
     133* Add authenticated store currency metadata for pairing during signup. Existing connections remain compatible.
     134
     135= 0.1.91 =
     136
     137* Added - Private channel updates are installed only when signed by CatalogPilot.
    131138
    132139= 0.1.90 =
Note: See TracChangeset for help on using the changeset viewer.