Skip to content

Releases: porsager/postgres

v2.0.0-beta.9

19 Sep 20:29
Compare
Choose a tag to compare
v2.0.0-beta.9 Pre-release
Pre-release

v2.0.0-beta.8...v2.0.0-beta.9

v2.0.0-beta.8

28 Aug 22:32
Compare
Choose a tag to compare
v2.0.0-beta.8 Pre-release
Pre-release
  • Call socket.write with correct arguments - fixes #216 f406426

v2.0.0-beta.7...v2.0.0-beta.8

v2.0.0-beta.7

16 Aug 08:32
Compare
Choose a tag to compare
v2.0.0-beta.7 Pre-release
Pre-release

v2.0.0-beta.6...v2.0.0-beta.7

v2.0.0-beta.6

07 Jul 07:42
Compare
Choose a tag to compare
v2.0.0-beta.6 Pre-release
Pre-release
  • Use keepalive with 1 minute idle time 60c1f8e
  • Include custom types when fetching array types. (#103) 174e4fd
  • Make cursor work with unsafe - fixes #149 b15861d
  • Properly throw initial cursor errors 1b7e9b9
  • Include missing last set in cursor - fixes #150 #81 cea5f73
  • Fix #188 Support escaping dynamic schemas and tables 2e3652b
  • Handle disable and false sslmode url strings - fixes #177 0eff017
  • Add support for prepared statements in sql.unsafe (#176) ae6c350

v2.0.0-beta.5...v2.0.0-beta.6

v2.0.0-beta.5

12 Apr 09:14
Compare
Choose a tag to compare
v2.0.0-beta.5 Pre-release
Pre-release
  • Feature: Add raw input property to error and debug parameters (#167) 9e83e7f
  • Feature: Multihost support for High Availability setups (#158) 16bc7db
  • Feature: Add unlisten support (#155) 6ef71c8
  • Feature: Add sslmode prefer and require 0cb2981
  • Fix: Catch connection errors in begin() (transactions) - fixes #162 fff6640
  • Fix: Escaping columns for helpers and listen 00a10b2
  • Fix: Properly cleanup sockets (#136) c5bfcf2

v2.0.0-beta.4...v2.0.0-beta.5

v2.0.0-beta.4

12 Feb 09:22
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release
  • Better sql`` types (#84) f82d679
  • Fallback to user for db name instead of 'postgres' - fixes #141 0b33b71

v2.0.0-beta.3...v2.0.0-beta.4

v2.0.0-beta.3

19 Jan 08:41
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

v2.0.0-beta.2...v2.0.0-beta.3

v2.0.0-beta.2

02 Oct 13:43
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release
  • double precision can be represented safely as number in js 5e5ae5a
  • Fix .end() hanging as pending forever a5daa3e
  • Ensure end is called for connections not ready 219fa27
  • Fix support for node 8 and 10 3f6bbab

v2.0.0-beta.1...v2.0.0-beta.2

v2.0.0-beta.1

29 Sep 08:54
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release
  • Fix wrong api usage errors being swallowed a891603
  • Fix connection config errors being swallowed 869ab9b
  • Add no_prepare option - fixes #93 and #76 ce14949

v2.0.0-beta.0...v2.0.0-beta.1

v2.0.0-beta.0

14 Jun 11:55
Compare
Choose a tag to compare
v2.0.0-beta.0 Pre-release
Pre-release

Potential Breaking changes

  • Undefined values throws 758b5ee
  • Treat postgres bigint as string by default 4958e80
  • Default to 10 connections instead of number of cpus e61e8f4
  • Don't force 1700 (numeric), postgres casts better - Fixes #41 844e7f2
  • Fix unsafe queries wrongly making named prepared statements d354edf

Deprecated

  • Rename timeout option to idle_timeout 90865cd

New

  • Typescript support (#8) c55304e
  • Add cursor support 4156c3f
  • Better errors - include origin, query, parameters 7845fc7
  • Update license to the Unlicense (#80) e8e86f8
  • Add connect_timeout with a default of 30 seconds 2e01c2b
  • Add columns to result - fixes #18 d89f824
  • Add PostgresError type fc6804a
  • Add async stack to end of error stack a74e015

Fixes

  • Fix #49 and improve sql.array usage 22651e3
  • Fix connection timeout leak 5e3fff8
  • Fix stale connections after initial error 807f983
  • Fetch os.username() optimistically - fixes #51 a519e18
  • Fix some errors not throwing for current query 87b0943
  • Fix CONNECTION_CLOSED false and no host + port if path is false 93ad859
  • Fix end timeout race condition 60dc30f
  • Register array types properly 7d3ce4b

v1.0.2...v2.0.0-beta.0