Skip to content

Conversation

dependabot-preview[bot]
Copy link

Bumps pg from 1.1.4 to 1.2.1.

Changelog

Sourced from pg's changelog.

== v1.2.1 [2020-01-02] Michael Granger [email protected]

Enhancements:

  • Added internal API for sequel_pg compatibility.

== v1.2.0 [2019-12-20] Michael Granger [email protected]

Repository:

API enhancements:

  • Add PG::Result#field_name_type= and siblings to allow symbols to be used as field names. #306
  • Add new methods for error reporting:
    • PG::Connection#set_error_context_visibility
    • PG::Result#verbose_error_message
    • PG::Result#result_verbose_error_message (alias)
  • Update errorcodes and error classes to PostgreSQL-12.0.
  • New constants: PG_DIAG_SEVERITY_NONLOCALIZED, PQERRORS_SQLSTATE, PQSHOW_CONTEXT_NEVER, PQSHOW_CONTEXT_ERRORS, PQSHOW_CONTEXT_ALWAYS

Type cast enhancements:

  • Add PG::TextEncoder::Record and PG::TextDecoder::Record for en/decoding of Composite Types. #258, #36
  • Add PG::BasicTypeRegistry.register_coder to register instances instead of classes. This is useful to register parametrized en/decoders like PG::TextDecoder::Record .
  • Add PG::BasicTypeMapForQueries#encode_array_as= to switch between various interpretations of ruby arrays.
  • Add Time, Array, Array and Array encoders to PG::BasicTypeMapForQueries
  • Exchange sprintf based float encoder by very fast own implementation with more natural format. #301
  • Define encode and decode methods only in en/decoders that implement it, so that they can be queried by respond_to? .
  • Improve PG::TypeMapByColumn#inspect
  • Accept Integer and Float as input to TextEncoder::Numeric . #310

Other enhancements:

  • Allocate the data part and the ruby object of PG::Result in one step, so that we don't need to check for valid data. This removes PG::Result.allocate and PG::Result.new, which were callable but without any practical use. #42
  • Make use of PQresultMemorySize() of PostgreSQL-12 and fall back to our internal estimator.
  • Improve performance of PG::Result#stream_each_tuple .
  • Store client encoding in data part of PG::Connection and PG::Result objects, so that we no longer use ruby's internal encoding bits. #280
  • Update Windows fat binary gem to OpenSSL-1.1.1d and PostgreSQL-12.1.
  • Add support for TruffleRuby. It is regulary tested as part of our CI.
  • Enable +frozen_string_literal+ in all pg's ruby files

Bugfixes:

  • Update the license in gemspec to "BSD-2-Clause". It was incorrectly labeled "BSD-3-Clause". #40
  • Respect PG::Coder#flags in PG::Coder#to_h.
  • Fix PG::Result memsize reporting after #clear.
  • Release field names to GC on PG::Result#clear.
  • Fix double free in PG::Result#stream_each_tuple when an exception is raised in the block.
... (truncated)
Commits
  • 913d75d Bump the patch version, update history
  • 6853309 Merge pull request #320 from jeremyevans/pg_get_result_enc_idx
  • 1c899a6 Add pg_get_result_enc_idx
  • 39c5ba3 Add a link to our official docs with links
  • 1054d2b Better description to Result#clear and #autoclear?
  • de57714 Update the ignorefile
  • a329807 Update my gem-signing cert
  • 7758659 Bump the minor version, set history date
  • 5f0575d hgignore -> gitignore
  • 0f5bc24 Update the license in the Rakefile
  • 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 3, 2020
@dependabot-preview
Copy link
Author

Superseded by #29.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/pg-1.2.1 branch January 9, 2020 05:33
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants