gocardless / statesman

A statesmanlike state machine library.
https://gocardless.com/blog/statesman/
MIT License
1.78k stars 163 forks source link

Update pg requirement from >= 0.18, <= 1.3 to >= 0.18, <= 1.5 #473

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Updates the requirements on pg to permit the latest version.

Changelog

Sourced from pg's changelog.

== v1.4.0 [2022-06-20] Lars Kanis lars@greiz-reinsdorf.de

Added:

  • Add PG::Connection#hostaddr, present since PostgreSQL-12. #453
  • Add PG::Connection.conninfo_parse to wrap PQconninfoParse. #453

Bugfixes:

  • Try IPv6 and IPv4 addresses, if DNS resolves to both. #452
  • Re-add block-call semantics to PG::Connection.new accidently removed in pg-1.3.0. #454
  • Handle client error after all data consumed in #copy_data for output. #455
  • Avoid spurious keyword argument warning on Ruby 2.7. #456
  • Change connection setup to respect connect_timeout parameter. #459
  • Fix indefinite hang in case of connection error on Windows #458
  • Set connection attribute of PG::Error in various places where it was missing. #461
  • Fix transaction leak on early break/return. #463
  • Update Windows fat binary gem to OpenSSL-1.1.1o and PostgreSQL-14.4.

Enhancements:

  • Don't flush at each put_copy_data call, but flush at get_result. #462

== v1.3.5 [2022-03-31] Lars Kanis lars@greiz-reinsdorf.de

Bugfixes:

  • Handle PGRES_COMMAND_OK in pgresult_stream_any. #447 Fixes usage when trying to stream the result of a procedure call that returns no results.

Enhancements:

  • Rename BasicTypeRegistry#define_default_types to #register_default_types to use a more consistent terminology. Keeping define_default_types for compatibility.
  • BasicTypeRegistry: return self instead of objects by accident. This allows call chaining.
  • Add some April fun. #449

Documentation:

  • Refine documentation of conn.socket_io and conn.connect_poll

== v1.3.4 [2022-03-10] Lars Kanis lars@greiz-reinsdorf.de

Bugfixes:

  • Don't leak IO in case of connection errors. #439 Previously it was kept open until the PG::Connection was garbage collected.
  • Fix a performance regession in conn.get_result noticed in single row mode. #442

... (truncated)

Commits
  • 3c14a30 Update to postgresql-14.4 and openssl 1.1.1o for Windows binaries
  • f5bb30d Merge pull request #464 from larskanis/bump-1.4.0
  • d58242e Bump VERSION to 1.4.0
  • 443e7cb Add a proxy to enable or disable TCP data flow
  • d5e223c Don't fail at GC.compact spec on ppc64le
  • a6401cd Avoid compiler warnings
  • e701a9b Remove unnecessary variable assignments
  • 217536e Merge pull request #463 from ejoubaud/fix-transaction-leak
  • 48bc9b2 Remove useless assignments in test
  • df60639 Fix transaction leak on early break/return
  • Additional commits viewable in compare view


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)
stephenbinns commented 1 year ago

@dependabot rebase

Tabby commented 1 year ago

@dependabot rebase

dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.