Skip to content

Commit

Permalink
version bump to v2.1.0.rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Sep 18, 2024
1 parent 5f4b0aa commit 81ea485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sqlite3-ruby Changelog

## next / unreleased
## prerelease 2.1.0.rc1 / 2024-09-18

### Ruby

Expand All @@ -11,7 +11,7 @@

Sqlite itself is [not fork-safe](https://www.sqlite.org/howtocorrupt.html#_carrying_an_open_database_connection_across_a_fork_). Specifically, writing in a child process to a database connection that was created in the parent process may corrupt the database file. To mitigate this risk, sqlite3-ruby has implemented the following changes:

- Open writable database connections carried across a `fork()` will immediately be closed in the child process to mitigate the risk of corrupting the database file.
- All open writable database connections carried across a `fork()` will immediately be closed in the child process to mitigate the risk of corrupting the database file.
- These connections will be incompletely closed ("discarded") which will result in a one-time memory leak in the child process.

If it's at all possible, we strongly recommend that you close writable database connections in the parent before forking.
Expand Down
2 changes: 1 addition & 1 deletion lib/sqlite3/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SQLite3
VERSION = "2.0.4"
VERSION = "2.1.0.rc1"
end

0 comments on commit 81ea485

Please sign in to comment.