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.5.8 to 1.5.9 #680

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Bump pg from 1.5.8 to 1.5.9 #680

merged 1 commit into from
Oct 25, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2024

Bumps pg from 1.5.8 to 1.5.9.

Changelog

Sourced from pg's changelog.

v1.5.9 [2024-10-24] Lars Kanis [email protected]

  • Enable thread safety in static OpenSSL build for Windows. #595
  • Remove raising conect_timeout from 1 to 2 seconds. #590
  • Fix binary copy_data in Ractor context. #594
  • Exclude CI files and hidden files from built gem. #591 This is to simplify security inspection.
  • Update error classes to PostgreSQL-17.
  • Update Windows fat binary gem to OpenSSL-3.4.0 and PostgreSQL-17.0.
Commits
  • afe2f20 Bump VERSION to 1.5.9
  • 9f8a6c6 Add History entry for pg-1.5.9
  • 342bdbb Merge pull request #599 from larskanis/update-postgres
  • ca8e69c Remove skip on Windows since the issue is fixed
  • 70c02ea Work around missing dependency to errorcodes.h in PostgreSQL-17.0
  • 4a52437 CI: Update jobs to postgresql-1.7.0
  • d8c3753 Update to postgresql-17.0 and openssl-3.4.0 for Windows binary gems
  • 86367c6 Update error codes by rake update_error_codes
  • 94f1d7f Merge pull request #598 from larskanis/osl-threads
  • 716221a Enable thread safety in static OpenSSL build
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [pg](https://github.com/ged/ruby-pg) from 1.5.8 to 1.5.9.
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md)
- [Commits](ged/ruby-pg@v1.5.8...v1.5.9)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Oct 25, 2024
Copy link

Copy link

gem compare pg 1.5.8 1.5.9

Compared versions: ["1.5.8", "1.5.9"]
  DIFFERENT date:
    1.5.8: 2024-09-06 00:00:00 UTC
    1.5.9: 2024-10-24 00:00:00 UTC
  DIFFERENT require_paths:
    1.5.8: ["/opt/hostedtoolcache/Ruby/3.2.5/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/pg-1.5.8", "lib"]
    1.5.9: ["/opt/hostedtoolcache/Ruby/3.2.5/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/pg-1.5.9", "lib"]
  DIFFERENT rubygems_version:
    1.5.8: 3.5.11
    1.5.9: 3.6.0.dev
  DIFFERENT version:
    1.5.8: 1.5.8
    1.5.9: 1.5.9
  DIFFERENT files:
    1.5.8->1.5.9:
      * Deleted:
            .appveyor.yml
            .gems
            .gemtest
            .github/workflows/binary-gems.yml
            .github/workflows/source-gem.yml
            .gitignore
            .hgsigs
            .hgtags
            .irbrc
            .pryrc
            .tm_properties
            .travis.yml
      * Changed:
            History.md +11/-0
            Rakefile +1/-1
            Rakefile.cross +10/-5
            ext/errorcodes.def +4/-5
            ext/errorcodes.txt +2/-5
            lib/pg/connection.rb +5/-7
            lib/pg/version.rb +1/-1
            pg.gemspec +3/-1
  DIFFERENT extra_rdoc_files:
    1.5.8->1.5.9:
      * Changed:
            History.md +11/-0
            lib/pg/connection.rb +5/-7
            lib/pg/version.rb +1/-1

Copy link

gem compare --diff pg 1.5.8 1.5.9

