Releases: porsager/postgres
Releases · porsager/postgres
v2.0.0-beta.9
v2.0.0-beta.8
v2.0.0-beta.7
- Fix potential endless loop 8150005
- Recreate prepared statements if invalidated (#195) 591d47a
- Copy (#211) 8e675a3
- Add raw() method - fixes #194 (#196) 8b405b3
- Use correct SSL mode description (#210) 1e7713e
- Prevent obscuring errors when querying pg_catalog (#204) e3ace38
- Optionally disable fetching of array types. (#205) 779771a
- Fix return type definition f900c58
v2.0.0-beta.6
- 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
- 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.3
v2.0.0-beta.2
v2.0.0-beta.1
v2.0.0-beta.0
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