Skip to content

Releases: ForbesLindesay/atdatabases

@databases/[email protected]

19 Feb 17:37
b8ffa7a
Compare
Choose a tag to compare

Bug Fixes

  • Provide slightly stricter types for TypeScript (#318)

@databases/[email protected]

19 Feb 17:37
b8ffa7a
Compare
Choose a tag to compare

New Features

  • Added Cache.deletePrefix(prefix). This lets you delete all keys with a given prefix from the cache. deletePrefix will throw an error if any of the keys are not serialized to a string. They can either already be strings, or you can use mapKey to convert them into strings if you want to use this method. (#317)

    Using this method with replication enabled will result in this new type of replication event:

    interface ReplicationDeletePrefixEvent {
      readonly kind: 'DELETE_PREFIX';
      readonly name: string;
      readonly prefix: string;
    }
  • You can now pass multiple keys to Cache.delete(...keys) to more efficiently delete multiple keys in a single call. (#317)

    Passing multiple keys with replication enabled will result in this new type of replication event:

    interface ReplicationDeleteMultipleEvent {
      readonly kind: 'DELETE_MULTIPLE';
      readonly name: string;
      readonly keys: unknown[];
    }

Bug Fixes

  • Provide slightly stricter types for TypeScript (#318)

@databases/[email protected]

12 Jan 18:57
e4d27b9
Compare
Choose a tag to compare

New Features

  • Partitioned tables support (#309)

@databases/[email protected]

12 Jan 18:57
e4d27b9
Compare
Choose a tag to compare

New Features

  • Partitioned tables support (#309)

@databases/[email protected]

12 Jan 18:57
e4d27b9
Compare
Choose a tag to compare

New Features

  • Partitioned tables support (#309)

@databases/[email protected]

12 Jan 18:57
e4d27b9
Compare
Choose a tag to compare

Bug Fixes

  • Use SHOW server_version to detect Postgres version. Hopefully allowing pg-migrations to be used with other database systems as long as they have a compatible wire-protocol. (#279)

@databases/[email protected]

12 Jan 18:57
e4d27b9
Compare
Choose a tag to compare

Breaking Changes

  • Initial release (#285)

@databases/[email protected]

17 Oct 18:41
a44bbd4
Compare
Choose a tag to compare

Refactors

  • Use crypto.randomUUID() instead of cuid() (#308)

@databases/[email protected]

17 Oct 18:41
a44bbd4
Compare
Choose a tag to compare

Refactors

  • Remove (deprecated) cuid dependency (#308)

@databases/[email protected]

05 Jul 10:27
bb0dea9
Compare
Choose a tag to compare

Refactors

  • Bumps better-sqlite3 to v8.0.0 (#295)