You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All packages and code migrated to ES modules π (#478)
Introduced new @pgtyped/runtime package. π (#478)
It is the only package needed to run pgTyped generated queries and is optimized for package size (ESM & CommonJS compatible).
Environment variable DATABASE_URL now supported as an alternative to PGURI (thanks to @msakrejda in #484)
Nullable scalar parameter are no longer required when running a query (#482) π₯
Queries returning anonymous columns are now forbidden and result in an error
PgTyped in watch mode warns & exits on config file changes (2515f15) π
Migrate to a more modern and performant threadpool Piscina. π
Bug fixes:
failOnError config option now kills the threadpool and exits pgTyped with an error code (aada874) π
Development changes:
Lerna upgraded to latest version, meaning we now use native npm workspaces.
Jest upgraded to latest version, number of tests rewritten to work with ESM and latest Jest. Mocking no longer supported.
`@pgtyped/example" Integration tests now using Jest.