From a1a4202175c309ce39407656ed824c67bef74ed4 Mon Sep 17 00:00:00 2001 From: Jerry Smidt Date: Mon, 18 May 2026 11:00:59 +0200 Subject: [PATCH 1/3] =?UTF-8?q?Mention=20H=C3=BFva=20Theme=20compatibility?= =?UTF-8?q?=20in=20Readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 056e515..489492a 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,10 @@ Although we can't guarantee compatibility with other checkout modules, our modul If you found the solution already and have some code to contribute, feel free to open a pull request in this repository. +### Hÿva Theme + +We also provide a [compatibility module for the Hÿva Theme](https://github.com/postcode-nl/PostcodeEu_Api_Hyva). + ## Address API documentation You can find our API documentation at https://developer.postcode.eu/documentation. From d816bc089dd1bffd73ec30af2b7fc6008ab310fb Mon Sep 17 00:00:00 2001 From: Jerry Smidt Date: Mon, 18 May 2026 11:32:04 +0200 Subject: [PATCH 2/3] Replace md5 function usage, fixes codesniffer error --- Cron/UpdateApiData.php | 2 +- composer.json | 2 +- etc/config.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cron/UpdateApiData.php b/Cron/UpdateApiData.php index f08bb61..03ad39f 100644 --- a/Cron/UpdateApiData.php +++ b/Cron/UpdateApiData.php @@ -102,7 +102,7 @@ public function execute(): void continue; } - $hash = md5($key . ':' . $secret); + $hash = hash('sha256', $key . ':' . $secret); $groupedScopes[$hash] ??= ['key' => $key, 'secret' => $secret, 'scopes' => []]; $groupedScopes[$hash]['scopes'][] = $scope; diff --git a/composer.json b/composer.json index 676d27a..947ebc0 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "postcode-nl/api-magento2-module", - "version": "4.1.0", + "version": "4.1.1", "description": "Postcode.eu Address Validation module for Magento 2. Adds autocompletion for addresses in multiple countries using official postal data.", "require": { "php": "^7.4 || ^8.0", diff --git a/etc/config.xml b/etc/config.xml index a2f9899..03ec38c 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -3,7 +3,7 @@ - 4.1.0 + 4.1.1 new From 298245e0139ec4fa6757d4ebe6ec07eff9902eb8 Mon Sep 17 00:00:00 2001 From: Jerry Smidt Date: Mon, 18 May 2026 14:30:31 +0200 Subject: [PATCH 3/3] Revert link to Hyva module - Not yet published, but will be soon. --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 489492a..056e515 100644 --- a/README.md +++ b/README.md @@ -65,10 +65,6 @@ Although we can't guarantee compatibility with other checkout modules, our modul If you found the solution already and have some code to contribute, feel free to open a pull request in this repository. -### Hÿva Theme - -We also provide a [compatibility module for the Hÿva Theme](https://github.com/postcode-nl/PostcodeEu_Api_Hyva). - ## Address API documentation You can find our API documentation at https://developer.postcode.eu/documentation.