Releases: MegaChriz/afasprofit
Releases · MegaChriz/afasprofit
PHP 8.1 support
Changes in this release:
- PHP 8.1 support added, support for PHP 7.2 and older dropped.
- Symfony 5 and 6 support added, support for Symfony 3 and older dropped.
- Added compatibility with Drupal 10 (and dropped compatibility with Drupal 8).
- XML elements in Soap Body are now namespaced.
- Updated XML schemes of update connectors.
The XML schemes are used when validating the data to send to Profit. Since the last change to these schemes, Profit has added fields and objects to several update connectors. For example: object type 'AfasFbOrderCompLines' is new for the update connector 'FbSales'. - Added feature to have the type of entity to create, update or delete be different from the connector type.
This fixes an issue of usage of the 'FiEntries' update connector where the type of entity to create must be 'FiEntryPar'. - Added example for generating XML schemes for update connectors.
Updates to interfaces:
\Afas\Component\Soap\SoapClientInterface
: return type added to method__doRequest()
.\Afas\Core\ServerInterface
has new optional parameters for some methods.
PHP 8.0 support
This release adds support for PHP 8.0. And it allows the library to be used with Drupal 9.
Support for PHP 5 has been dropped. The minimal required version is PHP 7.0. However, the minimal tested version is PHP 7.2.
Bug fixes:
- Fixed wrong used parameter name in
\Afas\Core\Connector\SubjectConnector::getAttachment()
.
Updates to interfaces:
\Afas\Core\Connector\GetConnectorInterface
has a new method calledgetFilterContainer()
.\Afas\Core\Connector\UpdateConnectorInterface
has a new method calledgetEntityContainer()
.