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

build(deps): bump pg from 1.2.3 to 1.3.1 #18

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 3, 2022

Bumps pg from 1.2.3 to 1.3.1.

Changelog

Sourced from pg's changelog.

== v1.3.1 [YYYY-MM-DD] Michael Granger ged@FaerieMUD.org

Bugfixes:

  • Fix wrong handling of socket writability on Windows introduced in #417. This caused starvation in conn.put_copy_data.
  • Fix error in PG.version_string(true). #419
  • Fix a regression in pg 1.3.0 where Ruby 2.x busy-looping any fractional seconds for every wait. #420

Enhancements:

  • Raise an error when conn.copy_data is used in nonblocking mode.

== v1.3.0 [2022-01-20] Michael Granger ged@FaerieMUD.org

Install Enhancements:

  • Print some install help if libpq wasn't found. #396 This should help to pick the necessary package without googling.
  • Update Windows fat binary gem to OpenSSL-1.1.1m and PostgreSQL-14.1.
  • Add binary Windows gems for Ruby 3.0 and 3.1.
  • Make the library path of libpq available in ruby as PG::POSTGRESQL_LIB_PATH and add it to the search paths on Windows similar to +rpath+ on Unix systems. #373
  • Fall back to pkg-config if pg_config is not found. #380
  • Add option to extconf.rb to disable nogvl-wrapping of libpq functions. All methods (except PG::Connection.ping) are nonblocking now, so that GVL unlock is in theory no longer necessary. However it can have some advantage in concurrency, so that GVL unlock is still enabled by default. Use:
    • gem inst pg -- --disable-gvl-unlock

API Enhancements:

  • Add full compatibility to Fiber.scheduler introduced in Ruby-3.0. #397
    • Add async_connect and async_send methods and add specific specs for Fiber.scheduler #342
    • Add async_get_result and async_get_last_result
    • Add async_get_copy_data
    • Implement async_put_copy_data/async_put_copy_end
    • Implement async_reset method using the nonblocking libpq API
    • Add async_set_client_encoding which is compatible to scheduler
    • Add async_cancel as a nonblocking version of conn#cancel
    • Add async_encrypt_password
    • Run Connection.ping in a second thread.
    • Make discard_results scheduler friendly
    • Do all socket waiting through the conn.socket_io object.
    • Avoid PG.connect blocking while address resolution by automatically providing the +hostaddr+ parameter.
    • On Windows Fiber.scheduler support requires Ruby-3.1+. It is also only partly usable since may ruby IO methods are not yet scheduler aware on Windows.
  • Add support for pipeline mode of PostgreSQL-14. #401
  • Allow specification of multiple hosts in PostgreSQL URI. #387
  • Add new method conn.backend_key - used to implement our own cancel method.

Type cast enhancements:

... (truncated)

Commits
  • 6c436bd Update History.rdoc for #420
  • 300e94e Merge pull request #420 from ennova/ruby-2-wait-cpu
  • 20bab5e Fix high CPU usage when waiting with a timeout on Ruby < 3.0
  • 28a3bf7 Prepare History.rdoc for pg-1.3.1
  • 7844548 Fix error PG.version_string(true)
  • 0232b28 Retry occasional failing test
  • 8a25ca4 Fix wrong handling of socket writability on Windows
  • 22e91a3 Add a new test for COPY'ing lots of data to the server
  • 84aca71 Bump VERSION to 1.3.1
  • 8e8dd31 Raise an error when #copy_data is used in nonblocking mode
  • 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 [pg](https://github.com/ged/ruby-pg) from 1.2.3 to 1.3.1.
- [Release notes](https://github.com/ged/ruby-pg/releases)
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.rdoc)
- [Commits](ged/ruby-pg@v1.2.3...v1.3.1)

---
updated-dependencies:
- dependency-name: pg
  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 ruby Pull requests that update Ruby code labels Feb 3, 2022
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 ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants