Skip to content

Bump pg from 0.21.0 to 1.2.3

Milan requested to merge dependabot/bundler/pg-1.2.3 into master

Bumps pg from 0.21.0 to 1.2.3.

Changelog

Sourced from pg's changelog.

== v1.2.3 [2020-03-18] Michael Granger ged@FaerieMUD.org

Bugfixes:

  • Fix possible segfault at PG::Coder#encode, decode or their implicit calls through a typemap after GC.compact. #327
  • Fix possible segfault in PG::TypeMapByClass after GC.compact. #328

== v1.2.2 [2020-01-06] Michael Granger ged@FaerieMUD.org

Enhancements:

  • Add a binary gem for Ruby 2.7.

== 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
  • 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:

... (truncated)

Commits
  • 4101db6 Bump the patch version, update history
  • e95de2f Run x86-mingw32 cross build only, to decrease test time
  • 822bd91 Merge pull request #330 from amarshall/avoid-typemap-warn
  • 6ac3de4 Avoid type cast warning in build_coder_maps
  • a50f238 Update History for 1.2.3
  • 7c1756f Fix possible segfaults after GC.compact
  • 093741a Merge pull request #326 from semaperepelitsa/patch-1
  • 2712bfb Fix small typo in Readme
  • 60e50ce conn.socket works on Unix only
  • 3f2612d conn.socket_io is compiled unconditionally now
  • Additional commits viewable in compare view

Merge request reports

Loading