github porsager/postgres v2.0.0-beta.0

latest releases: v3.4.4, v3.4.3, v3.4.2...
pre-release3 years ago

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

Don't miss a new postgres release

NewReleases is sending notifications on new releases.