- Initial support for offline writes.
- Upgrade
hrana-client-ts
to latest 0.7.0 version which has stableisomorphic-fetch
implementation (see libsql/hrana-client-ts#19)
- Upgrade
libsql-js
to latest 0.4.4 version which brings full vector search support for embedded replicas (see vector search documentation here: https://docs.turso.tech/features/ai-and-embeddings)
- Add a migrate() API that can be used to do migrations on both schema databases and regular databases. It is mostly dedicated to schema migration tools.
- Fix embedded replica sync WAL index path name , which caused "No such file or directory" for local sync in some cases (#244).
- No changes from 0.8.0-pre.1.
- Bump hrana client to 0.6.2.
- Support
cache=private|shared
query parameter in the connection string to local SQLite (#220) - Fix bug in wasm experimental client which appears when transaction are used in local mode (#231)
- Add
execute(sql, args)
overload to make the API similar to other SQLite SDKs
- Add configurable concurrency limit for parallel query execution (defaults to 20) to address socket hangup errors.
- Fix compatibility issue with libSQL server versions that don't have migrations endpoint.
- Add an option to
batch()
to wait for schema changes to finish when using shared schema.
- Bump hrana client to 0.6.0, which uses native Node fetch(). Note that
@libsql/client
now requires Node 18 or later.
- Bump
libsql
package dependency to 0.3.10 that addswasm32
as supported CPU, which is needed for StackBlitz compatibility.
- Bump
@libsql/libsql-wasm-experimental"
dependency to 0.0.2, which fixes a broken sqlite3_get_autocommit() export.
- Bump
libsql
dependency to 0.3.9, which fixes symbol not found errors on Alpine.
- Add
syncInterval
config option to enable periodic sync. - Bump
libsql
dependency to 0.3.7, which switches default encryption cipher to aes256cbs.
- Disable SQL statemen tracing in Wasm.
- Update
libsql
package to 0.3.2, addencryptionCipher
option, and switch default cipher to SQLCipher.
- Add a
encryptionKey
config option, which enables encryption at rest for local database files.
- Update hrana-client package to 0.5.6.
- Add a
@libsql/client-wasm
package. - Fix Bun on Linux/arm64.
- Fix import problems on Cloudflare Workers.
- Add
rawCode
property to errors for local databases. - Update the
libsql
package to version 0.1.28.
- Performance improvements for local database access by reusing connection in
Client
. - Embedded replica support.
- Column introspection support via ResultSet.columnTypes property.
- Switch to Hrana 2 by default to let Hrana 3 cook some more.
-
Updated
@libsql/hrana-client
to version 0.5.1, which has Bun support. -
Switched to
libsql
package as a replacement forbetter-sqlite3
.
- Updated
@libsql/hrana-client
to version 0.5.0, which implements Hrana 3- Dropped workarounds for broken WebSocket support in Miniflare 2
- Added a
@libsql/client/node
import for explicit Node.js-specific module
- Added
ResultSet.toJSON()
to provide better JSON serialization. (#61) - Added conditional exports to
package.json
that redirect the default import of@libsql/client
to@libsql/client/web
on a few supported edge platforms. (#65) - Added
Config.fetch
to support overriding thefetch
implementation from@libsql/isomorphic-fetch
. (#66)
- Changed the order of parameters to
batch()
, so that the transaction mode is passed as the second parameter. (#57) - Changed the default transaction mode to
"deferred"
. (#57) - Added
Client.protocol
property to find out which protocol the client uses (#54).
- Added
intMode
field to theConfig
, which chooses whether SQLite integers are represented as numbers, bigints or strings in JavaScript (#51).
- Added
TransactionMode
argument tobatch()
andtransaction()
(#46) - Added
Client.executeMultiple()
andTransaction.executeMultiple()
(#49) - Added
Transaction.batch()
(#49) - Changed the default transaction mode from
BEGIN DEFERRED
toBEGIN IMMEDIATE
- Added support for interactive transactions over HTTP by using
@libsql/hrana-client
version 0.4 (#44) - Added
?tls=0
query parameter to turn off TLS forlibsql:
URLs - Changed the
libsql:
URL to use HTTP instead of WebSockets - Changed the
Value
type to includebigint
(so that we can add support for reading integers as bigints in the future, without breaking compatibility) - Removed the
./hrana
import, added./ws
to import the WebSocket-only client