Commit 7bb1d85
authored
Update version to v2.2.0 (#181)
Here's the changelog:
- The plugin now requires PHP 7.2 or newer.
- The plugin now supports PHP 8.4.
- The plugin now requires only PDO and PDO SQLite. The SQLite3 PHP
extension is no longer required.
- Added support for information schema queries with `WHERE`, `ORDER BY`,
and `AS`.
- Fixed error when a column name equals a keyword name (e.g., a column
named `timestamp`).
- New SQLite driver for advanced MySQL compatibility (experimental):
- The new driver can be enabled using `define( 'WP_SQLITE_AST_DRIVER',
true );`.
- Advanced support of the MySQL syntax.
- Advanced support for subqueries.
- Advanced support for `UNION` and `UNION ALL` operators.
- Advanced support for `SHOW` and `DESCRIBE` statements.
- Advanced support for `INFORMATION_SCHEMA` tables.
- Advanced support for `TEMPORARY` tables.
- Advanced support for table administration statements
(`TRUNCATE`, `ANALYZE`, `CHECK` `OPTIMIZE`, `REPAIR`).
- Support for `STRICT_TRANS_TABLES` and `STRICT_ALL_TABLES` SQL modes.
- Support for `NO_BACKSLASH_ESCAPES` SQL mode.
- Support for `USE <database>` statement for the main database
and `INFORMATION_SCHEMA`.
- Automatic migration of databases created with the legacy driver.
- The driver is tested against the WordPress PHPUnit test suite, passing
most of the tests.
- The driver requires SQLite 3.37.0 or newer.1 parent 4cfe524 commit 7bb1d85
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
0 commit comments