📣The December 13th release is out!Read the release notes

    An astronaut drives a sleigh across the moon.

    Tis the Season To Fix Bugs

    TLDR

    We release a bevy of improvements and bug fixes as we look ahead to Triplit 1.0.

    Getting in the Holiday Spirit

    After a one-week hiatus for American Thanksgiving, the Triplit team is back with a cornucopia of updates. We've been working on a little bit of everything, everywhere, all at once. Here's a quick rundown of what we've been up to:

    • Support for naming IndexedDB databases: You can now name your Triplit IndexedDB store without manually constructing the IndexedDBStorage class, which also improves compatibility with the Web Worker-based WorkerClient.
    import { WorkerClient } from '@triplit/client';
    
    const client = new WorkerClient({
      storage: { type: 'indexeddb', name: 'myTriplitDB' },
    });
    
    • Export all of your data: You can now export the entirety of your Triplit data from the server from the POST /db-download route. If you're using the default @triplit/node-server docker image, this will be a SQLite database file. With this file you can easily mock your data in development, or make backups.
    • Improved the speed of certain server queries: Using a new query execution strategy, we were able to dramatically reduce the amount of work required to fulfill certain queries, leading to faster responses.
    • Expanded React Native documentation: We've added some additional configuration information to the React Native docs that should help you bundle your app for the web when using Triplit.
    • Sessions API bug fix: The sessions API now correctly infers the expiration time from a given token if a refresh interval is not provided.
    • More complete triplit schema print: This command now prints any enum options for a string attributes in the schema.
    • Durable storage bug fix: We fixed an issue where calling TriplitClient.clear() would not reset certain metadata and lead to partial query data being returned from the server.

    Looking ahead

    We're hard at work behind the scenes to make Triplit, better, faster and more reliable. This will culminate with a significant release in the new year that will be the foundation for Triplit 1.0.