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
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,22 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['8.2', '8.3', '8.4']
php-version: ['8.2', '8.3', '8.4', '8.5']
env:
# Magento 2.4.7 does not run on PHP 8.4 or 8.5; those versions get the lint and isolated checks only.
MAGENTO_UNIT: ${{ matrix.php-version == '8.2' || matrix.php-version == '8.3' }}
steps:
- uses: actions/checkout@v4
with:
path: module
# Magento 2.4.7 does not run on PHP 8.4; that version gets the lint and isolated checks only.
- uses: actions/checkout@v4
if: matrix.php-version != '8.4'
if: env.MAGENTO_UNIT == 'true'
with:
repository: magento/magento2
ref: 2.4.7-p10
path: magento
- uses: actions/checkout@v4
if: matrix.php-version != '8.4'
if: env.MAGENTO_UNIT == 'true'
with:
repository: magento/inventory
ref: 1.2.7-p10
Expand All @@ -80,14 +82,14 @@ jobs:
find Api Block Console Controller Model Observer Plugin Setup Test view registration.php \( -name '*.php' -o -name '*.phtml' \) -print0 | xargs -0 -n1 php -l
for test in Test/*.test.php; do php "$test"; done
- name: Install Magento unit test dependencies
if: matrix.php-version != '8.4'
if: env.MAGENTO_UNIT == 'true'
run: |
cp -R ../inventory/InventoryApi ../inventory/InventorySalesApi ../magento/app/code/Magento/
mkdir -p ../magento/app/code/Hellotext
ln -s "$GITHUB_WORKSPACE/module" ../magento/app/code/Hellotext/Tracking
composer --working-dir=../magento install --no-interaction --prefer-dist --no-progress
- name: Run PHPUnit against Magento 2.4.7-p10
if: matrix.php-version != '8.4'
if: env.MAGENTO_UNIT == 'true'
working-directory: magento
run: vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist app/code/Hellotext/Tracking/Test/Unit

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.0.4 - 2026-11-14

- Allow PHP 8.5, required by Magento 2.4.9.

## 1.0.3 - 2026-11-03

- Report the page section (homepage, product collection or product details) from Magento's route, so page views, product views and Webchat messages say where they happened.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Connect your Magento store to Hellotext to track storefront activity and orders,

## Requirements

- Magento Open Source 2.4 (tested on 2.4.7)
- PHP 8.2, 8.3 or 8.4
- Magento Open Source 2.4 (tested on 2.4.7 and 2.4.9)
- PHP 8.2, 8.3, 8.4 or 8.5
- Magento Inventory (MSI) is optional; without it, stock checks use Magento's default stock
- An HTTPS storefront and a Magento API reachable by Hellotext

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "hellotext/magento",
"description": "Connect Magento Open Source stores to Hellotext: storefront activity, customer identity, orders and catalog/customer import.",
"type": "magento2-module",
"version": "1.0.3",
"version": "1.0.4",
"license": "proprietary",
"keywords": [
"magento",
Expand All @@ -20,7 +20,7 @@
"docs": "https://github.com/hellotext/magento/blob/main/docs/getting-started.md"
},
"require": {
"php": ">=8.2 <8.5",
"php": "~8.2.0||~8.3.0||~8.4.0||~8.5.0",
"magento/framework": "^103.0",
"magento/module-backend": "^102.0",
"magento/module-catalog": "^104.0",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<!-- setup_version registers the module in setup_module, which is the only list Magento reads to run
Setup/Uninstall.php when the module is uninstalled with its data. Declarative schema alone never adds it. -->
<module name="Hellotext_Tracking" setup_version="1.0.3">
<module name="Hellotext_Tracking" setup_version="1.0.4">
<sequence>
<module name="Magento_Catalog"/>
<module name="Magento_CatalogInventory"/>
Expand Down
Loading