Upgrade¶
Target group: Developers
From version 2.0 to 3.0¶
The namespace of the JobRouter TYPO3 Data classes have changed from
\Brotkrueml\JobRouterData
Copied!
to
\JobRouter\AddOn\Typo3Data
Copied!
The easiest way to update your code to the new namespace is to use search/replace in your project.
The package name (used in composer.
) has changed from
brotkrueml/
to jobrouter/
.
From version 1.x to version 2¶
Version 2 of this extension introduced some breaking changes, notably:
- The repository classes are no longer based on Extbase. They are now using the connection object or the query builder provided by TYPO3 and Doctrine DBAL.
- The Extbase model classes are gone. Instead there are now immutable entity
classes for column, dataset, table and transfer under the namespace
\Brotkrueml\
. There are also no getters available anymore, instead just use the public properties (which are readonly).Job Router Data\ Domain\ Entity - The
Dataset
entity does not provide aget
method as the previous Extbase model. Instead the dataset property now always holds an array of the JSON-decoded dataset.Dataset Content For Column () - The
Job
is now injectable via constructor. All method signatures have changed and now require the table handle as first argument.Data Repository - The
get
method of the PSR-14 event ModifyColumnContentEvent returns always a IETF RFC 5646 compatible locale string in TYPO3 v12.Locale ()