Pgtyped Versions Save

pgTyped - Typesafe SQL in TypeScript

v0.5.3

4 years ago

New features:

  • New port setting in config 🔌
  • Support PostgreSQL env variables: PGHOST, PGUSER, PGPASSWORD, PGDATABASE, PGPORT 🏞️
  • Better error reporting on CLI startup 👷

v0.5.0

4 years ago

Breaking changes:

  • Config file format changed, refer to the CLI docs for the new format 🚧

New features:

  • Added ability to parse and extract queries from SQL files 🔥 🔥
  • Better error reporting in malformed TS or SQL files ⚠️
  • Better documentation 📖
  • Public roadmap and project goals 🥅

Bug fixes:

  • Fixes watch mode bug: some files were not being emitted properly

v0.4.5

4 years ago
  • Dependencies updated
  • Prevent creating type files for matching files with no queries in them #13

v0.4.3

4 years ago
  • Fix query result type inference bug introduced in v0.4.0

v0.4.2

4 years ago
  • Simplified sql tag generics. Now the sql tag requires just one generic parameter instead of two. (Breaking change)
  • Added support for more PostgreSQL types, full list here.