Skip to content

v2.0.0

Compare
Choose a tag to compare
@mrix mrix released this 03 Jul 09:45
· 42 commits to develop since this release

The main goal of this release is to make the parser more flexible and more extendable.
The new parser is not compatible with the 1.x versions. So please make sure you don't use * in your composer.json.

Breaking changes

  • Xiag\Rql\Parser\Node\Query\LogicOperator namespace has been renamed to Xiag\Rql\Parser\Node\Query\LogicalOperator
  • Xiag\Rql\Parser\TokenParser namespace has been renamed to Xiag\Rql\Parser\NodeParser
  • Xiag\Rql\Parser\Parser::createDefault() has been removed in favor of the default constructor new Xiag\Rql\Parser\Parser()
  • Xiag\Rql\Parser\Parser\DataType\DateTime has been removed in favor of \DateTime
  • true, false, null type guessing has been removed. Use the values functions instead
  • Date type (without time) has been removed. Use dateime YYYY-MM-DD\Thh:mm:ss\Z instead (here's an example how to add it)
  • The minimal PHP version has been increased to 5.5

New features

  • Lexer and Parser have become more flexible. Look at the examples
  • glob parsing has been completely rewritten (#1, #7)
  • New Advanced usage examples

Bugfixes

  • Fixed the bug with glob in eq operator (#1)