Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tursodatabase/libsql-client-ts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.15.0
Choose a base ref
...
head repository: tursodatabase/libsql-client-ts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.15.1
Choose a head ref
  • 3 commits
  • 6 files changed
  • 1 contributor

Commits on Mar 19, 2025

  1. Fix sync_offline.js example

    penberg committed Mar 19, 2025
    Copy the full SHA
    284bf44 View commit details

Commits on Mar 24, 2025

  1. Update libsql to 0.5.3

    It has few error handling fixes.
    penberg committed Mar 24, 2025
    Copy the full SHA
    7c80f29 View commit details
  2. 0.15.1

    penberg committed Mar 24, 2025
    Copy the full SHA
    8f0bdde View commit details
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.15.1 -- 2025-03-24

- Bump to latest `libsql` package.

## 0.15.0 -- 2025-03-17

- Bump to latest `libsql` package.
74 changes: 37 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/libsql-client-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libsql/client-wasm",
"version": "0.15.0",
"version": "0.15.1",
"keywords": [
"libsql",
"database",
@@ -58,7 +58,7 @@
"typedoc": "rm -rf ./docs && typedoc"
},
"dependencies": {
"@libsql/core": "^0.15.0",
"@libsql/core": "^0.15.1",
"@libsql/libsql-wasm-experimental": "^0.0.2",
"js-base64": "^3.7.5"
},
6 changes: 6 additions & 0 deletions packages/libsql-client/examples/sync_offline.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,12 @@ async function example() {
authToken: process.env.AUTH_TOKEN,
offline: true,
};

const db = createClient(config);

console.log("Syncing database ...");
await db.sync();

await db.execute(
"CREATE TABLE IF NOT EXISTS guest_book_entries (comment TEXT)",
);
@@ -20,6 +25,7 @@ async function example() {
args: [comment],
});

console.log("Syncing database ...");
const rep2 = await db.sync();

console.log("frames_synced: " + rep2.frames_synced);
6 changes: 3 additions & 3 deletions packages/libsql-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libsql/client",
"version": "0.15.0",
"version": "0.15.1",
"keywords": [
"libsql",
"database",
@@ -103,10 +103,10 @@
"lint-staged": "lint-staged"
},
"dependencies": {
"@libsql/core": "^0.15.0",
"@libsql/core": "^0.15.1",
"@libsql/hrana-client": "^0.7.0",
"js-base64": "^3.7.5",
"libsql": "^0.5.0",
"libsql": "^0.5.3",
"promise-limit": "^2.7.0"
},
"devDependencies": {
2 changes: 1 addition & 1 deletion packages/libsql-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libsql/core",
"version": "0.15.0",
"version": "0.15.1",
"keywords": [
"libsql",
"database",