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

Bump pg from 1.1.4 to 1.2.0 #1509

Merged
merged 1 commit into from
Dec 25, 2019
Merged

Bump pg from 1.1.4 to 1.2.0 #1509

merged 1 commit into from
Dec 25, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps pg from 1.1.4 to 1.2.0.

Changelog

Sourced from pg's changelog.

== v1.2.0 [2019-12-20] Michael Granger ged@FaerieMUD.org

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.
  • Fix PG::Result#stream_each_tuple to deliver typemapped values.
  • Fix encoding of Array with PG::BasicTypeMapForQueries

Deprecated:

  • Add a deprecation warning to PG::Connection#socket .

Removed:

... (truncated)
Commits
  • 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
  • 1ff2f47 Merge pull request #315 from larskanis/typecast-overview
  • 84d0a60 Fix and improve Coder docs
  • 2314f0d Remove old PostgreSQL version info from docs
  • 2d1d942 Replace #if 0 by an ordinary comment
  • 49e9873 Add an overview about coders and type maps to README
  • 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [pg](https://github.com/ged/ruby-pg) from 1.1.4 to 1.2.0.
- [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.1.4...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies changes or issues relating to a dependency label Dec 25, 2019
@pablobm pablobm merged commit 7d7f293 into master Dec 25, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/pg-1.2.0 branch December 25, 2019 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies changes or issues relating to a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant