Releases: ForbesLindesay/atdatabases
Releases · ForbesLindesay/atdatabases
@databases/[email protected]
Refactors
- Remove (deprecated)
cuiddependency (#308)
@databases/[email protected]
Refactors
- Bumps better-sqlite3 to v8.0.0 (#295)
@databases/[email protected]
Breaking Changes
-
NULLwill no longer be parsed toNaNwhen using"number"fortinyIntMode(#297) -
NULLwill no longer be parsed tofalsewhen using"boolean"fortinyIntMode(#297) -
NULLwill no longer be parsed toNaNwhen using"number"forbigIntMode(#297) -
NULLwill no longer error when using"bigint"forbigIntMode(#297) -
NULLwill no longer error when using"date-object"fordateMode(#297)
@databases/[email protected]
Bug Fixes
- Bump
@databases/mysqldependency to6.0.0(#297)
@databases/[email protected]
Bug Fixes
- The default export would not work if imported in an ESModules context in node.js (#293)
@databases/[email protected]
Bug Fixes
-
Sub-queries that were guaranteed to be
falsecould result in attempting to execute SQL that was not syntactically valid. (#288)For example, given the function:
async function getUsersThatCreatedPhotos(photoIds: DbPhoto["id"][]) { return await users(db) .find({id: photos.key(`created_by_id`, {id: anyOf(photoIds)})}) .all() }
Calling:
getUsersThatCreatedPhotos([])
should return a Promise for an empty array, without actually needing to query the database, but instead it attempted to run a database query that was not valid SQL.
@databases/[email protected]
New Features
- Added support for config files with
.cjsextension (#287)
@databases/[email protected]
New Features
- Added support for config files with
.cjsextension (#287)
@database/[email protected]
Initial Release
@databases/[email protected]
New Features
- Initial Release (#275)