Skip to content

Release 1.3.2

Latest

Choose a tag to compare

@iljamobilemojo iljamobilemojo released this 12 Aug 10:28

Compatibility

This version of the plugin is compatible with JTL-Shop 5.1.2 - 5.7.2
This version of the plugin is compatible with PHP 7.4 - 8.4

Overview

This is a maintenance release that hardens address handling against
missing session data and extends compatibility testing to PHP 8.4 and
the latest JTL-Shop 5.6 and 5.7 patch releases.

Bug Fixes

Null-Safety for Session Address Objects

  • Issue: Reading $_SESSION['Kunde'] and $_SESSION['Lieferadresse']
    without guarding for the unset case could trigger "Undefined array key"
    warnings and, in some flows, fatal errors when no customer or shipping
    address was present in the session.
  • Solution: All session reads in AjaxHandler (billing and shipping
    address updates) and MetaHandler (loadMetaFromDatabase() and the
    billing/shipping meta helpers) now null-check the session objects before
    use and return early when they are missing.
  • Impact: Address handling behaves consistently when session data is
    incomplete. Guest customers (kKunde == 0) continue to be processed as
    before.

Compatibility Update

Added PHP 8.4 Support

  • Newer JTL-Shop 5 releases run on PHP 8.4, which previously blocked updates
    in shops where the plugin officially supported only up to PHP 8.3.
  • Compatibility with PHP 8.4 was verified (no code changes were required) and
    PHP 8.4 is now part of the automated QA pipeline.

Added JTL-Shop 5.6.2 and 5.7.2 Support

  • Extended the static analysis configuration and shop download scripts to
    target the latest JTL-Shop patch releases 5.6.2 and 5.7.2.
  • Hardened the PHPStan step of the QA pipeline: shop versions are fetched
    automatically before analysis and the memory limit was raised to 1G to
    prevent out-of-memory errors.

Migration Notes

This update is backward compatible and requires no manual migration steps.
All existing configurations will continue to work without changes.