Releases: ForbesLindesay/atdatabases
@databases/[email protected]
New Features
- Initial release (#96)
@databases/[email protected]
Bug Fixes
-
Handle digital ocean connection strings correctly (#83)
- Digital Ocean postgres connection strings use
postgresql:
as the schema instead ofpostgres:
- Digital Ocean postgres connection strings specify
?sslmode=require
and the connections fail unless the ssl mode is enabled.
- Digital Ocean postgres connection strings use
@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.
Bug Fixes
- Debugging info is now written to stderr instead of stdout (#80)
@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.