Version 4.1.0
- Removed
usmanhalalit/viocon
composer dependency (Container support) to increase library performance. - Moved event-types constants to
EventHandler
fromQueryBuilderHandler
. - Added return-types to more methods.
- Added
IQueryBuilderHandler
interface for more implementations of return-types. - Added more return-types to methods.
- Fixed return-type for some phpDoc blocks and methods.
- Fixed insert so it uses Transactions when inserting multiple/batch.
- Fixed issue where bindings with null-value was unavailable/missing from query (issue: #35).
- Added unit tests for bindings with null-value (issue: #35)
- Changed PDO-parameter behavior so it automatically parses correct parameter-type.
- Simplified PDO-parameter bindings on queries.
- Transactions are now working correctly for batch-insert (issue: #31).
- Fixed nested transactions not working and added unit-tests (issue: #31).
- Added very basic unit-tests for Transactions.
- Minor optimisation, cleanup and bug-fixes.
- Updated existing unit-tests.
- Updated documentation.
Release note
This version contains breaking changes. Before upgrading, please read the read the release notes carefully.
Removed usmanhalalit/viocon
composer dependency (Container support) to increase library performance.
If you are currently using containers in your projects, please note that this feature is no longer supported in the pecee-pixie
library. To create custom connection-adapter, you need to inherit the IConnectionAdapter
interface and use it as a driver on your Connection
object instead.
Moved event-type constant from QueryBuilderHandler
to EventHandler
class.
Event-type constant has been moved to the EventHandler
class. Please change all references to QueryBuilderHandler::EVENT_BEFORE_UPDATE
etc. to EventHandler::EVENT_BEFORE_UPDATE
.