Skip to content

Latest commit

 

History

History
153 lines (101 loc) · 2.93 KB

CHANGELOG.md

File metadata and controls

153 lines (101 loc) · 2.93 KB

Changelog

2.x

2.0.2

  • Return type for PHPCR\Util\QOM\QueryBuilder::getQuery is not nullable.

2.0.1

  • 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.

2.0.0

  • 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.

1.x

1.8.1

  • Codestyle fixes.

1.8.0

  • 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+.

1.7.0

  • Introduced phpstan and fixed a couple of undeclared properties and other findings.
  • Test with PHP 8.2
  • Drop support for PHP 7.1

1.6.3

  • Fix more deprecations with PHP 8.1. Round floats when using them as a timestamp, rather than the implicit conversion that floored them.

1.6.2

  • Fix deprecations of PHP 8.1

1.6.1

  • Fixed handling of windows style newlines in SQL2 parsing.

1.6.0

  • Refactored SQL2 parsing to be more efficient.

1.5.3

  • Compatible with Symfony 6
  • Compatible with PHP 8.1

1.5.2

  • Fix SQL 2 scanner delimiter detection to handle that tokens don't necessarily have whitespace between them.

1.5.1

  • Fix issues with PHPUnit 9

1.5.0

  • Support PHP 8
  • Drop support for PHP 5.6 and 7.0

1.4.1

  • Support Symfony 5
  • Test with PHP 7.3 and 7.4

1.4.0

  • Added option to phpcr:workspace:import command to be able to specify the UUID behavior on collisions during import

1.3.2

  • Support Symfony 4

1.3.1

  • Support for PHP 7.2

1.3.0

  • Support for PHP 5.6/7.0/7.1
  • 2017-11-18: Removed hhvm test

1.2.7

  • 2015-07-13: Added Symfony 3 compatibility for the console commands. If you use the commands, update your cli-config.php according to cli-config.php.dist to set the question helper if it is available.

1.2.0

  • 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

1.1.1

  • 2014-06-11: handle escaping fulltext search literal when converting from/to QOM/SQL2

1.1.0

Cleanups and adjustments, particularly on the command handling.

1.1.0-RC1

  • 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.

1.0.0

  • 2013-06-15: [Command] Added --apply-closure option to phpcr:nodes:update command.