Here is your January 2024 product and community digest. Discord and newsletter subscribers receive these updates earlier - join us!
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!
January was packed with some exciting quality of life improvements for Turso CLI users:
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]
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]
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!
turso quickstart
command opens the new Turso Quickstart.TURSO_API_TOKEN
was not shown when running some CLI commands.The Turso Platform API gives you everything you need to manage your organization, it's members, groups, databases, and API tokens.
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.
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"
}'
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'
go-libsql
library now supports remote-only connections and has improved support for time.Time
.@libsql/client
means Next.js developers no longer see errors when building.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.
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.
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!