Releases: cobwebch/external_import
6.2.1
6.2.0
This version contains one new feature: the ability to choose a sorting order for child records, based on a value from one of the fields in the external data being imported (see https://docs.typo3.org/p/cobweb/external_import/main/en-us/Administration/Children/Index.html#sorting).
In version 6.1.0, a new event was introduced to manipulate substructures. It was introduced only for array-type structures and is now available also for XML-type structures. This may have an impact on existing event listeners. Please refer to the upgrade instructions:
https://docs.typo3.org/p/cobweb/external_import/main/en-us/Installation/Index.html#upgrade-to-6-2-0
This version also contains some other minor bug fixes, mostly related to PHP 8+ compatibility, and some documentation improvements.
6.1.1
6.1.0
This release contains some small new features and a couple of bug fixes. The features are:
- a new PSR-14 event for manipulating substructures;
- the possibility to define a specific configuration for one or more columns when using
useColumnIndex
; - the sample image transformation function is now a bit smarter and tries to guess the type of image from the base64 code.
Among the bug fixes, the first one is particularly important:
- rows with an empty
referenceUid
(i.e. no external primary key) are dropped from the import. Before that, they resulted in records with an empty key in the database, each overriding one another. This behavior didn't make sense, but this bug fix still represents a change of behavior and should be noted; - the date transformation function does not use the
enforceTimeZone
parameter anymore (this is automatically handled by PHP's date functions); - some exceptions are caught in a smarter way, avoiding the message which indicated that there was a problem with the configuration while displaying a totally unrelated error.
This version also benefits from improved documentation.
6.0.4
This minor release contains the following bug fixes:
- improved Doctrine/DBAL compatibility (for non-composer installations, TYPO3 v10)
- safer handling of "enforcePid" property
- proper deletion of child records when parent has none in import data
- more compatibility with PHP 8.0
It also contains various improvements to the documentation.
6.0.3
This release fixes two important compatibility bugs:
- in TYPO3 11, an underlying change in the composer-based installation process changed the way path to resources was calculated, the effect being that the path to the Datatables JS library was wrong (so no search, nor sorting in the BE modules)
- for TYPO3 10, non composer-based installations, the version of symfony/dbal is rather old and iterating on query results created errors due to External Import using newer methods
6.0.2
This release contains the following bugfixes:
- many corrections for better compatibility with PHP 8 (array access, stricter typing)
- the process for updating slugs did not work with tables using "unique" as an
eval
property value for their slug field - when a custom step depended on another custom step, the validation would show a notice even though this actually worked
- the default table garbage collection task setup could overwrite an existing one
- debug messages now send more context so that they can be more easily found in a log storage (i.e. all debug messages are prepended with "[External Import]" plus the name of the table and the index of the configuration
6.0.1
This release fixes several issues with PHP 8 (undefined array keys, strict typing) and a couple of other bugs:
- when records are dropped by the
isEmpty
property, this is now logged when debug mode is activated - the
trim
property now strictly trims only strings. Other data types are left unchanged. Note that this change may affect your existing imports if you relied on on-the-fly casting (see https://docs.typo3.org/p/cobweb/external_import/6.0/en-us/Administration/Transformations/Index.html#trim).
6.0.0
This release adds support for TYPO3 11 and PHP 8, while dropping support for TYPO3 9.
This release received a major source code update. All existing hooks have been deprecated. They must be replaced by custom steps or PSR-14 events. All classes also use Dependency Injection where appropriate.
The main new features are:
- the
arrayPath
property can now be used both in the general configuration (to select the base structure to import) and in the columns configuration (to select a particular field or sub-array to import). It has also been expanded with new capabilities. - an
ifEmpty
property is available for columns, with flexible support for defining what can be considered empty and how to react to that.
A few more features and several bug fixes are also part of this release. Please refer to the documentation, the changelog and the project board for a complete overview.
Credits go to the Lausanne University Hospital for financing much of that work.