sqlite3 2.1.0.rc3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f625987268dc96e27d1a765bc4a1be109444b46ed293ae332e104c8a988a5682
4
- data.tar.gz: 4e85e9d72c9a58569d4f9c54b2a2186c958ced8a354d09274c22d760ad2d895c
3
+ metadata.gz: 4422ed8d735f1e7c93e10f12391cc5288e86ce6c88082801d2a8802cba59c4b4
4
+ data.tar.gz: 6cb6d2bdd88e0ad873dc0a897f6f09e46a6d001f72602adf92b7f7b8a6400128
5
5
  SHA512:
6
- metadata.gz: 6fe89b6a8af14427cf475bbcd68d6a55086d9857c44e7e84d380f0a28cf1e0f0dcfb2512391c48f8eef3ea1a22ab6b9ff9e9557f352ef5648a29d8f2b4adc84e
7
- data.tar.gz: f0857a167acb9a134d5d6119b8621d47fdcb91a0eef076624cc4b563088283d0ad0f66cf7bf336e9b117e33422cc87d3b7ee50499e7d580912e0921517d88d27
6
+ metadata.gz: 2f0baddcbe70a9a8eb22093f707b19226873cbb5e76b3eb9af8b97fd3a8ebda4f1344303ce6220fe297ca4f0edfb5f55eb2585c2832742a315e9c877e69ecaaf
7
+ data.tar.gz: e843b06be319ae179d1aa99f5d703788d9d65f2e6f36708cc59eb26b8571830113ef531897e53bb9e55d6d074b2814a5ec273bb216384f25dfc453f3bae2cad8
data/CHANGELOG.md CHANGED
@@ -1,20 +1,6 @@
1
1
  # sqlite3-ruby Changelog
2
2
 
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
18
4
 
19
5
  ### Ruby
20
6
 
@@ -28,9 +14,9 @@ Sqlite itself is [not fork-safe](https://www.sqlite.org/howtocorrupt.html#_carry
28
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.
29
15
  - These connections will be incompletely closed ("discarded") which will result in a one-time memory leak in the child process.
30
16
 
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!`.
32
18
 
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
34
20
 
35
21
 
36
22
  ### Improved
@@ -39,6 +25,11 @@ See the README "Fork Safety" section and `adr/2024-09-fork-safety.md` for more i
39
25
  - When setting a Database `busy_handler`, fire the write barrier to prevent potential crashes during the GC mark phase. [#556] @jhawthorn
40
26
 
41
27
 
28
+ ### Documentation
29
+
30
+ - The `FAQ.md` has been updated to fix some inaccuracies. [#562] @rickhull
31
+
32
+
42
33
  ## 2.0.4 / 2024-08-13
43
34
 
44
35
  ### Dependencies
data/README.md CHANGED
@@ -160,7 +160,7 @@ To help protect users of this gem from accidental corruption due to this lack of
160
160
  connections in the child will incur a small one-time memory leak per connection, but that's
161
161
  preferable to potentially corrupting your database.
162
162
 
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!`.
164
164
 
165
165
  See [./adr/2024-09-fork-safety.md](./adr/2024-09-fork-safety.md) for more information and context.
166
166
 
@@ -1,3 +1,3 @@
1
1
  module SQLite3
2
- VERSION = "2.1.0.rc3"
2
+ VERSION = "2.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqlite3
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.rc3
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck