sqlite3 1.6.6 → 1.6.7

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: 916b6c34d191b071bdbdb4ea5860a66535f7b0008730184fb7073753f39753b9
4
- data.tar.gz: '069158d8564e94134c7ad1315c2a04dc3e896b38490ceab9cb5447bc171de20d'
3
+ metadata.gz: 2750d437bb01e011902c896c8e0dd7dd8e46c415486e27883d15d87dedfcab50
4
+ data.tar.gz: 14dc9ef146b6fc10d2964f587ff93c70d34091e19ccbaf86ddb62bfeb036c60e
5
5
  SHA512:
6
- metadata.gz: e4c6250fc8b5e700204023a0b59b5e0d8a697130c71eae53ce89cd1027f3f10999930641243c75b740a944117cc9c6584cc9afc1ed6c2df99500da3c005dd973
7
- data.tar.gz: cd5c58af998628f536eefc8314c286ba38ef2a3d6db675d02fd6c17f1800c546fe99d15f5e579dc3499145f28f27e5d8edb1c1fd6f174dd8a5aa6f56c0656f59
6
+ metadata.gz: 4a4667f9df908c99a5e47f273437a4cee75042355fa3d7212dce9d430f859b494a480b00fa4acf45dd8af9097538ef3bf2e6c14682cbc775b7444a9a2251ee3e
7
+ data.tar.gz: 3af7b30ff362abcdcae15f1bba7188932fddc651941aaadbd2fcc7ca1d772830a2cace539e0b4b3074d548c21f73a0e75d143671f069550f5800d7e4f86dded1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # sqlite3-ruby Changelog
2
2
 
3
+ ## 1.6.7 / 2023-10-10
4
+
5
+ ### Dependencies
6
+
7
+ Vendored sqlite is updated to [v3.43.2](https://sqlite.org/releaselog/3_43_2.html).
8
+
9
+ Upstream release notes:
10
+
11
+ > - Fix a couple of obscure UAF errors and an obscure memory leak.
12
+ > - Omit the use of the sprintf() function from the standard library in the [CLI](https://sqlite.org/cli.html), as this now generates warnings on some platforms.
13
+ > - Avoid conversion of a double into unsigned long long integer, as some platforms do not do such conversions correctly.
14
+
15
+
16
+ ### Added
17
+
18
+ * Compile packaged sqlite3 with additional flags to explicitly enable FTS5, and set synchronous mode to normal when in WAL mode. [#408] (@flavorjones)
19
+
20
+
3
21
  ## 1.6.6 / 2023-09-12
4
22
 
5
23
  ### Dependencies
data/Gemfile CHANGED
@@ -8,4 +8,4 @@ gem("rake-compiler-dock", "1.3.0")
8
8
  gem("rdoc", "6.5.0")
9
9
  gem("psych", "5.1.0")
10
10
 
11
- gem("ruby_memcheck", "2.1.2") if Gem::Platform.local.os == "linux"
11
+ gem("ruby_memcheck", "2.2.0") if Gem::Platform.local.os == "linux"
data/dependencies.yml CHANGED
@@ -1,14 +1,15 @@
1
1
  # TODO: stop using symbols here once we no longer support Ruby 2.7 and can rely on symbolize_names
2
2
  :sqlite3:
3
3
  # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
4
+ # a7463a45ed58849200858e514b79f7e5f5d69850047897c5b659a78a0bc75cc1
4
5
  #
5
- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3430100.tar.gz
6
- # 8c6242fb2abf6a556e849d259134aca9130520b2218f9a7fb1f50eb0528a385a ports/archives/sqlite-autoconf-3430100.tar.gz
6
+ # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3430200.tar.gz
7
+ # a7463a45ed58849200858e514b79f7e5f5d69850047897c5b659a78a0bc75cc1 ports/archives/sqlite-autoconf-3430200.tar.gz
7
8
  #
8
- # $ sha256sum ports/archives/sqlite-autoconf-3430100.tar.gz
9
- # 46db2f10f306e163e4571b8974d44cd37078aae04295bbf08b253655df3265f4 ports/archives/sqlite-autoconf-3430100.tar.gz
9
+ # $ sha256sum ports/archives/sqlite-autoconf-3430200.tar.gz
10
+ # 6d422b6f62c4de2ca80d61860e3a3fb693554d2f75bb1aaca743ccc4d6f609f0 ports/archives/sqlite-autoconf-3430200.tar.gz
10
11
  #
11
- :version: "3.43.1"
12
+ :version: "3.43.2"
12
13
  :files:
13
- - :url: "https://sqlite.org/2023/sqlite-autoconf-3430100.tar.gz"
14
- :sha256: "46db2f10f306e163e4571b8974d44cd37078aae04295bbf08b253655df3265f4"
14
+ - :url: "https://sqlite.org/2023/sqlite-autoconf-3430200.tar.gz"
15
+ :sha256: "6d422b6f62c4de2ca80d61860e3a3fb693554d2f75bb1aaca743ccc4d6f609f0"
@@ -49,13 +49,18 @@ module Sqlite3
49
49
 
50
50
  def configure_packaged_libraries
51
51
  minimal_recipe.tap do |recipe|
52
- recipe.configure_options += ["--enable-shared=no", "--enable-static=yes"]
52
+ recipe.configure_options += [
53
+ "--enable-shared=no",
54
+ "--enable-static=yes",
55
+ "--enable-fts5",
56
+ ]
53
57
  ENV.to_h.tap do |env|
54
58
  user_cflags = with_config("sqlite-cflags")
55
59
  more_cflags = [
56
60
  "-fPIC", # needed for linking the static library into a shared library
57
61
  "-O2", # see https://github.com/sparklemotion/sqlite3-ruby/issues/335 for some benchmarks
58
62
  "-fvisibility=hidden", # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
63
+ "-DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1",
59
64
  ]
60
65
  env["CFLAGS"] = [user_cflags, env["CFLAGS"], more_cflags].flatten.join(" ")
61
66
  recipe.configure_options += env.select { |k,v| ENV_ALLOWLIST.include?(k) }
@@ -1,11 +1,11 @@
1
1
  module SQLite3
2
2
 
3
- VERSION = "1.6.6"
3
+ VERSION = "1.6.7"
4
4
 
5
5
  module VersionProxy
6
6
  MAJOR = 1
7
7
  MINOR = 6
8
- TINY = 6
8
+ TINY = 7
9
9
  BUILD = nil
10
10
 
11
11
  STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
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: 1.6.6
4
+ version: 1.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-09-12 00:00:00.000000000 Z
14
+ date: 2023-10-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: mini_portile2
@@ -81,7 +81,7 @@ files:
81
81
  - lib/sqlite3/translator.rb
82
82
  - lib/sqlite3/value.rb
83
83
  - lib/sqlite3/version.rb
84
- - ports/archives/sqlite-autoconf-3430100.tar.gz
84
+ - ports/archives/sqlite-autoconf-3430200.tar.gz
85
85
  - test/helper.rb
86
86
  - test/test_backup.rb
87
87
  - test/test_collation.rb