Releases: ForbesLindesay/atdatabases
@databases/[email protected]
Bug Fixes
- Remove "private" in package.json so it is published to npm (#102)
@databases/[email protected]
Breaking Changes
-
@databases/pg-schema has been renamed to @databases/pg-schema-introspect (#101)
It now finally has a public API that can be called to retrieve a JSON representation of a Postgres database schema that is rich in detail. This is designed to work with the various other @databases/pg-* packages. A future package under the @databases/pg-schema name will provide type safe access to Postgres databases using these generated schemas.
Bug Fixes
-
Table names and field names are now always alphabetically sorted (#101)
This was the only way to make the output from introspect stable enough to be useful.
@databases/[email protected]
Bug Fixes
- Some import paths were broken after publishing (#103)
@databases/[email protected]
New Features
-
Initial release (#101)
This CLI lets you generate a folder full of types for all your database tables in Postgres.
@databases/[email protected]
Breaking Changes
-
Completely re-written (#96)
This is an all new interactive CLI and also an all new TypeScript API.
@databases/[email protected]
Refactorings
-
Sort keys in enum (#101)
This is part of making the codegen in pg-schema more stable.
@databases/[email protected]
@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)