1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00

chore(deps): update module github.com/mirrexone/unqueryvet to v1.4.0 (#7756)

This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/MirrexOne/unqueryvet](https://redirect.github.com/MirrexOne/unqueryvet)
| `v1.3.0` → `v1.4.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fMirrexOne%2funqueryvet/v1.4.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fMirrexOne%2funqueryvet/v1.3.0/v1.4.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>MirrexOne/unqueryvet
(github.com/MirrexOne/unqueryvet)</summary>

###
[`v1.4.0`](https://redirect.github.com/MirrexOne/unqueryvet/releases/tag/v1.4.0):
- Advanced SQL Analysis Features

[Compare
Source](https://redirect.github.com/MirrexOne/unqueryvet/compare/v1.3.0...v1.4.0)

#### New Features

##### SQL Builder Support (8 libraries)

| Library | Package | Detection |
| ------------- | ----------------------------------- |
------------------------------------------- |
| **Squirrel** | `github.com/Masterminds/squirrel` | `Select("*")`,
`Columns("*")` |
| **GORM** | `gorm.io/gorm` | `Select("*")`, raw queries, method
chaining |
| **SQLx** | `github.com/jmoiron/sqlx` | `Select()`, `Get()`, `Queryx()`
|
| **Ent** | `entgo.io/ent` | Query builder patterns |
| **PGX** | `github.com/jackc/pgx` | `Query()`, `QueryRow()`, `Exec()` |
| **Bun** | `github.com/uptrace/bun` | `NewSelect()`, raw queries |
| **SQLBoiler** | `github.com/volatiletech/sqlboiler` | Generated query
methods |
| **Jet** | `github.com/go-jet/jet` | `SELECT()`, `STAR` |

##### Advanced Analysis

- **String concatenation** - Detects `"SELECT * " + "FROM users"`
- **Format strings** - `fmt.Sprintf`, `log.Printf`, etc.
- **Aliased wildcards** - `SELECT t.*`, `SELECT alias.*`
- **Subquery detection** - Nested `SELECT *` in subqueries
- **Auto-fix suggestions** - LSP-compatible suggested fixes

##### Configuration Options

- Per-builder enable/disable via `sql-builders` config
- File filtering with glob patterns (`ignored-files`)
- Function filtering with regex (`ignored-functions`)
- Custom allowed patterns (`allowed-patterns`)
- Configurable severity: `error` or `warning`

#### Changes

- Comprehensive test coverage for all SQL builders
- Improved error messages with context-specific explanations
- Better golangci-lint integration

#### Fixes

- Fixed ineffassign warning in pgx.go
- Fixed staticcheck nil pointer warnings in tests
- Fixed empty branch warning in gorm.go
- Fixed redundant nil checks in test files

#### Installation

```bash
go install github.com/MirrexOne/unqueryvet/cmd/unqueryvet@v1.4.0

Or with golangci-lint:
linters:
  enable:
    - unqueryvet

Full Changelog: https://github.com/MirrexOne/unqueryvet/compare/v1.3.0...v1.4.0
```

</details>

---

### Configuration

📅 **Schedule**: 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 PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2026-01-07 09:10:06 +01:00
committed by GitHub
parent a284b86144
commit 67812ec8ee
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ require (
github.com/Djarvur/go-err113 v0.1.1 // indirect
github.com/Masterminds/semver/v3 v3.4.0 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/MirrexOne/unqueryvet v1.3.0 // indirect
github.com/MirrexOne/unqueryvet v1.4.0 // indirect
github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect
github.com/ProtonMail/go-crypto v1.3.0 // indirect
github.com/alecthomas/chroma/v2 v2.21.1 // indirect
+2 -2
View File
@@ -35,8 +35,8 @@ github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lpr
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/MirrexOne/unqueryvet v1.3.0 h1:5slWSomgqpYU4zFuZ3NNOfOUxVPlXFDBPAVasZOGlAY=
github.com/MirrexOne/unqueryvet v1.3.0/go.mod h1:IWwCwMQlSWjAIteW0t+28Q5vouyktfujzYznSIWiuOg=
github.com/MirrexOne/unqueryvet v1.4.0 h1:6KAkqqW2KUnkl9Z0VuTphC3IXRPoFqEkJEtyxxHj5eQ=
github.com/MirrexOne/unqueryvet v1.4.0/go.mod h1:IWwCwMQlSWjAIteW0t+28Q5vouyktfujzYznSIWiuOg=
github.com/OpenPeeDeeP/depguard/v2 v2.2.1 h1:vckeWVESWp6Qog7UZSARNqfu/cZqvki8zsuj3piCMx4=
github.com/OpenPeeDeeP/depguard/v2 v2.2.1/go.mod h1:q4DKzC4UcVaAvcfd41CZh0PWpGgzrVxUYBlgKNGquUo=
github.com/ProtonMail/go-crypto v1.3.0 h1:ILq8+Sf5If5DCpHQp4PbZdS1J7HDFRXz/+xKBiRGFrw=