Update module gorm.io/gorm to v1.31.2 #33

Merged
john4064 merged 1 commit from renovate/gorm.io-gorm-1.x into master 2026-08-03 04:18:28 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
gorm.io/gorm require patch v1.31.1v1.31.2

Release Notes

go-gorm/gorm (gorm.io/gorm)

v1.31.2

Compare Source

Changes


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [gorm.io/gorm](https://github.com/go-gorm/gorm) | require | patch | `v1.31.1` → `v1.31.2` | --- ### Release Notes <details> <summary>go-gorm/gorm (gorm.io/gorm)</summary> ### [`v1.31.2`](https://github.com/go-gorm/gorm/releases/tag/v1.31.2) [Compare Source](https://github.com/go-gorm/gorm/compare/v1.31.1...v1.31.2) #### Changes - Fix potential rows leak on panic by deferring rows.Close() [@&#8203;omer-cengel](https://github.com/omer-cengel) ([#&#8203;7798](https://github.com/go-gorm/gorm/issues/7798)) - perf: replace fmt.Sprintf with strconv in ExplainSQL numeric formatting [@&#8203;alpardfm](https://github.com/alpardfm) ([#&#8203;7796](https://github.com/go-gorm/gorm/issues/7796)) - Document NowFunc timezone behavior [@&#8203;morning-verlu](https://github.com/morning-verlu) ([#&#8203;7799](https://github.com/go-gorm/gorm/issues/7799)) - correct typo and rename fileType to fieldType in AlterColumn [@&#8203;cragone](https://github.com/cragone) ([#&#8203;7748](https://github.com/go-gorm/gorm/issues/7748)) - fix: panic when using clause.Returning with CreateInBatches [@&#8203;Truongquangkhang](https://github.com/Truongquangkhang) ([#&#8203;7768](https://github.com/go-gorm/gorm/issues/7768)) - fix(migrator): add nil guards to ColumnType methods to prevent panic [@&#8203;lihan3238](https://github.com/lihan3238) ([#&#8203;7767](https://github.com/go-gorm/gorm/issues/7767)) - ci: switch tests Go matrix to stable/oldstable and update setup-go [@&#8203;smf-h](https://github.com/smf-h) ([#&#8203;7726](https://github.com/go-gorm/gorm/issues/7726)) - chore(ci): bump actions/stale to v9 [@&#8203;Olexandr88](https://github.com/Olexandr88) ([#&#8203;7696](https://github.com/go-gorm/gorm/issues/7696)) - fix(migrator): don't clear alterColumn when defaults match [@&#8203;qqxhb](https://github.com/qqxhb) ([#&#8203;7728](https://github.com/go-gorm/gorm/issues/7728)) - Add package comments to fix ST1000 warnings [@&#8203;twocs](https://github.com/twocs) ([#&#8203;7708](https://github.com/go-gorm/gorm/issues/7708)) - generics: populate WithResult error [@&#8203;qqxhb](https://github.com/qqxhb) ([#&#8203;7723](https://github.com/go-gorm/gorm/issues/7723)) - fix(utils): restore FileWithLineNum caller depth and add regression test [@&#8203;smf-h](https://github.com/smf-h) ([#&#8203;7717](https://github.com/go-gorm/gorm/issues/7717)) - tests: skip customized foreign key many2many on MySQL 8.4+ [@&#8203;smf-h](https://github.com/smf-h) ([#&#8203;7727](https://github.com/go-gorm/gorm/issues/7727)) - fix tiny typo in error message [@&#8203;snelg](https://github.com/snelg) ([#&#8203;7738](https://github.com/go-gorm/gorm/issues/7738)) - Add unit test verifying chainable query methods mutate statement [@&#8203;miladev95](https://github.com/miladev95) ([#&#8203;7684](https://github.com/go-gorm/gorm/issues/7684)) - fix: Close connection after ping failure to prevent goroutine leak [@&#8203;liang09255](https://github.com/liang09255) ([#&#8203;7689](https://github.com/go-gorm/gorm/issues/7689)) - fix: Row() and Rows() functions should automaticaly apply the generic type as model [@&#8203;hakanakyurek](https://github.com/hakanakyurek) ([#&#8203;7664](https://github.com/go-gorm/gorm/issues/7664)) - internal/lru: improve concurrency with RWMutex [@&#8203;miladev95](https://github.com/miladev95) ([#&#8203;7668](https://github.com/go-gorm/gorm/issues/7668)) - Fix nil pointer panic in serializer for nil any-type fields [@&#8203;doraemonkeys](https://github.com/doraemonkeys) ([#&#8203;7634](https://github.com/go-gorm/gorm/issues/7634)) - staticcheck QF1001 [@&#8203;miladev95](https://github.com/miladev95) ([#&#8203;7648](https://github.com/go-gorm/gorm/issues/7648)) - Support array/slice expansion for named SQL parameters in parentheses [@&#8203;bafflingbug](https://github.com/bafflingbug) ([#&#8203;7614](https://github.com/go-gorm/gorm/issues/7614)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42LjAiLCJ1cGRhdGVkSW5WZXIiOiI0NC42LjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
Update module gorm.io/gorm to v1.31.2
All checks were successful
Lint / Run golangci-lint (pull_request) Has been skipped
Deploy Parent Container / determine-workflow (pull_request) Successful in 2s
Deploy Parent Container / nonprod-deploy (dev) (pull_request) Has been skipped
Deploy Parent Container / prod-deploy (dev) (pull_request) Has been skipped
944d8de7e2
john4064 merged commit 1705e3544d into master 2026-08-03 04:18:28 +00:00
Sign in to join this conversation.
No description provided.