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

Merged
renovate_bot merged 1 commit from renovate/gorm.io-gorm-1.x into master 2026-07-12 09:36:02 +00:00
renovate_bot commented 2026-06-25 22:02:47 +00:00 (Migrated from jonasled.dev)

This MR contains the following updates:

Package Change Age Confidence
gorm.io/gorm v1.31.1 → v1.31.2 age confidence

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Mend Renovate.

This MR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [gorm.io/gorm](https://github.com/go-gorm/gorm) | `v1.31.1` → `v1.31.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/gorm.io%2fgorm/v1.31.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/gorm.io%2fgorm/v1.31.1/v1.31.2?slim=true) | --- ### 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 MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMTguMCIsInVwZGF0ZWRJblZlciI6IjQzLjIxOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate_bot commented 2026-06-25 22:02:50 +00:00 (Migrated from jonasled.dev)

mentioned in issue #1

mentioned in issue #1
jonasled commented 2026-07-12 09:36:02 +00:00 (Migrated from jonasled.dev)

mentioned in commit a8ae678cb7

mentioned in commit a8ae678cb726c4c650acc86133c047ce31e2851a
jonasled (Migrated from jonasled.dev) merged commit a8ae678cb7 into master 2026-07-12 09:36:02 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
jonasled/ems-esp-logger!85
No description provided.