Releases: ForbesLindesay/atdatabases
@databases/[email protected]
Bug Fixes
- Update pg-schema-introspect to add support for Postgres 12 (#106)
@databases/[email protected]
Bug Fixes
- Some import paths were broken after publishing (#103)
@databases/[email protected]
New Features
-
Initial release (#101)
Once you have a schema from @databases/pg-schema-introspect you can pass it to this library to write out TypeScript definitions for all your database tables
@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.