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:           Sat Aug  2 03:25:05 UTC 2025

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

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

1.6.0 (2025-07-27)

Added:

* Add binary gems for Ruby 3.4.
* Add fat binary gem for platform aarch64-mingw-ucrt aka Windows on ARM
  #626, for platform Macos on Intel and ARM #643, for platform aarch64-linux
  #646 and for platform x86_64-linux #551.
* Update fat binary gem to OpenSSL-3.5.1 and PostgreSQL-17.5.

* Add a patch to libpq to avoid starvation on bigger SSL records, which some
  database engines other than vanilla PostgreSQL use.  This patch applies to
  platform specific binary gems only.  #616

* Add support for new query cancel functions of PostgreSQL-17.  This adds
  the new class PG::CancelConnection which provides the ability to cancel a
  query per blocking or per non-blocking functions.  If the new functions
  are available they are used and the older are no longer compiled in.  This
  way we can get rid of reading out the internal PGcancel struct by
  Connection#backend_key.  #614

* Add PG::BinaryDecoder::Array and PG::BinaryEncoder::Array to parse and
  encode PostgreSQL arrays in binary format.  #603

* Add possibility to define the number of array dimensions to be encoded.
  Setting dimensions is especially useful, when a Record shall be encoded
  into an Array, since the Array encoder can not distinguish if the array
  shall be encoded as a higher dimension or as a record otherwise.  #622

* Add Connection#set_chunked_rows_mode #610

* Add PG::Connection#close_prepared, PG::Connection#close_portal,
  PG::Connection#send_close_prepared and PG::Connection#send_close_portal
  which are new in PostgreSQL-17.  #611

* Add Connection#send_pipeline_sync, async_pipeline_sync and release GVL at
  PQ(sendP|P)ipelineSync.  #612

* Add MINGW package dependency which is resolved by RubyInstaller.  #617

* Change conn.server_version and conn.protocol_version to raise instead of
  return 0 on error.  #632

* Fix connecting to multiple hosts after connnect_timeout.  #637

* Fix making PG::BasicTypeMapForQueries shareable for Ractor in ruby-3.5.
  #636

* Fix missing array input verification in PG::TypeMapByColumn.  This could
  cause a segfault.  #620

* Rename History.md to CHANGELOG.md, which is more common.  #642

Removed:

* Drop support of Ruby < 2.7 #606

* Drop support of PostgreSQL < 10 #606

* Remove workaround for Truffleruby < 21.3.0 #613


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/databases/ruby-pg/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/databases/ruby-pg/PLIST
cvs rdiff -u -r1.40 -r1.41 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.45 pkgsrc/databases/ruby-pg/Makefile:1.46
--- pkgsrc/databases/ruby-pg/Makefile:1.45      Sun Oct 27 13:30:34 2024
+++ pkgsrc/databases/ruby-pg/Makefile   Sat Aug  2 03:25:05 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2024/10/27 13:30:34 taca Exp $
+# $NetBSD: Makefile,v 1.46 2025/08/02 03:25:05 taca Exp $
 
-DISTNAME=      pg-1.5.9
+DISTNAME=      pg-1.6.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:C/postgres/&ql/}
 CATEGORIES=    databases
 

Index: pkgsrc/databases/ruby-pg/PLIST
diff -u pkgsrc/databases/ruby-pg/PLIST:1.24 pkgsrc/databases/ruby-pg/PLIST:1.25
--- pkgsrc/databases/ruby-pg/PLIST:1.24 Sun Oct 27 13:30:34 2024
+++ pkgsrc/databases/ruby-pg/PLIST      Sat Aug  2 03:25:05 2025
@@ -1,22 +1,20 @@
-@comment $NetBSD: PLIST,v 1.24 2024/10/27 13:30:34 taca Exp $
+@comment $NetBSD: PLIST,v 1.25 2025/08/02 03:25:05 taca Exp $
 ${GEM_HOME}/build_info/${GEM_NAME}.info
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_EXTSDIR}/pg/postgresql_lib_path.rb
 ${GEM_EXTSDIR}/pg_ext.${RUBY_DLEXT}
 ${GEM_LIBDIR}/BSDL
