]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add an explicit warning about the current API-instability of the sqlite3.opfs namespa...
authorstephan <stephan@noemail.net>
Tue, 29 Nov 2022 02:23:12 +0000 (02:23 +0000)
committerstephan <stephan@noemail.net>
Tue, 29 Nov 2022 02:23:12 +0000 (02:23 +0000)
FossilOrigin-Name: 0cb2fd14179397051a25d066256a553fc198656d5668c7010c016f2b8f495bf4

ext/wasm/api/sqlite3-api-opfs.js
manifest
manifest.uuid

index 5537df89fba04de6fde5c57e3a864b1d78d0c8dd..458448175b549b26fd39cb7d3efeb6a97ee46338 100644 (file)
@@ -128,6 +128,10 @@ const installOpfsVfs = function callee(options){
     /**
        Generic utilities for working with OPFS. This will get filled out
        by the Promise setup and, on success, installed as sqlite3.opfs.
+
+       ACHTUNG: do not rely on these APIs in client code. They are
+       experimental and subject to change or removal as the
+       OPFS-specific sqlite3_vfs evolves.
     */
     const opfsUtil = Object.create(null);
     /**
@@ -186,8 +190,7 @@ const installOpfsVfs = function callee(options){
     const dVfs = pDVfs
           ? new sqlite3_vfs(pDVfs)
           : null /* dVfs will be null when sqlite3 is built with
-                    SQLITE_OS_OTHER. Though we cannot currently handle
-                    that case, the hope is to eventually be able to. */;
+                    SQLITE_OS_OTHER. */;
     const opfsVfs = new sqlite3_vfs();
     const opfsIoMethods = new sqlite3_io_methods();
     opfsVfs.$iVersion = 2/*yes, two*/;
index 04e653dcec2dbc9f28c5d524f1b72dbb33c16aa4..01aaf2a316a1b81167a619d8f49f251ff11b1030 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Check-in\s[8d5b76593d82b3a5]\scontained\san\serror\sthat\swas\scausing\ssome\sobscure\nerror\scodes\sto\sbe\slost.\s\sFixed\shere.
-D 2022-11-28T21:17:30.250
+C Add\san\sexplicit\swarning\sabout\sthe\scurrent\sAPI-instability\sof\sthe\ssqlite3.opfs\snamespace,\swhich\smay\sneed\sto\sbe\seliminated\sbased\son\sre-thinking\sof\show\sthe\sOPFS\ssqlite3_vfs\sis\sregistered.\sComment\schanges\sonly\s-\sno\scode.
+D 2022-11-29T02:23:12.943
 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
 F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@@ -505,7 +505,7 @@ F ext/wasm/api/pre-js.js b88499dc303c21fc3f55f2c364a0f814f587b60a95784303881169f
 F ext/wasm/api/sqlite3-api-cleanup.js ecdc69dbfccfe26146f04799fcfd4a6f5790d46e7e3b9b6e9b0491f92ed8ae34
 F ext/wasm/api/sqlite3-api-glue.js 056f44b82c126358a0175e08a892d56fadfce177b0d7a0012502a6acf67ea6d5
 F ext/wasm/api/sqlite3-api-oo1.js 06ad2079368e16cb9f182c18cd37bdc3932536856dff4f60582d0ca5f6c491a8
-F ext/wasm/api/sqlite3-api-opfs.js e98a8bd67dea8c20b0ec17332698b44658a6fbc4be18dd87fab2ce05284a10d7
+F ext/wasm/api/sqlite3-api-opfs.js 3cdae7e98c500f89f9468a260e2a0e1b528c845a107bf72d368e5222769214d3
 F ext/wasm/api/sqlite3-api-prologue.js 7fce4c6a138ec3d7c285b7c125cee809e6b668d2cb0d2328a1b790b7037765bd
 F ext/wasm/api/sqlite3-api-worker1.js e94ba98e44afccfa482874cd9acb325883ade50ed1f9f9526beb9de1711f182f
 F ext/wasm/api/sqlite3-license-version-header.js a661182fc93fc2cf212dfd0b987f8e138a3ac98f850b1112e29b5fbdaecc87c3
@@ -2064,8 +2064,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
 F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
-P bb2c5d088e4784f6763eb0ea2a8542ad2129529f181fa92963c7231d7a68f25c
-R edc56f3db34be700dc2fe2c48f4c3e31
-U drh
-Z fbd7482d8e22e645fc260e0f000cee41
+P 46cdd3637d6a206ad2bcf8653cc6f2c7a886a16cc7685c45967938609941a755
+R 3870d04bfd54da096e986662fe29b1c8
+U stephan
+Z ad4a8c5f45a34a10f588c0c6dc455846
 # Remove this line to create a well-formed Fossil manifest.
index 2763f271bad35c8871f83d771a1583043903a6c0..361de4178ee3f05e1da89bd4461a5cd9d71535de 100644 (file)
@@ -1 +1 @@
-46cdd3637d6a206ad2bcf8653cc6f2c7a886a16cc7685c45967938609941a755
\ No newline at end of file
+0cb2fd14179397051a25d066256a553fc198656d5668c7010c016f2b8f495bf4
\ No newline at end of file