|
| 1 | +# Change Log |
| 2 | + |
| 3 | +## [Unreleased] |
| 4 | + |
| 5 | +* Fix parsing of REPLACE INTO ... |
| 6 | +* Fix parsing of INSERT ... ON DUPLICATE KEY UPDATE ... |
| 7 | +* Extended testsuite |
| 8 | + |
| 9 | +## [3.4.5] - 2016-09-13 |
| 10 | + |
| 11 | +* Fix parsing of INSERT...SELECT and INSERT...SET syntax |
| 12 | +* Fix parsing of CREATE TABLE ... PARTITION |
| 13 | +* Fix parsing of SET CHARACTER SET, CHARSET, NAMES |
| 14 | +* Add Support for 'CREATE TABLE `table_copy` LIKE `table` |
| 15 | + |
| 16 | +## [3.4.4] - 2016-04-26 |
| 17 | + |
| 18 | +* Add support for FULL OUTER JOIN |
| 19 | + |
| 20 | +## [3.4.3] - 2016-04-19 |
| 21 | + |
| 22 | +* Fix parsing of query with \ |
| 23 | + |
| 24 | +## [3.4.2] - 2016-04-07 |
| 25 | + |
| 26 | +* Recognize UNION DISTINCT |
| 27 | +* Recognize REGEXP and RLIKE operators |
| 28 | + |
| 29 | +## [3.4.1] - 2016-04-06 |
| 30 | + |
| 31 | +* Add FULLTEXT and SPATIAL keywords |
| 32 | +* Properly parse CREATE TABLE [AS] SELECT |
| 33 | +* Fix parsing of table with DEFAULT and COMMENT |
| 34 | + |
| 35 | +## [3.4.0] - 2016-02-23 |
| 36 | + |
| 37 | +* Fix parsing DEFAULT value on CREATE |
| 38 | +* Fix parsing of ALTER VIEW |
| 39 | + |
| 40 | +## [3.3.1] - 2016-02-12 |
| 41 | + |
| 42 | +* Condition: Allow keyword `INTERVAL`. |
| 43 | + |
| 44 | +## [3.3.0] - 2016-02-12 |
| 45 | + |
| 46 | +* Expression: Refactored parsing options. |
| 47 | + |
| 48 | +## [3.2.0] - 2016-02-11 |
| 49 | + |
| 50 | +* Context: Added custom mode that avoids escaping when possible. |
| 51 | + |
| 52 | +## [3.1.0] - 2016-02-10 |
| 53 | + |
| 54 | +* ArrayObj: Handle more complex expressions in arrays. |
| 55 | +* BufferedQuery: Backslashes in comments escaped characters in comments. |
| 56 | +* Condition: Allow `IF` in conditions. |
| 57 | +* Context: Add `;` as operator. |
| 58 | +* Context: Updated contexts to contain `BIT` data type. |
| 59 | +* CreateStatement: The `DEFAULT` option may be an expression. |
| 60 | +* DescribeStatement: Added `DESC` as alias for `DESCRIBE`. |
| 61 | +* Expression: Rewrote expression parsing. |
| 62 | +* Misc: Added PHPUnit's Code Coverage 3.0 as a dependency. |
| 63 | +* Misc: Added support for PHP 5.4 back. |
| 64 | +* Misc: Removed dependency to Ctype. |
| 65 | +* Misc: Repository transfered from @udan11 to @phpMyAdmin. |
| 66 | +* Misc: Updated `.gitignore` to ignore `composer.lock`. |
| 67 | +* Misc: Updated Composer and Travis configuration for PHP 7 and PHPUnit 5. |
| 68 | +* Tools: Documented tags in `ContextGenerator`. |
| 69 | + |
| 70 | +## [3.0.8] - 2015-12-18 |
| 71 | + |
| 72 | +* Allow `NULL` in expressions. |
| 73 | +* Downgraded PHPUnit to 4.8. Removed old PHP versions. |
| 74 | +* Updated PHPUnit to 5.1 and fixed some of the tests. |
| 75 | +* Added `UNION ALL` as a type of `UNION`. |
| 76 | +* Expressions are permitted in `SET` operations. |
| 77 | +* Added `STRAIGHT_JOIN` as a known type of join. |
| 78 | +* Added missing definitions for `MATCH` and `AGAINST`. |
| 79 | +* Added missing statement (`FLUSH` and `DEALLOCATE`). |
| 80 | + |
| 81 | +## [3.0.7] - 2015-11-12 |
| 82 | + |
| 83 | +* Expressions may begin with a function that is also a reserved keyword (e.g. `IF`). |
| 84 | + |
| 85 | +## [3.0.6] - 2015-11-12 |
| 86 | + |
| 87 | +* Fixed a bug where formatter split the function name and the parameters list. |
| 88 | + |
| 89 | +## [3.0.5] - 2015-11-08 |
| 90 | + |
| 91 | +* Add GRANT as known statement. |
| 92 | +* Use JOIN expressions for flag detection. |
| 93 | +* Fix the order of clauses in SELECT statements involving UNIONs. |
| 94 | +* Added dummy parsers for CREATE USER and SET PASSWORD statements. |
| 95 | +* Accept NOT operator in conditions. |
| 96 | +* Fixed DELIMITER statements in BufferedQuery. |
| 97 | +* Added INSERT statement builder. |
| 98 | + |
| 99 | +## [3.0.4] - 2015-10-21 |
| 100 | + |
| 101 | +* Fix error message in `SqlParser\Components\OptionsArray`. |
| 102 | + |
| 103 | +## [3.0.3] - 2015-10-10 |
| 104 | + |
| 105 | +* Avoid building a field multiple times if clause has synonyms. |
| 106 | + |
| 107 | +## [3.0.2] - 2015-10-10 |
| 108 | + |
| 109 | +* Add EXISTS as an acceptable keyword in conditions. |
| 110 | + |
| 111 | +## [3.0.1] - 2015-10-06 |
| 112 | + |
| 113 | +* Handle backslashes separately for `SqlParser\Utils\BufferedQuery`. Fixes a bug where backslashes in combination with strings weren't handled properly. |
| 114 | + |
| 115 | +## [3.0.0] - 2015-10-02 |
| 116 | + |
| 117 | +__Breaking changes:__ |
| 118 | + |
| 119 | +* `SqlParser\Components\Reference::$table` is now an instance of `SqlParser\Components\Expression` to support references from other tables. |
| 120 | + |
| 121 | +## [2.1.3] - 2015-10-02 |
| 122 | + |
| 123 | +* Add definitions for all JOIN clauses. |
| 124 | + |
| 125 | +## [2.1.2] - 2015-10-02 |
| 126 | + |
| 127 | +* Properly parse options when the value of the option is '='. |
| 128 | + |
| 129 | +## [2.1.1] - 2015-09-30 |
| 130 | + |
| 131 | +* Only RANGE and LIST type partitions support VALUES. |
| 132 | + |
| 133 | +## [2.1.0] - 2015-09-30 |
| 134 | + |
| 135 | +* Added utilities for handling tokens and tokens list. |
| 136 | + |
| 137 | +## [2.0.3] - 2015-09-30 |
| 138 | + |
| 139 | +* Added missing NOT IN operator. This caused troubles when parsing conditions that contained the `NOT IN` operator. |
| 140 | + |
| 141 | +## [2.0.2] - 2015-09-30 |
| 142 | + |
| 143 | +* Added support for `OUTER` as an optional keyword in joins. |
| 144 | + |
| 145 | +## [2.0.1] - 2015-09-30 |
| 146 | + |
| 147 | +* Fixed a bug related to (sub)partitions options not being included in the built component. Also, the option `ENGINE` was unrecognized. |
| 148 | + |
| 149 | +## [2.0.0] - 2015-09-25 |
| 150 | + |
| 151 | +* Better parsing for CREATE TABLE statements (related to breaking change 1). |
| 152 | +* Added support for JSON data type. |
| 153 | +* Refactoring and minor documentation improvements. |
| 154 | + |
| 155 | +__Breaking changes:__ |
| 156 | +* `SqlParser\Components\Key::$columns` is now an array of arrays. Each array must contain a `name` key which represents the name of the column and an optional `length` key which represents the length of the column. |
| 157 | + |
| 158 | +## [1.0.0] - 2015-08-20 |
| 159 | + |
| 160 | +* First release of this library. |
| 161 | + |
0 commit comments