Debian Codegraph @

www/releaselog/3_50_4.html

raw
1 <!DOCTYPE html>
2 <html><head>
3 <meta name="viewport" content="width=device-width, initial-scale=1.0">
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 <link href="../sqlite.css" rel="stylesheet">
6 <title>SQLite Release 3.50.4 On 2025-07-30</title>
7 <!-- path=../ -->
8 </head>
9 <body>
10 <div class=nosearch>
11 <a href="../index.html">
12 <img class="logo" src="../images/sqlite370_banner.svg" alt="SQLite" border="0">
13 </a>
14 <div><!-- IE hack to prevent disappearing logo --></div>
15 <div class="tagline desktoponly">
16 Small. Fast. Reliable.<br>Choose any three.
17 </div>
18 <div class="menu mainmenu">
19 <ul>
20 <li><a href="../index.html">Home</a>
21 <li class='mobileonly'><a href="javascript:void(0)" onclick='toggle_div("submenu")'>Menu</a>
22 <li class='wideonly'><a href='../about.html'>About</a>
23 <li class='desktoponly'><a href="../docs.html">Documentation</a>
24 <li class='desktoponly'><a href="../download.html">Download</a>
25 <li class='wideonly'><a href='../copyright.html'>License</a>
26 <li class='desktoponly'><a href="../support.html">Support</a>
27 <li class='desktoponly'><a href="../prosupport.html">Purchase</a>
28 <li class='search' id='search_menubutton'>
29 <a href="javascript:void(0)" onclick='toggle_search()'>Search</a>
30 </ul>
31 </div>
32 <div class="menu submenu" id="submenu">
33 <ul>
34 <li><a href='../about.html'>About</a>
35 <li><a href='../docs.html'>Documentation</a>
36 <li><a href='../download.html'>Download</a>
37 <li><a href='../support.html'>Support</a>
38 <li><a href='../prosupport.html'>Purchase</a>
39 </ul>
40 </div>
41 <div class="searchmenu" id="searchmenu">
42 <form method="GET" action="../search">
43 <select name="s" id="searchtype">
44 <option value="d">Search Documentation</option>
45 <option value="c">Search Changelog</option>
46 </select>
47 <input type="text" name="q" id="searchbox" value="">
48 <input type="submit" value="Go">
49 </form>
50 </div>
51 </div>
52 <script>
53 function toggle_div(nm) {
54 var w = document.getElementById(nm);
55 if( w.style.display=="block" ){
56 w.style.display = "none";
57 }else{
58 w.style.display = "block";
59 }
60 }
61 function toggle_search() {
62 var w = document.getElementById("searchmenu");
63 if( w.style.display=="block" ){
64 w.style.display = "none";
65 } else {
66 w.style.display = "block";
67 setTimeout(function(){
68 document.getElementById("searchbox").focus()
69 }, 30);
70 }
71 }
72 function div_off(nm){document.getElementById(nm).style.display="none";}
73 window.onbeforeunload = function(e){div_off("submenu");}
74 /* Disable the Search feature if we are not operating from CGI, since */
75 /* Search is accomplished using CGI and will not work without it. */
76 if( !location.origin || !location.origin.match || !location.origin.match(/http/) ){
77 document.getElementById("search_menubutton").style.display = "none";
78 }
79 /* Used by the Hide/Show button beside syntax diagrams, to toggle the */
80 function hideorshow(btn,obj){
81 var x = document.getElementById(obj);
82 var b = document.getElementById(btn);
83 if( x.style.display!='none' ){
84 x.style.display = 'none';
85 b.innerHTML='show';
86 }else{
87 x.style.display = '';
88 b.innerHTML='hide';
89 }
90 return false;
91 }
92 var antiRobot = 0;
93 function antiRobotGo(){
94 if( antiRobot!=3 ) return;
95 antiRobot = 7;
96 var j = document.getElementById("mtimelink");
97 if(j && j.hasAttribute("data-href")) j.href=j.getAttribute("data-href");
98 }
99 function antiRobotDefense(){
100 document.body.onmousedown=function(){
101 antiRobot |= 2;
102 antiRobotGo();
103 document.body.onmousedown=null;
104 }
105 document.body.onmousemove=function(){
106 antiRobot |= 2;
107 antiRobotGo();
108 document.body.onmousemove=null;
109 }
110 setTimeout(function(){
111 antiRobot |= 1;
112 antiRobotGo();
113 }, 100)
114 antiRobotGo();
115 }
116 antiRobotDefense();
117 </script>
118 <h2>SQLite Release 3.50.4 On 2025-07-30</h2><p><b>Prior changes from version 3.50.0 (2025-05-29):</b></p>
119 <p><ol class='lessindent'>
120 <li value='1'>Add the <a href="../c3ref/setlk_timeout.html">sqlite3_setlk_timeout()</a> interface which sets a separate timeout,
121 distinct from the <a href="../c3ref/busy_timeout.html">sqlite3_busy_timeout()</a>, for blocking locks on builds
122 that support blocking locks.
123 <li>The <a href="../c3ref/c_dbconfig_defensive.html#sqlitedbconfigenablecomments">SQLITE_DBCONFIG_ENABLE_COMMENTS</a> constraint (added in the
124 <a href="../releaselog/3_49_0.html">previous release</a>) is relaxed slightly so that comments are
125 always allowed when reading the schema out of a pre-existing <a href="../schematab.html">sqlite_schema</a>
126 table. Comments are only blocked in new SQL.
127 <li>New SQL functions:
128 <ol type="a">
129 <li> <a href="../lang_corefunc.html#unistr">unistr()</a>
130 <li> <a href="../lang_corefunc.html#unistr_quote">unistr_quote()</a>
131 </ol>
132 <li>For the <a href="../printf.html#percentq">%Q and %q conversions</a> in the <a href="../printf.html">built-in printf()</a> (which covers
133 the <a href="../c3ref/mprintf.html">sqlite3_mprintf()</a> API and the <a href="../lang_corefunc.html#format">format() SQL function</a> and similar)
134 the <a href="../printf.html#alt1">alternate-form-1 flag</a> ("#") causes <a href="../climode.html#ctrlchr">control characters</a>
135 to be converted into backslash-escapes suitable for <a href="../lang_corefunc.html#unistr">unistr()</a>.
136 <li>CLI enhancements:
137 <ol type="a">
138 <li> Avoids direct output of most <a href="../climode.html#ctrlchr">control characters</a>.
139 <li> The output of the <a href="../cli.html#dump">.dump command</a> makes use of the new <a href="../lang_corefunc.html#unistr">unistr()</a>
140 SQL function to encode special characters, unless the --escape mode
141 is set to off.
142 <li> Better formatting of complex partial indexes in the output
143 from the <a href="../cli.html#dschema">".schema --indent" command</a>.
144 </ol>
145 <li>Enhancements to <a href="../rsync.html">sqlite3_rsync</a>:
146 <ol type="a">
147 <li> The requirement that the database be in WAL mode has been removed.
148 <li> The sync protocol is enhanced to use less network bandwidth when both
149 sides start out being very similar to one another.
150 <li> The sqlite3_rsync program now works on Macs without having to specify
151 the full pathname of the sqlite3_rsync executable on the remote side
152 as long as you install the sqlite3_rsync executable in
153 one of these directories: $HOME/bin:/usr/local/bin:/opt/homebrew/bin
154 </ol>
155 <li>Changes to JSON functions:
156 <ol type="a">
157 <li> Bug fix: Enforce the JSON5 restriction that the
158 "&#92;0" escape must not be followed by a digit.
159 <li> Bug fix: When the LABEL argument to <a href="../json1.html#jgroupobject">json_group_object(LABEL,VALUE)</a>
160 is NULL, that element of the resulting object is omitted.
161 <li> Optimization:
162 If the <a href="../json1.html#jsetb">jsonb_set()</a> or <a href="../json1.html#jreplb">jsonb_replace()</a> functions make a change in the
163 interior of a large <a href="../json1.html#jsonbx">JSONB</a> object, they strive to keep the size of the
164 JSONB object unchanged and to modify as few bytes as possible on the interior
165 of the object. This helps reduce I/O as it allows SQLite to write only
166 the page that contains the changed bytes and not all the surrounding pages.
167 </ol>
168 <li>Improved support for building on Cygwin and MinGW and similar, as well
169 as Termux.
170 <li>Typo fixes in the documentation and in the source code comments.
171 <li>Miscellaneous performance improvements.
172 <li> JavaScript/WASM:
173 <ol type="a">
174 <li> Fix a long-standing filename digest calculation bug in the OPFS
175 SAHPool VFS. Databases created in that VFS by 3.50.0+ cannot
176 be read by older versions of the VFS, but 3.50.0 can
177 backwards-compatibly work with existing databases created
178 by older versions.</li>
179 </ol>
180 </ol>
181 <p><b>Prior changes from version 3.50.1 (2025-06-06):</b></p>
182 <p><ol class='lessindent'>
183 <li value='12'> Fix a long-standing bug in <a href="../json1.html#jsetb">jsonb_set()</a> and similar that was exposed by
184 new optimizations added in version 3.50.0.
185 <li> Fix an apparently harmless ASAN warning that can occur on builds that
186 use <a href="../compile.html#default_memstatus">-DSQLITE_DEFAULT_MEMSTATUS=0</a>.
187 <li> Fix an off-by-one bug in <a href="../rsync.html">sqlite3_rsync</a> that can result in the last
188 page not being transferred for the replicate database.
189 <li> Query planner optimization: Allow the right-hand side of a LEFT JOIN
190 to be <a href="../optoverview.html#flattening">flattened</a> even if it is a virtual table.
191 <li> Fix <a href="../c3ref/setlk_timeout.html">sqlite3_setlk_timeout()</a> to use a blocking lock when opening a
192 snapshot transaction and when blocked by another process running recovery.
193 <li> Other minor fixes that were reported after the 3.50.0 release.
194 </ol>
195 <p><b>Prior changes from version 3.50.2 (2025-06-28):</b></p>
196 <p><ol class='lessindent'>
197 <li value='18'> Fix the <a href="../lang_corefunc.html#concat_ws">concat_ws()</a> SQL function so that it includes empty strings
198 in the concatenation.
199 <a href="https://sqlite.org/forum/forumpost/52503ac21d">Forum post 52503ac21d</a>.
200 <li> Fix the file-io extension (used by the CLI) so that it can be built
201 using the MinGW compiler chain.
202 <li> Avoid writing frames with no checksums into the wal file if a savepoint
203 is rolled back after dirty pages have already been spilled into the
204 wal file.
205 <a href="https://sqlite.org/forum/forumpost/b490f726db">Forum post b490f726db</a>.
206 <li> Fix the Bitvec object to avoid stack overflow when the database is within
207 60 pages of its maximum size.
208 <li> Fix a problem with UPDATEs on fts5 tables that contain BLOB values.
209 <li> Fix an issue with transitive IS constraints on a RIGHT JOIN.
210 <li> Raise an error early if the number of aggregate terms in a query
211 exceeds the maximum number of columns, to avoid downstream assertion
212 faults.
213 <li> Ensure that sqlite3_setlk_timeout() holds the database mutex.
214 <li> Fix typos in API documentation.
215 </ol>
216 <p><b>Prior changes from version 3.50.3 (2025-07-17):</b></p>
217 <p><ol class='lessindent'>
218 <li value='27'> Fix a possible memory error that can occur if a query is made against
219 against FTS5 index that has been deliberately corrupted in a very specific
220 way.
221 <li> Fix the parser so that it ignored SQL comments in all places of a
222 CREATE TRIGGER statement. This resolves a problem that was introduced
223 by the introduction of the SQLITE_DBCONFIG_ENABLE_COMMENTS feature
224 in version 3.49.0.
225 <li> Fix an incorrect answer due to over-optimization of an AND operator.
226 <a href="https://sqlite.org/forum/forumpost/f4878de3e7dd4764">Forum post f4878de3e</a>.
227 <li> Fix minor makefile issues and documentation typos.
228 </ol>
229 <p><b>Changes in this specific patch release, version 3.50.4 (2025-07-30):</b></p>
230 <p><ol class='lessindent'>
231 <li value='31'> Fix two long-standings cases of the use of uninitialized variables
232 in obscure circumstances.
233 <p><b>Hashes:</b>
234 <li>SQLITE_SOURCE_ID: 2025-07-30 19:33:53 4d8adfb30e03f9cf27f800a2c1ba3c48fb4ca1b08b0f5ed59a4d5ecbf45e20a3
235 <li>SHA3-256 for sqlite3.c: 9145255e83da6529e70121ee4d7a4c88fe83ca4511da0c9ed13d10842df36782
236
237 </ol></p>
238
239 <p>A <a href="../changes.html">complete list of SQLite releases</a>
240 in a single page and a <a href="../chronology.html">chronology</a> are both also available.
241 A detailed history of every
242 check-in is available at
243 <a href="https://sqlite.org/src/timeline">
244 SQLite version control site</a>.</p>
245
246