Skip to content

Releases: adelsz/pgtyped

v0.13.0

25 Dec 00:30
Compare
Choose a tag to compare

New features:

  • Support enum array types (thanks @maylukas ) ๐Ÿ“š
  • Support SCRAM-SHA-256 authentication (thanks @JesseVelden) ๐Ÿ”‘
  • Introduce deterministic field ordering (thanks @fmmoret) ๐Ÿ”ข

Bug fixes:

  • Fix non-nullable parameters parsing edgecase ๐Ÿž
  • Use unknown instead of never for unsupported types (thanks @theswerd) โ”

v0.12.0

16 Sep 22:49
Compare
Choose a tag to compare

New features:

  • Allow to specify param nullability as :paramName! (thanks @JohnnyCrazy) ๐Ÿฅ‡
  • Postgis point type support (thanks @joecarver ) โšช

Bug fixes:

  • esModuleInterop: false compatibility fix (thanks @bag-man) ๐Ÿ“ฆ
  • Cast numeric/decimal/money as a string (thanks @jgonera) ๐Ÿ’ต

v0.11.0

12 May 20:28
Compare
Choose a tag to compare

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

26 Mar 13:57
Compare
Choose a tag to compare

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

20 Nov 22:15
Compare
Choose a tag to compare

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

25 Jul 08:18
Compare
Choose a tag to compare

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

29 Jun 21:00
Compare
Choose a tag to compare

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

24 Jun 22:55
Compare
Choose a tag to compare

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

09 Jun 20:24
Compare
Choose a tag to compare

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

22 May 22:06
Compare
Choose a tag to compare

New features:

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

Bug fixes:

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