Releases: aarondl/sqlboiler
Releases · aarondl/sqlboiler
v4.19.5
v4.19.4
v4.19.3
v4.19.2
v4.19.1
Fixed
- Fix performance issue in
v4.19.0
by reverting the cleanup of unused imports. - Updated minimum required Go version to 1.23.
- Updated dependencies to fix CVEs.
Full Changelog: v4.19.0...v4.19.1
v4.19.0
Added
- Add relation getters on base model structs. (thanks @parnic)
- Added
--no-relation-getters
option to prevent generation relation getters on the main structs. (thanks @parnic) - Add Query, Exec, and Bind helpers to the global executor. (thanks @parnic)
- BindGP
- QueryRowG
- QueryRowContextG
- ExecG
- ExecGP
- QueryG
- QueryGP
- ExecContextG
- ExecContextP
- ExecContextGP
- QueryContextG
- QueryContextP
- QueryContextGP
Fixed
- Fix count from subquery on postgresql. (thanks @renom)
- Cleanup unused imports after code generation. (thanks @eklatzer)
- Fix InsertWhitelist test in composite primary key table. (thanks @benevolent0505)
New Contributors
- @sgr45 made their first contribution in #1440
- @eklatzer made their first contribution in #1438
- @benevolent0505 made their first contribution in #1446
Full Changelog: v4.18.0...v4.19.0
v4.18.0
Added
- Added
--no-schema
option scaffolding. (thanks @morganhein)
Fixed
- Revert change to
DeleteAll
method. The change causes incorrect changes on tables with multi-column primary keys
New Contributors
- @morganhein made their first contribution in #1414
Full Changelog: v4.17.1...v4.18.0
v4.17.1
Fixed
- Update the version constant to prevent inaccurate warnings about the version mismatch
Full Changelog: v4.17.0...v4.17.1
v4.17.0
Changes
Added
- Add MySQL unix socket support (thanks @c9s)
- Implement (Un-)marshalText for Decimal and NullDecimal (thanks @MJacred)
- Add version checking flags to make sure CLI and project runtime versions are the same (thanks @090809)
- Add SIMILAR TO method for Postgres (thanks @090809)
- Skip code generation for replaced enum types using the flag
--skip-replaced-enum-types
(thanks @MJacred)
Fixed
- Fix compilation errors with TIMESTAMP columns in sqlite3 driver (thanks @hirasawayuki)
- Fix issue scanning
column_full_type
whencolumn_type
is NULL (thanks @mattdbush) - Fix performance issue with
DeleteAll
by using aWHERE IN
instead ofWHERE OR
(thanks @jakeiotechsys) - Use renamed created column in
Update
method (thanks @glerchundi) - Fix comment position in first column of table (thanks @hizzuu)
- Count from subquery if query uses HAVING or GROUP BY. This is because aggregate functions are run for each group separately, but we need to return the count of returned rows. (thanks @renom)
- Fix output filenames that contain a forward slash or backslash. Replace with an underscore (thanks @MJacred)
New Contributors
- @hirasawayuki made their first contribution in #1364
- @mattdbush made their first contribution in #1365
- @jakeiotechsys made their first contribution in #1376
- @hizzuu made their first contribution in #1390
- @renom made their first contribution in #1398
Full Changelog: v4.16.2...v4.17.0
v4.16.2
Fixed
- Replace
rand.seed
method to support golang 1.20 (thanks @pbr0ck3r) - Fix issue with invalid template generation on ignored struct tags (thanks @090809)
New Contributors
- @pbr0ck3r made their first contribution in #1343
- @090809 made their first contribution in #1344
- @0daryo made their first contribution in #1350
Full Changelog: v4.16.1...v4.16.2