PackageTrack

Go modules

github.com/jackc/pgx/v4

v4.18.3jackc/pgx

Release timeline

244 releases since 2019
20192026

One column per quarter.

Releases

  1. v4.18.4-0.20250125160656-b02c3d473e1525 Jan 2025pre-release

    Nothing published for this version

  2. v4.18.39 Mar 2024
    Release notes

    Use spaces instead of parentheses for SQL sanitization.

    This still solves the problem of negative numbers creating a line comment, but this avoids breaking edge cases such as set foo to $1 where the substitution is taking place in a location where an arbitrary expression is not allowed.

    Open source →
  3. v4.18.24 Mar 2024
    Release notes

    Fix CVE-2024-27289

    SQL injection can occur when all of the following conditions are met:

    1. The non-default simple protocol is used.
    2. A placeholder for a numeric value must be immediately preceded by a minus.
    3. There must be a second placeholder for a string value after the first placeholder; both must be on the same line.
    4. Both parameter values must be user-controlled.

    Thanks to Paul Gerste for reporting this issue.

    Fix CVE-2024-27304

    SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control.

    Thanks to Paul Gerste for reporting this issue.

    • Fix *dbTx.Exec not checking if it is already closed
    Open source →
  4. v4.18.2-0.20240304144710-f94eb0e2f9674 Mar 2024pre-release

    Nothing published for this version

  5. v4.18.2-0.20240304144710-826a89229b8b4 Mar 2024pre-release

    Nothing published for this version

  6. v4.18.128 Feb 2023
    Release notes
    • Fix: Support pgx v4 and v5 stdlib in same program (Tomáš Procházka)
    Open source →
  7. v4.18.011 Feb 2023
    Release notes
    • Upgrade pgconn to v1.14.0
    • Upgrade pgproto3 to v2.3.2
    • Upgrade pgtype to v1.14.0
    • Fix query sanitizer when query text contains Unicode replacement character
    • Fix context with value in BeforeConnect (David Harju)
    • Support pgx v4 and v5 stdlib in same program (Vitalii Solodilov)
    Open source →
  8. v4.17.23 Sept 2022
    Release notes
    • Fix panic when logging batch error (Tom Möller)
    Open source →
  9. v4.17.2-0.20220903140223-dfce986bb5d03 Sept 2022pre-release

    Nothing published for this version

  10. v4.17.127 Aug 2022
    Release notes
    • Upgrade puddle to v1.3.0 - fixes context failing to cancel Acquire when acquire is creating resource which was introduced in v4.17.0 (James Hartig)
    • Fix atomic alignment on 32-bit platforms
    Open source →
  11. v4.17.1-0.20220827231834-72fe594942a427 Aug 2022pre-release

    Nothing published for this version

  12. v4.17.1-0.20220813145037-1d748d9bbf1913 Aug 2022pre-release

    Nothing published for this version

  13. v4.17.1-0.20220806121037-6871a0c4a6076 Aug 2022pre-release

    Nothing published for this version

  14. v4.17.06 Aug 2022
    Release notes
    • Upgrade pgconn to v1.13.0
    • Upgrade pgproto3 to v2.3.1
    • Upgrade pgtype to v1.12.0
    • Allow background pool connections to continue even if cause is canceled (James Hartig)
    • Add LoggerFunc (Gabor Szabad)
    • pgxpool: health check should avoid going below minConns (James Hartig)
    • Add pgxpool.Conn.Hijack()
    • Logging improvements (Stepan Rabotkin)
    Open source →
  15. v4.16.2-0.20220805012257-3cb99532f53d5 Aug 2022pre-release

    Nothing published for this version

  16. v4.16.2-0.20220730125416-91c9e841e1bb30 Jul 2022pre-release

    Nothing published for this version

  17. v4.16.2-0.20220723154326-cb5ddcd6b67623 Jul 2022pre-release

    Nothing published for this version

  18. v4.16.2-0.20220624011520-396195466c6a24 Jun 2022pre-release

    Nothing published for this version

  19. v4.16.2-0.20220607233803-a814153aebbd7 Jun 2022pre-release

    Nothing published for this version

  20. v4.16.2-0.20220603010408-37c3f157bcbd3 Jun 2022pre-release

    Nothing published for this version

  21. v4.16.2-0.20220513001002-dc0ad04ff58f13 May 2022pre-release

    Nothing published for this version

  22. v4.16.17 May 2022
    Release notes
    • Upgrade pgconn to v1.12.1
    • Fix explicitly prepared statements with describe statement cache mode
    Open source →
  23. v4.16.1-0.20220428125824-7ceeea6fe60428 Apr 2022pre-release

    Nothing published for this version

  24. v4.16.1-0.20220423152508-c6335a30d0f123 Apr 2022pre-release

    Nothing published for this version

  25. v4.16.022 Apr 2022
    Release notes
    • Upgrade pgconn to v1.12.0
    • Upgrade pgproto3 to v2.3.0
    • Upgrade pgtype to v1.11.0
    • Fix: Do not panic when context cancelled while getting statement from cache.
    • Fix: Less memory pinning from old Rows.
    • Fix: Support '\r' line ending when sanitizing SQL comment.
    • Add pluggable GSSAPI support (Oliver Tan)
    Open source →
  26. v4.15.1-0.20220624011520-396195466c6a24 Jun 2022pre-release

    Nothing published for this version

  27. v4.15.1-0.20220422010532-e012ea0bedba22 Apr 2022pre-release

    Nothing published for this version

  28. v4.15.1-0.20220422002625-097b6aacb7ca22 Apr 2022pre-release

    Nothing published for this version

  29. v4.15.1-0.20220411234911-bb8c52f7e8c311 Apr 2022pre-release

    Nothing published for this version

  30. v4.15.1-0.20220305144102-3ce50c079e875 Mar 2022pre-release

    Nothing published for this version

  31. v4.15.1-0.20220305001740-a86ece025cc75 Mar 2022pre-release

    Nothing published for this version

  32. v4.15.1-0.20220219175125-b6b24f9e8a5d19 Feb 2022pre-release

    Nothing published for this version

  33. v4.15.1-0.20220219172839-1e565b0d440f19 Feb 2022pre-release

    Nothing published for this version

  34. v4.15.1-0.20220212151955-3650fc9f682012 Feb 2022pre-release

    Nothing published for this version

  35. v4.15.1-0.20220212151524-4ac14990607c12 Feb 2022pre-release

    Nothing published for this version

  36. v4.15.07 Feb 2022
    Release notes
    • Upgrade to pgconn v1.11.0
    • Upgrade to pgtype v1.10.0
    • Upgrade puddle to v1.2.1
    • Make BatchResults.Close safe to be called multiple times
    Open source →
  37. v4.14.2-0.20220207165529-67401de1c3b37 Feb 2022pre-release

    Nothing published for this version

  38. v4.14.2-0.20220207164830-c9eefd852a0d7 Feb 2022pre-release

    Nothing published for this version

  39. v4.14.2-0.20220206021235-d02b2ed013c36 Feb 2022pre-release

    Nothing published for this version

  40. v4.14.2-0.20211229232543-e3703b7ebc3229 Dec 2021pre-release

    Nothing published for this version

  41. v4.14.2-0.20211204200657-0e293b966c564 Dec 2021pre-release

    Nothing published for this version

  42. v4.14.2-0.20211204194557-7e13db45388d4 Dec 2021pre-release

    Nothing published for this version

  43. v4.14.2-0.20211129172902-cf0de913ee8f29 Nov 2021pre-release

    Nothing published for this version

  44. v4.14.129 Nov 2021
    Release notes
    • Upgrade pgtype to v1.9.1 (fixes unintentional change to timestamp binary decoding)
    • Start pgxpool background health check after initial connections
    Open source →
  45. v4.14.1-0.20211129034359-5b91cac132f529 Nov 2021pre-release

    Nothing published for this version

  46. v4.14.1-0.20211122154715-1d606a91b80822 Nov 2021pre-release

    Nothing published for this version

  47. v4.14.1-0.20211120171910-058f346079e120 Nov 2021pre-release

    Nothing published for this version

  48. v4.14.020 Nov 2021
    Release notes
    • Upgrade pgconn to v1.10.1
    • Upgrade pgproto3 to v2.2.0
    • Upgrade pgtype to v1.9.0
    • Upgrade puddle to v1.2.0
    • Add QueryFunc to BatchResults
    • Add context options to zerologadapter (Thomas Frössman)
    • Add zerologadapter.NewContextLogger (urso)
    • Eager initialize minpoolsize on connect (Daniel)
    • Unpin memory used by large queries immediately after use
    Open source →
  49. v4.13.1-0.20211120171910-058f346079e120 Nov 2021pre-release

    Nothing published for this version

  50. v4.13.1-0.20211120162852-885f39c3689d20 Nov 2021pre-release

    Nothing published for this version

  51. v4.13.1-0.20211120162002-a9f8400b015a20 Nov 2021pre-release

    Nothing published for this version

  52. v4.13.1-0.20211113231209-a457da8bffa413 Nov 2021pre-release

    Nothing published for this version

  53. v4.13.1-0.20211113104228-851091fdf42113 Nov 2021pre-release

    Nothing published for this version

  54. v4.13.1-0.20211101122649-6cd6c43dcbe21 Nov 2021pre-release

    Nothing published for this version

  55. v4.13.1-0.20211030152509-8bc6aa6b495930 Oct 2021pre-release

    Nothing published for this version

  56. v4.13.1-0.20211030152509-36708a1cc6da30 Oct 2021pre-release

    Nothing published for this version

  57. v4.13.1-0.20211030135259-044ba475223f30 Oct 2021pre-release

    Nothing published for this version

  58. v4.13.1-0.20211016131108-0d20d1241e0216 Oct 2021pre-release

    Nothing published for this version

  59. v4.13.1-0.20211002124232-3599f646293c2 Oct 2021pre-release

    Nothing published for this version

  60. v4.13.1-0.20210925142659-b28c053c39b625 Sept 2021pre-release

    Nothing published for this version