Releases: WordPress/sqlite-database-integration
Releases · WordPress/sqlite-database-integration
v2.2.4
What's Changed
- New SQLite driver (experimental):
- Add support for MySQL user variables by @JanJakes in #214
- Add basic support for MySQL system variables by @JanJakes in #214
- Add better support for
SETstatements by @JanJakes in #214 - Add Query Monitor support by @JanJakes in #212 and #217
- Add support for
INFORMATION_SCHEMA.SCHEMATAtable andSHOW DATABASESstatement by @JanJakes in #213 - Use
utf8mb4_0900_ai_cias the default collation as per MySQL 8 by @JanJakes in #213 - Require using session database name and verify its value by @JanJakes in #213
- Use correct MySQL-compatible result column names in all scenarios by @JanJakes in #214
- Fix
LIKEinSHOW COLUMNbeing applied to table name instead of column name by @JanJakes in #211 - Add a test for more complex information schema queries by @JanJakes in #208
Full Changelog: v2.2.3...v2.2.4
v2.2.3
What's Changed
- New SQLite driver (experimental):
- Make nullable
$previousoptional inclass-wp-sqlite-information-schema-exception.phpby @adamziel in #199 - Use SQLite driver in
WpdbExposedMethodsForTestingby @JanJakes in #201 - Use default value when
DB_NAMEconstant is not defined by @JanJakes in #203 - Don't require WordPress to be fully loaded in WP CLI by @JanJakes in #205
- Make nullable
Full Changelog: v2.2.2...v2.2.3
v2.2.2
v2.2.1
v2.2.0
What's Changed
- 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, andAS. - Fixed error when a column name equals a keyword name (e.g., a column named
timestamp). - New SQLite driver for advanced MySQL compatibility (experimental) by @JanJakes:
- 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
UNIONandUNION ALLoperators. - Advanced support for
SHOWandDESCRIBEstatements. - Advanced support for
INFORMATION_SCHEMAtables. - Advanced support for
TEMPORARYtables. - Advanced support for table administration statements (
TRUNCATE,ANALYZE,CHECKOPTIMIZE,REPAIR). - Support for
STRICT_TRANS_TABLESandSTRICT_ALL_TABLESSQL modes. - Support for
NO_BACKSLASH_ESCAPESSQL mode. - Support for
USE <database>statement for the main database andINFORMATION_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.
- The new driver can be enabled using
Full Changelog: v2.1.16...v2.2.0
v2.1.16
What's Changed
- Exhaustive MySQL Parser by @adamziel and @JanJakes in #157
- Fix datetime field with empty default by @wojtekn in #166
- Fix unlimited key lengths issue by @wojtekn in #168
- Exclude
.githubdirectory for export, unify wp-includes paths by @JanJakes in #172
New Contributors
Full Changelog: v2.1.15...v2.1.16
v2.1.15
v2.1.14
What's Changed
- Fix invalid default values in
show createoutput by @jeroenpf in #141 - Add support for optional COLUMN in ALTER TABLE CHANGE query by @costasovo in #142
- Allow ALTER TABLE to operate on columns without COLUMN keyword by @brandonpayton in #145
- Add support for selecting journal mode by @aristath in #137
- Ensure that an index is also created using IF NOT EXISTS if it comes from a CREATE TABLE IF NOT EXISTS by @akirk in #134
- Add handling for adding/modifying columns with FIRST/AFTER by @JanJakes in #147
- Add support for
ON UPDATE CURRENT_TIMESTAMPcolumns by @JanJakes in #150 - Add support for
CURRENT_TIMESTAMP()calls with parentheses by @JanJakes in #151 - Sqlite: Fix LIKE BINARY queries by @kozer in #149
New Contributors
- @costasovo made their first contribution in #142
- @JanJakes made their first contribution in #147
Full Changelog: v2.1.13...v2.1.14
v2.1.13
Full Changelog: v2.1.12...v2.1.13
v2.1.12
What's Changed
- Bugfixes in SHOW CREATE TABLE and SHOW TABLES by @adamziel in #117
- Support multi-value column type modifiers for
_mysql_data_types_cacheby @jeroenpf in #126 - Support CREATE TABLE unique keys with no key name by @akirk in #130
- Address PK issues for show create table queries by @jeroenpf in #127
- Ensure wp core functions exist before using them by @jeroenpf in #135
- Fix length of index names for a create table statement by @jeroenpf in #133
- Fix PHP 8 issue with
strtoupper()by @aristath in #132 - Allow double underscores in index names by @jeroenpf in #136
New Contributors
Full Changelog: v2.1.11...v2.1.12