+${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/Contributors.rdoc
 ${GEM_LIBDIR}/Gemfile
-${GEM_LIBDIR}/History.md
 ${GEM_LIBDIR}/LICENSE
-${GEM_LIBDIR}/Manifest.txt
 ${GEM_LIBDIR}/POSTGRES
 ${GEM_LIBDIR}/README-OS_X.rdoc
 ${GEM_LIBDIR}/README-Windows.rdoc
 ${GEM_LIBDIR}/README.ja.md
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/Rakefile.cross
 ${GEM_LIBDIR}/certs/ged.pem
 ${GEM_LIBDIR}/certs/kanis%comcard.de.pem@localhost
 ${GEM_LIBDIR}/certs/larskanis-2022.pem
@@ -32,6 +30,7 @@ ${GEM_LIBDIR}/ext/pg.c
 ${GEM_LIBDIR}/ext/pg.h
 ${GEM_LIBDIR}/ext/pg_binary_decoder.c
 ${GEM_LIBDIR}/ext/pg_binary_encoder.c
+${GEM_LIBDIR}/ext/pg_cancel_connection.c
 ${GEM_LIBDIR}/ext/pg_coder.c
 ${GEM_LIBDIR}/ext/pg_connection.c
 ${GEM_LIBDIR}/ext/pg_copy_coder.c
@@ -61,6 +60,7 @@ ${GEM_LIBDIR}/lib/pg/basic_type_registry
 ${GEM_LIBDIR}/lib/pg/binary_decoder/date.rb
 ${GEM_LIBDIR}/lib/pg/binary_decoder/timestamp.rb
 ${GEM_LIBDIR}/lib/pg/binary_encoder/timestamp.rb
+${GEM_LIBDIR}/lib/pg/cancel_connection.rb
 ${GEM_LIBDIR}/lib/pg/coder.rb
 ${GEM_LIBDIR}/lib/pg/connection.rb
 ${GEM_LIBDIR}/lib/pg/exceptions.rb
@@ -91,7 +91,15 @@ ${GEM_LIBDIR}/misc/ruby-pg/Manifest.txt
 ${GEM_LIBDIR}/misc/ruby-pg/README.txt
 ${GEM_LIBDIR}/misc/ruby-pg/Rakefile
 ${GEM_LIBDIR}/misc/ruby-pg/lib/ruby/pg.rb
+${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.21.3/0001-Allow-static-linking-krb5-library.patch
+${GEM_LIBDIR}/ports/patches/openssl/3.5.1/0001-aarch64-mingw.patch
+${GEM_LIBDIR}/ports/patches/postgresql/17.5/0001-Use-workaround-of-__builtin_setjmp-only-on-MINGW-on-.patch
+${GEM_LIBDIR}/ports/patches/postgresql/17.5/0001-libpq-Process-buffered-SSL-read-bytes-to-support-rec.patch
+${GEM_LIBDIR}/rakelib/pg_gem_helper.rb
 ${GEM_LIBDIR}/rakelib/task_extension.rb
 ${GEM_LIBDIR}/sample/array_insert.rb
 ${GEM_LIBDIR}/sample/async_api.rb

Index: pkgsrc/databases/ruby-pg/distinfo
diff -u pkgsrc/databases/ruby-pg/distinfo:1.40 pkgsrc/databases/ruby-pg/distinfo:1.41
--- pkgsrc/databases/ruby-pg/distinfo:1.40      Sun Oct 27 13:30:34 2024
+++ pkgsrc/databases/ruby-pg/distinfo   Sat Aug  2 03:25:05 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.40 2024/10/27 13:30:34 taca Exp $
+$NetBSD: distinfo,v 1.41 2025/08/02 03:25:05 taca Exp $
 
-BLAKE2s (pg-1.5.9.gem) = ffbfeb9571a5f5a133f4a3997be07da8bc7ef8c34e5de8d6ee48a1ee167c70a5
-SHA512 (pg-1.5.9.gem) = f8e85ac798f9bd13c6db6142639011780e503513594d05706a09930befcf6ef6142ac56d65a11778b69f55fad23df7466b049eebff5f0586620e427a90df90c2
-Size (pg-1.5.9.gem) = 207872 bytes
+BLAKE2s (pg-1.6.0.gem) = bca0569817247ab2440a87ca3a97e66a60e06465d160ca3ef5e40c0c3b80d091
+SHA512 (pg-1.6.0.gem) = 724abe5991c4a61ade10c93cf5bcefd1e45806d904740a58d7cc5c1d4414e979e0d2c3d0b8f2c80cf288df8b714317a03d4eb86f12789585964fad29ad0663b9
+Size (pg-1.6.0.gem) = 221696 bytes



Home | Main Index | Thread Index | Old Index