Releases: phpmyadmin/sql-parser
Releases · phpmyadmin/sql-parser
v3.1.0
- ArrayObj: Handle more complex expressions in arrays.
- BufferedQuery: Backslashes in comments escaped characters in comments.
- Condition: Allow
IF
in conditions. - Context: Add
;
as operator. - Context: Updated contexts to contain
BIT
data type. - CreateStatement: The
DEFAULT
option may be an expression. - DescribeStatement: Added
DESC
as alias forDESCRIBE
. - Expression: Rewrote expression parsing.
- Misc: Added PHPUnit's Code Coverage 3.0 as a dependency.
- Misc: Added support for PHP 5.4 back.
- Misc: Removed dependency to Ctype.
- Misc: Repository transfered from @udan11 to @phpmyadmin.
- Misc: Updated
.gitignore
to ignorecomposer.lock
. - Misc: Updated Composer and Travis configuration for PHP 7 and PHPUnit 5.
- Tools: Documented tags in
ContextGenerator
.
v3.0.8
- Allow
NULL
in expressions. - Downgraded PHPUnit to 4.8. Removed old PHP versions.
- Updated PHPUnit to 5.1 and fixed some of the tests.
- Added
UNION ALL
as a type ofUNION
. - Expressions are permitted in
SET
operations. - Added
STRAIGHT_JOIN
as a known type of join. - Added missing definitions for
MATCH
andAGAINST
. - Added missing statement (
FLUSH
andDEALLOCATE
).
v3.0.7
v3.0.6
v3.0.5
- Add GRANT as known statement.
- Use JOIN expressions for flag detection.
- Fix the order of clauses in SELECT statements involving UNIONs.
- Added dummy parsers for CREATE USER and SET PASSWORD statements.
- Accept NOT operator in conditions.
- Fixed DELIMITER statements in BufferedQuery.
- Added INSERT statement builder.