- Return type for
PHPCR\Util\QOM\QueryBuilder::getQuery
is not nullable.
- The SQL generator now escapes single quotes
'
. This avoids SQL injection risks. If you escaped strings manually (by duplicating the'
) you will need to stop doing that as otherwise the query will be run with duplicated single quotes.
- Support Symfony 7
- Drop support for Symfony 2
- Remove deprecated code, clean up workarounds for Symfony 2.
- Drop support for PHP 7, test with PHP 8.3
- Adjusted commands to have the return type declarations.
- Codestyle fixes.
- Fixed handling of QOM fulltext search expression which should never be string but a
QOM\StaticOperandInterface
. - Fixed EOF detection while parsing CND with PHP 7+.
- Introduced phpstan and fixed a couple of undeclared properties and other findings.
- Test with PHP 8.2
- Drop support for PHP 7.1
- Fix more deprecations with PHP 8.1. Round floats when using them as a timestamp, rather than the implicit conversion that floored them.
- Fix deprecations of PHP 8.1
- Fixed handling of windows style newlines in SQL2 parsing.
- Refactored SQL2 parsing to be more efficient.
- Compatible with Symfony 6
- Compatible with PHP 8.1
- Fix SQL 2 scanner delimiter detection to handle that tokens don't necessarily have whitespace between them.
- Fix issues with PHPUnit 9
- Support PHP 8
- Drop support for PHP 5.6 and 7.0
- Support Symfony 5
- Test with PHP 7.3 and 7.4
- Added option to phpcr:workspace:import command to be able to specify the UUID behavior on collisions during import
- Support Symfony 4
- Support for PHP 7.2
- Support for PHP 5.6/7.0/7.1
- 2017-11-18: Removed hhvm test
- 2015-07-13: Added Symfony 3 compatibility for the console commands. If you use
the commands, update your
cli-config.php
according tocli-config.php.dist
to set the question helper if it is available.
- 2014-10-24: Fixed SQL2 handling, notably precedency when generating SQL2 and parsing of literals.
- 2014-10-05: Added PathHelper::getLocalNodeName
- 2014-09-01: Added PathHelper::relativizePath
- 2014-06-11: handle escaping fulltext search literal when converting from/to QOM/SQL2
Cleanups and adjustments, particularly on the command handling.
-
2014-01-08: Lots of bugfixes and cleanups. Improved CLI commands. If you are using the cli-config.php, compare your file with cli-config.php.dist.
-
2013-12-28**: PathHelper::getNodeName validates the path and throws an exception if it is not given a valid path with slashes in it.
- 2013-06-15: [Command] Added
--apply-closure
option tophpcr:nodes:update
command.