From 6b1fbee534902b901163c8c5061f1cfddd58ebc5 Mon Sep 17 00:00:00 2001 From: Scott Moucka Date: Tue, 4 Nov 2025 11:17:52 -0500 Subject: [PATCH 1/2] Update Klaviyo V3 API revision to 2025-10-15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- CHANGELOG.md | 8 +++++++- KlaviyoV3Sdk/KlaviyoV3Api.php | 16 ++++++++-------- composer.dev.json | 2 +- composer.json | 2 +- composer.magento-coding-standard.dev.json | 2 +- etc/module.xml | 2 +- 6 files changed, 19 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a695454..7bc23ff0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### [Unreleased] +### [4.4.2] - 2025-11-04 + +#### Changed +- Update Klaviyo V3 API revision to 2025-10-15 + #### Fixed - Ensure Controller/Checkout/Email.php loads proper classes on frontend @@ -333,7 +338,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 -[Unreleased]: https://github.com/klaviyo/magento2-klaviyo/compare/4.4.1...HEAD +[Unreleased]: https://github.com/klaviyo/magento2-klaviyo/compare/4.4.2...HEAD +[4.4.2]: https://github.com/klaviyo/magento2-klaviyo/compare/4.4.1...4.4.2 [4.4.1]: https://github.com/klaviyo/magento2-klaviyo/compare/4.4.0...4.4.1 [4.4.0]: https://github.com/klaviyo/magento2-klaviyo/compare/4.3.1...4.4.0 [4.3.1]: https://github.com/klaviyo/magento2-klaviyo/compare/4.3.0...4.3.1 diff --git a/KlaviyoV3Sdk/KlaviyoV3Api.php b/KlaviyoV3Sdk/KlaviyoV3Api.php index ba6b504a..7292c797 100644 --- a/KlaviyoV3Sdk/KlaviyoV3Api.php +++ b/KlaviyoV3Sdk/KlaviyoV3Api.php @@ -14,7 +14,7 @@ class KlaviyoV3Api * Host and versions */ const KLAVIYO_HOST = 'https://a.klaviyo.com/'; - const KLAVIYO_V3_REVISION = '2025-04-15'; + const KLAVIYO_V3_REVISION = '2025-10-15'; /** * Request methods @@ -130,7 +130,7 @@ public function getHeaders() /** * Query for all available lists in Klaviyo - * https://developers.klaviyo.com/en/v2025-04-15/reference/get_lists + * https://developers.klaviyo.com/en/v2025-10-15/reference/get_lists * * @return array * @throws KlaviyoApiException @@ -156,7 +156,7 @@ public function getLists() /** * Search for profile by Email - * https://developers.klaviyo.com/en/v2025-04-15/reference/get_profiles + * https://developers.klaviyo.com/en/v2025-10-15/reference/get_profiles * * @param $email * @return false|mixed @@ -179,7 +179,7 @@ public function searchProfileByEmail($email) /** * Add a Profile to a list using profile id - * https://developers.klaviyo.com/en/v2025-04-15/reference/create_list_relationships + * https://developers.klaviyo.com/en/v2025-10-15/reference/create_list_relationships * * @param $list_id * @param $profile_id @@ -202,7 +202,7 @@ public function addProfileToList($list_id, $profile_id) /** * Create a new Profile in Klaviyo - * https://developers.klaviyo.com/en/v2025-04-15/reference/create_profile + * https://developers.klaviyo.com/en/v2025-10-15/reference/create_profile * * @param $profile_properties * @return array|string|null @@ -236,7 +236,7 @@ public function createProfile($profile_properties) */ /** * Record an event for a customer on their Klaviyo profile - * https://developers.klaviyo.com/en/v2025-04-15/reference/create_event + * https://developers.klaviyo.com/en/v2025-10-15/reference/create_event * * @param $config * @return array @@ -263,7 +263,7 @@ public function track($config) /** * Subscribe members to a Klaviyo list - * https://developers.klaviyo.com/en/v2025-04-15/reference/bulk_subscribe_profiles + * https://developers.klaviyo.com/en/v2025-10-15/reference/bulk_subscribe_profiles * * @param $listId * @param $profiles @@ -300,7 +300,7 @@ public function subscribeMembersToList($listId, $profiles) /** * Unsubscribe profile from a Klaviyo list - * https://developers.klaviyo.com/en/v2025-04-15/reference/bulk_subscribe_profiles + * https://developers.klaviyo.com/en/v2025-10-15/reference/bulk_subscribe_profiles * @param string $email * @return array|null|string */ diff --git a/composer.dev.json b/composer.dev.json index 6d3f37a9..bfd0bdd5 100644 --- a/composer.dev.json +++ b/composer.dev.json @@ -2,7 +2,7 @@ "name": "klaviyo/magento2-extension-dev", "description": "The local development composer file. This is used for local and continuous integration setup/testing.", "type": "magento2-module", - "version": "4.4.1", + "version": "4.4.2", "autoload": { "psr-4": { "Klaviyo\\Reclaim\\": "" diff --git a/composer.json b/composer.json index 2868fdcd..07e7e5ee 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "klaviyo/magento2-extension", "description": "Klaviyo extension for Magento 2. Allows pushing newsletters to Klaviyo's platform and more.", "type": "magento2-module", - "version": "4.4.1", + "version": "4.4.2", "autoload": { "files": [ "registration.php" diff --git a/composer.magento-coding-standard.dev.json b/composer.magento-coding-standard.dev.json index ebd2e9e7..4747b172 100644 --- a/composer.magento-coding-standard.dev.json +++ b/composer.magento-coding-standard.dev.json @@ -2,7 +2,7 @@ "name": "klaviyo/magento2-extension-coding-standard-dev", "description": "The development composer file for coding standard.", "type": "magento2-module", - "version": "4.4.1", + "version": "4.4.2", "config": { "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true diff --git a/etc/module.xml b/etc/module.xml index 9edc0d81..2b3d1140 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,6 +1,6 @@ - + From 1061852a16439a50e8bc359d9884a2574e56ef6f Mon Sep 17 00:00:00 2001 From: Scott Moucka Date: Tue, 4 Nov 2025 16:26:08 -0500 Subject: [PATCH 2/2] pin click dependency version --- .github/workflows/continuous_deployment.yml | 5 ++++- .github/workflows/stable_patch_deployment.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous_deployment.yml b/.github/workflows/continuous_deployment.yml index e4238bf5..fc64f041 100644 --- a/.github/workflows/continuous_deployment.yml +++ b/.github/workflows/continuous_deployment.yml @@ -16,6 +16,8 @@ jobs: - uses: actions/setup-python@v4.4.0 with: python-version: "3.11" + - name: Install click 8.2.2 until bug in 8.3.0 is resolved + run: pip install click==8.2.2 - name: Install Changelogger run: pip install changelogged==0.11.3 - name: Get Latest Version @@ -40,7 +42,8 @@ jobs: uses: actions/setup-python@v4.4.0 with: python-version: '3.11' - + - name: Install click 8.2.2 until bug in 8.3.0 is resolved + run: pip install click==8.2.2 - name: Install Changelogger run: pip install changelogged==0.11.3 diff --git a/.github/workflows/stable_patch_deployment.yml b/.github/workflows/stable_patch_deployment.yml index 5c46116a..6ae17914 100644 --- a/.github/workflows/stable_patch_deployment.yml +++ b/.github/workflows/stable_patch_deployment.yml @@ -16,6 +16,8 @@ jobs: - uses: actions/setup-python@v4.4.0 with: python-version: "3.11" + - name: Install click 8.2.2 until bug in 8.3.0 is resolved + run: pip install click==8.2.2 - name: Install Changelogger run: pip install changelogged==0.11.3 - name: Get Latest Version @@ -76,7 +78,8 @@ jobs: uses: actions/setup-python@v4.4.0 with: python-version: '3.11' - + - name: Install click 8.2.2 until bug in 8.3.0 is resolved + run: pip install click==8.2.2 - name: Install Changelogger run: pip install changelogged==0.11.3