{"full_name":"go-gorm/gorm","owner":"go-gorm","name":"gorm","url":"https://github.com/go-gorm/gorm","description":"The fantastic ORM library for Golang, aims to be developer friendly","homepage":"https://gorm.io","topics":[],"language":"Go","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/15127678?v=4","created_at":"2013-10-25T08:31:38Z","pushed_at":"2026-10-24T07:00:16Z","metrics":{"stars":39989,"forks":4300,"watchers":486,"issues":6153,"prs":1586,"releases":12,"issues_open":null,"issues_closed":null,"prs_open":null,"prs_closed":null,"prs_merged":null,"discussions":115},"growth":{"day":{"stars":2,"forks":2,"base_day":"2026-11-09"}},"history":{"dates":["2026-11-09","2026-11-10"],"stars":[39987,39989],"forks":[4298,4300],"watchers":[486,486],"issues_open":[null,null],"prs_open":[null,null]},"boards":{},"same_owner":[],"issues":[{"number":4944,"title":"泛型支持","comments":15,"created_at":"2021-12-21T12:31:29Z"},{"number":3585,"title":"sqlite3 'row value misused' error when preloading a model with composite primary keys and foreign key relations","comments":14,"created_at":"2020-10-08T14:13:48Z"},{"number":6283,"title":"Where clauses show up as nil in Scopes","comments":13,"created_at":"2023-04-29T00:56:22Z"},{"number":6119,"title":"v1.24.6 Duplicate saving of sub-table data. v1.24.6 重复保存子表数据","comments":13,"created_at":"2023-03-06T06:14:09Z"},{"number":6623,"title":"How to make batch update using FROM (VALUES) ?","comments":12,"created_at":"2023-10-04T13:09:31Z"},{"number":6835,"title":"Broken SQL generation after v.1.25.6/7 (nested Where?)","comments":11,"created_at":"2024-02-12T12:19:53Z"},{"number":4981,"title":"Single Table Inheritance","comments":9,"created_at":"2022-01-05T10:10:16Z"},{"number":6748,"title":"Bulk Update/Remove associations","comments":8,"created_at":"2023-12-14T21:42:28Z"}],"discussions":[{"number":7814,"title":"Static query N+1 detection for Gorm","comments":0,"category":"General","created_at":"2026-06-21T15:38:54Z"},{"number":7757,"title":"Architecture for a fast, low-noise N+1 Query Linter","comments":0,"category":"Ideas","created_at":"2026-04-21T19:57:17Z"},{"number":7755,"title":"[Showcase] GoTool: A zero-config online tool to convert SQL into GORM structs","comments":0,"category":"Show and tell","created_at":"2026-04-20T05:11:12Z"},{"number":7750,"title":"Have `TranslateError` wrap the error instead","comments":0,"category":"Ideas","created_at":"2026-04-09T17:26:09Z"},{"number":7744,"title":"How to join using Generics API","comments":1,"category":"Q&A","created_at":"2026-03-28T18:08:02Z"},{"number":7733,"title":"Creating a custom Preload","comments":1,"category":"Q&A","created_at":"2026-03-15T13:32:59Z"},{"number":7710,"title":"String slice into specific schema","comments":0,"category":"General","created_at":"2026-02-23T03:58:12Z"},{"number":7680,"title":"Built a linter to catch GORM's unsafe `*gorm.DB` reuse","comments":0,"category":"Show and tell","created_at":"2025-12-24T14:40:33Z"}],"latest_release":{"name":"Release v1.31.2","tag":"v1.31.2","published_at":"2026-06-25T07:21:23Z","body":"## Changes\n\n- Fix potential rows leak on panic by deferring rows.Close() @omer-cengel (#7798)\n- perf: replace fmt.Sprintf with strconv in ExplainSQL numeric formatting @alpardfm (#7796)\n- Document NowFunc timezone behavior @morning-verlu (#7799)\n- correct typo and rename fileType to fieldType in AlterColumn @cragone (#7748)\n- fix: panic when using clause.Returning with CreateInBatches @Truongquangkhang (#7768)\n- fix(migrator): add nil guards to ColumnType methods to prevent panic @lihan3238 (#7767)\n- ci: switch tests Go matrix to stable/oldstable and update setup-go @smf-h (#7726)\n- chore(ci): bump actions/stale to v9 @Olexandr88 (#7696)\n- fix(migrator): don't clear alterColumn when defaults match @qqxhb (#7728)\n- Add package comments to fix ST1000 warnings @twocs (#7708)\n- generics: populate WithResult error @qqxhb (#7723)\n- fix(utils): restore FileWithLineNum caller depth and add regression test @smf-h (#7717)\n- tests: skip customized foreign key many2many on MySQL 8.4+ @smf-h (#7727)\n- fix tiny typo in error message @snelg (#7738)\n- Add unit test verifying chainable query methods mutate statement @miladev95 (#7684)\n- fix: Close connection after ping failure to prevent goroutine leak @liang09255 (#7689)\n- fix: Row() and Rows() functions should automaticaly apply the generic type as model @hakanakyurek (#7664)\n- internal/lru: improve concurrency with RWMutex @miladev95 (#7668)\n- Fix nil pointer panic in serializer for nil any-type fields @doraemonkeys (#7634)\n- staticcheck QF1001 @miladev95 (#7648)\n- Support array/slice expansion for named SQL parameters in parentheses @bafflingbug (#7614)\n"},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-10T09:35:25Z","history_start":"2026-09-06"}