Skip to content

Commit dd0bcd6

Browse files
authored
Release 3.1.2 (#578)
## Release `3.1.2` Version bump and changelog update for release `3.1.2`. **Changelog draft:** * Allow configuring the SQLite busy timeout with `SQLITE_BUSY_TIMEOUT` ([#558](#558)) * Keep the user transaction active after a failed statement ([#536](#536)) * Support odd-length `0x` hexadecimal literals ([#573](#573)) * Fix rebuilds of legacy text and binary columns ([#565](#565)) * Use `'0'` column defaults in non-strict `INSERT` statements ([#569](#569)) * Roll back failed `OPTIMIZE TABLE` and `REPAIR TABLE` rebuilds ([#567](#567)) * Remove the Rust parser extension ([#566](#566)) * Preserve `AUTO_INCREMENT` counters when rebuilding tables ([#561](#561)) * Fix `ALTER TABLE ... ADD (...)` for columns, indexes, and constraints ([#557](#557)) * Fix `ON UPDATE CURRENT_TIMESTAMP` for explicit values and unchanged rows ([#560](#560)) * Normalize zero defaults in date and time columns ([#542](#542)) * Add support for `ALTER COLUMN` with `SET DEFAULT` and `DROP DEFAULT` ([#555](#555)) **Full changelog:** v3.1.1...release/v3.1.2 ## Next steps 1. **Review** the changes in this pull request. 2. **Push** any additional edits to this branch (`release/v3.1.2`). 3. **Merge** this pull request to complete the release. Merging will automatically build the plugin ZIP, create a [GitHub release](https://github.com/WordPress/sqlite-database-integration/releases), and deploy to [WordPress.org](https://wordpress.org/plugins/sqlite-database-integration/). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Release** * Updated the SQLite database integration to version 3.1.2. * **New Features** * Added support for more `ALTER TABLE` operations and configurable SQLite busy timeouts. * **Bug Fixes** * Improved transaction handling after failed statements and addressed SQL compatibility, table rebuild, and default-value handling issues. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent f581e83 commit dd0bcd6

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

‎packages/mysql-on-sqlite/src/version.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
*
1010
* This constant needs to be updated on plugin release!
1111
*/
12-
define( 'SQLITE_DRIVER_VERSION', '3.1.1' );
12+
define( 'SQLITE_DRIVER_VERSION', '3.1.2' );

‎packages/plugin-sqlite-database-integration/load.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: SQLite Database Integration
44
* Description: SQLite database driver drop-in.
55
* Author: The WordPress Team
6-
* Version: 3.1.1
6+
* Version: 3.1.2
77
* Requires PHP: 7.2
88
* Network: true
99
* License: GPL-2.0-or-later

‎packages/plugin-sqlite-database-integration/readme.txt‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: wordpressdotorg, aristath, janjakes, zieladam, berislav.grgic
44
Requires at least: 6.4
55
Tested up to: 7.1
66
Requires PHP: 7.2
7-
Stable tag: 3.1.1
7+
Stable tag: 3.1.2
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
Tags: sqlite, database
@@ -91,6 +91,21 @@ Yes. The plugin replaces the default MySQL-based database layer with an SQLite-b
9191

9292
== Changelog ==
9393

94+
= 3.1.2 =
95+
96+
* Allow configuring the SQLite busy timeout with `SQLITE_BUSY_TIMEOUT` ([#558](https://github.com/WordPress/sqlite-database-integration/pull/558))
97+
* Keep the user transaction active after a failed statement ([#536](https://github.com/WordPress/sqlite-database-integration/pull/536))
98+
* Support odd-length `0x` hexadecimal literals ([#573](https://github.com/WordPress/sqlite-database-integration/pull/573))
99+
* Fix rebuilds of legacy text and binary columns ([#565](https://github.com/WordPress/sqlite-database-integration/pull/565))
100+
* Use `'0'` column defaults in non-strict `INSERT` statements ([#569](https://github.com/WordPress/sqlite-database-integration/pull/569))
101+
* Roll back failed `OPTIMIZE TABLE` and `REPAIR TABLE` rebuilds ([#567](https://github.com/WordPress/sqlite-database-integration/pull/567))
102+
* Remove the Rust parser extension ([#566](https://github.com/WordPress/sqlite-database-integration/pull/566))
103+
* Preserve `AUTO_INCREMENT` counters when rebuilding tables ([#561](https://github.com/WordPress/sqlite-database-integration/pull/561))
104+
* Fix `ALTER TABLE ... ADD (...)` for columns, indexes, and constraints ([#557](https://github.com/WordPress/sqlite-database-integration/pull/557))
105+
* Fix `ON UPDATE CURRENT_TIMESTAMP` for explicit values and unchanged rows ([#560](https://github.com/WordPress/sqlite-database-integration/pull/560))
106+
* Normalize zero defaults in date and time columns ([#542](https://github.com/WordPress/sqlite-database-integration/pull/542))
107+
* Add support for `ALTER COLUMN` with `SET DEFAULT` and `DROP DEFAULT` ([#555](https://github.com/WordPress/sqlite-database-integration/pull/555))
108+
94109
= 3.1.1 =
95110

96111
* Support date arithmetic with `INTERVAL` operators ([#539](https://github.com/WordPress/sqlite-database-integration/pull/539))

0 commit comments

Comments
 (0)