Releases: ForbesLindesay/atdatabases
Releases · ForbesLindesay/atdatabases
@databases/[email protected]
Bug Fixes
- Provide slightly stricter types for TypeScript (#318)
@databases/[email protected]
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 usemapKey
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]
New Features
- Partitioned tables support (#309)
@databases/[email protected]
New Features
- Partitioned tables support (#309)
@databases/[email protected]
New Features
- Partitioned tables support (#309)
@databases/[email protected]
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]
Breaking Changes
- Initial release (#285)
@databases/[email protected]
Refactors
- Use
crypto.randomUUID()
instead ofcuid()
(#308)
@databases/[email protected]
Refactors
- Remove (deprecated)
cuid
dependency (#308)
@databases/[email protected]
Refactors
- Bumps better-sqlite3 to v8.0.0 (#295)