Commit Graph

  • 49eaeacb89 optimize: field.ReflectValueOf (#7530) master v1.30.1 贾一饼 2025-07-23 13:02:49 +08:00
  • 52b4744410 optimize: performance optimization (#7526) 贾一饼 2025-07-22 18:32:28 +08:00
  • 9af6d510b5 Fix query when map keys include table-qualified column names, close #7507 Jinzhu 2025-07-22 14:21:04 +08:00
  • c63374f5d1 Don't request LastInsertID from database if not necessary, close #7469 Jinzhu 2025-07-21 17:55:07 +08:00
  • b9c7e562b0 fix(schema): check the hook function parameter type (#7468) jc 2025-07-21 17:06:16 +08:00
  • 985940f0d8 should check inner condition length (#7512) Riseif 2025-07-21 12:57:12 +09:00
  • 991c2d4891 Add GaussDB Database Support (#7508) moseszane168 2025-07-21 10:46:58 +08:00
  • 751a6dde7a Call after initialize for gorm.Config (#7518) Jinzhu 2025-07-15 12:05:03 +08:00
  • 2f4925e017 A little optimization for filed.ValueOf (#7499) 贾一饼 2025-07-07 11:15:10 +08:00
  • 1e8baf5459 fixes #7486 (#7492) Eshan-Jogwar 2025-06-25 08:41:08 +05:30
  • 842ee527eb fix decimal migrate error.(#7450) (#7450) Salent Olivick 2025-06-06 10:35:01 +08:00
  • 23c0d7cf05 test: update MySQL test matrix to use official images and add 9.0, 8.4 versions (#7476) enomotodev 2025-06-06 11:10:23 +09:00
  • 718eae4fdd fix tests for mysql 9.0 Jinzhu 2025-06-05 19:34:13 +08:00
  • 49b01a3e93 Fix Generics Scan, close https://github.com/go-gorm/playground/pull/803 Jinzhu 2025-05-29 14:23:57 +08:00
  • c44405a25b Implement Generics API (#7424) v1.30.0 Jinzhu 2025-05-25 15:40:40 +08:00
  • 751c1d6b45 perf(schema): avoid redundant strings.ToLower call (#7464) Name 2025-05-25 09:27:21 +08:00
  • 8e7ab46c1b fix: return init dialector error (#7379) codingplz 2025-05-22 10:53:47 +08:00
  • e3037e4ef0 perf: break early on match failure in ParseConstraint (#7402) Name 2025-05-22 10:49:19 +08:00
  • 1204330419 feat: error message show field name (#7452) pipipipipip 2025-05-21 11:13:31 +08:00
  • 9703eb775f perf: use strings.IndexByte to replace strings.Index (#7454) Name 2025-05-21 10:35:56 +08:00
  • 1c966e0d25 perf: use strings.Cut to replace strings.SplitN (#7455) Name 2025-05-21 10:35:23 +08:00
  • e5b867e785 remove unnecessary session-level configuration for prepared statements v1.26.1 Jinzhu 2025-05-07 14:56:49 +08:00
  • 8c4e8e2d2a fix: int type variable defaultMaxSize overflows in 32-bit environment (#7439) iTanken 2025-04-27 14:05:16 +08:00
  • a827495be1 Preparestmt use LRU Map instead default map (#7435) v1.26.0 Zhaodong Xie 2025-04-25 16:22:26 +08:00
  • 489a563293 only check new issues for golangci linter Jinzhu 2025-04-17 15:30:17 +08:00
  • 42bd4f603c use golangci replace reviewdog (#7426) Jinzhu 2025-04-17 11:55:13 +08:00
  • bbd8d3cfac Update golangci config golangci Jinzhu 2025-04-17 11:34:24 +08:00
  • fb5a4d57c4 use golangci replace reviewdog Jinzhu 2025-04-17 11:31:04 +08:00
  • 2cb8f60ac2 switch from reviewdog to golangci-lint reviewdog Jinzhu 2025-04-17 11:12:07 +08:00
  • e46ffe68fe Update review dog config Jinzhu 2025-04-17 11:00:57 +08:00
  • a9d27293de test: mssql ci a631807682 2025-03-11 15:44:39 +08:00
  • 3876ffe4bb test: mssql ci a631807682 2025-03-11 15:38:59 +08:00
  • ee3b549d7d Update tests script Jinzhu 2025-03-09 15:35:17 +08:00
  • 9f273777f5 fix deprecated reflect.PtrTo reflect.PointerTo usage (#7366) Aman 2025-02-13 11:46:26 +05:30
  • 9ca84b3dde fix concurrent map writes (#7298) Vladimir Avtsenov 2025-01-12 14:49:06 +03:00
  • 86b1d22911 chore: update copyright year (#7332) Max Katz 2025-01-12 12:32:39 +02:00
  • fed49230cb Enhance db.Scan with ParamsFilter - Issue 7336 - Suggestion (#7337) Evyatar Yaffe 2025-01-12 12:19:28 +02:00
  • 8503287ca4 Fixed Empty Returning Clause Merge Bug (#7339) aviyam181199 2025-01-12 12:18:04 +02:00
  • 4ef3af10ed feat:Capitalize the priority field of IndexOption so that other systems can access this field from outside the package. (#7342) nowindexman 2025-01-12 18:16:48 +08:00
  • f482f25c71 fix: deterministic index ordering when migrating (#7208) Bennett Amodio 2024-12-05 18:27:44 -08:00
  • 6bfccf8afa Refactor all tests script Jinzhu 2024-11-21 17:03:31 +08:00
  • 49bbaa637f use map look-up for indexes (#7242) Ivan Ryabov 2024-11-14 20:41:43 +11:00
  • b0d70a26d1 [#6372] Fixed nullable constraint bug for columns during auto migration (#7269) 홍성욱 2024-11-14 18:40:18 +09:00
  • deceebfab8 Create CODE_OF_CONDUCT.md (#7240) omid fth 2024-10-17 09:48:13 +03:30
  • 52e3b353eb refactor(workflow): update release workflow to enhance automation (#7224) Yidi Sprei 2024-10-09 07:31:04 -04:00
  • 8020e8c166 refactor: improve logging for unimplemented ErrorTranslator in TranslateError config (#7225) Hansu Park 2024-10-09 20:29:48 +09:00
  • 62bd0b9331 Add GitHub Actions workflow to automate release creation on tagged pushes (#7209) Yidi Sprei 2024-09-30 02:18:13 -04:00
  • c6ac54812a Use official SQL Server docker image for tests (#7205) Omkar P 2024-09-30 08:51:19 +05:30
  • 68434b76eb fix test script with latest docker release Jinzhu 2024-09-18 20:03:30 +08:00
  • c2515ce260 feat: remove version top-level element and rename. (#7086) Kazuki Isogai 2024-09-18 20:42:52 +09:00
  • 7f75b12bb2 Generate unique savepoint names for nested transactions (#7174) Leo Sjöberg 2024-09-14 13:58:29 +01:00
  • 0daaf1747c fix: AfterQuery using safer right trim while clearing from clause's join added as part of https://github.com/go-gorm/gorm/pull/7027 (#7153) v1.25.12 abhijeet45 2024-08-22 16:33:42 +05:30
  • 0dbfda5d7e fix memory leaks in PrepareStatementDB (#7142) ivila 2024-08-22 19:02:05 +08:00
  • 4a50b36f63 ci: Add PostgreSQL 14 and 15 to GitHub Actions matrix (#7081) v1.25.11 enomotodev 2024-06-25 11:36:06 +09:00
  • 11c4331058 feat: add MapColumns method (#6901) molon 2024-06-24 17:42:59 +08:00
  • 8a0af58cc5 fix map fields with clickhouse driver Jinzhu 2024-06-20 20:19:31 +08:00
  • 4f6291154b Allow to support other field types Jinzhu 2024-06-20 16:45:38 +08:00
  • 109f239fae add DB level propagation for the Unscoped flag (#7007) Sérgio Prata Almeida 2024-06-17 04:59:06 +01:00
  • 79bf7f92ed fix CI for sqlserver Jinzhu 2024-06-17 11:58:13 +08:00
  • 3d09f7947f only listen local port Jinzhu 2024-06-13 18:44:56 +08:00
  • 73a988ceb2 fix(scan): update Scan function to reset structs to zero values for each scan (#7061) Waleed Masoom 2024-06-12 06:57:36 -04:00
  • 05167fd591 fix: use reflect.Append when preloading nested associations (#7014) Emilien 2024-06-12 12:52:33 +02:00
  • 78c6dfd712 Fix association replace non-addressable panic (#7012) Sergei Sadov 2024-06-12 13:49:45 +03:00
  • 3fe7fcf356 fix: unsupported data on nested joins with preloads (#6957) Nico Schäfer 2024-06-12 12:00:47 +02:00
  • 9c4070ed19 fix: AfterQuery should clear FROM Clause's Joins rather than the Statement (#7027) 贾一饼 2024-06-12 17:51:44 +08:00
  • 49d524aaea feat: chainable order support clause.OrderBy (#7054) supergem3000 2024-06-12 17:47:34 +08:00
  • 49d94c173c upgrade github action tests template Jinzhu 2024-06-12 17:24:34 +08:00
  • 0f105ec163 fix: strings.Title -> cases.Title bcs strings.Title library is deprecated (#6999) Ryuji Kokubu 2024-06-12 12:46:59 +09:00
  • 5e599a07ec fix: typo (#7003) hakusai22 2024-05-08 12:07:58 +08:00
  • 9d370bcb3e Fix handling of unknown column types (#6540) v1.25.10 Wenli Looi 2024-04-26 02:53:11 -07:00
  • 78920199f0 Fix panic bug in migrator due to lack of nil check for stmt.Schema (#6932) PiexlMax(奇淼 2024-04-26 15:15:49 +08:00
  • ac59252327 Add new error for "Violation Check Constraint" (#6992) Anıl Şenay 2024-04-26 05:53:17 +03:00
  • 207f1ac68f fix: not clause with or condition (#6984) Cr 2024-04-25 20:22:53 +08:00
  • 85299bfca7 perf: merge nested preload query when using join (#6990) Cr 2024-04-25 20:21:03 +08:00
  • 5553ff3dcb downgrade mssql driver Jinzhu 2024-04-25 20:12:15 +08:00
  • bc49365de2 Faster utils.FileWithLineNum (#6981) kkocdko 2024-04-22 14:43:02 +08:00
  • d0b4ceb726 Added comment describing Unscoped() method (#6969) Ivan Chavez 2024-04-16 22:38:55 -05:00
  • 9a61ef2af8 fix: duplicated preload (#6948) yetone 2024-04-15 11:20:20 +08:00
  • 1e13fd7543 Fix duplicated columns in INSERT SQL for some fields with default value Jinzhu 2024-04-08 11:29:55 +08:00
  • 1b48aa072d feat: prepare_stmt support ping (#6924) hjwblog.com 2024-03-28 16:47:39 +08:00
  • 26195e6d16 fix: remove callback from callbacks if Remove() called (#6916) v1.25.9 snackmgmg 2024-03-26 12:33:36 +09:00
  • 956f7ce843 fix: 'type XXXX int' will print wrong sql to terminal (#6917) givemeafish 2024-03-21 16:00:02 +08:00
  • 0d6c5345f3 Don't close prepared stmt for normal db error Jinzhu 2024-03-21 15:55:43 +08:00
  • 57603882ea Only close bad conn prepared stmt Jinzhu 2024-03-20 19:47:20 +08:00
  • 81536f823c Fix insert id into map results, fix #6812 Jinzhu 2024-03-19 11:50:28 +08:00
  • 1b0aa802df Fix AutoMigrate for bool fields with default value v1.25.8 Jinzhu 2024-03-18 19:24:16 +08:00
  • e0c3be03fb Fix tests in local Jinzhu 2024-03-18 16:28:46 +08:00
  • 303de6e7c8 chore: optimize regEnLetterAndMidline regular (#6908) jessetang 2024-03-18 15:33:54 +08:00
  • f7ebf049da fix(create): fix insert column order (#6855) Jinghao Lu 2024-03-18 13:48:42 +08:00
  • ab89d54d87 chore: UnixNano convert to UnixMilli (#6907) jessetang 2024-03-18 13:44:55 +08:00
  • 281f3e369a Fix constraint name regexp Jinzhu 2024-03-18 11:32:30 +08:00
  • 56fce98cbc fix(create): create multiple pieces of data, primary key value is incorrectly backfilled fix/create/array/set-primary-key demoManito 2024-03-16 18:10:27 +08:00
  • 7b1fb0bd73 fix(scan): array element is set to a zero value (#6890) jessetang 2024-03-15 14:14:48 +08:00
  • e4e23d26d2 fix: nested preload with join panic when find (#6877) black-06 2024-03-09 21:27:19 +08:00
  • c4c9aa45e3 fix(scan.go): reflect.MakeSlice passes in the reflect.Array type (#6880) jessetang 2024-03-09 17:39:01 +08:00
  • 9efae659cb test: namer identifier lenght (#6872) Cr 2024-03-09 17:31:28 +08:00
  • f17a75242e Signed-off-by: hishope <csqiye@126.com> hishope 2024-03-07 14:18:31 +08:00
  • 3e2c4fc446 Fix regression in db.Not introduced in v1.25.6. (#6844) tsuba3 2024-03-05 11:23:51 +09:00
  • f118e55db5 Add unittest test helper function ConvertSliceOfMapToValuesForCreate (#6854) Chef 2024-03-05 09:22:57 +07:00
  • 52404cddbb CHORE add unittest test function ConvertMapToValueForCreate (#6846) Chef 2024-02-27 09:48:04 +07:00