[PR #6581] Bump the gorm group across 1 directory with 4 updates #29687

Closed
opened 2026-08-05 08:08:41 -04:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/6581

State: closed
Merged: No


Bumps the gorm group with 3 updates in the / directory: gorm.io/driver/mysql, gorm.io/driver/postgres and gorm.io/driver/sqlite.

Updates gorm.io/driver/mysql from 1.5.7 to 1.6.0

Commits

Updates gorm.io/driver/postgres from 1.5.7 to 1.6.0

Commits
  • 1ffb5a7 feat: support dynamic timestamp ScanLocation via DSN timezone (#311)
  • 8385c4a feat(migrator): Add missing postgres type aliases (#312)
  • 84224ec fix: fix migrator recognizing nextval('"table_id_seq"'::regclass) (#304)
  • 04418c9 PG index options handle CONCURRENT option separately (#297)
  • 9723eac Add varchar limit detection as per PostgreSQL limits (#302)
  • dcfe4ea Bump golang.org/x/crypto to v0.31.0 to address CVE-2024-45337 (#301)
  • c172125 fix concurrent issue (#295)
  • 54c71e3 Revert "fix: create index failed without err (#285)" (#292)
  • 50307e2 Include index options (#288)
  • f185f22 #289 Add coverage for eliminating default value tag (#290)
  • Additional commits viewable in compare view

Updates gorm.io/driver/sqlite from 1.5.7 to 1.6.0

Commits
  • 6f07b51 Don't overwrite existing clause builders
  • 6ea0b8f Bump gorm.io/gorm from 1.25.7-0.20240204074919-46816ad31dde to 1.30.0 (#206)
  • 5406e41 fix: cover more constraint syntax (#198)
  • See full diff in compare view

Updates gorm.io/gorm from 1.25.12 to 1.30.0

Release notes

Sourced from gorm.io/gorm's releases.

Release v1.30.0

Changes

Release v1.26.1

Changes

  • fix: int type variable defaultMaxSize overflows in 32-bit environment @​iTanken (#7439)

Release v1.26.0

Changes

... (truncated)

Commits
  • c44405a Implement Generics API (#7424)
  • 751c1d6 perf(schema): avoid redundant strings.ToLower call (#7464)
  • 8e7ab46 fix: return init dialector error (#7379)
  • e3037e4 perf: break early on match failure in ParseConstraint (#7402)
  • 1204330 feat: error message show field name (#7452)
  • 9703eb7 perf: use strings.IndexByte to replace strings.Index (#7454)
  • 1c966e0 perf: use strings.Cut to replace strings.SplitN (#7455)
  • e5b867e remove unnecessary session-level configuration for prepared statements
  • 8c4e8e2 fix: int type variable defaultMaxSize overflows in 32-bit environment (#7439)
  • a827495 Preparestmt use LRU Map instead default map (#7435)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/6581 **State:** closed **Merged:** No --- Bumps the gorm group with 3 updates in the / directory: [gorm.io/driver/mysql](https://github.com/go-gorm/mysql), [gorm.io/driver/postgres](https://github.com/go-gorm/postgres) and [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite). Updates `gorm.io/driver/mysql` from 1.5.7 to 1.6.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-gorm/mysql/commit/d744156745998478ffa3c5395c3336ae6f0b0c0c"><code>d744156</code></a> Don't overwrite existing clause builders</li> <li><a href="https://github.com/go-gorm/mysql/commit/f0a26459a30b6dcf05383840f9c6bc6992764fcd"><code>f0a2645</code></a> build(deps): bump gorm.io/gorm from 1.25.11 to 1.30.0 (<a href="https://redirect.github.com/go-gorm/mysql/issues/172">#172</a>)</li> <li><a href="https://github.com/go-gorm/mysql/commit/d81572929ad34f62154d5187b7b436a67e29e3f9"><code>d815729</code></a> Fix creating unique index on non-unique field (<a href="https://redirect.github.com/go-gorm/mysql/issues/168">#168</a>)</li> <li><a href="https://github.com/go-gorm/mysql/commit/449c37a0089d2396d67220f1a04e25032b2d3dba"><code>449c37a</code></a> Updated the go version to 1.18. (<a href="https://redirect.github.com/go-gorm/mysql/issues/159">#159</a>)</li> <li>See full diff in <a href="https://github.com/go-gorm/mysql/compare/v1.5.7...v1.6.0">compare view</a></li> </ul> </details> <br /> Updates `gorm.io/driver/postgres` from 1.5.7 to 1.6.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-gorm/postgres/commit/1ffb5a75de20776ce5d266d62436e23ec0cfe60e"><code>1ffb5a7</code></a> feat: support dynamic timestamp ScanLocation via DSN timezone (<a href="https://redirect.github.com/go-gorm/postgres/issues/311">#311</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/8385c4afd131d516784f1154d9005601f145588a"><code>8385c4a</code></a> feat(migrator): Add missing postgres type aliases (<a href="https://redirect.github.com/go-gorm/postgres/issues/312">#312</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/84224ecab0a0e50ec9673bacae45e42122ff4b7b"><code>84224ec</code></a> fix: fix migrator recognizing <code>nextval('&quot;table_id_seq&quot;'::regclass)</code> (<a href="https://redirect.github.com/go-gorm/postgres/issues/304">#304</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/04418c920c1f6de324ed333a5f33bf6b894b80bf"><code>04418c9</code></a> PG index options handle CONCURRENT option separately (<a href="https://redirect.github.com/go-gorm/postgres/issues/297">#297</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/9723eacc5e6f3f3e3043925add4f1a51019ae7bc"><code>9723eac</code></a> Add varchar limit detection as per PostgreSQL limits (<a href="https://redirect.github.com/go-gorm/postgres/issues/302">#302</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/dcfe4ea8646a372ad171028441a3100f597feab8"><code>dcfe4ea</code></a> Bump golang.org/x/crypto to v0.31.0 to address CVE-2024-45337 (<a href="https://redirect.github.com/go-gorm/postgres/issues/301">#301</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/c1721250b2600eaf175be7f56f58567745b1ee84"><code>c172125</code></a> fix concurrent issue (<a href="https://redirect.github.com/go-gorm/postgres/issues/295">#295</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/54c71e3ad6e4786ad63361d65885f9112c0ec0d6"><code>54c71e3</code></a> Revert &quot;fix: create index failed without err (<a href="https://redirect.github.com/go-gorm/postgres/issues/285">#285</a>)&quot; (<a href="https://redirect.github.com/go-gorm/postgres/issues/292">#292</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/50307e2730db7168d2cdb380c365b5f4da0f19f1"><code>50307e2</code></a> Include index options (<a href="https://redirect.github.com/go-gorm/postgres/issues/288">#288</a>)</li> <li><a href="https://github.com/go-gorm/postgres/commit/f185f227b94151391f161c0e197f07e5909384e5"><code>f185f22</code></a> <a href="https://redirect.github.com/go-gorm/postgres/issues/289">#289</a> Add coverage for eliminating default value tag (<a href="https://redirect.github.com/go-gorm/postgres/issues/290">#290</a>)</li> <li>Additional commits viewable in <a href="https://github.com/go-gorm/postgres/compare/v1.5.7...v1.6.0">compare view</a></li> </ul> </details> <br /> Updates `gorm.io/driver/sqlite` from 1.5.7 to 1.6.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-gorm/sqlite/commit/6f07b518dae6d03d9a84d11e51338cbc56bb4fab"><code>6f07b51</code></a> Don't overwrite existing clause builders</li> <li><a href="https://github.com/go-gorm/sqlite/commit/6ea0b8f65c6cf30bc907f3730e93f855d7cfffcd"><code>6ea0b8f</code></a> Bump gorm.io/gorm from 1.25.7-0.20240204074919-46816ad31dde to 1.30.0 (<a href="https://redirect.github.com/go-gorm/sqlite/issues/206">#206</a>)</li> <li><a href="https://github.com/go-gorm/sqlite/commit/5406e41bb6592f3cf6ce8cb9ae7c26052890c621"><code>5406e41</code></a> fix: cover more constraint syntax (<a href="https://redirect.github.com/go-gorm/sqlite/issues/198">#198</a>)</li> <li>See full diff in <a href="https://github.com/go-gorm/sqlite/compare/v1.5.7...v1.6.0">compare view</a></li> </ul> </details> <br /> Updates `gorm.io/gorm` from 1.25.12 to 1.30.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-gorm/gorm/releases">gorm.io/gorm's releases</a>.</em></p> <blockquote> <h2>Release v1.30.0</h2> <h2>Changes</h2> <ul> <li>(WIP) Implement Generics API <a href="https://github.com/jinzhu"><code>@​jinzhu</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7424">#7424</a>)</li> <li>perf(schema): avoid redundant strings.ToLower call <a href="https://github.com/1911860538"><code>@​1911860538</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7464">#7464</a>)</li> <li>fix: return init dialector error <a href="https://github.com/codingplz"><code>@​codingplz</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7379">#7379</a>)</li> <li>perf: break early on match failure in ParseConstraint <a href="https://github.com/1911860538"><code>@​1911860538</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7402">#7402</a>)</li> <li>feat: error message show field name <a href="https://github.com/pi12138"><code>@​pi12138</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7452">#7452</a>)</li> <li>perf: use strings.IndexByte to replace strings.Index <a href="https://github.com/1911860538"><code>@​1911860538</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7454">#7454</a>)</li> <li>perf: use strings.Cut to replace strings.SplitN <a href="https://github.com/1911860538"><code>@​1911860538</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7455">#7455</a>)</li> </ul> <h2>Release v1.26.1</h2> <h2>Changes</h2> <ul> <li>fix: int type variable defaultMaxSize overflows in 32-bit environment <a href="https://github.com/iTanken"><code>@​iTanken</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7439">#7439</a>)</li> </ul> <h2>Release v1.26.0</h2> <h2>Changes</h2> <ul> <li>Preparestmt use LRU Map instead default map <a href="https://github.com/Yaccc"><code>@​Yaccc</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7435">#7435</a>)</li> <li>use golangci replace reviewdog <a href="https://github.com/jinzhu"><code>@​jinzhu</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7426">#7426</a>)</li> <li>test: mssql ci <a href="https://github.com/a631807682"><code>@​a631807682</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7388">#7388</a>)</li> <li>fix deprecated reflect.PtrTo reflect.PointerTo usage <a href="https://github.com/Aman-Shitta"><code>@​Aman-Shitta</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7366">#7366</a>)</li> <li>Fix concurrent map writes <a href="https://redirect.github.com/go-gorm/gorm/issues/7297">#7297</a> <a href="https://github.com/Ponywka"><code>@​Ponywka</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7298">#7298</a>)</li> <li>chore: update copyright year <a href="https://github.com/maxktz"><code>@​maxktz</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7332">#7332</a>)</li> <li>Enhance db.Scan with ParamsFilter - Issue 7336 - Suggestion <a href="https://github.com/evyaffe"><code>@​evyaffe</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7337">#7337</a>)</li> <li>Fixed Empty Returning Clause Merge Edge Case <a href="https://github.com/aviyam181199"><code>@​aviyam181199</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7339">#7339</a>)</li> <li>feat:Capitalize the priority field of IndexOption(<a href="https://redirect.github.com/go-gorm/gorm/issues/7331%EF%BC%89">go-gorm/gorm#7331</a> <a href="https://github.com/nowindexman"><code>@​nowindexman</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7342">#7342</a>)</li> <li>fix: deterministic index ordering when migrating <a href="https://github.com/bamo"><code>@​bamo</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7208">#7208</a>)</li> <li>use map look-up for indexes <a href="https://github.com/abbyssoul"><code>@​abbyssoul</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7242">#7242</a>)</li> <li><a href="https://redirect.github.com/go-gorm/gorm/issues/6372">#6372</a> Fixed nullable constraint bug for columns during auto migration <a href="https://github.com/wookie0"><code>@​wookie0</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7269">#7269</a>)</li> <li>Create CODE_OF_CONDUCT.md <a href="https://github.com/omidfth"><code>@​omidfth</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7240">#7240</a>)</li> <li>Enhance Release Process: Implement Automated Release Management and Notes Generation <a href="https://github.com/YidiDev"><code>@​YidiDev</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7224">#7224</a>)</li> <li>refactor: improve logging for unimplemented ErrorTranslator in TranlateError config enabled <a href="https://github.com/Invidam"><code>@​Invidam</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7225">#7225</a>)</li> <li>Add GitHub Actions workflow to automate release creation on tagged pushes <a href="https://github.com/YidiDev"><code>@​YidiDev</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7209">#7209</a>)</li> <li>Use official SQL Server docker image for tests <a href="https://github.com/omkar-foss"><code>@​omkar-foss</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7205">#7205</a>)</li> <li>feat: Modernize Docker Compose File <a href="https://github.com/isso-719"><code>@​isso-719</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7086">#7086</a>)</li> <li>Generate unique savepoint names for nested transactions <a href="https://github.com/phroggyy"><code>@​phroggyy</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7174">#7174</a>)</li> <li>fix: AfterQuery using safer right trim while clearing from clause's j… <a href="https://github.com/bhowmik-abhijeet"><code>@​bhowmik-abhijeet</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7153">#7153</a>)</li> <li>fix memory leaks in PrepareStatementDB <a href="https://github.com/ivila"><code>@​ivila</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7142">#7142</a>)</li> <li>ci: Add PostgreSQL 14 and 15 to GitHub Actions matrix <a href="https://github.com/enomotodev"><code>@​enomotodev</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7081">#7081</a>)</li> <li>feat: add MapColumns method <a href="https://github.com/molon"><code>@​molon</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/6901">#6901</a>)</li> <li>add DB level propagation for the Unscoped flag <a href="https://github.com/sprataa"><code>@​sprataa</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7007">#7007</a>)</li> <li>fix(scan): update Scan function to reset structs to zero values for each scan <a href="https://github.com/Waldeedle"><code>@​Waldeedle</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7061">#7061</a>)</li> <li>fix: use reflect.Append when preloading nested associations instead of making a slice with fixed size <a href="https://github.com/emilienkofman"><code>@​emilienkofman</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7014">#7014</a>)</li> <li>Fix association replace non-addressable panic <a href="https://github.com/SergeiSadov"><code>@​SergeiSadov</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7012">#7012</a>)</li> <li>fix: <code>unsupported data</code> on nested joins with preloads <a href="https://github.com/N-Schaef"><code>@​N-Schaef</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/6957">#6957</a>)</li> <li>fix: AfterQuery should clear FROM Clause's Joins rather than the Stat… <a href="https://github.com/liov"><code>@​liov</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7027">#7027</a>)</li> <li>feat: chainable order support clause.OrderBy <a href="https://github.com/supergem3000"><code>@​supergem3000</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/7054">#7054</a>)</li> <li>fix: strings.Title -&gt; cases.Title bcs strings.Title library is deprecated <a href="https://github.com/ryuji-cre8ive"><code>@​ryuji-cre8ive</code></a> (<a href="https://redirect.github.com/go-gorm/gorm/issues/6999">#6999</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-gorm/gorm/commit/c44405a25b0fb15c20265e672b8632b8774793ca"><code>c44405a</code></a> Implement Generics API (<a href="https://redirect.github.com/go-gorm/gorm/issues/7424">#7424</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/751c1d6b45245843405c87d8b4b94e26c26b1ba8"><code>751c1d6</code></a> perf(schema): avoid redundant strings.ToLower call (<a href="https://redirect.github.com/go-gorm/gorm/issues/7464">#7464</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/8e7ab46c1b865386bbb8f5322d64880ee5ce6f40"><code>8e7ab46</code></a> fix: return init dialector error (<a href="https://redirect.github.com/go-gorm/gorm/issues/7379">#7379</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/e3037e4ef0394faf118cf926fd03283995d6da1f"><code>e3037e4</code></a> perf: break early on match failure in ParseConstraint (<a href="https://redirect.github.com/go-gorm/gorm/issues/7402">#7402</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/12043304197c54237d430825e90adc50d63ef383"><code>1204330</code></a> feat: error message show field name (<a href="https://redirect.github.com/go-gorm/gorm/issues/7452">#7452</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/9703eb775f203e916759bfa51af6724b05ff04ba"><code>9703eb7</code></a> perf: use strings.IndexByte to replace strings.Index (<a href="https://redirect.github.com/go-gorm/gorm/issues/7454">#7454</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/1c966e0d25a6cdedbb7d599eae0cd060a0572ddf"><code>1c966e0</code></a> perf: use strings.Cut to replace strings.SplitN (<a href="https://redirect.github.com/go-gorm/gorm/issues/7455">#7455</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/e5b867e785039199800f0549c60fe688dc0304d2"><code>e5b867e</code></a> remove unnecessary session-level configuration for prepared statements</li> <li><a href="https://github.com/go-gorm/gorm/commit/8c4e8e2d2a63ef019048bd988a2016948605920b"><code>8c4e8e2</code></a> fix: int type variable defaultMaxSize overflows in 32-bit environment (<a href="https://redirect.github.com/go-gorm/gorm/issues/7439">#7439</a>)</li> <li><a href="https://github.com/go-gorm/gorm/commit/a827495be126f896c0f744043410642d70bbac1b"><code>a827495</code></a> Preparestmt use LRU Map instead default map (<a href="https://redirect.github.com/go-gorm/gorm/issues/7435">#7435</a>)</li> <li>Additional commits viewable in <a href="https://github.com/go-gorm/gorm/compare/v1.25.12...v1.30.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
saavagebueno added the pull-request label 2026-08-05 08:08:41 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#29687