Skip to content

deps(go): bump module github.com/stephenafamo/bob to v0.42.0#291

Merged
olblak merged 2 commits intomainfrom
updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3
Nov 29, 2025
Merged

deps(go): bump module github.com/stephenafamo/bob to v0.42.0#291
olblak merged 2 commits intomainfrom
updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3

Conversation

@updateclibot
Copy link
Contributor

@updateclibot updateclibot bot commented Sep 2, 2025

deps(go): bump module github.com/stephenafamo/bob

clean: go mod tidy

ran shell command "go mod tidy"

deps(go): bump module github.com/stephenafamo/bob to v0.42.0

go.mod updated Module path "github.com/stephenafamo/bob" version from "v0.40.2" to "v0.42.0"

v0.40.2
### Fixed

- Fixed Scanner/Valuer test gen for types defined in the models package.
- Fix issue with randomization test when enum is only used in an array.
- Fix issue with using `CompareExpr` with values that are null.
- Fix issue with imports in query tests.
- Fix issue with detecting the columns in a CTE in `bobgen-psql`.
- Properly detect the end of a function call in postgres qury parser.


**Full Changelog**: https://github.com/stephenafamo/bob/compare/v0.40.1...v0.40.2
v0.41.0
### Added

- `drivers/pgx.Pool` now includes the methods `Acquire` and `AcquireFunc` which mirror the methods in `pgx/v5/pgxpool` to acquire a connection from the pool (thanks @Eyal-Shalev).
- Added the `drivers/pgx.PoolConn` type which is a wrapper around `pgx/v5/pgxpool.Conn`.

### Changed

- Use the full column type and not just the datatype as the `DBType` in bobgen-mysql.
- `bob.Transactor` is now a generic interface so that implementations can use a concrete transaction type.
- The data types generated for SQLite now follow SQLite's type affinity rules more closely (excluding some common names). As a result, all integer types are now mapped to `int64` and all floating point types are mapped to `float64`.

### Fixed

- Fixed an issue where `bobgen-mysql` could not detect unsigned integer columns in queries.
- Properly close `pgx` transactions if the context used in `BeginTx` is cancelled.
- Fix issues with generating code for relationships defined with `WhereExpr`.
- Support `uint64` type when scanning columns as `types.Uint64`. This fixes scanning `BIGINT UNSIGNED` MySQL columns as `types.Uint64` when `interpolateParams` is enabled. (thanks @luiscleto)
- Properly handle code generation tests for compound queries in MySQL.
- Fix an issue where some ids are uppercased by the MySQL query code generator.



**Full Changelog**: https://github.com/stephenafamo/bob/compare/v0.40.2...v0.41.0
v0.41.1
### Fixed

- Properly handle code generation tests for compound queries in MySQL.

**Full Changelog**: https://github.com/stephenafamo/bob/compare/v0.41.0...v0.41.1
v0.42.0
### Fixed

- Fixed a bug where the generated loaders for many-to-many relationships were skipping related rows. (thanks @TylerJGabb)

### Added

- Include `shell.nix` for developers using [Nix](https://nixos.org/) to create development environments. (thanks @EliRibble)
- Additional README content on how developers can use linting and unit testing to contribute. (thanks @EliRibble)
- Added `Plus` expression chain method (thanks @atzedus).

### Changed

- Export `orm.NullTypeConverter`. (thanks @Serjlee)
- Uses `io.StringWriter` instead of `io.Writer` for efficiency since we are always writing strings.

## New Contributors
* @EliRibble made their first contribution in https://github.com/stephenafamo/bob/pull/575
* @atzedus made their first contribution in https://github.com/stephenafamo/bob/pull/583
* @TylerJGabb made their first contribution in https://github.com/stephenafamo/bob/pull/586
* @Serjlee made their first contribution in https://github.com/stephenafamo/bob/pull/591

**Full Changelog**: https://github.com/stephenafamo/bob/compare/v0.41.1...v0.42.0
GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

@updateclibot updateclibot bot added the dependencies Pull requests that update a dependency file label Sep 2, 2025
@updateclibot updateclibot bot changed the title deps(go): bump module github.com/stephenafamo/bob to v0.41.0 deps(go): bump module github.com/stephenafamo/bob to v0.41.1 Sep 2, 2025
@updateclibot updateclibot bot force-pushed the updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3 branch from 73d2ec8 to 5fbbb74 Compare September 8, 2025 13:17
@updateclibot updateclibot bot force-pushed the updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3 branch 3 times, most recently from afaba9c to 17846a2 Compare September 26, 2025 07:07
@updateclibot updateclibot bot force-pushed the updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3 branch 2 times, most recently from 1c1798c to b24bfba Compare November 10, 2025 09:30
@updateclibot updateclibot bot force-pushed the updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3 branch from b24bfba to 546fea2 Compare November 21, 2025 08:58
@updateclibot updateclibot bot changed the title deps(go): bump module github.com/stephenafamo/bob to v0.41.1 deps(go): bump module github.com/stephenafamo/bob to v0.42.0 Nov 25, 2025
@updateclibot updateclibot bot force-pushed the updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3 branch 7 times, most recently from e051312 to d62cb10 Compare November 29, 2025 15:27
updatecli added 2 commits November 29, 2025 18:48
Made with ❤️️ by updatecli
@updateclibot updateclibot bot force-pushed the updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3 branch from d62cb10 to 873d304 Compare November 29, 2025 18:49
@olblak olblak merged commit dec6212 into main Nov 29, 2025
5 checks passed
@olblak olblak deleted the updatecli_main_09a6e72fdd63b4ab3dfc150e2d5a5719bc7c55d81cb7c6f15d06b8feea08d3c3 branch November 29, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant