Releases: ForbesLindesay/atdatabases
@databases/[email protected]
Breaking Changes
-
No longer exports
run
method (#71)Internally, it was refactored to use modern-spawn
-
Requires more recent version of
@types/node
(#71)This will only impact you if you are using TypeScript.
New Features
-
Add CLI for creating postgres databases (#81)
-
You can now specify the
migrationsScript
as a string (#72)If you were previously doing:
{ "pg": { "migrations": ["yarn", "run", "migrations"] } }
you can now do:
{ "pg": { "migrations": "yarn run migrations" } }
You can continue specifying them as an array if you prefer.
@databases/[email protected]
Breaking Changes
- "prettier" is now a "peerDependency" (#76)
@databases/[email protected]
Refactorings
-
Replace default pg image of "circleci/postgres:10.6-alpine-ram" with "postgres:10.6-alpine" (#79)
This image seems more stable, will be compatible with persistent volumes, and is not noticeably slower.
@databases/[email protected]
Breaking Changes
-
No longer exports
run
method (#71)Internally, it was refactored to use modern-spawn
-
Requires more recent version of
@types/node
(#71)This will only impact you if you are using TypeScript.
New Features
-
Adds a mysql-test CLI (#80)
This lets you run arbitrary commands with a temporary mysql database attached.
-
You can now specify the
migrationsScript
as a string (#72)If you were previously doing:
{ "mysql": { "migrations": ["yarn", "run", "migrations"] } }
you can now do:
{ "mysql": { "migrations": "yarn run migrations" } }
You can continue specifying them as an array if you prefer.