Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump github.com/jackc/pgx/v5 from 5.3.1 to 5.4.3 #7

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2023

Bumps github.com/jackc/pgx/v5 from 5.3.1 to 5.4.3.

Changelog

Sourced from github.com/jackc/pgx/v5's changelog.

5.4.3 (August 5, 2023)

  • Fix: QCharArrayOID was defined with the wrong OID (Christoph Engelbert)
  • Fix: connect_timeout for sslmode=allow|prefer (smaher-edb)
  • Fix: pgxpool: background health check cannot overflow pool
  • Fix: Check for nil in defer when sending batch (recover properly from panic)
  • Fix: json scan of non-string pointer to pointer
  • Fix: zeronull.Timestamptz should use pgtype.Timestamptz
  • Fix: NewConnsCount was not correctly counting connections created by Acquire directly. (James Hartig)
  • RowTo(AddrOf)StructByPos ignores fields with "-" db tag
  • Optimization: improve text format numeric parsing (horpto)

5.4.2 (July 11, 2023)

  • Fix: RowScanner errors are fatal to Rows
  • Fix: Enable failover efforts when pg_hba.conf disallows non-ssl connections (Brandon Kauffman)
  • Hstore text codec internal improvements (Evan Jones)
  • Fix: Stop timers for background reader when not in use. Fixes memory leak when closing connections (Adrian-Stefan Mares)
  • Fix: Stop background reader as soon as possible.
  • Add PgConn.SyncConn(). This combined with the above fix makes it safe to directly use the underlying net.Conn.

5.4.1 (June 18, 2023)

  • Fix: concurrency bug with pgtypeDefaultMap and simple protocol (Lev Zakharov)
  • Add TxOptions.BeginQuery to allow overriding the default BEGIN query

5.4.0 (June 14, 2023)

  • Replace platform specific syscalls for non-blocking IO with more traditional goroutines and deadlines. This returns to the v4 approach with some additional improvements and fixes. This restores the ability to use a pgx.Conn over an ssh.Conn as well as other non-TCP or Unix socket connections. In addition, it is a significantly simpler implementation that is less likely to have cross platform issues.
  • Optimization: The default type registrations are now shared among all connections. This saves about 100KB of memory per connection. pgtype.Type and pgtype.Codec values are now required to be immutable after registration. This was already necessary in most cases but wasn't documented until now. (Lev Zakharov)
  • Fix: Ensure pgxpool.Pool.QueryRow.Scan releases connection on panic
  • CancelRequest: don't try to read the reply (Nicola Murino)
  • Fix: correctly handle bool type aliases (Wichert Akkerman)
  • Fix: pgconn.CancelRequest: Fix unix sockets: don't use RemoteAddr()
  • Fix: pgx.Conn memory leak with prepared statement caching (Evan Jones)
  • Add BeforeClose to pgxpool.Pool (Evan Cordell)
  • Fix: various hstore fixes and optimizations (Evan Jones)
  • Fix: RowToStructByPos with embedded unexported struct
  • Support different bool string representations (Lev Zakharov)
  • Fix: error when using BatchResults.Exec on a select that returns an error after some rows.
  • Fix: pipelineBatchResults.Exec() not returning error from ResultReader
  • Fix: pipeline batch results not closing pipeline when error occurs while reading directly from results instead of using a callback.
  • Fix: scanning a table type into a struct
  • Fix: scan array of record to pointer to slice of struct
  • Fix: handle null for json (Cemre Mengu)
  • Batch Query callback is called even when there is an error
  • Add RowTo(AddrOf)StructByNameLax (Audi P. Risa P)
Commits
  • d17440d Add missed changelog entry and fix typo
  • 4c60839 Release v5.4.3
  • e9087ea Fix data race when pgproto3 trace is enabled during CopyFrom
  • d626dfe TestConnConcurrency has been failing on CI
  • 1a9b2a5 Fix staticcheck issues
  • 8fb309c Use Go 1.20's link syntax for ParseConfig
  • f4533dc optimize parseNumericString
  • 4091eed Check out code before setting up Go
  • 87d771e Prettier ci.yml
  • 492283b zeronull.Timestamptz should use pgtype.Timestamptz
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.1 to 5.4.3.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.3.1...v5.4.3)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 7, 2023
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #7 (8177def) into trunk (4110d24) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            trunk       #7   +/-   ##
=======================================
  Coverage   70.94%   70.94%           
=======================================
  Files           2        2           
  Lines         117      117           
=======================================
  Hits           83       83           
  Misses         23       23           
  Partials       11       11           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@metaleap
Copy link

metaleap commented Oct 5, 2023

Wie wär's, @z0ne-dev? ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant