pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/ruby-pg



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Oct 28 15:04:47 UTC 2026

Modified Files:
        pkgsrc/databases/ruby-pg: Makefile PLIST distinfo

Log Message:
databases/ruby-pg: update to 1.7.0

1.7.0 (2026-10-02)

Added:

* Add PG::Connection#embed_params and keyword :typename for its parameter
  casting.  #726 This allows to generate SQL strings with embedded
  parameters for easier debugging.
* Add PG::Connection#full_protocol_version which is new in PostgreSQL-18
  #695
* Add PG::Result#each_tuple #675
* Add PG::TypeMap#query_param_encoders to retrieve encoders. #726
* Deduplicate result field name strings for better performance. #750

Removed:

* Remove compatibility to ruby < 3.1 and drops support of ruby-2.7 and
  ruby-3.0. #749
* Remove GLV unlocking at all functions which process data modifiable in a
  second thread. #721 This avoids possible premature garbage collection of
  query parameters and possible VM crash due to concurrent data
  manipulation.
* Remove :static_symbol result field names. #691
* Remove enforced rpath addition when no rpath is configured in rbconfig. #699

Fixes:

* Limit memory allocation on invalid input into
  PG::BinaryDecoder::Array. #743
* Free COPY buffers when decoders raise to avoid possible memory leak in
  get_copy_data. #742
* Prevent SQL injection in set_client_encoding. #741
* Add GC_GUARD to temporary ruby objects for conninfo string to avoid it's
  GC'ed prematurely. #739
* Remove option "quirks_mode" from JSON en/decoder to fix compat with
  json-3.0 gem. #737
* Respect calendar type of Ruby and PostgreSQL. #725
* Fix broken set_notice_(receiver|processor) callback after GC.compact. #734
* Disable DNS resolution in ruby when a service file is used, so that the
  priority of parameters is equal to libpq. #635
* Use RARRAY_LENINT to avoid possible overflow. #728
* Fix possible integer overflow at PG::BinaryEncoder::CopyRow and
  PG::TextEncoder::CopyRow. #714, #715
* Avoid possible integer overflow in query parameter encoding. #719
* Ensure conninfo is a valid C string before closing the connection to avoid
  a double free of PGconn. #709
* Raise on a too large input string to PG::TextEncoder::Bytea. #717
* Check PG::BinaryEncoder::CopyRow array input size instead of producing an
  invalid output.
* Remove accidentally copied "static" keyword from Copy and Record
  encoder. #711
* Avoid possibility to replace typemap while being used in Copy and Record
  encoders and decoders. #707
* Add GC_GUARD's for encoding converted strings sent to the server. #705
* Fix incomplete transaction commit when thread is shutdown
  ungracefully. #704
* Assign VALUE after registration per rb_gc_register_address() #703
* Update dependencies for binary gems to PostgreSQL-18.6, OpenSSL-3.6.5,
  krb5-1.22.2 #752


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/databases/ruby-pg/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/databases/ruby-pg/PLIST
cvs rdiff -u -r1.44 -r1.45 pkgsrc/databases/ruby-pg/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/ruby-pg/Makefile
diff -u pkgsrc/databases/ruby-pg/Makefile:1.49 pkgsrc/databases/ruby-pg/Makefile:1.50
--- pkgsrc/databases/ruby-pg/Makefile:1.49      Tue Jan 13 14:52:18 2026
+++ pkgsrc/databases/ruby-pg/Makefile   Wed Oct 28 15:04:47 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2026/01/13 14:52:18 taca Exp $
+# $NetBSD: Makefile,v 1.50 2026/10/28 15:04:47 taca Exp $
 
-DISTNAME=      pg-1.6.3
+DISTNAME=      pg-1.7.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:C/postgres/&ql/}
 CATEGORIES=    databases
 

Index: pkgsrc/databases/ruby-pg/PLIST
diff -u pkgsrc/databases/ruby-pg/PLIST:1.27 pkgsrc/databases/ruby-pg/PLIST:1.28
--- pkgsrc/databases/ruby-pg/PLIST:1.27 Tue Jan 13 14:52:18 2026
+++ pkgsrc/databases/ruby-pg/PLIST      Wed Oct 28 15:04:47 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2026/01/13 14:52:18 taca Exp $
+@comment $NetBSD: PLIST,v 1.28 2026/10/28 15:04:47 taca Exp $
 ${GEM_HOME}/build_info/${GEM_NAME}.info
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
@@ -20,6 +20,7 @@ ${GEM_LIBDIR}/certs/kanis%comcard.de.pem@localhost
 ${GEM_LIBDIR}/certs/larskanis-2022.pem
 ${GEM_LIBDIR}/certs/larskanis-2023.pem
 ${GEM_LIBDIR}/certs/larskanis-2024.pem
+${GEM_LIBDIR}/certs/larskanis-2026.pem
 ${GEM_LIBDIR}/ext/errorcodes.def
 ${GEM_LIBDIR}/ext/errorcodes.rb
 ${GEM_LIBDIR}/ext/errorcodes.txt
@@ -98,11 +99,9 @@ ${GEM_LIBDIR}/misc/yugabyte/Dockerfile
 ${GEM_LIBDIR}/misc/yugabyte/docker-compose.yml
 ${GEM_LIBDIR}/misc/yugabyte/pg-test.rb
 ${GEM_LIBDIR}/pg.gemspec
-${GEM_LIBDIR}/ports/patches/krb5/1.22.1/0001-Allow-static-linking-krb5-library.patch
-${GEM_LIBDIR}/ports/patches/krb5/1.22.1/0002-unknown-command-line-option-on-clang.patch
-${GEM_LIBDIR}/ports/patches/openssl/3.5.2/0001-aarch64-mingw.patch
-${GEM_LIBDIR}/ports/patches/postgresql/18.1/0001-Use-workaround-of-__builtin_setjmp-only-on-MINGW-on-.patch
-${GEM_LIBDIR}/ports/patches/postgresql/18.1/0001-libpq-Process-buffered-SSL-read-bytes-to-support-rec.patch
+${GEM_LIBDIR}/ports/patches/krb5/1.22.2/0001-Allow-static-linking-krb5-library.patch
+${GEM_LIBDIR}/ports/patches/krb5/1.22.2/0002-unknown-command-line-option-on-clang.patch
+${GEM_LIBDIR}/ports/patches/postgresql/18.6/0001-Use-workaround-of-__builtin_setjmp-only-on-MINGW-on-.patch
 ${GEM_LIBDIR}/rakelib/pg_gem_helper.rb
 ${GEM_LIBDIR}/rakelib/task_extension.rb
 ${GEM_LIBDIR}/sample/array_insert.rb

Index: pkgsrc/databases/ruby-pg/distinfo
diff -u pkgsrc/databases/ruby-pg/distinfo:1.44 pkgsrc/databases/ruby-pg/distinfo:1.45
--- pkgsrc/databases/ruby-pg/distinfo:1.44      Tue Jan 13 14:52:18 2026
+++ pkgsrc/databases/ruby-pg/distinfo   Wed Oct 28 15:04:47 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.44 2026/01/13 14:52:18 taca Exp $
+$NetBSD: distinfo,v 1.45 2026/10/28 15:04:47 taca Exp $
 
-BLAKE2s (pg-1.6.3.gem) = f5687efdace195ae7d40a2df57118c982b8ffc6f314a3b0d72b7de062115ae02
-SHA512 (pg-1.6.3.gem) = 5864a5b0983cf31b1ba2e4329723aa539c0e16162a32e6ed09b49af47a0f603b2fd6549f46e76cba3263f37b3ef22272f729c6c1d11cab92140c33768edeca1b
-Size (pg-1.6.3.gem) = 225280 bytes
+BLAKE2s (pg-1.7.0.gem) = d881faf88106ee666d224ad9a0199b6bc13095b4b330f588d5ce90bde8e4d3b4
+SHA512 (pg-1.7.0.gem) = bca9a6a1fdb4272ceead5b64ab279b59a85c793e37d10750a8509c44fb0f65be08e5c8c81cca9c9f44d7b08b1358f689c3e0a49f9c64290f51beca97ee7b8cd5
+Size (pg-1.7.0.gem) = 228864 bytes



Home | Main Index | Thread Index | Old Index