-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Version 4 to 5 | ||
============== | ||
|
||
A few public things changed. That's why the creation of another major version was required. | ||
|
||
* The ``$connector`` dependency in ``Jtl\Connector\Core\Application\Application`` class moved from constructor to ``run()`` method. In this way an application can get instantiated without any knowledge about a specific connector. | ||
* The properties ``$request`` and ``$response`` in ``Jtl\Connector\Core\Application\Application`` class were renamed to ``$httpRequest`` and ``$httpResponse``, due to better understanding. So the method ``setRequest()`` was changed to ``setHttpRequest()`` as well. | ||
* The method ``addIdentificationString()`` was replaced by ``setIdentificationString()`` and ``setIdentificationStringBySubject()`` and the ``$mainLanguageIso`` argument on the ``getIdentificationStrings()`` method was removed in ``Jtl\Connector\Core\Model\AbstractModel``. | ||
* The optional argument ``$mainLanguageIso`` in the ``getIdentificationStrings()`` method was removed in ``Jtl\Connector\Core\Model\AbstractModel``. First available translation will be taken instead. | ||
* All classes from the ``Jtl\Connector\Core\Type`` namespace were removed and replaced by reflection. | ||
* Use of the class ``Jtl\Connector\Core\Model\TranslatableAttribute`` was simplified. A new property `type` was added, for being able to cast attribute values. Available types are `bool`, `float`, `int`, `json` and `string` (default). Actually the `type` property can be set only in the code. Idea is that `type` property can be set by JTL-Wawi in future. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Upgrading | ||
========= | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
4-to-5 | ||
|
||
.. include:: /upgrading/map.rst.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* :doc:`/upgrading/4-to-5` |