Compared versions: ["1.5.8", "1.5.9"]
  DIFFERENT files:
    1.5.8->1.5.9:
      * Deleted:
            .appveyor.yml
            .gems
            .gemtest
            .github/workflows/binary-gems.yml
            .github/workflows/source-gem.yml
            .gitignore
            .hgsigs
            .hgtags
            .irbrc
            .pryrc
            .tm_properties
            .travis.yml
      * Changed:
        History.md
                --- /tmp/d20241025-1953-hijhvy/pg-1.5.8/History.md	2024-10-25 02:22:26.598371144 +0000
                +++ /tmp/d20241025-1953-hijhvy/pg-1.5.9/History.md	2024-10-25 02:22:26.614371253 +0000
                @@ -0,0 +1,11 @@
                +## v1.5.9 [2024-10-24] Lars Kanis <[email protected]>
                +
                +- Enable thread safety in static OpenSSL build for Windows. [#595](https://github.com/ged/ruby-pg/pull/595)
                +- Remove raising `conect_timeout` from 1 to 2 seconds. [#590](https://github.com/ged/ruby-pg/pull/590)
                +- Fix binary copy_data in Ractor context. [#594](https://github.com/ged/ruby-pg/pull/594)
                +- Exclude CI files and hidden files from built gem. [#591](https://github.com/ged/ruby-pg/pull/591)
                +  This is to simplify security inspection.
                +- Update error classes to PostgreSQL-17.
                +- Update Windows fat binary gem to OpenSSL-3.4.0 and PostgreSQL-17.0.
                +
                +
        Rakefile
                --- /tmp/d20241025-1953-hijhvy/pg-1.5.8/Rakefile	2024-10-25 02:22:26.598371144 +0000
                +++ /tmp/d20241025-1953-hijhvy/pg-1.5.9/Rakefile	2024-10-25 02:22:26.618371280 +0000
                @@ -97 +97 @@
                -	URL_ERRORCODES_TXT = "http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob_plain;f=src/backend/utils/errcodes.txt;hb=refs/tags/REL_16_0"
                +	URL_ERRORCODES_TXT = "http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob_plain;f=src/backend/utils/errcodes.txt;hb=refs/tags/REL_17_0"
        Rakefile.cross
                --- /tmp/d20241025-1953-hijhvy/pg-1.5.8/Rakefile.cross	2024-10-25 02:22:26.598371144 +0000
                +++ /tmp/d20241025-1953-hijhvy/pg-1.5.9/Rakefile.cross	2024-10-25 02:22:26.618371280 +0000
                @@ -34,2 +34,2 @@
                -		self.openssl_version            = ENV['OPENSSL_VERSION'] || '3.3.2'
                -		self.postgresql_version         = ENV['POSTGRESQL_VERSION'] || '16.4'
                +		self.openssl_version            = ENV['OPENSSL_VERSION'] || '3.4.0'
                +		self.postgresql_version         = ENV['POSTGRESQL_VERSION'] || '17.0'
                @@ -121 +121 @@
                -			"CFLAGS=-DDSO_WIN32",
                +			"CFLAGS=-DDSO_WIN32 -DOPENSSL_THREADS",
                @@ -129 +129 @@
                -				cmd << "./Configure" << "-static" << openssl_config
                +				cmd << "./Configure" << "threads" << "-static" << openssl_config
                @@ -195 +195 @@
                -				cmd << "LIBS=-lwsock32 -lgdi32 -lws2_32 -lcrypt32"
                +				cmd << "LIBS=-lssl -lwsock32 -lgdi32 -lws2_32 -lcrypt32"
                @@ -208,0 +209,4 @@
                +			# Work around missing dependency to errorcodes.h in PostgreSQL-17.0
                +			chdir( static_postgresql_srcdir + "backend" + "utils" ) do
                +				sh 'make', "-j#{NUM_CPUS}"
                +			end
                @@ -291,0 +296 @@
                +			sudo apt-get update && sudo apt-get install -y bison flex &&
        ext/errorcodes.def
                --- /tmp/d20241025-1953-hijhvy/pg-1.5.8/ext/errorcodes.def	2024-10-25 02:22:26.602371171 +0000
                +++ /tmp/d20241025-1953-hijhvy/pg-1.5.9/ext/errorcodes.def	2024-10-25 02:22:26.618371280 +0000
                @@ -456,0 +457,4 @@
                +  VALUE klass = define_error_class( "TransactionTimeout", "25" );
                +  register_error_class( "25P04", klass );
                +}
                +{
                @@ -887,5 +890,0 @@
                -}
                -{
                -  VALUE klass = define_error_class( "SnapshotTooOld", NULL );
                -  register_error_class( "72000", klass );
                -  register_error_class( "72", klass );
        ext/errorcodes.txt
                --- /tmp/d20241025-1953-hijhvy/pg-1.5.8/ext/errorcodes.txt	2024-10-25 02:22:26.602371171 +0000
                +++ /tmp/d20241025-1953-hijhvy/pg-1.5.9/ext/errorcodes.txt	2024-10-25 02:22:26.618371280 +0000
                @@ -5 +5 @@
                -# Copyright (c) 2003-2023, PostgreSQL Global Development Group
                +# Copyright (c) 2003-2024, PostgreSQL Global Development Group
                @@ -254,0 +255 @@
                +25P04    E    ERRCODE_TRANSACTION_TIMEOUT                                    transaction_timeout
                @@ -441,4 +441,0 @@
                -
                -Section: Class 72 - Snapshot Failure
                -# (class borrowed from Oracle)
                -72000    E    ERRCODE_SNAPSHOT_TOO_OLD                                       snapshot_too_old
        lib/pg/connection.rb
                --- /tmp/d20241025-1953-hijhvy/pg-1.5.8/lib/pg/connection.rb	2024-10-25 02:22:26.610371226 +0000
                +++ /tmp/d20241025-1953-hijhvy/pg-1.5.9/lib/pg/connection.rb	2024-10-25 02:22:26.626371335 +0000
                @@ -5 +5 @@
                -require 'io/wait' unless ::IO.public_instance_methods(false).include?(:wait_readable)
                +require 'io/wait' unless ::IO.public_instance_methods(false).include?(:wait_readable) # for ruby < 3.0
                @@ -120 +120 @@
                -	BinarySignature = "PGCOPY\n\377\r\n\0".b
                +	BinarySignature = "PGCOPY\n\377\r\n\0"
                @@ -169,3 +169,3 @@
                -        # All 4 CopyRow classes can take a type map to specify how the columns are mapped to and from the database format.
                -        # For details see the particular CopyRow class description.
                -        #
                +	# All 4 CopyRow classes can take a type map to specify how the columns are mapped to and from the database format.
                +	# For details see the particular CopyRow class description.
                +	#
                @@ -656,2 +655,0 @@
                -			# Lowest timeout is 2 seconds - like in libpq
                -			timeo = [timeo, 2].max
        lib/pg/version.rb
                --- /tmp/d20241025-1953-hijhvy/pg-1.5.8/lib/pg/version.rb	2024-10-25 02:22:26.610371226 +0000
                +++ /tmp/d20241025-1953-hijhvy/pg-1.5.9/lib/pg/version.rb	2024-10-25 02:22:26.630371362 +0000
                @@ -3 +3 @@
                -	VERSION = '1.5.8'
                +	VERSION = '1.5.9'
        pg.gemspec
                --- /tmp/d20241025-1953-hijhvy/pg-1.5.8/pg.gemspec	2024-10-25 02:22:26.614371253 +0000
                +++ /tmp/d20241025-1953-hijhvy/pg-1.5.9/pg.gemspec	2024-10-25 02:22:26.630371362 +0000
                @@ -26 +26,3 @@
                -    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features|translation)/}) }
                +    `git ls-files -z`.split("\x0").reject do |f|
                +      f.match(%r{\A(?:test|spec|features|translation|\.)})
                +    end

@dentarg dentarg merged commit aec975e into main Oct 25, 2024
12 checks passed
@dentarg dentarg deleted the dependabot/bundler/pg-1.5.9 branch October 25, 2024 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant