Skip to content

Releases: SQLFTW/sqlftw

v0.1.16

20 Aug 13:47
Compare
Choose a tag to compare
  • Parser API and initialization changes (BC Break):
    • Separate ParserConfig with lexing/parsing options
    • Parser::parse() returns Generator, TokenList is available via $command->getTokenList() if Parser is configured to provide it
  • Separate Statement interface from implementation (every Command is a Statement)
  • Better name length checking
  • Some MySQL 8.0.33/34 fixes

v0.1.15

28 Feb 13:34
Compare
Choose a tag to compare
  • fixed serializing UNIQUE INDEX as UNIQUE KEY (invalid syntax)
  • about 2x parsing speedup

v0.1.14

08 Feb 11:04
Compare
Choose a tag to compare
  • fix checking and extending token list when parsing compound statements

v0.1.13

31 Oct 15:30
Compare
Choose a tag to compare
  • Add mb3 variants of all utf8 collations

v0.1.12

19 Oct 15:58
Compare
Choose a tag to compare
  • support up to MySQL 8.0.34
  • fixed quoting reserved words

v0.1.11

03 May 13:26
Compare
Choose a tag to compare
  • Fixed wrong marking interface in InsertCommand and ReplaceCommand

v0.1.10

17 Mar 11:22
Compare
Choose a tag to compare
  • Fixed autoload

v0.1.9

17 Mar 10:38
Compare
Choose a tag to compare

BC Breaks:

  • DELIMITER ;; is now a client side extension (ClientSideExtension::ALLOW_DELIMITER_DEFINITION) and by default not parsed as valid SQL syntax; routine definitions are parsed without need for user delimiters
  • Removed delimiter, charset and mode from Session constructor. use separate setters

New features:

  • Support for new features from MySQL 8.0.32
  • SelectExpression collects raw expression string with exact whitespace etc. (closes #15)

Fixes:

  • Identifier can follow after a float without whitespace
  • Structured system variable can start with keyword default. prefix
  • Directories build, doc, tests removed from release package

v0.1.8

02 Mar 12:27
Compare
Choose a tag to compare
  • Temporarily deactivated built-in charset-collation compatibility rule (not recognizing that utf8 is alias for utf8mb3)

v0.1.7

20 Feb 14:52
Compare
Choose a tag to compare
  • BCBreak: fixed := not being supported in all places. Classes ..\Dal\Set\SetAssignment and ..\Sql\Dml\Assignement merged into ..\Sql\Assignment. := is never normalized to = (fixes #19)
  • CHAR SET is another alias for CHARACTER SET and CHARSET (fixes #12)
  • Fix table options and alter options serialisation in ALTER TABLE