[PR #811] [MERGED] fix(deps): bump github.com/lib/pq from 1.10.9 to 1.11.1 in /api #810

Closed
opened 2026-03-03 16:40:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NdoleStudio/httpsms/pull/811
Author: @dependabot[bot]
Created: 2/1/2026
Status: Merged
Merged: 2/1/2026
Merged by: @AchoArnold

Base: mainHead: dependabot/go_modules/api/github.com/lib/pq-1.11.1


📝 Commits (1)

  • d5c7a18 fix(deps): bump github.com/lib/pq from 1.10.9 to 1.11.1 in /api

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 api/go.mod (+1 -1)
📝 api/go.sum (+2 -2)

📄 Description

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps github.com/lib/pq from 1.10.9 to 1.11.1.

Release notes

Sourced from github.com/lib/pq's releases.

v1.11.1

This fixes two regressions present in the v1.11.0 release:

  • Fix build on 32bit systems, Windows, and Plan 9 (#1253).

  • Named []byte types and pointers to []byte (e.g. *[]byte, json.RawMessage) would be treated as an array instead of bytea (#1252).

#1252: lib/pq#1252 #1253: lib/pq#1253

v1.11.0

This version of pq requires Go 1.21 or newer.

pq now supports only maintained PostgreSQL releases, which is PostgreSQL 14 and newer. Previously PostgreSQL 8.4 and newer were supported.

Features

  • The pq.Error.Error() text includes the position of the error (if reported by PostgreSQL) and SQLSTATE code (#1219, #1224):

    pq: column "columndoesntexist" does not exist at column 8 (42703)
    pq: syntax error at or near ")" at position 2:71 (42601)
    
  • The pq.Error.ErrorWithDetail() method prints a more detailed multiline message, with the Detail, Hint, and error position (if any) (#1219):

    ERROR:   syntax error at or near ")" (42601)
    CONTEXT: line 12, column 1:
    
     10 |     name           varchar,
     11 |     version        varchar,
     12 | );
          ^
    

  • Add Config, NewConfig(), and NewConnectorConfig() to supply connection details in a more structured way (#1240).

  • Support hostaddr and $PGHOSTADDR (#1243).

  • Support multiple values in host, port, and hostaddr, which are each tried in order, or randomly if load_balance_hosts=random is set (#1246).

  • Support target_session_attrs connection parameter (#1246).

  • Support [sslnegotiation] to use SSL without negotiation (#1180).

  • Allow using a custom tls.Config, for example for encrypted keys (#1228).

  • Add PQGO_DEBUG=1 print the communication with PostgreSQL to stderr, to aid in debugging, testing, and bug reports (#1223).

  • Add support for NamedValueChecker interface (#1125, #1238).

Fixes

... (truncated)

Changelog

Sourced from github.com/lib/pq's changelog.

v1.11.1 (2025-01-29)

This fixes two regressions present in the v1.11.0 release:

  • Fix build on 32bit systems, Windows, and Plan 9 (#1253).

  • Named []byte types and pointers to []byte (e.g. *[]byte, json.RawMessage) would be treated as an array instead of bytea (#1252).

#1252: lib/pq#1252 #1253: lib/pq#1253

v1.11.0 (2025-01-28)

This version of pq requires Go 1.21 or newer.

pq now supports only maintained PostgreSQL releases, which is PostgreSQL 14 and newer. Previously PostgreSQL 8.4 and newer were supported.

Features

  • The pq.Error.Error() text includes the position of the error (if reported by PostgreSQL) and SQLSTATE code (#1219, #1224):

    pq: column "columndoesntexist" does not exist at column 8 (42703)
    pq: syntax error at or near ")" at position 2:71 (42601)
    
  • The pq.Error.ErrorWithDetail() method prints a more detailed multiline message, with the Detail, Hint, and error position (if any) (#1219):

    ERROR:   syntax error at or near ")" (42601)
    CONTEXT: line 12, column 1:
    
     10 |     name           varchar,
     11 |     version        varchar,
     12 | );
          ^
    

  • Add Config, NewConfig(), and NewConnectorConfig() to supply connection details in a more structured way (#1240).

  • Support hostaddr and $PGHOSTADDR (#1243).

  • Support multiple values in host, port, and hostaddr, which are each tried in order, or randomly if load_balance_hosts=random is set (#1246).

  • Support target_session_attrs connection parameter (#1246).

  • Support [sslnegotiation] to use SSL without negotiation (#1180).

... (truncated)

Commits
  • eec526c Release v1.11.1 (#1255)
  • 1928a1d Fix []byte types incorrectly converted to PostgreSQL array (#1252)
  • 9e2aa8e Run staticcheck on all GOOS/GOARCH combinations
  • c9320c4 Fix build on Windows and Plan9
  • 2809526 Fix build on 32bit systems
  • 8e88f7e Release 1.11.0
  • 0ad3049 Handle pre-protocol errors to prevent memory exhaustion
  • f1fae2e Add pqtest.Fake.Close()
  • 3815d03 Remove assumption that the auth response is AuthenticateOk
  • 589ad43 Implement load_balance_hosts=random
  • 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NdoleStudio/httpsms/pull/811 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/1/2026 **Status:** ✅ Merged **Merged:** 2/1/2026 **Merged by:** [@AchoArnold](https://github.com/AchoArnold) **Base:** `main` ← **Head:** `dependabot/go_modules/api/github.com/lib/pq-1.11.1` --- ### 📝 Commits (1) - [`d5c7a18`](https://github.com/NdoleStudio/httpsms/commit/d5c7a18257012b2abe9ad65ab2418b43ab827f40) fix(deps): bump github.com/lib/pq from 1.10.9 to 1.11.1 in /api ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `api/go.mod` (+1 -1) 📝 `api/go.sum` (+2 -2) </details> ### 📄 Description [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.9 to 1.11.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lib/pq/releases">github.com/lib/pq's releases</a>.</em></p> <blockquote> <h2>v1.11.1</h2> <p>This fixes two regressions present in the v1.11.0 release:</p> <ul> <li> <p>Fix build on 32bit systems, Windows, and Plan 9 (<a href="https://redirect.github.com/lib/pq/issues/1253">#1253</a>).</p> </li> <li> <p>Named []byte types and pointers to []byte (e.g. <code>*[]byte</code>, <code>json.RawMessage</code>) would be treated as an array instead of bytea (<a href="https://redirect.github.com/lib/pq/issues/1252">#1252</a>).</p> </li> </ul> <p><a href="https://redirect.github.com/lib/pq/issues/1252">#1252</a>: <a href="https://redirect.github.com/lib/pq/pull/1252">lib/pq#1252</a> <a href="https://redirect.github.com/lib/pq/issues/1253">#1253</a>: <a href="https://redirect.github.com/lib/pq/pull/1253">lib/pq#1253</a></p> <h2>v1.11.0</h2> <p>This version of pq requires Go 1.21 or newer.</p> <p>pq now supports only maintained PostgreSQL releases, which is PostgreSQL 14 and newer. Previously PostgreSQL 8.4 and newer were supported.</p> <h3>Features</h3> <ul> <li> <p>The <code>pq.Error.Error()</code> text includes the position of the error (if reported by PostgreSQL) and SQLSTATE code (<a href="https://redirect.github.com/lib/pq/issues/1219">#1219</a>, <a href="https://redirect.github.com/lib/pq/issues/1224">#1224</a>):</p> <pre><code>pq: column &quot;columndoesntexist&quot; does not exist at column 8 (42703) pq: syntax error at or near &quot;)&quot; at position 2:71 (42601) </code></pre> </li> <li> <p>The <code>pq.Error.ErrorWithDetail()</code> method prints a more detailed multiline message, with the Detail, Hint, and error position (if any) (<a href="https://redirect.github.com/lib/pq/issues/1219">#1219</a>):</p> <pre><code>ERROR: syntax error at or near &quot;)&quot; (42601) CONTEXT: line 12, column 1: <pre><code> 10 | name varchar, 11 | version varchar, 12 | ); ^ </code></pre> <p></code></pre></p> </li> <li> <p>Add <code>Config</code>, <code>NewConfig()</code>, and <code>NewConnectorConfig()</code> to supply connection details in a more structured way (<a href="https://redirect.github.com/lib/pq/issues/1240">#1240</a>).</p> </li> <li> <p>Support <code>hostaddr</code> and <code>$PGHOSTADDR</code> (<a href="https://redirect.github.com/lib/pq/issues/1243">#1243</a>).</p> </li> <li> <p>Support multiple values in <code>host</code>, <code>port</code>, and <code>hostaddr</code>, which are each tried in order, or randomly if <code>load_balance_hosts=random</code> is set (<a href="https://redirect.github.com/lib/pq/issues/1246">#1246</a>).</p> </li> <li> <p>Support <code>target_session_attrs</code> connection parameter (<a href="https://redirect.github.com/lib/pq/issues/1246">#1246</a>).</p> </li> <li> <p>Support [<code>sslnegotiation</code>] to use SSL without negotiation (<a href="https://redirect.github.com/lib/pq/issues/1180">#1180</a>).</p> </li> <li> <p>Allow using a custom <code>tls.Config</code>, for example for encrypted keys (<a href="https://redirect.github.com/lib/pq/issues/1228">#1228</a>).</p> </li> <li> <p>Add <code>PQGO_DEBUG=1</code> print the communication with PostgreSQL to stderr, to aid in debugging, testing, and bug reports (<a href="https://redirect.github.com/lib/pq/issues/1223">#1223</a>).</p> </li> <li> <p>Add support for NamedValueChecker interface (<a href="https://redirect.github.com/lib/pq/issues/1125">#1125</a>, <a href="https://redirect.github.com/lib/pq/issues/1238">#1238</a>).</p> </li> </ul> <h3>Fixes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/lib/pq/blob/master/CHANGELOG.md">github.com/lib/pq's changelog</a>.</em></p> <blockquote> <h2>v1.11.1 (2025-01-29)</h2> <p>This fixes two regressions present in the v1.11.0 release:</p> <ul> <li> <p>Fix build on 32bit systems, Windows, and Plan 9 (<a href="https://redirect.github.com/lib/pq/issues/1253">#1253</a>).</p> </li> <li> <p>Named []byte types and pointers to []byte (e.g. <code>*[]byte</code>, <code>json.RawMessage</code>) would be treated as an array instead of bytea (<a href="https://redirect.github.com/lib/pq/issues/1252">#1252</a>).</p> </li> </ul> <p><a href="https://redirect.github.com/lib/pq/issues/1252">#1252</a>: <a href="https://redirect.github.com/lib/pq/pull/1252">lib/pq#1252</a> <a href="https://redirect.github.com/lib/pq/issues/1253">#1253</a>: <a href="https://redirect.github.com/lib/pq/pull/1253">lib/pq#1253</a></p> <h2>v1.11.0 (2025-01-28)</h2> <p>This version of pq requires Go 1.21 or newer.</p> <p>pq now supports only maintained PostgreSQL releases, which is PostgreSQL 14 and newer. Previously PostgreSQL 8.4 and newer were supported.</p> <h3>Features</h3> <ul> <li> <p>The <code>pq.Error.Error()</code> text includes the position of the error (if reported by PostgreSQL) and SQLSTATE code (<a href="https://redirect.github.com/lib/pq/issues/1219">#1219</a>, <a href="https://redirect.github.com/lib/pq/issues/1224">#1224</a>):</p> <pre><code>pq: column &quot;columndoesntexist&quot; does not exist at column 8 (42703) pq: syntax error at or near &quot;)&quot; at position 2:71 (42601) </code></pre> </li> <li> <p>The <code>pq.Error.ErrorWithDetail()</code> method prints a more detailed multiline message, with the Detail, Hint, and error position (if any) (<a href="https://redirect.github.com/lib/pq/issues/1219">#1219</a>):</p> <pre><code>ERROR: syntax error at or near &quot;)&quot; (42601) CONTEXT: line 12, column 1: <pre><code> 10 | name varchar, 11 | version varchar, 12 | ); ^ </code></pre> <p></code></pre></p> </li> <li> <p>Add <code>Config</code>, <code>NewConfig()</code>, and <code>NewConnectorConfig()</code> to supply connection details in a more structured way (<a href="https://redirect.github.com/lib/pq/issues/1240">#1240</a>).</p> </li> <li> <p>Support <code>hostaddr</code> and <code>$PGHOSTADDR</code> (<a href="https://redirect.github.com/lib/pq/issues/1243">#1243</a>).</p> </li> <li> <p>Support multiple values in <code>host</code>, <code>port</code>, and <code>hostaddr</code>, which are each tried in order, or randomly if <code>load_balance_hosts=random</code> is set (<a href="https://redirect.github.com/lib/pq/issues/1246">#1246</a>).</p> </li> <li> <p>Support <code>target_session_attrs</code> connection parameter (<a href="https://redirect.github.com/lib/pq/issues/1246">#1246</a>).</p> </li> <li> <p>Support [<code>sslnegotiation</code>] to use SSL without negotiation (<a href="https://redirect.github.com/lib/pq/issues/1180">#1180</a>).</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lib/pq/commit/eec526cee8f50c61b6294a8299e3ae358ab28d7b"><code>eec526c</code></a> Release v1.11.1 (<a href="https://redirect.github.com/lib/pq/issues/1255">#1255</a>)</li> <li><a href="https://github.com/lib/pq/commit/1928a1d75260e84d8e4422cf91252cb7577e4fcf"><code>1928a1d</code></a> Fix []byte types incorrectly converted to PostgreSQL array (<a href="https://redirect.github.com/lib/pq/issues/1252">#1252</a>)</li> <li><a href="https://github.com/lib/pq/commit/9e2aa8e7b098fe3d2743826ffb6bd41db13fac28"><code>9e2aa8e</code></a> Run staticcheck on all GOOS/GOARCH combinations</li> <li><a href="https://github.com/lib/pq/commit/c9320c42e8721adae182adf2ee3eda3708844ac8"><code>c9320c4</code></a> Fix build on Windows and Plan9</li> <li><a href="https://github.com/lib/pq/commit/28095269d64d6d501a0e1341e3559755b556e39e"><code>2809526</code></a> Fix build on 32bit systems</li> <li><a href="https://github.com/lib/pq/commit/8e88f7e928ecc429c45050e378b751c232a35981"><code>8e88f7e</code></a> Release 1.11.0</li> <li><a href="https://github.com/lib/pq/commit/0ad30496f8aa96a983fce5490ba050523d8fc5d1"><code>0ad3049</code></a> Handle pre-protocol errors to prevent memory exhaustion</li> <li><a href="https://github.com/lib/pq/commit/f1fae2ee3828fe6e103c0ec4dfcb568d906e5cb6"><code>f1fae2e</code></a> Add pqtest.Fake.Close()</li> <li><a href="https://github.com/lib/pq/commit/3815d03993a59ea6ffd0206a5dae62913c6ce877"><code>3815d03</code></a> Remove assumption that the auth response is AuthenticateOk</li> <li><a href="https://github.com/lib/pq/commit/589ad43c7e1f33330cf8f461d2ffca19785f1110"><code>589ad43</code></a> Implement load_balance_hosts=random</li> <li>Additional commits viewable in <a href="https://github.com/lib/pq/compare/v1.10.9...v1.11.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/lib/pq&package-manager=go_modules&previous-version=1.10.9&new-version=1.11.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:40:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/httpsms#810
No description provided.