Porsager Postgres Versions Save

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

v3.4.4

1 month ago
  • Ensure retryRoutines are only used for prepared statements - fixes #830 3e28f3a
  • update lsn on Primary Keep Alive Message a5cd811
  • add subscribe onerror handler 3e3d5e8
  • Patch: Connection stuck after a while (#738) 6f20a48

https://github.com/porsager/postgres/compare/v3.4.3...v3.4.4

v3.4.3

6 months ago
  • Ensure reserved connections are initialized properly - fixes #718 c084a1c

https://github.com/porsager/postgres/compare/v3.4.2...v3.4.3

v3.4.2

6 months ago
  • Ensure transactions throw if connection is closed while there is no active query - fixes #658 788c819
  • Fix race conditions in auth startup - fixes #430 #668 33ae0ed
  • adding support for sslrootcert option in connection string (#690) 0bee4c3
  • Keep query error instead of creating creating new object (#698) f2fb819
  • Add common parameter names to ConnectionParameters TS type (#707) ca2754c

https://github.com/porsager/postgres/compare/v3.4.1...v3.4.2

v3.4.1

6 months ago
  • set "types" exports first as ts 4.7 requirement (#709) 00dd98a
  • Ensure bun imports esm instead of cf worker - fixes #692 c1d8519
  • Update Cloudflare createHash polyfill to support md5 and hex encoding 09e6cb5

https://github.com/porsager/postgres/compare/v3.4.0...v3.4.1

v3.4.0

6 months ago
  • Add Support for Cloudflare Workers & Pages (#599) b88e261
  • Add sql.reserve method 7f6e0cc
  • Add sql.prepare(name) to allow custom names (#628) 8f6f4e3
  • Allow for incomplete custom types 1df4286
  • Allow array of Fragments in ParameterOrFragment 82908d3
  • Allow a falsy url string e4b158b
  • Fix crash on errors in logical streaming, but log and reconnect a4bf5fa
  • Fix #674 TypeScript issues with dynamic inserts 5f569d8
  • Fix connection on deno 1.36.3 (#673) bf082a5
  • Fix replica identity changes when using subscribe 087c414
  • Fix a bun issue with stack traces cae4d97
  • Ensure number options are coerced from string - fixes #622 ba498fd
  • Support notify for transactions and reserved connections as well. fixes #611 0dac913
  • Use select helper inside parenthesis c2fe67b

https://github.com/porsager/postgres/compare/v3.3.5...v3.4.0

v3.3.5

11 months ago
  • feat: use ; as a delimiter for _box 26d08c8
  • feat: don't override array type if already exists 62a23bb
  • Document sql.unsafe query fragments (#567) c9ded40
  • Ensure queries are not pushed on connections with active cursors - fixes #411 4f987d5

https://github.com/porsager/postgres/compare/v3.3.4...v3.3.5

v3.3.4

1 year ago
  • Set servername on tls connect - fixes #543 498f2ae
  • fix: unlisten channel names with period (#550) df0343d
  • Fallback to escaping multiple identifiers if no builder found - fixes #532 58aac20
  • Use final string for simple statements too - fixes #532 c6bf6be

https://github.com/porsager/postgres/compare/v3.3.3...v3.3.4

v3.3.3

1 year ago
  • Fix connection uri encoding (#497) 4467d11
  • Fix logic reversal for target_session_attrs=primary|standby 4aa19d1
  • Fix transform function logic for deeply nested jsonb (#530) a848ca6
  • Fix writing host and port on connection timeouts f93d0d4

https://github.com/porsager/postgres/compare/v3.3.2...v3.3.3

v3.3.2

1 year ago
  • Fix null json array transform error b153202
  • Fix nested json array transform - fixes #506 5dea953
  • Allow period in listen channel names - fix #495 a12108a

https://github.com/porsager/postgres/compare/v3.3.1...v3.3.2

v3.3.1

1 year ago
  • Fix listen after reconnect - fixes #490 52dfe9a

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