Porsager Postgres Versions Save

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare

v3.3.0

1 year ago
  • Fix subscribe stream close 19c9684
  • Support transform in subscribe messages 4e28de9
  • Prevent transform of columns when using subscribe - fixes #474 4ea4a59
  • Add simple() - fixes #472 e1a21ad
  • Add nested transforms (#460) 65dcf0d
  • Fix query being executed when using describe on unsafe - fixes #424 3e47f0a
  • Support empty arrays in dynamic in - fixes #417 85bca49
  • expose table oid and column number (#409) 599d0e7
  • Ensure listen doesn't reconnect if first connect throws edfa360
  • Only call setKeepAlive if present - fixes #404 84583e0
  • Minor typescript organization (#416) 9a61b9f
  • Fix some undefined types issues (#447) 097d272
  • Add typescript support for "exports" (#439) 3415278
  • Add .values() typings - fixes #385 (#393) ac1bca4
  • Remove dead code that breaks types - fixes #382 (#383) 218a7d4

https://github.com/porsager/postgres/compare/v3.2.4...v3.3.0

v3.2.4

1 year ago
  • Allow setting keep_alive: false bee62f3
  • Fix support for null in arrays - fixes #371 b04c853

https://github.com/porsager/postgres/compare/v3.2.3...v3.2.4

v3.2.3

1 year ago
  • Fix Only use setKeepAlive in Deno if available 28fbbaf
  • Fix wrong helper match on multiple occurances 02f3854
  • Fix Deno assertRejects compatibility (#365) 0f0af92
  • Fix include missing boolean type in JSONValue union (#373) 1817387

https://github.com/porsager/postgres/compare/v3.2.2...v3.2.3

v3.2.2

2 years ago
  • Properly handle errors thrown on commit 99ddae4

https://github.com/porsager/postgres/compare/v3.2.1...v3.2.2

v3.2.1

2 years ago
  • Exclude target_session_attrs from connection obj 43f1442

https://github.com/porsager/postgres/compare/v3.2.0...v3.2.1

v3.2.0

2 years ago
  • Add sslmode=verify-full support e67da29
  • Add support for array of fragments 342bf55
  • Add uri decode of host in url - fixes #346 1adc113
  • Add passing of rest url params to connection (ootb support cockroach urls) 41ed84f
  • Fix Deno partial writes 452a30d
  • Fix as dynamic helper 3300c40
  • Fix some nested fragments usage 9bfa902
  • Fix missing columns on Result when using simple protocol - fixes #350 1e2e298
  • Fix fragments in transactions - fixes #333 75914c7
  • Upgrade/fix types (#357) 1e6d312
  • Add optional onlisten callback to listen() on TypeScript (#360) 6b749b2
  • Add implicit custom type inference (#361) 28512bf
  • Fix and improve sql() helper types (#338) c1de3d8
  • Fix update query type def for .writable() and .readable() to return promises (#347) 51269ce
  • Add bigint to typescript Serializable - fixes #330 f1e41c3

https://github.com/porsager/postgres/compare/v3.1.0...v3.2.0

v3.1.0

2 years ago
  • Add close method to close but not end connections forever 94fea8f
  • Add .values() method to return rows as arrays of values 56873c2
  • Support transform.undefined - fixes #314 eab71e5
  • Support nested fragments values and dynamics - fixes #326 86445ca
  • Fix deno close sequence f76af24
  • Fix subscribe reconnect and add onsubscribe method - fixes #315 5097345
  • Deno ts fix - fixes #327 50403a1

https://github.com/porsager/postgres/compare/v3.0.6...v3.1.0

v3.0.6

2 years ago
  • Properly close connections in Deno 13950af
  • Only write end message if open 408a2fb
  • Improve query cancellation d69e264
  • Use monotonically increasing time for timeout - fixes #316 04644c0
  • Add support for dynamic columns with returning - fixes #317 822fb21
  • Fix type errors in TypeScript deno projects (#313) 6a631b7
  • Execute forEach instantly ea6ccd4

https://github.com/porsager/postgres/compare/v3.0.5...v3.0.6

v3.0.5

2 years ago
  • Fix transaction execution timing 28bb0b3
  • Add optional onlisten function to listen 1dc2fd2
  • Fix dynamic in helper after insert #305 4d63a59

https://github.com/porsager/postgres/compare/v3.0.4...v3.0.5

v3.0.4

2 years ago
  • Ensure drain only dequeues if ready - fixes #303 3f9118b

https://github.com/porsager/postgres/compare/v3.0.3...v3.0.4