January 2024 Turso Product and Community Digest

Here is your January 2024 product and community digest. Discord and newsletter subscribers receive these updates earlier - join us!

Jamie BartonJamie Barton
Cover image for January 2024 Turso Product and Community Digest

2024 is already off to a great start!

Here is your January 2024 product and community digest. Discord and newsletter subscribers receive these updates earlier - join us!

#CLI Updates

January was packed with some exciting quality of life improvements for Turso CLI users:

#New CLI command to create group tokens

Creating and invalidating group tokens are now even easier with the Turso CLI:

turso group tokens create <group-name> [flags]
turso group tokens invalidate <group-name> [flags]

#New CLI command to transfer groups

You can now transfer an entire group, including all of its databases, to an organization you're an admin or owner of using the new command:

turso group transfer <group-name> <organization-name> [flags]

#Dump file size limit increased to 8GB

It's now even easier to create databases from larger SQLite dump files thanks to the new 8GB limit.

turso db create [database-name] --from-dump ./path/to/dump.sql

We're working to further increase the limit for the CLI and API. Stay tuned!

#Other CLI Updates

  • The turso quickstart command opens the new Turso Quickstart.
  • Fixed an issue where the TURSO_API_TOKEN was not shown when running some CLI commands.
  • Users can now disable automatic updates.
  • Added command to wakeup groups on the free tier that are currently archived.

#Platform API Updates

The Turso Platform API gives you everything you need to manage your organization, it's members, groups, databases, and API tokens.

#New upload SQL dump endpoint

Creating a database from a dump is really easy using the CLI, but if you're using the Turso Platform API, it's now even easier there too with the new POST /dumps endpoint:

curl -L -X POST 'https://api.turso.tech/v1/organizations/{organizationName}/databases/dumps' \
  -H 'Authorization: Bearer TOKEN' \
  -F 'file=@"~/Downloads/dump.sql"'

The API returns a URL than can be used when seeding a new database.

#New transfer group endpoint

As well as using the CLI to transfer groups, you can do this programmatically using the Turso Platform API:

curl -L -X POST 'https://api.turso.tech/v1/organizations/{organizationName}/groups/{groupName}/transfer' \
-H 'Authorization: Bearer TOKEN' \
-d '{
    "organization": "new-organization-name"
}'

#New audit logs endpoint

The new /audit-logs endpoint returns a list of recent activity:

curl -L https://api.turso.tech/v1/organizations/{organizationName}/audit-logs \
  -H 'Authorization: Bearer TOKEN'

#Client & SDK Updates

  • Get started with Turso and Golang using the new quickstart.
  • The CGO based go-libsql library now supports remote-only connections and has improved support for time.Time.
  • A recent URL parsing fix for @libsql/client means Next.js developers no longer see errors when building.
  • A new experimental libsql-client-wasm client was released that works in the browser - see examples.

If you see anything that doesn't look right or could be improved, please open an issue on GitHub or chat with us on Discord.

#Community Updates

Turso wouldn't be where it is today without the community. We recently surpassed 2000 members on Discord, and already on our way to 3000!

Here are a few exciting updates from the community:

Wow! If you've been working on something and would like us to feature it in our next update, #showcase it with the community on Discord.

#Documentation Updates

We kicked off 2024 with brand new Turso Documentation.

All CLI, API and SDK updates above have been added to the new documentation already. Here are a few other updates we think you'll like:

What an amazing start to 2024!

scarf