Skip to content

chore(deps): bump github.com/huandu/go-sqlbuilder from 1.39.0 to 1.40.1#4112

Merged
chrisgacsal merged 1 commit into
mainfrom
dependabot/go_modules/github.com/huandu/go-sqlbuilder-1.40.1
Apr 13, 2026
Merged

chore(deps): bump github.com/huandu/go-sqlbuilder from 1.39.0 to 1.40.1#4112
chrisgacsal merged 1 commit into
mainfrom
dependabot/go_modules/github.com/huandu/go-sqlbuilder-1.40.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 9, 2026

Bumps github.com/huandu/go-sqlbuilder from 1.39.0 to 1.40.1.

Release notes

Sourced from github.com/huandu/go-sqlbuilder's releases.

v1.40.0

What's new

Struct field / db tag improvements

Support treating a db tag on a struct-typed field as a database alias and expanding its exported fields as aliased columns. This makes it possible to build JOIN projections like post.id, post.title, etc., from a nested struct field and keeps Addr/Scan behavior working by allocating nested pointers when scanning.

Note: This change preserves existing semantics for scalar-like structs (types implementing sql.Scanner/driver.Valuer/time.Time, etc) — they are not expanded.

See issue #233 for more details.

Oracle SELECT behavior

Use OFFSET ... FETCH pattern for Oracle SELECT pagination.

Potential Oracle compatibility note: the change to use OFFSET ... FETCH for Oracle pagination may affect environments using older Oracle versions that do not support this syntax. Please verify compatibility with your Oracle version before upgrading.

Thanks and acknowledgements

Thanks to @​zhangyongding for the Oracle pagination improvements.

Full Changelog: huandu/go-sqlbuilder@v1.39.0...v1.40.0

Commits
  • e118b20 fix #234: field names in INSERT INTO should not include table name
  • dd31c4a Support nested struct db aliases in Struct (ref #233)
  • 86715e9 Merge pull request #231 from zhangyongding/chore-oralce-select-offset-fetch
  • 9bae871 Update select.go
  • 2158ba5 change the Oracle select to use OFFSET...FETCH
  • See full diff in compare view

@dependabot dependabot Bot added area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code labels Apr 9, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 9, 2026 11:54
@dependabot dependabot Bot added area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code labels Apr 9, 2026
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/huandu/go-sqlbuilder-1.40.1 branch from d610082 to 943eefb Compare April 9, 2026 21:10
Bumps [github.com/huandu/go-sqlbuilder](https://github.com/huandu/go-sqlbuilder) from 1.39.0 to 1.40.1.
- [Release notes](https://github.com/huandu/go-sqlbuilder/releases)
- [Commits](huandu/go-sqlbuilder@v1.39.0...v1.40.1)

---
updated-dependencies:
- dependency-name: github.com/huandu/go-sqlbuilder
  dependency-version: 1.40.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/github.com/huandu/go-sqlbuilder-1.40.1 branch from 943eefb to f830c8e Compare April 9, 2026 21:21
@chrisgacsal chrisgacsal merged commit 3b51f88 into main Apr 13, 2026
31 of 32 checks passed
@chrisgacsal chrisgacsal deleted the dependabot/go_modules/github.com/huandu/go-sqlbuilder-1.40.1 branch April 13, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant