diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,11 @@
+## 2.8.1.2
+
+* Add flag to enable full-text search extensions (enabled by default)
+* Add flag to enable URI filename support (enabled by default)
+* Add flag to enable using usleep (enabled by default)
+  - Enabling usleep allows sqlite to use a finer granularity when sleeping (reduces time between locks)
+* Add flag to enable json1 extension (enabled by default)
+
 ## 2.8.1.1
 
 * Update the vendored SQLite C library from 3.19.3 to 3.22.0. See [the SQLite changelog](https://sqlite.org/changes.html) for details.
diff --git a/persistent-sqlite.cabal b/persistent-sqlite.cabal
--- a/persistent-sqlite.cabal
+++ b/persistent-sqlite.cabal
@@ -1,5 +1,5 @@
 name:            persistent-sqlite
-version:         2.8.1.1
+version:         2.8.1.2
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
@@ -23,6 +23,18 @@
 flag build-sanity-exe
   description: Build a sanity check test executable
   default: False
+flag full-text-search
+  description: Enable full-text search in the vendored SQLite library; has no effect if a system SQLite library is used.
+  default: True
+flag uri-filenames
+  description: Enable URI filenames in the vendored SQLite library; has no effect if a system SQLite library is used.
+  default: True
+flag have-usleep
+  description: Enable usleep in the vendored SQLite library; has no effect if a system SQLite library is used.
+  default: True
+flag json1
+  description: Enable json1 in the vendored SQLite library; has no effect if a system SQLite library is used.
+  default: True
 
 library
     build-depends:   base                    >= 4.8         && < 5
@@ -53,6 +65,17 @@
         c-sources:   cbits/sqlite3.c
         include-dirs: cbits
         cc-options:  -fPIC -std=c99
+    if flag(full-text-search)
+      cc-options: -DSQLITE_ENABLE_FTS3
+                  -DSQLITE_ENABLE_FTS3_PARENTHESIS
+                  -DSQLITE_ENABLE_FTS4
+                  -DSQLITE_ENABLE_FTS5
+    if flag(uri-filenames)
+      cc-options: -DSQLITE_USE_URI
+    if flag(have-usleep)
+       cc-options: -DHAVE_USLEEP
+    if flag(json1)
+      cc-options: -DSQLITE_ENABLE_JSON1
 
     c-sources: cbits/config.c
 
