Releases: phpmyadmin/sql-parser
Releases · phpmyadmin/sql-parser
Release list
6.0.0
Added
- #550: Create the
StatementInfoclass - #549: Add
leftOperand,operatorandrightOperandproperties to theConditioncomponent
Changed
- Add native type declarations
- #365: Change
Componentabstract class to an interface - #368: Rename class members to use camel case format
- #384: Change
Context::load()error handling from throwing an exception to returning a boolean value - #454: Move
Misc::getAliases()intoSelectStatement::getAliases() - #480: Split up Context::escape()
- #470: Restrict parameter type of
OptionsArray::merge - #483: Split build into buildAll
- #505: Change some static properties into class constants
- #504: Change
TokensListclass to add thebuildFromArraymethod - #507: Replace the
Token::TYPE_*constants with theTokenTypeenum - #543: Extract
parsemethod from components into Parsers
Removed
5.11.1
5.11.0
5.10.3
5.10.2
5.10.1
Fixed
- Fix parsing of ALTER TABLE … RENAME KEY (#580)
- Fix parsing table names that start with "e1" (#578)
- Improve handling of negative and overflowed offsets on TokensList (#582)
- Fix parsing of queries with 'AND' (#590)
- Fix C style comments with two asterisks (#597)
- Fix parsing of SRID in column definition (#595)
5.10.0
- Fix parsing of UPDATE ... SET (#577)
- Fix parsing of WITH PARSER (#563)
- Fix context files for MySQL and MariaDB (#572) (#576)
- Allow using
::classkeyword to load a context (#571) - Fix query flags for lower-case functions (#564)
- Improve context files by using constants (#570)
- Fix case when a condition is not parsed correctly (#560)
- Support parsing KILL statements (#556)
- Fix replace clause of select statement with FOR UPDATE (#555)
- Add support for ALTER FUNCTION and ALTER PROCEDURE statements (#553)
5.9.1
5.9.0
5.8.2
Fixed ALTER .. MODIFY ... ENUM failed! #511