Skip to content

Commit 9a18cb9

Browse files
committed
version bump to v2.1.0
also, some additional information in the CHANGELOG and README files.
1 parent 04d111c commit 9a18cb9

File tree

3 files changed

+10
-19
lines changed

3 files changed

+10
-19
lines changed

CHANGELOG.md

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

3-
## prerelease 2.1.0.rc3 / 2024-09-18
4-
5-
### Improved
6-
7-
- Allow suppression of fork safety warnings. [#566] @flavorjones
8-
9-
10-
## prerelease 2.1.0.rc2 / 2024-09-18
11-
12-
### Improved
13-
14-
- Address a performance regression in 2.1.0.rc1.
15-
16-
17-
## prerelease 2.1.0.rc1 / 2024-09-18
3+
## 2.1.0 / 2024-09-24
184

195
### Ruby
206

@@ -28,9 +14,9 @@ Sqlite itself is [not fork-safe](https://www.sqlite.org/howtocorrupt.html#_carry
2814
- 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.
2915
- These connections will be incompletely closed ("discarded") which will result in a one-time memory leak in the child process.
3016

31-
If it's at all possible, we strongly recommend that you close writable database connections in the parent before forking.
17+
If it's at all possible, we strongly recommend that you close writable database connections in the parent before forking. If absolutely necessary (and you know what you're doing), you may suppress the fork safety warnings by calling `SQLite3::ForkSafety.suppress_warnings!`.
3218

33-
See the README "Fork Safety" section and `adr/2024-09-fork-safety.md` for more information. [#558] @flavorjones
19+
See the README's "Fork Safety" section and `adr/2024-09-fork-safety.md` for more information. [#558, #565, #566] @flavorjones
3420

3521

3622
### Improved
@@ -39,6 +25,11 @@ See the README "Fork Safety" section and `adr/2024-09-fork-safety.md` for more i
3925
- When setting a Database `busy_handler`, fire the write barrier to prevent potential crashes during the GC mark phase. [#556] @jhawthorn
4026

4127

28+
### Documentation
29+
30+
- The `FAQ.md` has been updated to fix some inaccuracies. [#562] @rickhull
31+
32+
4233
## 2.0.4 / 2024-08-13
4334

4435
### Dependencies

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ To help protect users of this gem from accidental corruption due to this lack of
160160
connections in the child will incur a small one-time memory leak per connection, but that's
161161
preferable to potentially corrupting your database.
162162

163-
Whenever possible, close writable connections in the parent before forking.
163+
Whenever possible, close writable connections in the parent before forking. If absolutely necessary (and you know what you're doing), you may suppress the fork safety warnings by calling `SQLite3::ForkSafety.suppress_warnings!`.
164164

165165
See [./adr/2024-09-fork-safety.md](./adr/2024-09-fork-safety.md) for more information and context.
166166

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.1.0.rc3"
2+
VERSION = "2.1.0"
33
end

0 commit comments

Comments
 (0)