Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/continuous_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
- uses: actions/[email protected]
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
Expand All @@ -40,7 +42,8 @@ jobs:
uses: actions/[email protected]
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

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/stable_patch_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
- uses: actions/[email protected]
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
Expand Down Expand Up @@ -76,7 +78,8 @@ jobs:
uses: actions/[email protected]
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

Expand Down
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- BEGIN RELEASE NOTES -->
### [Unreleased]

### [4.4.2] - 2025-11-04

#### Changed
- Update Klaviyo V3 API revision to 2025-10-15

#### Added
- Add isKlaviyoEnabled to product/viewed.phtml.

#### Fixed
- Ensure Controller/Checkout/Email.php loads proper classes on frontend
- Ensure Controller/Checkout/Email.php loads proper classes on frontend.

### [4.4.1] - 2025-09-15

Expand Down Expand Up @@ -335,7 +341,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- END RELEASE NOTES -->
<!-- BEGIN LINKS -->
[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
Expand Down
16 changes: 8 additions & 8 deletions KlaviyoV3Sdk/KlaviyoV3Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion composer.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -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\\": ""
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion composer.magento-coding-standard.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Klaviyo_Reclaim" setup_version="4.4.1" schema_version="4.4.1">
<module name="Klaviyo_Reclaim" setup_version="4.4.2" schema_version="4.4.2">
<sequence>
<module name="Magento_Customer"/>
<module name="Magento_Checkout"/>
Expand Down