Skip to content

Commit d00b915

Browse files
committed
SQlite version bump
1 parent e002e20 commit d00b915

8 files changed

Lines changed: 48 additions & 29 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
SQLITEVERSION=3.49.2
2+
SQLITEVERSION=3.50.0
33
APSWSUFFIX=.0
44

5-
RELEASEDATE="7 May 2025"
5+
RELEASEDATE="30 May 2025"
66

77
VERSION=$(SQLITEVERSION)$(APSWSUFFIX)
88
VERDIR=apsw-$(VERSION)

apsw/__init__.pyi

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1955,6 +1955,12 @@ class Connection:
19551955

19561956
setwalhook = set_wal_hook ## OLD-NAME
19571957

1958+
def setlk_timeout(self, ms: int, flags: int) -> None:
1959+
"""Sets a VFS level timeout.
1960+
1961+
Calls: `sqlite3_setlk_timeout <https://sqlite.org/c3ref/setlk_timeout.html>`__"""
1962+
...
1963+
19581964
def sqlite3_pointer(self) -> int:
19591965
"""Returns the underlying `sqlite3 *
19601966
<https://sqlite.org/c3ref/sqlite3.html>`_ for the connection. This
@@ -4194,6 +4200,8 @@ SQLITE_FAIL: int = 3
41944200
"""For `Conflict resolution modes <https://sqlite.org/c3ref/c_fail.html>'__"""
41954201
SQLITE_FCNTL_BEGIN_ATOMIC_WRITE: int = 31
41964202
"""For `Standard File Control Opcodes <https://sqlite.org/c3ref/c_fcntl_begin_atomic_write.html>'__"""
4203+
SQLITE_FCNTL_BLOCK_ON_CONNECT: int = 44
4204+
"""For `Standard File Control Opcodes <https://sqlite.org/c3ref/c_fcntl_begin_atomic_write.html>'__"""
41974205
SQLITE_FCNTL_BUSYHANDLER: int = 15
41984206
"""For `Standard File Control Opcodes <https://sqlite.org/c3ref/c_fcntl_begin_atomic_write.html>'__"""
41994207
SQLITE_FCNTL_CHUNK_SIZE: int = 6
@@ -4600,6 +4608,8 @@ SQLITE_SESSION_OBJCONFIG_ROWID: int = 2
46004608
"""For `Options for sqlite3session_object_config <https://sqlite.org/session/c_session_objconfig_rowid.html>'__"""
46014609
SQLITE_SESSION_OBJCONFIG_SIZE: int = 1
46024610
"""For `Options for sqlite3session_object_config <https://sqlite.org/session/c_session_objconfig_rowid.html>'__"""
4611+
SQLITE_SETLK_BLOCK_ON_CONNECT: int = 1
4612+
"""For `Flags for sqlite3_setlk_timeout() <https://sqlite.org/c3ref/c_setlk_block_on_connect.html>'__"""
46034613
SQLITE_SHM_EXCLUSIVE: int = 8
46044614
"""For `Flags for the xShmLock VFS method <https://sqlite.org/c3ref/c_shm_exclusive.html>'__"""
46054615
SQLITE_SHM_LOCK: int = 2
@@ -4834,16 +4844,16 @@ mapping_file_control: dict[str | int, int | str]
48344844
"""Standard File Control Opcodes mapping names to int and int to names.
48354845
Doc at https://sqlite.org/c3ref/c_fcntl_begin_atomic_write.html
48364846
4837-
SQLITE_FCNTL_BEGIN_ATOMIC_WRITE SQLITE_FCNTL_BUSYHANDLER
4838-
SQLITE_FCNTL_CHUNK_SIZE SQLITE_FCNTL_CKPT_DONE SQLITE_FCNTL_CKPT_START
4839-
SQLITE_FCNTL_CKSM_FILE SQLITE_FCNTL_COMMIT_ATOMIC_WRITE
4840-
SQLITE_FCNTL_COMMIT_PHASETWO SQLITE_FCNTL_DATA_VERSION
4841-
SQLITE_FCNTL_EXTERNAL_READER SQLITE_FCNTL_FILE_POINTER
4842-
SQLITE_FCNTL_GET_LOCKPROXYFILE SQLITE_FCNTL_HAS_MOVED
4843-
SQLITE_FCNTL_JOURNAL_POINTER SQLITE_FCNTL_LAST_ERRNO
4844-
SQLITE_FCNTL_LOCKSTATE SQLITE_FCNTL_LOCK_TIMEOUT
4845-
SQLITE_FCNTL_MMAP_SIZE SQLITE_FCNTL_NULL_IO SQLITE_FCNTL_OVERWRITE
4846-
SQLITE_FCNTL_PDB SQLITE_FCNTL_PERSIST_WAL
4847+
SQLITE_FCNTL_BEGIN_ATOMIC_WRITE SQLITE_FCNTL_BLOCK_ON_CONNECT
4848+
SQLITE_FCNTL_BUSYHANDLER SQLITE_FCNTL_CHUNK_SIZE
4849+
SQLITE_FCNTL_CKPT_DONE SQLITE_FCNTL_CKPT_START SQLITE_FCNTL_CKSM_FILE
4850+
SQLITE_FCNTL_COMMIT_ATOMIC_WRITE SQLITE_FCNTL_COMMIT_PHASETWO
4851+
SQLITE_FCNTL_DATA_VERSION SQLITE_FCNTL_EXTERNAL_READER
4852+
SQLITE_FCNTL_FILE_POINTER SQLITE_FCNTL_GET_LOCKPROXYFILE
4853+
SQLITE_FCNTL_HAS_MOVED SQLITE_FCNTL_JOURNAL_POINTER
4854+
SQLITE_FCNTL_LAST_ERRNO SQLITE_FCNTL_LOCKSTATE
4855+
SQLITE_FCNTL_LOCK_TIMEOUT SQLITE_FCNTL_MMAP_SIZE SQLITE_FCNTL_NULL_IO
4856+
SQLITE_FCNTL_OVERWRITE SQLITE_FCNTL_PDB SQLITE_FCNTL_PERSIST_WAL
48474857
SQLITE_FCNTL_POWERSAFE_OVERWRITE SQLITE_FCNTL_PRAGMA SQLITE_FCNTL_RBU
48484858
SQLITE_FCNTL_RESERVE_BYTES SQLITE_FCNTL_RESET_CACHE
48494859
SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE SQLITE_FCNTL_SET_LOCKPROXYFILE
@@ -4961,6 +4971,12 @@ Doc at https://sqlite.org/session/c_session_objconfig_rowid.html
49614971
49624972
SQLITE_SESSION_OBJCONFIG_ROWID SQLITE_SESSION_OBJCONFIG_SIZE"""
49634973

