Skip to content

Releases: Endereco/endereco-shopware6-client

Release 6.5.4

21 Jan 10:24
Compare
Choose a tag to compare

Release Notes - Version 6.5.4

Bug Fixes

  • Fixed country selection issues

    • Resolved a critical issue where inactive countries that could not be selected in the frontend landed in js-sdk mapping table
    • Modified country and state queries to only select active records
    • Prevents mismatches between frontend display and backend mapping tables
    • Improves overall reliability of country/state selection functionality
  • Make address validation for imported customer addresses optional

    • New configuration option to explicitly enable/disable address checks during customer import operations (disabled by default)
    • When enabled, validates addresses and splits streets for imported customer data
    • Helps maintain data quality during bulk imports while giving merchants control over validation costs
    • Can be configured per sales channel

Documentation & Code Quality

  • Improved code comments accuracy
    • Updated misleading comment in EnderecoService regarding import/export check functionality
    • Fixed comment count mismatch in AddressSubscriber for import events
    • Enhanced code readability and maintenance

Technical Details

  • Added new configuration field enderecoImportExportCheck in system config
  • Implemented import detection logic in AddressSubscriber
  • Added active status filtering for country and state repository queries
  • Enhanced address integrity checking logic during import operations

This release focuses on improving data import functionality and fixing critical selection issues while maintaining high code quality standards.

Release 5.5.4

21 Jan 10:28
Compare
Choose a tag to compare

Release Notes - Version 5.5.4

Bug Fixes

  • Fixed country selection issues

    • Resolved a critical issue where inactive countries that could not be selected in the frontend landed in js-sdk mapping table
    • Modified country and state queries to only select active records
    • Prevents mismatches between frontend display and backend mapping tables
    • Improves overall reliability of country/state selection functionality
  • Make address validation for imported customer addresses optional

    • New configuration option to explicitly enable/disable address checks during customer import operations (disabled by default)
    • When enabled, validates addresses and splits streets for imported customer data
    • Helps maintain data quality during bulk imports while giving merchants control over validation costs
    • Can be configured per sales channel

Documentation & Code Quality

  • Improved code comments accuracy
    • Updated misleading comment in EnderecoService regarding import/export check functionality
    • Fixed comment count mismatch in AddressSubscriber for import events
    • Enhanced code readability and maintenance

Technical Details

  • Added new configuration field enderecoImportExportCheck in system config
  • Implemented import detection logic in AddressSubscriber
  • Added active status filtering for country and state repository queries
  • Enhanced address integrity checking logic during import operations

This release focuses on improving data import functionality and fixing critical selection issues while maintaining high code quality standards.

Release 4.5.4

21 Jan 10:29
Compare
Choose a tag to compare

Release Notes - Version 4.5.4

Bug Fixes

  • Fixed country selection issues

    • Resolved a critical issue where inactive countries that could not be selected in the frontend landed in js-sdk mapping table
    • Modified country and state queries to only select active records
    • Prevents mismatches between frontend display and backend mapping tables
    • Improves overall reliability of country/state selection functionality
  • Make address validation for imported customer addresses optional

    • New configuration option to explicitly enable/disable address checks during customer import operations (disabled by default)
    • When enabled, validates addresses and splits streets for imported customer data
    • Helps maintain data quality during bulk imports while giving merchants control over validation costs
    • Can be configured per sales channel

Documentation & Code Quality

  • Improved code comments accuracy
    • Updated misleading comment in EnderecoService regarding import/export check functionality
    • Fixed comment count mismatch in AddressSubscriber for import events
    • Enhanced code readability and maintenance

Technical Details

  • Added new configuration field enderecoImportExportCheck in system config
  • Implemented import detection logic in AddressSubscriber
  • Added active status filtering for country and state repository queries
  • Enhanced address integrity checking logic during import operations

This release focuses on improving data import functionality and fixing critical selection issues while maintaining high code quality standards.

Release 6.5.3

30 Sep 10:55
Compare
Choose a tag to compare

Changes

  • Corrected the for attribute assignment in the label element for the house number input field.
  • The label now correctly references the element with ID {{ prefix }}AddressHouseNumber instead of erroneously pointing to {{ prefix }}AddressStreet.

Technical Details

  • Affected file: src/Resources/views/storefront/component/address/address-form.html.twig
  • Change in block: component_address_form_endereco_housenumber_label

Impact

This correction enhances the accessibility of the address form by establishing a proper association between the label and input field. This supports screen readers and other assistive technologies in correctly interpreting and presenting the form.

Release 5.5.3

30 Sep 10:55
Compare
Choose a tag to compare

Changes

  • Corrected the for attribute assignment in the label element for the house number input field.
  • The label now correctly references the element with ID {{ prefix }}AddressHouseNumber instead of erroneously pointing to {{ prefix }}AddressStreet.

Technical Details

  • Affected file: src/Resources/views/storefront/component/address/address-form.html.twig
  • Change in block: component_address_form_endereco_housenumber_label

Impact

This correction enhances the accessibility of the address form by establishing a proper association between the label and input field. This supports screen readers and other assistive technologies in correctly interpreting and presenting the form.

Release 4.5.3

30 Sep 10:54
Compare
Choose a tag to compare

Changes

  • Corrected the for attribute assignment in the label element for the house number input field.
  • The label now correctly references the element with ID {{ prefix }}AddressHouseNumber instead of erroneously pointing to {{ prefix }}AddressStreet.

Technical Details

  • Affected file: src/Resources/views/storefront/component/address/address-form.html.twig
  • Change in block: component_address_form_endereco_housenumber_label

Impact

This correction enhances the accessibility of the address form by establishing a proper association between the label and input field. This supports screen readers and other assistive technologies in correctly interpreting and presenting the form.

Release 6.5.2

26 Sep 10:56
Compare
Choose a tag to compare

Release Notes

Changes in EnderecoService.php

Bug Fix: Improved handling of HTTP_REFERER for backend requests

Issue:

In requests triggered from the backend, attempts to access $_SERVER['HTTP_REFERER'] could result in PHP warnings when the key doesn't exist.

Impact:

These warnings were being treated as errors by Symfony's error handler (starting from Shopware 6.6.4.0 and Symfony 7.1), leading to excessive error logging and decreased perceived product quality.

Solution:

Updated the code to use the null coalescing operator (??) instead of the ternary operator (?:) when setting the X-Transaction-Referer header.

Benefits:

  • Eliminates PHP warnings when HTTP_REFERER is not set.
  • Reduces unnecessary error logs in Shopware 6.6.4.0 and later versions.
  • Improves the overall stability and perceived quality of the product.
  • Adheres to modern PHP best practices for null checking.

Release 6.5.1

10 Jul 12:49
Compare
Choose a tag to compare

Release Notes 6.5.1

Compatible Shopware 6 Versions

6.6.0.0 - 6.6.4.0

Improvements

  • Improve compatibility with DHL Shipping plugin

Release 5.5.1

10 Jul 12:39
Compare
Choose a tag to compare

Release Notes 5.5.1

Compatible Shopware 6 Versions

6.5.0.0 - 6.5.8.11

Improvements

  • Improve compatibility with DHL Shipping plugin

Release 4.5.1

10 Jul 12:33
Compare
Choose a tag to compare

Release Notes 4.5.1

Compatible Shopware 6 Versions

6.4.0.0 - 6.4.20.2

Improvements

  • Improve compatibility with DHL Shipping plugin