Releases: networkteam/construct
Releases · networkteam/construct
v2.2.0
v2.1.0-alpha
Implemented new IterateRows range function (a.k.a. iterator) for Go 1.23 for constructsql and constructpgx
v2.0.1: Merge pull request #5 from networkteam/package_check
Fixes an issue when generating mappings in the same package as the annotated structs (models).
v2.0.0
- Based on https://github.com/networkteam/qrb
- New common functions in
constructpgx/constructsqlfor scanning, collecting rows or asserting a number of affected rows
v2.0.0-beta.4
- Breaking: Generated field names in the schema struct are now using the same case as in the original struct type to prevent collisions with Go keywords (e.g.
type)
v2.0.0-beta.3
- Implemented new
table_nametag to generate an additionalIdenterfor the table name - Breaking: Moved schema vars from individual global vars to an anonymous struct with fields
v2.0.0-beta.2
Remove reference to Squirrel
v2.0.0-beta.1
On our way to version 2!
- Removed JSON features in this package
- Integrated github.com/networkteam/qrb for JSON building, generated field names (as vars instead of const)
- Use qrb in the examples
- Removed some dependencies
Auto discover structs in package, require Go 1.18
- Adds support for just specifying a fully-qualified package name instead of listing all struct types in multiple
go:generatecommands. Struct types with read or write col definitions will be discovered automatically. - Go 1.18 is required starting with this version.
Go 1.18 and arm64 compatibility
- Updated versions and added CI test for Go 1.18 compatibility
- Use forked go-immutable package for arm64 compatibility (go-bits does not compile on non-amd64)