4974+
mapping_setlk_timeout_flags: dict[str | int, int | str]
4975+
"""Flags for sqlite3_setlk_timeout() mapping names to int and int to names.
4976+
Doc at https://sqlite.org/c3ref/c_setlk_block_on_connect.html
4977+
4978+
SQLITE_SETLK_BLOCK_ON_CONNECT"""
4979+
49644980
mapping_statement_status: dict[str | int, int | str]
49654981
"""Status Parameters for prepared statements mapping names to int and int to names.
49664982
Doc at https://sqlite.org/c3ref/c_stmtstatus_counter.html

checksums

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# more peace of mind because the SQLite releases are not signed in any
99
# way.
1010

11+
https://sqlite.org/2025/sqlite-autoconf-3500000.tar.gz 3171708 3bc776a5f243897415f3b80fb74db3236501d45194c75c7f69012e4ec0128327 aad00919dfb418d71f9394e34ef2bc9abdd65395cb21103b1e01c94d0bf296e8
12+
1113
https://sqlite.org/2025/sqlite-autoconf-3490200.tar.gz 3230309 5c6d8697e8a32a1512a9be5ad2b2e7a891241c334f56f8b0fb4fc6051e1652e8 6527dce15f55cd51af22190c866f28801505ce7faa536893fdc87d9108c1fb1e
1214
https://sqlite.org/2025/sqlite-autoconf-3490100.tar.gz 3226385 106642d8ccb36c5f7323b64e4152e9b719f7c0215acf5bfeac3d5e7f97b59254 6cc831c9f588b637e5bd48d9fbf28e58737e08daf825c81085fb8e0a0b8ad14c
1315
https://sqlite.org/2025/sqlite-autoconf-3490000.tar.gz 3222148 4d8bfa0b55e36951f6e5a9fb8c99f3b58990ab785c57b4f84f37d163a0672759 df4fe162b8b73e8a9ba9f362280f0758dbf67e77de59d3d65dcbf8f6abc25706

doc/cli.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ apsw
66
A terminal interface to the APSW SQLite shell modelled after the SQLite shell
77
-----------------------------------------------------------------------------
88

9-
:version: apsw 3.49.2.0
10-
:date: 7 May 2025
9+
:version: apsw 3.50.0.0
10+
:date: 30 May 2025
1111
:manual section: 1
1212
:manual group: General Commands Manual
1313

doc/install.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,20 @@ edit the :file:`setup.apsw` file inside.
8282

8383
.. downloads-begin
8484
85-
* `apsw-3.49.2.0.zip
86-
<https://github.com/rogerbinns/apsw/releases/download/3.49.2.0/apsw-3.49.2.0.zip>`__
85+
* `apsw-3.50.0.0.zip
86+
<https://github.com/rogerbinns/apsw/releases/download/3.50.0.0/apsw-3.50.0.0.zip>`__
8787
(Source as zip, includes this HTML Help)
8888

89-
* `apsw-3.49.2.0.tar.gz
90-
<https://github.com/rogerbinns/apsw/releases/download/3.49.2.0/apsw-3.49.2.0.tar.gz>`__
89+
* `apsw-3.50.0.0.tar.gz
90+
<https://github.com/rogerbinns/apsw/releases/download/3.50.0.0/apsw-3.50.0.0.tar.gz>`__
9191
(Source as tar.gz, includes this HTML Help)
9292

93-
* `apsw-3.49.2.0.zip.cosign-bundle
94-
<https://github.com/rogerbinns/apsw/releases/download/3.49.2.0/apsw-3.49.2.0.zip.cosign-bundle>`__
93+
* `apsw-3.50.0.0.zip.cosign-bundle
94+
<https://github.com/rogerbinns/apsw/releases/download/3.50.0.0/apsw-3.50.0.0.zip.cosign-bundle>`__
9595
cosign signature for zip source
9696

97-
* `apsw-3.49.2.0.tar.gz.cosign-bundle
98-
<https://github.com/rogerbinns/apsw/releases/download/3.49.2.0/apsw-3.49.2.0.tar.gz.cosign-bundle>`__
97+
* `apsw-3.50.0.0.tar.gz.cosign-bundle
98+
<https://github.com/rogerbinns/apsw/releases/download/3.50.0.0/apsw-3.50.0.0.tar.gz.cosign-bundle>`__
9999
cosign signature for tar.gz source
100100

101101
.. downloads-end
@@ -127,18 +127,18 @@ Verify
127127
128128
.. code-block:: console
129129
130-
$ cosign verify-blob apsw-3.49.2.0.zip \
130+
$ cosign verify-blob apsw-3.50.0.0.zip \
131131
--new-bundle-format \
132-
--bundle apsw-3.49.2.0.zip.cosign-bundle \
132+
--bundle apsw-3.50.0.0.zip.cosign-bundle \
133133
--certificate-identity=rogerb@rogerbinns.com \
134134
--certificate-oidc-issuer=https://github.com/login/oauth
135135
Verified OK
136136
137-
$ python3 -m sigstore verify identity apsw-3.49.2.0.zip \
138-
--bundle apsw-3.49.2.0.zip.cosign-bundle \
137+
$ python3 -m sigstore verify identity apsw-3.50.0.0.zip \
138+
--bundle apsw-3.50.0.0.zip.cosign-bundle \
139139
--cert-identity=rogerb@rogerbinns.com \
140140
--cert-oidc-issuer=https://github.com/login/oauth
141-
OK: apsw-3.49.2.0.zip
141+
OK: apsw-3.50.0.0.zip
142142
143143
.. verify-end
144144

src/apswversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define APSW_VERSION "3.49.2.0"
1+
#define APSW_VERSION "3.50.0.0"

tools/checksums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import setup
1212

1313
sqlitevers = (
14+
"3500000",
1415
"3490200",
1516
"3490100",
1617
"3490000",

tools/megatest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def cmp(a, b):
253253
"system",
254254
)
255255

256-
SQLITEVERS = ("3.49.0", "3.49.1", "3.49.2", )
256+
SQLITEVERS = ("3.50.0", )
257257

258258
BITS = (64, 32)
259259

0 commit comments

Comments
 (0)