Skip to content

Commit 63cfa98

Browse files
committed
chore: prepare 0.0.9 release
1 parent 2934f58 commit 63cfa98

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

docs/releases/0.0.9.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SumUp Terminal for WooCommerce 0.0.9
2+
3+
## Highlights
4+
5+
- Adds a hybrid SumUp SDK integration: sites running PHP 8.2+ use the prefixed official `sumup/sumup-php` SDK for supported reader operations.
6+
- Keeps WordPress HTTP as the compatibility client for PHP 7.4-8.1, so the plugin PHP requirement remains PHP 7.4+.
7+
- Adds a settings status card that explains whether the official SDK or WordPress HTTP compatibility client is active.
8+
9+
## Changes
10+
11+
- Removed the unused `sumup/sumup-ecom-php-sdk` dependency.
12+
- Bundled a prefixed copy of the official SumUp PHP SDK and guarded its autoloader so PHP versions below 8.2 never parse SDK files.
13+
- Split reader API transport code behind a shared client interface, with SDK calls falling back to the WordPress HTTP client on SDK exceptions.
14+
- Added SDK reader response normalization to preserve the existing array shape consumed by the gateway.
15+
- Added activation/runtime guards for unsupported PHP versions below the plugin minimum.
16+
- Documented the SDK/compatibility-client decision in `docs/adr/0001-sumup-sdk-hybrid.md`.
17+
- Included regression coverage for activation, conditional SDK autoloading, compatibility messaging, pairing payloads, and SDK reader normalization.
18+
19+
## Compatibility notes
20+
21+
- Minimum plugin runtime remains PHP 7.4.
22+
- The official SumUp SDK path is active only on PHP 8.2+ when the bundled prefixed SDK is available.
23+
- Sites on PHP 7.4-8.1 continue to use the WordPress HTTP compatibility client; payments can still work normally.

sumup-terminal-for-woocommerce.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: SumUp Terminal for WooCommerce
44
* Description: Adds SumUp Terminal support to WooCommerce for in-person payments.
5-
* Version: 0.0.8
5+
* Version: 0.0.9
66
* Author: kilbot
77
* Author URI: https://kilbot.com/
88
* Update URI: https://github.com/wcpos/sumup-terminal-for-woocommerce
@@ -21,7 +21,7 @@
2121
}
2222

2323
// Define constants.
24-
\define( 'SUTWC_VERSION', '0.0.8' );
24+
\define( 'SUTWC_VERSION', '0.0.9' );
2525
\define( 'SUTWC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
2626
\define( 'SUTWC_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
2727
\define( 'SUTWC_MINIMUM_PHP_VERSION', '7.4' );

0 commit comments

Comments
 (0)