Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Bump pg from 1.1.4 to 1.2.1 #135

Merged
merged 1 commit into from
Jan 6, 2020
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps pg from 1.1.4 to 1.2.1.

Changelog

Sourced from pg's changelog.

== v1.2.1 [2020-01-02] Michael Granger ged@FaerieMUD.org

Enhancements:

  • Added internal API for sequel_pg compatibility.

== 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.
... (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 will not automatically merge this PR because it includes a minor update to a production dependency.


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.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.1.4...v1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 3, 2020
@michaelbaudino
Copy link
Member

michaelbaudino commented Jan 6, 2020 via email

bors-alpinelab bot added a commit that referenced this pull request Jan 6, 2020
135: Bump pg from 1.1.4 to 1.2.1 r=michaelbaudino a=dependabot-preview[bot]

Bumps [pg](https://github.com/ged/ruby-pg) from 1.1.4 to 1.2.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/ged/ruby-pg/blob/master/History.rdoc">pg's changelog</a>.</em></p>
<blockquote>
<p>== v1.2.1 [2020-01-02] Michael Granger <a href="mailto:ged@FaerieMUD.org">ged@FaerieMUD.org</a></p>
<p>Enhancements:</p>
<ul>
<li>Added internal API for sequel_pg compatibility.</li>
</ul>
<p>== v1.2.0 [2019-12-20] Michael Granger <a href="mailto:ged@FaerieMUD.org">ged@FaerieMUD.org</a></p>
<p>Repository:</p>
<ul>
<li>Our primary repository has been moved to Github <a href="https://github.com/ged/ruby-pg">https://github.com/ged/ruby-pg</a> .
Most of the issues from <a href="https://bitbucket.org/ged/ruby-pg">https://bitbucket.org/ged/ruby-pg</a> have been migrated. <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/43">#43</a></li>
</ul>
<p>API enhancements:</p>
<ul>
<li>Add PG::Result#field_name_type= and siblings to allow symbols to be used as field names. <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/306">#306</a></li>
<li>Add new methods for error reporting:
<ul>
<li>PG::Connection#set_error_context_visibility</li>
<li>PG::Result#verbose_error_message</li>
<li>PG::Result#result_verbose_error_message (alias)</li>
</ul>
</li>
<li>Update errorcodes and error classes to PostgreSQL-12.0.</li>
<li>New constants: PG_DIAG_SEVERITY_NONLOCALIZED, PQERRORS_SQLSTATE, PQSHOW_CONTEXT_NEVER, PQSHOW_CONTEXT_ERRORS, PQSHOW_CONTEXT_ALWAYS</li>
</ul>
<p>Type cast enhancements:</p>
<ul>
<li>Add PG::TextEncoder::Record and PG::TextDecoder::Record for en/decoding of Composite Types. <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/258">#258</a>, <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/36">#36</a></li>
<li>Add PG::BasicTypeRegistry.register_coder to register instances instead of classes.
This is useful to register parametrized en/decoders like PG::TextDecoder::Record .</li>
<li>Add PG::BasicTypeMapForQueries#encode_array_as= to switch between various interpretations of ruby arrays.</li>
<li>Add Time, Array<Time>, Array<BigDecimal> and Array<IPAddr> encoders to PG::BasicTypeMapForQueries</li>
<li>Exchange sprintf based float encoder by very fast own implementation with more natural format. <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/301">#301</a></li>
<li>Define encode and decode methods only in en/decoders that implement it, so that they can be queried by respond_to? .</li>
<li>Improve PG::TypeMapByColumn#inspect</li>
<li>Accept Integer and Float as input to TextEncoder::Numeric . <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/310">#310</a></li>
</ul>
<p>Other enhancements:</p>
<ul>
<li>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. <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/42">#42</a></li>
<li>Make use of PQresultMemorySize() of PostgreSQL-12 and fall back to our internal estimator.</li>
<li>Improve performance of PG::Result#stream_each_tuple .</li>
<li>Store client encoding in data part of PG::Connection and PG::Result objects, so that we no longer use ruby's internal encoding bits. <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/280">#280</a></li>
<li>Update Windows fat binary gem to OpenSSL-1.1.1d and PostgreSQL-12.1.</li>
<li>Add support for TruffleRuby. It is regulary tested as part of our CI.</li>
<li>Enable +frozen_string_literal+ in all pg's ruby files</li>
</ul>
<p>Bugfixes:</p>
<ul>
<li>Update the license in gemspec to &quot;BSD-2-Clause&quot;.
It was incorrectly labeled &quot;BSD-3-Clause&quot;. <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/40">#40</a></li>
<li>Respect PG::Coder#flags in PG::Coder#to_h.</li>
<li>Fix PG::Result memsize reporting after #clear.</li>
<li>Release field names to GC on PG::Result#clear.</li>
<li>Fix double free in PG::Result#stream_each_tuple when an exception is raised in the block.</li>
</ul>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ged/ruby-pg/commit/913d75d43efc1179f20db583ce8b8a965e40b797"><code>913d75d</code></a> Bump the patch version, update history</li>
<li><a href="https://github.com/ged/ruby-pg/commit/6853309b64852755daed3e9c24e11de13b4c77a4"><code>6853309</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/ged/ruby-pg/issues/320">#320</a> from jeremyevans/pg_get_result_enc_idx</li>
<li><a href="https://github.com/ged/ruby-pg/commit/1c899a62fda6874e69838edc0b1f1e9b2cbd99cb"><code>1c899a6</code></a> Add pg_get_result_enc_idx</li>
<li><a href="https://github.com/ged/ruby-pg/commit/39c5ba3d43336d40bf8fc3f1c8a45668394d5f71"><code>39c5ba3</code></a> Add a link to our official docs with links</li>
<li><a href="https://github.com/ged/ruby-pg/commit/1054d2b64ae33314b44145d9c4acf53aeb4b68b1"><code>1054d2b</code></a> Better description to Result#clear and #autoclear?</li>
<li><a href="https://github.com/ged/ruby-pg/commit/de577148da02c8e0f3ddc9d0d2e11da8a42eb4e7"><code>de57714</code></a> Update the ignorefile</li>
<li><a href="https://github.com/ged/ruby-pg/commit/a32980729af9de4c6ce61bd06b4935771f8d96ed"><code>a329807</code></a> Update my gem-signing cert</li>
<li><a href="https://github.com/ged/ruby-pg/commit/775865985ecba1d8f5aba5fd6c96f3378ab434b4"><code>7758659</code></a> Bump the minor version, set history date</li>
<li><a href="https://github.com/ged/ruby-pg/commit/5f0575d7c03640916218ed988168caaba9500687"><code>5f0575d</code></a> hgignore -&gt; gitignore</li>
<li><a href="https://github.com/ged/ruby-pg/commit/0f5bc242c10d1a0427d2abf647c9f375735646e6"><code>0f5bc24</code></a> Update the license in the Rakefile</li>
<li>Additional commits viewable in <a href="https://github.com/ged/ruby-pg/compare/v1.1.4...v1.2.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=pg&package-manager=bundler&previous-version=1.1.4&new-version=1.2.1)](https://dependabot.com/compatibility-score.html?dependency-name=pg&package-manager=bundler&previous-version=1.1.4&new-version=1.2.1)

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-automerge-start)
Dependabot will **not** automatically merge this PR because it includes a minor update to a production dependency.

[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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](https://app.dependabot.com):
- 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)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@bors-alpinelab
Copy link
Contributor

bors-alpinelab bot commented Jan 6, 2020

Build succeeded

@bors-alpinelab bors-alpinelab bot merged commit b919c02 into master Jan 6, 2020
@bors-alpinelab bors-alpinelab bot deleted the dependabot/bundler/pg-1.2.1 branch January 6, 2020 15:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Development

Successfully merging this pull request may close these issues.

None yet

1 participant