[PR #5556] [CLOSED] chore(deps): bump gorm.io/gorm from 1.31.1 to 1.31.2 #5918

Closed
opened 2026-11-02 04:05:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5556
Author: @dependabot[bot]
Created: 6/25/2026
Status: ❌ Closed

Base: main ← Head: dependabot/go_modules/gorm.io/gorm-1.31.2


📝 Commits (1)

  • 7ece4ed chore(deps): bump gorm.io/gorm from 1.31.1 to 1.31.2

📊 Changes

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

View changed files

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

📄 Description

Bumps gorm.io/gorm from 1.31.1 to 1.31.2.

Release notes

Sourced from gorm.io/gorm's releases.

Release v1.31.2

Changes

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

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 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/MHSanaei/3x-ui/pull/5556 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 6/25/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/go_modules/gorm.io/gorm-1.31.2` --- ### 📝 Commits (1) - [`7ece4ed`](https://github.com/MHSanaei/3x-ui/commit/7ece4ed1cca5c88d733671ad05571c5af538abfd) chore(deps): bump gorm.io/gorm from 1.31.1 to 1.31.2 ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) </details> ### 📄 Description Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.31.1 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> </blockquote> </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.31.1...v1.31.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=gorm.io/gorm&package-manager=go_modules&previous-version=1.31.1&new-version=1.31.2)](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 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>
bsakaguchi 2026-11-02 04:05:00 +07: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
MHSanaei/3x-ui#5918
No description provided.