Skip to content

Commit 81ea485

Browse files
committed
version bump to v2.1.0.rc1
1 parent 5f4b0aa commit 81ea485

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sqlite3-ruby Changelog
22

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

55
### Ruby
66

@@ -11,7 +11,7 @@
1111

1212
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:
1313

14-
- 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.
14+
- 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.
1515
- These connections will be incompletely closed ("discarded") which will result in a one-time memory leak in the child process.
1616

1717
If it's at all possible, we strongly recommend that you close writable database connections in the parent before forking.

lib/sqlite3/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module SQLite3
2-
VERSION = "2.0.4"
2+
VERSION = "2.1.0.rc1"
33
end

0 commit comments

Comments
 (0)