Skip to content

Releases: denodrivers/postgres

v0.8.0

13 Feb 01:50
Compare
Choose a tag to compare

New features:

  • SSL/TLS connections and enforceable within the client (requires unstable)
  • Template string queries for queryArray and queryObject

Bug fixes:

  • Handle long column names instead of throwing

v0.7.1

04 Feb 13:59
Compare
Choose a tag to compare
  • Dependencies were updated to std 0.85.0
  • Authentication errors will now be parsed by the client instead of throwing a generic error

v0.7.0

31 Jan 11:31
Compare
Choose a tag to compare

Features:

  • Connection strings can now be used for instantiating a Pool
  • BREAKING: Unknown column types will be retrieved as strings instead of throwing
  • Document public interfaces with JSDoc

Support for new data types:

  • Box
  • Box array
  • Circle
  • Circle array
  • Date array
  • Float4 array
  • Float8 array
  • Line
  • Line array
  • Line segment
  • Line segment array
  • Path
  • Path array
  • Polygon
  • Polygon array
  • Tid
  • Tid array
  • Timestamp array
  • Timestamptz array

v0.6.0

29 Jan 00:54
Compare
Choose a tag to compare

Features:

  • Client.queryObject is a method that allows users to directly query results as objects and map this result columns to interfaces of their preference
  • Added generic types support to both Client.queryArray and Client.queryObject

Fixes:

  • Handle startup errors on client initialization

BREAKING CHANGES:

  • Client.query method is named queryArray now
  • Client.multiQuery was removed

v0.5.0

24 Jan 23:56
6429e2b
Compare
Choose a tag to compare
  • Add support for the following data types
    • Binary
    • Point
    • Array text based types
    • xid
  • BREAKING: bigint datatype is now parsed as BigInt
  • Add warning field to QueryResult. This field will contain all notices returned as a result of the query

v0.4.6

10 Dec 19:10
309c55c
Compare
Choose a tag to compare

Update for deno 1.6.0.

v0.4.5

16 Sep 05:55
e5c619a
Compare
Choose a tag to compare

Update for deno 1.4.0.

Note: v0.4.4 ran on deno 1.4.0 stable but failed to compile when using --unstable.

v0.4.4

15 Sep 17:25
f19e520
Compare
Choose a tag to compare

Update for deno 1.3.0.

v0.4.3

03 Aug 18:34
85f0aec
Compare
Choose a tag to compare
  • update checksum library #159
  • Expose ready on Pool class #127
  • Support array-like types #143

v0.4.2

17 Jun 06:38
bc00ff2
Compare
Choose a tag to compare
  • Resolves: error: Uncaught Error: Don't know how to parse column type: 1042 (#132)
  • Use a query lock (#129)