Pgtyped Versions Save

pgTyped - Typesafe SQL in TypeScript

v0.11.0

3 years ago

New features:

  • Only write files if the content differs (thanks @bradleyayers ) ๐Ÿ’พ
  • More informative CLI with help and version flags ๐Ÿ–ฅ๏ธ
  • New database connection URI CLI flag ๐Ÿ”—

v0.10.2

3 years ago

New features:

  • Deterministic sorting for generated types (thanks @carlpeaslee ) ๐Ÿ”ข
  • SSL support (thanks @water-a ) ๐Ÿ”‘
  • New DB URL config option (thanks @mako-taco ) ๐Ÿ”Œ
  • Make generated array types readonly (thanks @mako-taco ) ๐Ÿ”’

v0.9.0

3 years ago

New features:

  • Array types now supported (thanks @steelbrain) ๐Ÿš€
  • Command line option to generate type definitions only for a particular file (thanks @golergka) ๐Ÿงท

Bug fixes:

  • Config parser now accepts absolute file paths (thanks @golergka)
  • Fixed existing npm audit issues and vulnerabilities ๐Ÿ”
  • Multi line comments inside SQL statements are now ignored

v0.8.2

3 years ago

Bug fixes:

  • Fixed column nullability when no nullability info is available (thanks @darky) ๐Ÿ”ฅ
  • Fixed char parsing (thanks @mudrz) ๐Ÿฌ
  • Removed stub dependencies (thanks @mudrz)
  • All dependencies updated

v0.8.1

3 years ago

Bug fixes:

  • Fixed parsing for param names and keys that contain underscores
  • Fixed int8 type map (thanks @darky)
  • Fixed object array spread queries when passed empty params

v0.8.0

3 years ago

New features:

  • New and more efficient TS query parsing engine
  • Experimental field camel casing support (thanks @darky) ๐Ÿซ

Bug fixes:

  • Fix TS query parameter binding issues
  • Fix bigint and bigserial parsing
  • Fix query package dependency issues

v0.7.3

3 years ago

New features:

  • Support both JS and JSON config formats (thanks @mmiszy) ๐Ÿ”ฎ
  • New types support: citext, network, void and interval (thanks @davecardwell and @silasdavis ) ๐Ÿ”ข
  • Ignore irrelevant comments in SQL files ๐Ÿ™ˆ

Bug fixes:

  • Fix SQL and SQL-in-TS queries in which parameters were used multiple times #101 #99 ๐Ÿž
  • Fix query param identifier parsing bug ๐Ÿ›
  • Add TS as peer dependency #87

v0.7.2

3 years ago

New features:

  • Added an exit-on-error CLI flag failOnError (thanks @silasdavis) ๐Ÿด

Bug fixes:

  • Fixed object key sorting bug for TS based queries #79 ๐Ÿ›

v0.7.0

4 years ago

New features:

  • Support Postgres types json, jsonb and bytea (thanks @silasdavis) ๐Ÿท๏ธ
  • Support Postgres enum types (thanks @silasdavis) ๐Ÿ„โ€โ™‚๏ธ

Bug fixes:

  • Fixed parsing for queries that use the Postgres type-cast operator :: โ„๏ธ

v0.6.1

4 years ago

New features:

  • Support customizing generated file paths using emitTemplate ๐Ÿ› ๏ธ
  • Nullable query params can now be passed as both null and undefined ๐ŸŒ—