Commit Graph

  • 23b45b716e
    Run go fmt ./... henryjcee 2024-10-10 10:44:06 +01:00
  • 0fc283ce8d
    Merge remote-tracking branch 'upstream/master' henryjcee 2024-10-10 10:43:03 +01:00
  • bf5cd45b03
    Merge pull request #1 from incident-io/henrycourse/upgrade-gorm-ww24 Henry Course 2024-10-10 10:40:29 +01:00
  • 780e1797a6 feature: add exists method demoManito 2024-09-30 18:28:30 +08:00
  • 65bfecae14
    Revert go.mod migration to 1.2x+ henryjcee 2024-10-09 14:06:29 +01:00
  • 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
  • 72e580c566
    Partially revert the change made in https://github.com/go-gorm/gorm/pull/6311 that appears to have broken this for us and at least one other person. henryjcee 2024-10-08 17:55:24 +01:00
  • 05110579be
    Remove pgx replace henryjcee 2024-10-08 12:23:57 +01:00
  • 6cf32c0d0b refactor: improve logging for unimplemented ErrorTranslator in TranslateError config Invidam 2024-10-06 17:07:05 +09:00
  • 62348f059f refactor(workflow): update release workflow to enhance automation Yidi 2024-10-05 16:34:04 -04:00
  • 5754df70e1 Allow session config naming override AdamDrewsTR 2024-10-03 11:23:14 -05:00
  • 8e9c1358b5 update test file raw_test.go rankgice 2024-09-30 20:05:52 +08:00
  • fa23822f68 Added test file raw_test.go rankgice 2024-09-30 19:51:44 +08:00
  • 202cbae492 Added test file raw_test.go rankgice 2024-09-30 19:30:02 +08:00
  • 96c8a2edba Merge remote-tracking branch 'upstream/master' rankgice 2024-09-30 19:23:32 +08:00
  • 599aad63a1 Added test file raw_test.go rankgice 2024-09-30 19:02:57 +08: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
  • 3beb944d1e fix(workflow): simplify release process by removing redundant checks Yidi 2024-09-26 21:39:51 -04:00
  • 051042f593 fix(workflow): correct release existence check and add debug output Yidi 2024-09-26 21:32:34 -04:00
  • c1127051d4 fix(release): correct output handling in release-on-tag workflow Yidi 2024-09-26 21:29:41 -04:00
  • 78bff5adc5 fix(workflow): correct output setting in release-on-tag workflow Yidi 2024-09-26 21:25:56 -04:00
  • a20178fc6e fix(workflow): correct output handling in release-on-tag.yml Yidi 2024-09-26 21:22:23 -04:00
  • 1ff25f9d33 fix(workflow): improve release existence check in release-on-tag.yml Yidi 2024-09-26 21:20:07 -04:00
  • bc08931b8d test Yidi 2024-09-26 21:12:02 -04:00
  • 09a39d42a3 feat(workflows): add GitHub Action to create release on new tag Yidi 2024-09-26 21:09:51 -04:00
  • c930baab81 Fixed bug where '@' was incorrectly identified as a named variable in 'or" rankgice 2024-09-25 21:03:49 +08:00
  • 37df3199c2
    Remove unused env variables Omkar P 2024-09-25 14:18:27 +05:30
  • 4b28dbe1ba
    Finalize working config Omkar P 2024-09-25 14:07:19 +05:30
  • c774567584
    Try ubuntu-20.04 without -N -C (last trial) Omkar P 2024-09-25 13:48:16 +05:30
  • 0130a1832a
    Re-include -N -C, try with ubuntu-20.04 Omkar P 2024-09-25 13:39:08 +05:30
  • 7ab81a7040
    Try sqlcmd without -N -C Omkar P 2024-09-25 13:32:46 +05:30
  • 9727d78170
    Update health-cmd Omkar P 2024-09-25 13:20:13 +05:30
  • af233e4d3b
    Check with 2022-latest image tag and ubuntu-latest platform Omkar P 2024-09-25 13:11:10 +05:30
  • 8ab8e5866c
    Switch to 2019-CU18-ubuntu-20.04 Omkar P 2024-09-25 00:22:16 +05:30
  • 86fb75dcd5
    Use platform ubuntu-20.04 for SQL Server Omkar P 2024-09-25 00:11:17 +05:30
  • 135b126df8
    Try with tag 2019-latest instead of latest Omkar P 2024-09-25 00:06:55 +05:30
  • 7b9cb4e953
    Use official SQL Server docker image for tests Omkar P 2024-09-24 23:38:11 +05:30
  • 0b5712f2da
    Update migrator.go Goran Marić 2024-09-20 11:58:17 +02:00
  • 68fccb87b0
    fix: merge group conds clause a631807682 2024-09-20 15:55:23 +08:00
  • 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
  • 591d3e0de9 add test demoManito 2024-09-05 12:12:54 +08:00
  • 6728918242 refactor: fix signiture warren 2024-09-01 22:38:16 +09:00
  • e39566dd57 Add a test for deeply nested wrapped transactions Leo Sjöberg 2024-08-28 12:38:43 +01:00
  • dcd930b538 Generate unique savepoint names Leo Sjöberg 2024-08-28 12:08:13 +01:00
  • feacf577b3 feat: BeforeUpdate hook supports update using struct demoManito 2024-08-21 21:45:57 +08:00
  • 36b41fadd4
    Update gorm.go Lucas Gonçalves de Paula 2024-08-26 20:37:33 -03: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
  • c380166ff5
    don't reuse modifier, use table name instead mtsoltan 2024-08-12 04:06:06 +03:00
  • a1d9d7dc18
    revert it to handle private joins mtsoltan 2024-08-12 03:42:05 +03:00
  • f9315d3d01
    Make join logic sharable (so it can be used by delete or update) and use it in delete mtsoltan 2024-08-12 03:15:34 +03:00
  • a75d7d6b8e fix: AfterQuery using safer right trim while clearing from clause's join added as part of https://github.com/go-gorm/gorm/pull/7027 Abhijeet Bhowmik 2024-08-11 19:34:40 +00:00
  • 8e41f66849 fix: Removed unnecessary UT from pr 7150 Abhijeet Bhowmik 2024-08-09 17:51:09 +00:00
  • 51c9e58204 fix: AfterQuery using safer right trim while clearing from clause's join added as part of https://github.com/go-gorm/gorm/pull/7027 Abhijeet Bhowmik 2024-08-09 16:48:22 +00:00
  • 117bbd3df4 Fix test, create new connection to keep away from other tests Zehui Chen 2024-08-07 19:53:41 +08:00
  • 39a938766a Add Test: 1) TestPreparedStmtConcurrentReset 2) TestPreparedStmtConcurrentClose Zehui Chen 2024-08-07 19:01:20 +08:00
  • 9229d83a88 Fix CR: 1) Fix potential Segmentation Fault in Reset function 2) Setting db.Stmts to nil map when Close to avoid further using Zehui Chen 2024-08-07 15:07:10 +08:00
  • 408ec66048 fix memory leaks in PrepareStatementDB Zehui Chen 2024-08-07 11:51:33 +08:00
  • 9a3ea037a9 Add parse methods with central log instance Niklas J. Nett 2024-08-06 20:04:24 +02:00
  • 003bcc3a35 more tracing Dave Shrewsberry 2024-08-01 17:26:20 -04:00
  • 3198b7c219 more tracing Dave Shrewsberry 2024-08-01 17:23:39 -04:00
  • 38fb45fea8 debug Dave Shrewsberry 2024-08-01 17:01:58 -04:00
  • e483cd9993 put check back in drop Dave Shrewsberry 2024-08-01 16:31:37 -04:00
  • 79e73f0d7d move to the caller Dave Shrewsberry 2024-08-01 16:17:38 -04:00
  • e55b2ba312 if exists doesn't work for mysql, so have to verify constraint exists. Dave Shrewsberry 2024-08-01 14:32:27 -04:00
  • 92bc52270e use IF EXISTS Dave Shrewsberry 2024-08-01 13:45:11 -04:00
  • 2c8160322f Fixed nil pointer handling in Neq expression Daniel Hammerschmid 2024-07-17 18:30:16 +02:00
  • da89fa99ba DB provides Close function demoManito 2024-07-02 19:16:21 +08:00
  • 5793f0f717 feat: remove version top-level element and rename. isso-719 2024-06-26 02:11:50 +09: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
  • 6168eed39b ci: Remove older PostgreSQL versions from test matrix enomotodev 2024-06-25 10:49:38 +09:00
  • 0f92628e85 fix: replace associations with custom pk sgsv 2024-06-23 12:13:52 +02:00
  • 11c4331058
    feat: add MapColumns method (#6901) molon 2024-06-24 17:42:59 +08:00
  • 8163d5da27 ci: Add PostgreSQL 14 and 15 to GitHub Actions matrix enomotodev 2024-06-24 16:40:41 +09:00
  • be276bab47 add TestMapColumns molon 2024-06-23 01:51:27 +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
  • 5affe27f07 feat: add SyncSchema ei-sugimoto 2024-06-17 15:55:54 +09: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
  • abb6d3ed5d adds PropagateUnscoped to Session and sets it accordingly Sérgio Almeida 2024-06-13 11:36:25 +01: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
  • 8956449e75 fix(scan): update Scan function to reset structs to zero values for each scan waleed.masoom 2024-06-11 22:49:10 -04:00
  • 1215d37adb
    indent supergem3000 2024-06-07 16:58:14 +08:00
  • 81af77620e
    feat: chainable order support clause.OrderBy supergem3000 2024-06-07 16:56:41 +08:00
  • 6e58b066f7 fix: AfterQuery should clear FROM Clause's Joins rather than the Statement actliboy 2024-05-17 14:15:21 +08:00
  • d8d14711e3 fix: AfterQuery clear Statement.Joins causes the query to fail 贾一饼 2024-05-17 14:15:21 +08:00
  • d7421cf7ba fix: use reflect.Append when preloading nested associations Emilien Kofman 2024-05-16 15:05:06 +02:00