[PR #6603] build(deps): bump the gorm group across 1 directory with 4 updates #26351

Open
opened 2026-08-05 07:07:13 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/6603
Author: @dependabot[bot]
Created: 6/29/2026
Status: 🔄 Open

Base: mainHead: dependabot/go_modules/gorm-2271c8195b


📝 Commits (1)

  • 697dfae build(deps): bump the gorm group across 1 directory with 4 updates

📊 Changes

2 files changed (+21 additions, -23 deletions)

View changed files

📝 go.mod (+7 -7)
📝 go.sum (+14 -16)

📄 Description

Bumps the gorm group with 2 updates in the / directory: gorm.io/driver/mysql and gorm.io/driver/postgres.

Updates gorm.io/driver/mysql from 1.5.7 to 1.6.0

Commits

Updates gorm.io/driver/postgres from 1.5.7 to 1.6.2

Commits
  • e269d69 Fix/preserve original error in translate (#335)
  • 35fa84d chore(deps): bump actions/setup-go from 5 to 7 (#347)
  • 6e6c866 feat: support PostgreSQL generated columns via the generated tag (#345)
  • d9b9fc6 chore(deps): bump gorm.io/gorm from 1.25.10 to 1.31.2 (#346)
  • 77dd2bd chore(deps): bump actions/checkout from 4 to 7 (#344)
  • 2a16690 Refactor SQL query for column type retrieval (#343)
  • ce8a605 chore(deps): bump github.com/jackc/pgx/v5 from 5.9.2 to 5.10.0 (#341)
  • 4d6a58d fix(Migrator): add schema qualification to GetIndexes, RenameIndex, DropIndex...
  • 65c4b89 fix(Migrator): prevent nil pointer dereference in AlterColumn (#339)
  • 92d2b78 chore(deps): bump github.com/jackc/pgx/v5 from 5.8.0 to 5.9.2 (#337)
  • Additional commits viewable in compare view

Updates gorm.io/driver/sqlite from 1.5.7 to 1.6.0

Commits
  • 6f07b51 Don't overwrite existing clause builders
  • 6ea0b8f Bump gorm.io/gorm from 1.25.7-0.20240204074919-46816ad31dde to 1.30.0 (#206)
  • 5406e41 fix: cover more constraint syntax (#198)
  • See full diff in compare view

Updates gorm.io/gorm from 1.25.12 to 1.31.2

Release notes

Sourced from gorm.io/gorm's releases.

Release v1.31.2

Changes

Release v1.31.1

Changes

Release v1.31.0

Changes

  • Add association operation support to generics Set API and enable conditional bulk association updates @​jinzhu (#7581)

Release v1.30.5

Changes

  • No changes

Release v1.30.4

Changes

... (truncated)

Commits
  • 1d6ce99 Fix potential rows leak on panic by deferring rows.Close() (#7798)
  • f648834 perf: replace fmt.Sprintf with strconv in ExplainSQL numeric formatting (#7796)
  • 49cd6b8 Document NowFunc timezone behavior (#7799)
  • d0ee5e2 correct typo and rename fileType to fieldType in AlterColumn (#7748)
  • 2a22022 fix: panic when using clause.Returning with CreateInBatches (#7768)
  • 3322929 fix(migrator): add nil guards to ColumnType methods to prevent panic (#7767)
  • 40cd2af ci: switch tests Go matrix to stable/oldstable and update setup-go (#7726)
  • ba38501 chore(ci): bump actions/stale to v9 (#7696)
  • c1f742d fix: don't override alterColumn when defaults match (#7728)
  • c14d3ac update github ci golang version
  • Additional commits viewable in compare view

Note


Automatic rebases have been disabled on this pull request as it has been open for over 30 days.


🔄 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/netbirdio/netbird/pull/6603 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 6/29/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `dependabot/go_modules/gorm-2271c8195b` --- ### 📝 Commits (1) - [`697dfae`](https://github.com/netbirdio/netbird/commit/697dfaed8cf3888cadb0a1f06ed25595e8909563) build(deps): bump the gorm group across 1 directory with 4 updates ### 📊 Changes **2 files changed** (+21 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+7 -7) 📝 `go.sum` (+14 -16) </details> ### 📄 Description Bumps the gorm group with 2 updates in the / directory: [gorm.io/driver/mysql](https://github.com/go-gorm/mysql) and [gorm.io/driver/postgres](https://github.com/go-gorm/postgres). Updates `gorm.io/driver/mysql` from 1.5.7 to 1.6.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-gorm/mysql/commit/d744156745998478ffa3c5395c3336ae6f0b0c0c"><code>d744156</code></a> Don't overwrite existing clause builders</li> <li><a href="https://github.com/go-gorm/mysql/commit/f0a26459a30b6dcf05383840f9c6bc6992764fcd"><code>f0a2645</code></a> build(deps): bump gorm.io/gorm from 1.25.11 to 1.30.0 (<a href="https://redirect.github.com/go-gorm/mysql/issues/172">#172</a>)</li> <li><a href="https://github.com/go-gorm/mysql/commit/d81572929ad34f62154d5187b7b436a67e29e3f9"><code>d815729</code></a> Fix creating unique index on non-unique field (<a href="https://redirect.github.com/go-gorm/mysql/issues/168">#168</a>)</li> <li><a href="https://github.com/go-gorm/mysql/commit/449c37a0089d2396d67220f1a04e25032b2d3dba"><code>449c37a</code></a> Updated the go version to 1.18. (<a href="https://redirect.github.com/go-gorm/mysql/issues/159">#159</a>)</li> <li>See full diff in <a href="https://github.com/go-gorm/mysql/compare/v1.5.7...v1.6.0">compare view</a></li> </ul> </details> <br /> Updates `gorm.io/driver/postgres` from 1.5.7 to 1.6.2 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-gorm/postgres/commit/e269d69a4e8326487015b1ee79cc90d184209a7e"><code>e269d69</code></a> Fix/preserve original error in translate (<a href="https://redirect.github.com/go-gorm/postgres/issues/335">#335</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/35fa84dc65d17ef37946238f8173c45f0ad94f22"><code>35fa84d</code></a> chore(deps): bump actions/setup-go from 5 to 7 (<a href="https://redirect.github.com/go-gorm/postgres/issues/347">#347</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/6e6c866443bfa3ab679ec05acdf861bc7431f662"><code>6e6c866</code></a> feat: support PostgreSQL generated columns via the <code>generated</code> tag (<a href="https://redirect.github.com/go-gorm/postgres/issues/345">#345</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/d9b9fc6ebfdf053777f9f4aa815dacb40b07a0ee"><code>d9b9fc6</code></a> chore(deps): bump gorm.io/gorm from 1.25.10 to 1.31.2 (<a href="https://redirect.github.com/go-gorm/postgres/issues/346">#346</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/77dd2bdde5f8e5bae94bb08f8a74e6c85d78aff3"><code>77dd2bd</code></a> chore(deps): bump actions/checkout from 4 to 7 (<a href="https://redirect.github.com/go-gorm/postgres/issues/344">#344</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/2a166900708a66377037f0711b53d95fff1505f2"><code>2a16690</code></a> Refactor SQL query for column type retrieval (<a href="https://redirect.github.com/go-gorm/postgres/issues/343">#343</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/ce8a6056ed2e2c91d9ec825cbd0496763326b2af"><code>ce8a605</code></a> chore(deps): bump github.com/jackc/pgx/v5 from 5.9.2 to 5.10.0 (<a href="https://redirect.github.com/go-gorm/postgres/issues/341">#341</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/4d6a58ded4c1709291fdcdfdc80212f0d9e3d46f"><code>4d6a58d</code></a> fix(Migrator): add schema qualification to GetIndexes, RenameIndex, DropIndex...</li> <li><a href="https://github.com/go-gorm/postgres/commit/65c4b894081f048a9ba1b526d6c5a13cc8a54469"><code>65c4b89</code></a> fix(Migrator): prevent nil pointer dereference in AlterColumn (<a href="https://redirect.github.com/go-gorm/postgres/issues/339">#339</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/92d2b784fa571e35b079c4b78481410e1c50ec86"><code>92d2b78</code></a> chore(deps): bump github.com/jackc/pgx/v5 from 5.8.0 to 5.9.2 (<a href="https://redirect.github.com/go-gorm/postgres/issues/337">#337</a>)</li> <li>Additional commits viewable in <a href="https://github.com/go-gorm/postgres/compare/v1.5.7...v1.6.2">compare view</a></li> </ul> </details> <br /> Updates `gorm.io/driver/sqlite` from 1.5.7 to 1.6.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-gorm/sqlite/commit/6f07b518dae6d03d9a84d11e51338cbc56bb4fab"><code>6f07b51</code></a> Don't overwrite existing clause builders</li> <li><a href="https://github.com/go-gorm/sqlite/commit/6ea0b8f65c6cf30bc907f3730e93f855d7cfffcd"><code>6ea0b8f</code></a> Bump gorm.io/gorm from 1.25.7-0.20240204074919-46816ad31dde to 1.30.0 (<a href="https://redirect.github.com/go-gorm/sqlite/issues/206">#206</a>)</li> <li><a href="https://github.com/go-gorm/sqlite/commit/5406e41bb6592f3cf6ce8cb9ae7c26052890c621"><code>5406e41</code></a> fix: cover more constraint syntax (<a href="https://redirect.github.com/go-gorm/sqlite/issues/198">#198</a>)</li> <li>See full diff in <a href="https://github.com/go-gorm/sqlite/compare/v1.5.7...v1.6.0">compare view</a></li> </ul> </details> <br /> Updates `gorm.io/gorm` from 1.25.12 to 1.31.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-gorm/gorm/releases">gorm.io/gorm's releases</a>.</em></p> <blockquote> <h2>Release v1.31.2</h2> <h2>Changes</h2> <ul> <li>Fix potential rows leak on panic by deferring rows.Close() <a href="https://github.com/omer-cengel"><code>@​omer-cengel</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7798">#7798</a>)</li> <li>perf: replace fmt.Sprintf with strconv in ExplainSQL numeric formatting <a href="https://github.com/alpardfm"><code>@​alpardfm</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7796">#7796</a>)</li> <li>Document NowFunc timezone behavior <a href="https://github.com/morning-verlu"><code>@​morning-verlu</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7799">#7799</a>)</li> <li>correct typo and rename fileType to fieldType in AlterColumn <a href="https://github.com/cragone"><code>@​cragone</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7748">#7748</a>)</li> <li>fix: panic when using clause.Returning with CreateInBatches <a href="https://github.com/Truongquangkhang"><code>@​Truongquangkhang</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7768">#7768</a>)</li> <li>fix(migrator): add nil guards to ColumnType methods to prevent panic <a href="https://github.com/lihan3238"><code>@​lihan3238</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7767">#7767</a>)</li> <li>ci: switch tests Go matrix to stable/oldstable and update setup-go <a href="https://github.com/smf-h"><code>@​smf-h</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7726">#7726</a>)</li> <li>chore(ci): bump actions/stale to v9 <a href="https://github.com/Olexandr88"><code>@​Olexandr88</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7696">#7696</a>)</li> <li>fix(migrator): don't clear alterColumn when defaults match <a href="https://github.com/qqxhb"><code>@​qqxhb</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7728">#7728</a>)</li> <li>Add package comments to fix ST1000 warnings <a href="https://github.com/twocs"><code>@​twocs</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7708">#7708</a>)</li> <li>generics: populate WithResult error <a href="https://github.com/qqxhb"><code>@​qqxhb</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7723">#7723</a>)</li> <li>fix(utils): restore FileWithLineNum caller depth and add regression test <a href="https://github.com/smf-h"><code>@​smf-h</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7717">#7717</a>)</li> <li>tests: skip customized foreign key many2many on MySQL 8.4+ <a href="https://github.com/smf-h"><code>@​smf-h</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7727">#7727</a>)</li> <li>fix tiny typo in error message <a href="https://github.com/snelg"><code>@​snelg</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7738">#7738</a>)</li> <li>Add unit test verifying chainable query methods mutate statement <a href="https://github.com/miladev95"><code>@​miladev95</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7684">#7684</a>)</li> <li>fix: Close connection after ping failure to prevent goroutine leak <a href="https://github.com/liang09255"><code>@​liang09255</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7689">#7689</a>)</li> <li>fix: Row() and Rows() functions should automaticaly apply the generic type as model <a href="https://github.com/hakanakyurek"><code>@​hakanakyurek</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7664">#7664</a>)</li> <li>internal/lru: improve concurrency with RWMutex <a href="https://github.com/miladev95"><code>@​miladev95</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7668">#7668</a>)</li> <li>Fix nil pointer panic in serializer for nil any-type fields <a href="https://github.com/doraemonkeys"><code>@​doraemonkeys</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7634">#7634</a>)</li> <li>staticcheck QF1001 <a href="https://github.com/miladev95"><code>@​miladev95</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7648">#7648</a>)</li> <li>Support array/slice expansion for named SQL parameters in parentheses <a href="https://github.com/bafflingbug"><code>@​bafflingbug</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7614">#7614</a>)</li> </ul> <h2>Release v1.31.1</h2> <h2>Changes</h2> <ul> <li>Add Namer-based column lookup to Schema.LookUpField <a href="https://github.com/cmmoran"><code>@​cmmoran</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7619">#7619</a>)</li> <li>fix: Allow escaped double quotes in struct tag parser <a href="https://github.com/kankankanp"><code>@​kankankanp</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7631">#7631</a>)</li> <li>Fix slog logger caller frame detection to output correct source file <a href="https://github.com/ifooth"><code>@​ifooth</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7610">#7610</a>)</li> <li>chore(docs): edited the badge test <a href="https://github.com/Olexandr88"><code>@​Olexandr88</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7635">#7635</a>)</li> <li>Fix AutoMigrate default value comparison for string fields (issue <a href="https://redirect.github.com/go-gorm/gorm/issues/7590">#7590</a>) <a href="https://github.com/nowindexman"><code>@​nowindexman</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7591">#7591</a>)</li> <li>fix(UnixSecondSerializer.Value): Avoid panic when handling unsigned integer values <a href="https://github.com/dushaoshuai"><code>@​dushaoshuai</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7608">#7608</a>)</li> <li>chore: fix some comments <a href="https://github.com/wyrapeseed"><code>@​wyrapeseed</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7615">#7615</a>)</li> <li>Rename IsValidDBNameChar to IsInvalidDBNameChar <a href="https://github.com/mengxunQAQ"><code>@​mengxunQAQ</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7582">#7582</a>)</li> </ul> <h2>Release v1.31.0</h2> <h2>Changes</h2> <ul> <li>Add association operation support to generics Set API and enable conditional bulk association updates <a href="https://github.com/jinzhu"><code>@​jinzhu</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7581">#7581</a>)</li> </ul> <h2>Release v1.30.5</h2> <h2>Changes</h2> <ul> <li>No changes</li> </ul> <h2>Release v1.30.4</h2> <h2>Changes</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-gorm/gorm/commit/1d6ce99528060be18a42be09aca8d39efcb47f28"><code>1d6ce99</code></a> Fix potential rows leak on panic by deferring rows.Close() (<a href="https://redirect.github.com/go-gorm/gorm/issues/7798">#7798</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/f648834d22f67c1b682d3e44ac2eb252c31b3f1a"><code>f648834</code></a> perf: replace fmt.Sprintf with strconv in ExplainSQL numeric formatting (<a href="https://redirect.github.com/go-gorm/gorm/issues/7796">#7796</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/49cd6b82d0096e8e312c4296aae0da6c60fcbbc2"><code>49cd6b8</code></a> Document NowFunc timezone behavior (<a href="https://redirect.github.com/go-gorm/gorm/issues/7799">#7799</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/d0ee5e2296150d691364c5f4f7f2b32abde04545"><code>d0ee5e2</code></a> correct typo and rename fileType to fieldType in AlterColumn (<a href="https://redirect.github.com/go-gorm/gorm/issues/7748">#7748</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/2a22022d4147f01763bd4804fdfe322b43ca3b55"><code>2a22022</code></a> fix: panic when using clause.Returning with CreateInBatches (<a href="https://redirect.github.com/go-gorm/gorm/issues/7768">#7768</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/33229296228898b311e868090f30eed169f1ae7a"><code>3322929</code></a> fix(migrator): add nil guards to ColumnType methods to prevent panic (<a href="https://redirect.github.com/go-gorm/gorm/issues/7767">#7767</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/40cd2afdadf291075944a50b7d816db2f28c3c86"><code>40cd2af</code></a> ci: switch tests Go matrix to stable/oldstable and update setup-go (<a href="https://redirect.github.com/go-gorm/gorm/issues/7726">#7726</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/ba38501922bb6ce1cc34216eb79d593c4acedc8b"><code>ba38501</code></a> chore(ci): bump actions/stale to v9 (<a href="https://redirect.github.com/go-gorm/gorm/issues/7696">#7696</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/c1f742d99ac076caf86328a9cae0c27288d5f50a"><code>c1f742d</code></a> fix: don't override alterColumn when defaults match (<a href="https://redirect.github.com/go-gorm/gorm/issues/7728">#7728</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/c14d3ac968c1b5a681f142441d21c1f4856f94dd"><code>c14d3ac</code></a> update github ci golang version</li> <li>Additional commits viewable in <a href="https://github.com/go-gorm/gorm/compare/v1.25.12...v1.31.2">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 07:07:13 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#26351