-
Notifications
You must be signed in to change notification settings - Fork 1
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.7 to 1.5.8 #671
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [pg](https://github.com/ged/ruby-pg) from 1.5.7 to 1.5.8. - [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md) - [Commits](ged/ruby-pg@v1.5.7...v1.5.8) --- updated-dependencies: - dependency-name: pg dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
gem compare pg 1.5.7 1.5.8 Compared versions: ["1.5.7", "1.5.8"]
DIFFERENT date:
1.5.7: 2024-07-28 00:00:00 UTC
1.5.8: 2024-09-06 00:00:00 UTC
DIFFERENT require_paths:
1.5.7: ["/opt/hostedtoolcache/Ruby/3.2.5/x64/lib/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/pg-1.5.7", "lib"]
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"]
DIFFERENT rubygems_version:
1.5.7: 3.6.0.dev
1.5.8: 3.5.11
DIFFERENT version:
1.5.7: 1.5.7
1.5.8: 1.5.8
DIFFERENT files:
1.5.7->1.5.8:
* Changed:
.github/workflows/binary-gems.yml +6/-6
.github/workflows/source-gem.yml +15/-7
History.md +8/-0
Rakefile.cross +3/-4
ext/pg_binary_decoder.c +2/-0
ext/pg_connection.c +4/-1
ext/pg_copy_coder.c +4/-0
ext/pg_record_coder.c +1/-1
ext/pg_text_decoder.c +3/-0
ext/pg_text_encoder.c +6/-0
lib/pg/basic_type_registry.rb +1/-0
lib/pg/connection.rb +6/-1
lib/pg/text_decoder/date.rb +3/-0
lib/pg/text_decoder/json.rb +3/-0
lib/pg/text_encoder/date.rb +1/-0
lib/pg/text_encoder/inet.rb +3/-0
lib/pg/text_encoder/json.rb +3/-0
lib/pg/version.rb +1/-1
DIFFERENT extra_rdoc_files:
1.5.7->1.5.8:
* Changed:
History.md +8/-0
ext/pg_binary_decoder.c +2/-0
ext/pg_connection.c +4/-1
ext/pg_copy_coder.c +4/-0
ext/pg_record_coder.c +1/-1
ext/pg_text_decoder.c +3/-0
ext/pg_text_encoder.c +6/-0
lib/pg/basic_type_registry.rb +1/-0
lib/pg/connection.rb +6/-1
lib/pg/text_decoder/date.rb +3/-0
lib/pg/text_decoder/json.rb +3/-0
lib/pg/text_encoder/date.rb +1/-0
lib/pg/text_encoder/inet.rb +3/-0
lib/pg/text_encoder/json.rb +3/-0
lib/pg/version.rb +1/-1 |
gem compare --diff pg 1.5.7 1.5.8 Compared versions: ["1.5.7", "1.5.8"]
DIFFERENT files:
1.5.7->1.5.8:
* Changed:
.github/workflows/binary-gems.yml
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/.github/workflows/binary-gems.yml 2024-09-09 02:15:52.109852779 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/.github/workflows/binary-gems.yml 2024-09-09 02:15:52.129852915 +0000
@@ -22 +22 @@
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
@@ -40 +40 @@
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
@@ -42 +42 @@
- name: binary-gem
+ name: binary-gem-${{ matrix.platform }}
@@ -69 +69 @@
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
@@ -88 +88 @@
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
@@ -90 +90 @@
- name: binary-gem
+ name: binary-gem-${{ matrix.platform }}
.github/workflows/source-gem.yml
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/.github/workflows/source-gem.yml 2024-09-09 02:15:52.109852779 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/.github/workflows/source-gem.yml 2024-09-09 02:15:52.129852915 +0000
@@ -2 +1,0 @@
-
@@ -4,2 +2,0 @@
- push:
- pull_request:
@@ -8,0 +6,11 @@
+ push:
+ branches:
+ - master
+ tags:
+ - "*.*.*"
+ pull_request:
+ types: [opened, synchronize]
+ branches:
+ - "*"
+permissions:
+ contents: read
@@ -15 +23 @@
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
@@ -25 +33 @@
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
@@ -77 +85 @@
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
@@ -84 +92 @@
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
History.md
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/History.md 2024-09-09 02:15:52.109852779 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/History.md 2024-09-09 02:15:52.129852915 +0000
@@ -0,0 +1,7 @@
+## v1.5.8 [2024-09-06] Lars Kanis <[email protected]>
+
+- Fix host list duplication every time conn.reset is used. [#586](https://github.com/ged/ruby-pg/pull/586)
+- Add default decoder for anonymous record types to BasicTypeRegistry [#579](https://github.com/ged/ruby-pg/pull/579)
+- Update Windows fat binary gem to OpenSSL-3.3.2 and PostgreSQL-16.4.
+
+
@@ -10,0 +18 @@
+- Update Windows fat binary gem to OpenSSL-3.3.1 and PostgreSQL-16.3.
Rakefile.cross
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/Rakefile.cross 2024-09-09 02:15:52.113852807 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/Rakefile.cross 2024-09-09 02:15:52.129852915 +0000
@@ -34,2 +34,2 @@
- self.openssl_version = ENV['OPENSSL_VERSION'] || '3.3.1'
- self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '16.3'
+ self.openssl_version = ENV['OPENSSL_VERSION'] || '3.3.2'
+ self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '16.4'
@@ -55 +54,0 @@
-
@@ -57 +56 @@
- URI( "http://www.openssl.org/source/openssl-#{openssl_version}.tar.gz" )
+ URI( "https://github.com/openssl/openssl/releases/download/openssl-#{openssl_version}/openssl-#{openssl_version}.tar.gz" )
ext/pg_binary_decoder.c
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/ext/pg_binary_decoder.c 2024-09-09 02:15:52.113852807 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/ext/pg_binary_decoder.c 2024-09-09 02:15:52.133852943 +0000
@@ -235,0 +236,2 @@
+ *
+ * As soon as this class is used, it requires the ruby standard library 'date'.
ext/pg_connection.c
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/ext/pg_connection.c 2024-09-09 02:15:52.113852807 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/ext/pg_connection.c 2024-09-09 02:15:52.133852943 +0000
@@ -266,0 +267 @@
+ rb_ivar_set(self, rb_intern("@iopts_for_reset"), Qnil);
@@ -3138 +3139,3 @@
- /* wait for input (without blocking) before reading each result */
+ /* Wait for input before reading each result.
+ * That way we support the ruby-3.x IO scheduler and don't block other ruby threads.
+ */
ext/pg_copy_coder.c
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/ext/pg_copy_coder.c 2024-09-09 02:15:52.117852834 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/ext/pg_copy_coder.c 2024-09-09 02:15:52.133852943 +0000
@@ -214,0 +215 @@
+ * And see PG::BinaryEncoder::CopyRow for an encoder of the COPY binary format.
@@ -360,0 +362 @@
+ * And see PG::TextEncoder::CopyRow for an encoder of the COPY text format.
@@ -498,0 +501 @@
+ * And see PG::BinaryDecoder::CopyRow for a decoder of the COPY binary format.
@@ -765,0 +769 @@
+ * And see PG::TextDecoder::CopyRow for a decoder of the COPY text format.
ext/pg_record_coder.c
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/ext/pg_record_coder.c 2024-09-09 02:15:52.117852834 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/ext/pg_record_coder.c 2024-09-09 02:15:52.137852969 +0000
@@ -343 +343 @@
- * It's more very convenient to use the PG::BasicTypeRegistry, which is based on database OIDs.
+ * It's more convenient to use the PG::BasicTypeRegistry, which is based on database OIDs.
ext/pg_text_decoder.c
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/ext/pg_text_decoder.c 2024-09-09 02:15:52.117852834 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/ext/pg_text_decoder.c 2024-09-09 02:15:52.137852969 +0000
@@ -165,0 +166,2 @@
+ * As soon as this class is used, it requires the 'bigdecimal' gem.
+ *
@@ -813,0 +816 @@
+ * As soon as this class is used, it requires the ruby standard library 'ipaddr'.
ext/pg_text_encoder.c
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/ext/pg_text_encoder.c 2024-09-09 02:15:52.117852834 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/ext/pg_text_encoder.c 2024-09-09 02:15:52.137852969 +0000
@@ -121,0 +122,4 @@
+ /* Attention:
+ * In contrast to all other encoders, the "this" pointer of this encoder can be NULL.
+ * This is because it is used as a fall-back if no encoder is defined.
+ */
@@ -347,0 +352,2 @@
+ *
+ * As soon as this class is used, it requires the 'bigdecimal' gem.
lib/pg/basic_type_registry.rb
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/lib/pg/basic_type_registry.rb 2024-09-09 02:15:52.121852860 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/lib/pg/basic_type_registry.rb 2024-09-09 02:15:52.141852996 +0000
@@ -280,0 +281 @@
+ register_type 0, 'record', PG::TextEncoder::Record, PG::TextDecoder::Record
lib/pg/connection.rb
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/lib/pg/connection.rb 2024-09-09 02:15:52.121852860 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/lib/pg/connection.rb 2024-09-09 02:15:52.141852996 +0000
@@ -576 +576,3 @@
- iopts = conninfo_hash.compact
+ # Use connection options from PG::Connection.new to reconnect with the same options but with renewed DNS resolution.
+ # Use conninfo_hash as a fallback when connect_start was used to create the connection object.
+ iopts = @iopts_for_reset || conninfo_hash.compact
@@ -827,0 +830 @@
+ iopts_for_reset = iopts
@@ -840,0 +844,2 @@
+ # save the connection options for conn.reset
+ conn.instance_variable_set(:@iopts_for_reset, iopts_for_reset)
lib/pg/text_decoder/date.rb
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/lib/pg/text_decoder/date.rb 2024-09-09 02:15:52.121852860 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/lib/pg/text_decoder/date.rb 2024-09-09 02:15:52.141852996 +0000
@@ -7,0 +8,3 @@
+ # This is a decoder class for conversion of PostgreSQL date type to Ruby Date values.
+ #
+ # As soon as this class is used, it requires the ruby standard library 'date'.
lib/pg/text_decoder/json.rb
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/lib/pg/text_decoder/json.rb 2024-09-09 02:15:52.121852860 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/lib/pg/text_decoder/json.rb 2024-09-09 02:15:52.141852996 +0000
@@ -7,0 +8,3 @@
+ # This is a decoder class for conversion of PostgreSQL JSON/JSONB type to Ruby Hash, Array, String, Numeric, nil values.
+ #
+ # As soon as this class is used, it requires the ruby standard library 'json'.
lib/pg/text_encoder/date.rb
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/lib/pg/text_encoder/date.rb 2024-09-09 02:15:52.121852860 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/lib/pg/text_encoder/date.rb 2024-09-09 02:15:52.141852996 +0000
@@ -5,0 +6 @@
+ # This is a encoder class for conversion of Ruby Date values to PostgreSQL date type.
lib/pg/text_encoder/inet.rb
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/lib/pg/text_encoder/inet.rb 2024-09-09 02:15:52.121852860 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/lib/pg/text_encoder/inet.rb 2024-09-09 02:15:52.141852996 +0000
@@ -7,0 +8,3 @@
+ # This is a encoder class for conversion of Ruby IPAddr values to PostgreSQL inet type.
+ #
+ # As soon as this class is used, it requires the ruby standard library 'ipaddr'.
lib/pg/text_encoder/json.rb
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/lib/pg/text_encoder/json.rb 2024-09-09 02:15:52.121852860 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/lib/pg/text_encoder/json.rb 2024-09-09 02:15:52.141852996 +0000
@@ -7,0 +8,3 @@
+ # This is a encoder class for conversion of Ruby Hash, Array, String, Numeric, nil values to PostgreSQL JSON/JSONB type.
+ #
+ # As soon as this class is used, it requires the ruby standard library 'json'.
lib/pg/version.rb
--- /tmp/d20240909-1976-jktf9v/pg-1.5.7/lib/pg/version.rb 2024-09-09 02:15:52.121852860 +0000
+++ /tmp/d20240909-1976-jktf9v/pg-1.5.8/lib/pg/version.rb 2024-09-09 02:15:52.141852996 +0000
@@ -3 +3 @@
- VERSION = '1.5.7'
+ VERSION = '1.5.8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps pg from 1.5.7 to 1.5.8.
Changelog
Sourced from pg's changelog.
Commits
cb35e3f
Update to Postgresql-16.4 and OpenSSL-3.3.2 for Windows binary gems7af75a4
Bump VERSION to 1.5.8 and add changelog entryd4c6c61
Merge pull request #589 from larskanis/fix-host-dup-on-resetbf7d57f
Save connection options for conn.reseta2a3e6d
CI: github actions@v4
need distinct artifact namesdd060bc
Merge pull request #587 from larskanis/github-v47515aac
CI: Use latest github actions070b72b
Remove unused variable in spec65c5031
Improve code documentation60f74ff
Fix typoDependabot 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)