Skip to content

Releases: techdivision/import-cli-simple

5.0.0

26 Jul 08:35
Compare
Choose a tag to compare

Update from 4.2.x with minimum dependency on PHP 8.1 and third-party modules

  • Min. PHP Version set to 8.1.
  • replace dependency "behat/symfony2-extension" and "behat/mink-goutte-driver" with friends-of-behat/symfony-extension and "friends-of-behat/mink-browserkit-driver"
  • Upgrade required dependency
  • Correction of the compatibility of functions
    • src/Loggers/Handlers/HandlerWrapper.php::isHandling(array|LogRecord $record): bool
    • src/Loggers/Handlers/HandlerWrapper.php::handle(array|LogRecord $record): bool

4.2.6

11 Jul 13:55
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0
  • Updated composer package versions

Features

none

Bugfixes

  • import
    • Fix swiftmailer security bug
    • Update swiftmailer/swiftmailer with version ^6.0.0
  • import-product:
    • Add new paramater $clearCache to the method findOneBySku($sku, $clearCache = false) to clearcache in module techdivision/import-product
    • Add new methode removeCache(array $params = array()) in module techdivision/import-dbal-collection
  • import-product, import-product-ee, import-product-tier-price:
    • Fix issue: Remove the tier price for all products that are available through the fired listener
      • Define a new method addPrimarySkuToRowPkMapping to map the SKU with the primary SKU of the row
      • Define a new method addPrimarySkuToPkMapping to map the SKU with the primary SKU of the row for enterprise edition
      • Define new src/Utils/PrimarySkuToPkMappingUtil to limit the listener just to tier price SKUs and entity/Row IDs.

4.2.5

15 Apr 12:56
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0
  • Updated composer package versions

Features

none

Bugfixes

  • import
    • Add cache for image types to avoid unnecessary database queries #242
  • import-product
    • Get delimiter value from configuration \TechDivision\Import\Product\Observers\FileUploadObserver:process()
    • Compatibility stock information on produkt import and stock import
  • import-configuration-jms
  • Make composer dependencies compatible with Magento 2.4.7
    • Update package techdivision/import-cli with symfony/console in version ~6.0|~7.0
    • Update package techdivision/import withpsr/log with version ~2.0 ~3.0

4.2.4

14 Nov 11:19
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0

Features

  • import:

    • Extend multi/select callbacks with strict mode
    • Introduct new argument --config-dir for magento app/etc directory
    • Preparation of a customer path for Magento backend storage of the configuration in var/pacemaker/import/configuration
  • import-cli:

    • Introduct new argument --config-dir for magento app/etc directory
    • Preparation of a customer path for Magento backend storage of the configuration in var/pacemaker/import/configuration
  • import-configuration-jms:

    • Introduct new argument --config-dir for magento app/etc directory
    • Fix doctrine annotations 2 for PHP >= 8.0
  • import-customer:

    • Added strict mode handling for gender value
  • import-dbal-collection:

    • Better error message on PDOException

Bugfixes

  • Make composer dependencies compatible with Magento 2.4.6 (PAC-827)

    • Update symfony/dependency-injection with version ~6.0
    • Update symfony/http-kernel with version ~5.0 ~6.0
    • Update symfony/configl with version ~6.0
  • #METSUP-40: fix URL-Suffix in initial-import

    • Possibly clean an old cache entry with the correct ID at Multi Store Setup.
  • Import-category & Import-category-ee #METSUP-32:

    • url rewrites for the multistore store views are updated unintentionally
  • Start fix php8.2 deprecated warnings

  • import-product:

    • unset update_at from attribute by update statement to avoid old data
    • UrlKeyObserver: Optimize url_key function to extend/overwrite in own calculation
    • ProductInventory Mapping: fix header mapping for change set detection in cataloginventory_stock_item
    • Don't reset Inventory Stock quantity and status if csv column are empty
  • import-configuration-jms:

    • fix php compatibility error
  • import:

    • Fix Error for long character with UTF-8
    • Fix table metadata loader from tables with table prefix
    • Fix records with attribute value 'No' or '0' are not created
  • import-product-link:

    • Fix dynamic table name for tables with table prefix
  • import-product-variant:

    • Fix dynamic table name for tables with table prefix
  • import-customer:

    • Override customer update with existing (website_id and increment_id) or (email and website_id)
  • import-app-simple:

    • PHP 8.x third party library compatibility
    • Fix smyfony/console version 5 compatibility
  • import-attributes:

    • Fix EntityLoader initialization of default values

4.2.3

19 Dec 12:55
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0

Features

  • none

Bugfixes

  • import:
    • php 8.1 compatibility

4.2.2

19 Dec 12:01
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0

Features

  • add new config for ignored attribute on update defined in configuration.json
    • Example:
      • Ignore attribute code msrp_display_actual_price_type from catalog_product entity on update value
      • Ignore ALL attribute codes from catalog_category entity on update value
   "ignore-attribute-value-on-update": {
        "catalog_product": [
            "msrp_display_actual_price_type"
        ],
        "catalog_category": []
    }

Bugfixes

  • import:
    • Fix import duplicate data for global eav_attribute
    • Fix clear empty value per row
  • import-product-url-rewrite:
    • Url DB exception handle over strict-mode and ignore DB exceptions
  • import-dbal-collection:
    • Fix PHP 8.1 deprecation warnings

4.2.1

02 Dec 15:30
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0

Features

  • none

Bugfixes

  • import:

    • Fix warning on validation.json output when --clear-artefacts=true (default behavior) is used
  • import-product:

    • Fix stock status in legacy mode since Magento 2.4.4
    • Extend Interface ProductBunchProcessorInterface with method persistStockItemStatus()
  • import-customer-address:

    • Override address with existing customer and increment_id

4.2.0

25 Oct 16:04
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0

Features

  • import:
    • Configurable default parameters "delimiter", "enclosure" and "escape" for the CSV reader
      • define in configuration.json
  "delimiter": ",",
  "enclosure": "\"",
  "escape": "\u0000"
  • 'escape' is set to null by default to be backward compatible with PHP 7.3
  • import-customer:
    • new column is_activefor customer import
  • import-customer-address:
    • new column is_activefor address import. Over customer import the column named _address_is_active.

Bugfixes

  • import-product:
    • Fix has_options and required_options cleanup on product update
    • Fix header-mapping.json "allow_backorders": "backorders"
    • Fix set \Exception() parameter Compatible with php8.1
  • import-dbal-collection:
    • Fix API call with invalid URL
  • import-cli:
    • Fix \Exception() parameter compatibility with php8.1
  • import:
    • Define default configuration for CSV reader with Unicode null value for escaper to avoid crash on json_encoded data in CSV Columns
  • import-configuration-jms:
    • Remove default definition from CsvTrait to set from configuration.json.
    • see techdivison/import/CHANGELOG.md for more information
  • import-customer:
    • Use strict mode handling in customer import
    • remove created_at on update
    • Format DOB without time
    • Clear columns on update to update only fields that not null. Use __EMPTY__VALUE__ instead
  • import-customer-address:
    • fix crash on not existing configuration for customer/address/telephone_show
    • Clear columns on update to update only fields that not null. Use __EMPTY__VALUE__ instead

4.1.3

12 Aug 14:22
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0

Features

  • Add #PAC-353 new feature to get magento configuration from api in Pacemaker Enterprise
  • Add #PAC-215 option config-output as default false to report all configuration json files in logs

Bugfixes

  • import
    • Fix PHP8.1 crash on null parameter instead array
  • import-customer: Pac-622: Bugfix- format invalid dob value
  • import-customer-address:
    • Fix bugs:
      • PAC-619: Customer Address Import - Error if customer not found
      • PAC-613: Start Customer Address Import only if address information is included
      • PAC-621: Allow mandatory fields with Empty Value if not required

4.1.2

12 Jul 16:19
Compare
Choose a tag to compare
  • Min. PHP Version set to 7.3
  • Support PhpUnit 8.0
  • Please take a look at UPGRADE-4.0.0

Features

  • none

Bugfixes

  • import-product (hotfix)
    • Fix crash on Strict Mode definition in FileUploadObserver